HomeSort by: relevance | last modified time | path
    Searched defs:socket (Results 1 - 25 of 76) sorted by relevancy

1 2 3 4

  /src/lib/libc/compat/sys/
compat_socket.c 12 #include <sys/socket.h>
13 #include <compat/sys/socket.h>
15 __warn_references(socket,
16 "warning: reference to compatibility socket(); include <sys/socket.h> for correct reference")
19 socket(int domain, int type, int protocol) function
  /src/sbin/mount_nfs/
iodesc.h 43 int socket; member in struct:iodesc
  /src/external/mpl/bind/dist/bin/tests/system/rndc/
tests_cve_2023_3341.py 14 import socket namespace
41 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
  /src/usr.sbin/ldpd/
ldp_command.h 39 int socket; member in struct:com_sock
40 int auth; /* 1 if socket is authenticated */
socketops.h 68 int type, socket; member in struct:hello_socket
ldp_peer.h 64 /* TCP socket */
65 int socket; member in struct:ldp_peer
  /src/external/bsd/libevent/dist/sample/
event-read-fifo.c 91 HANDLE socket; local
93 socket = CreateFileA("test.txt", /* open File */
101 if (socket == INVALID_HANDLE_VALUE)
108 int socket;
124 socket = open(fifo, O_RDONLY | O_NONBLOCK, 0);
126 if (socket == -1) {
138 evfifo = event_new(base, (evutil_socket_t)socket, EV_READ|EV_PERSIST, fifo_read,
145 evfifo = event_new(base, socket, EV_READ|EV_PERSIST, fifo_read,
155 CloseHandle(socket);
157 close(socket);
    [all...]
  /src/external/mit/libuv/dist/test/
test-not-writable-after-shutdown.c 49 uv_tcp_t socket; local
55 r = uv_tcp_init(loop, &socket);
59 &socket,
  /src/sys/arch/hpcarm/dev/
j720pcic.c 116 int socket = sp->socket; local
124 sp->power_capability = ip[socket];
154 switch (so->socket) {
163 panic("j720_set_power: bogus socket (%d)", so->socket);
  /src/crypto/external/cpl/trousers/dist/src/include/
hosttable.h 26 int socket; member in struct:host_table_entry
  /src/external/gpl2/gmake/dist/
configure 12619 for ac_func in socket
12719 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
12720 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
12739 char socket ();
12743 socket (); function
12785 cf_tr_func=`echo socket | tr '[a-z]' '[A-Z]'`
12800 echo "$as_me:$LINENO: checking for socket in -lbsd" >&5
12801 echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6
12820 char socket ();
12824 socket (); function
    [all...]
  /src/external/gpl2/xcvs/dist/src/
socket-client.c 1 /* CVS socket client stuff.
13 __RCSID("$NetBSD: socket-client.c,v 1.2 2016/05/17 14:00:09 christos Exp $");
28 #include "socket-client.h"
32 via a socket using send() and recv(). This is because under some
33 operating systems (OS/2 and Windows 95 come to mind), a socket
35 socket and nothing else.
37 We may also need to deal with socket routine error codes differently
48 error code came from a socket routine (to decide whether to use
55 /* The socket number. */
56 int socket; member in struct:socket_buffer
    [all...]
  /src/external/mit/libuv/dist/docs/code/dns/
main.c 54 uv_tcp_t *socket = (uv_tcp_t*) malloc(sizeof(uv_tcp_t)); local
55 uv_tcp_init(loop, socket);
57 uv_tcp_connect(connect_req, socket, (const struct sockaddr*) res->ai_addr, on_connect);
  /src/external/mpl/bind/dist/bin/tests/system/tcp/ans6/
ans.py 16 # controlled by writing text commands to a TCP socket (default port: 5309).
38 import socket namespace
56 socket.inet_aton(host)
57 family = socket.AF_INET
58 except socket.error:
59 family = socket.AF_INET6
64 sock = socket.socket(family, socket.SOCK_STREAM)
68 log(f"{errno.errorcode[err]} on connect for socket {sock}"
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/tsig/
tests_badtime.py 14 import socket namespace
43 sock = socket.create_connection((host, port), timeout=10)
44 sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True)
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
socket_wrapper.h 126 #ifdef socket
127 #undef socket macro
129 #define socket(domain,type,protocol) swrap_socket(domain,type,protocol) macro
socket.c 1 /* $NetBSD: socket.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */
265 * Set the non-blocking-ness of the socket.
311 * Create a file descriptor from a socket
313 * While the socket handle in \a sock can be used with WinSock
315 * with rk_closesocket(). The socket will be closed when the associated
330 rk_SOCK_IOCTL(SOCKET s, long cmd, int * argp) {
342 #undef socket macro
350 s = socket (domain, type, protocol);
354 s = socket (domain, type, protocol);
  /src/crypto/external/bsd/openssl/dist/include/internal/
sockets.h 33 # include <sys/socket.h>
54 * Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because
60 # define socket(d,t,p) ((int)socket(d,t,p)) macro
75 # include <socket.h>
79 # include <sys/socket.h>
  /src/crypto/external/bsd/openssl.old/dist/include/internal/
sockets.h 29 # include <sys/socket.h>
50 * Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because
56 # define socket(d,t,p) ((int)socket(d,t,p)) macro
71 # include <socket.h>
75 # include <sys/socket.h>
  /src/external/mpl/bind/dist/bin/tests/system/tcp/
tests_tcp.py 14 import socket namespace
44 sock = socket.create_connection((host, port), timeout=10)
45 sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True)
103 # Shutdown the socket, but ignore the other side closing the socket
106 sock.shutdown(socket.SHUT_RDWR)
114 # ns7/named.dropedns and close the socket, making room for the next
  /src/tests/net/net/
t_socket_afinet.c 39 #include <sys/socket.h>
49 #define socket rump_sys_socket macro
69 sd = socket(PF_INET, SOCK_DGRAM, 0);
90 sd = socket(PF_INET, SOCK_DGRAM, 0);
113 sd = socket(PF_INET, SOCK_DGRAM, 0);
141 ss = socket(PF_INET, SOCK_STREAM, 0);
156 cs = socket(PF_INET, SOCK_STREAM, 0);
170 /* Client closes socket! */
177 * socket to become readable.
203 ss = socket(PF_INET, SOCK_STREAM, 0)
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/internal/
sockets.h 34 #include <sys/socket.h>
55 * Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because
61 #define socket(d, t, p) ((int)socket(d, t, p)) macro
97 #include <socket.h>
101 #include <sys/socket.h>
  /src/external/mpl/bind/dist/bin/tests/system/isctest/
mark.py 19 import socket namespace
99 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
  /src/external/mpl/bind/dist/bin/tests/system/timeouts/
tests_tcp_timeouts.py 14 import socket namespace
51 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
72 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
103 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock
    [all...]
  /src/sys/arch/arm/sa11x0/
sa11xx_pcicvar.h 34 int socket; /* socket number */ member in struct:sapcic_socket

Completed in 52 milliseconds

1 2 3 4