Searched refs:socket (Results 151 - 175 of 2343) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Dipsec.h88 struct socket *so; /* backpointer to per-socket policy */
128 int priv; /* privileged socket ? */
160 struct socket *so;
200 #define IPSEC_POLICY_BYPASS 4 /* only for privileged socket. */
361 (struct mbuf *, u_int, struct socket *, int *);
367 (struct mbuf *, u_int, struct socket *, int *);
376 extern int ipsec_init_pcbpolicy(struct socket *, struct inpcbpolicy **);
385 extern int ipsec4_in_reject_so(struct mbuf *, struct socket *);
389 extern int ipsec6_in_reject_so(struct mbuf *, struct socket *);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/transp/
H A Dtransp_sockets.c170 * First try a TCP socket
172 if ((*sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) > 0) {
177 plog(XLOG_ERROR, "can't bind privileged port (socket)");
190 * Failed so close socket
193 } /* tcp socket opened */
195 if ((*sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
196 plog(XLOG_ERROR, "Can't create socket to connect to mountd: %m");
256 *soNFSp = socket(AF_INET, SOCK_DGRAM, 0);
259 plog(XLOG_FATAL, "Can't create privileged nfs port (socket)");
301 *tcp_soAMQp = socket(AF_INE
383 int socket = RPC_ANYSOCK; local
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/
H A Darp.c13 #include <sys/socket.h>
105 if ((sfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
107 perror("arp: socket");
119 fd = socket(AF_INET, SOCK_DGRAM, 0);
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_net.c52 #include <sys/socket.h>
121 struct socket *so;
127 so = (struct socket *) fp->f_data;
/netbsd-6-1-5-RELEASE/tests/net/net/
H A Dt_unix.c49 #include <sys/socket.h>
95 s = socket(AF_UNIX, SOCK_STREAM, 0);
97 FAIL("socket");
124 s2 = socket(AF_UNIX, SOCK_STREAM, 0);
126 FAIL("socket");
156 "unix domain socket pathlen (253): 255 - sizeof(sun_len) - "
/netbsd-6-1-5-RELEASE/tests/net/sys/
H A Dt_rfc6056.c35 #include <sys/socket.h>
67 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
69 err(EXIT_FAILURE, "socket");
88 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
90 err(EXIT_FAILURE, "socket");
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dip_var.h104 u_int16_t imo_num_memberships; /* no. memberships this socket */
185 int ip_ctloutput(int, struct socket *, struct sockopt *);
217 int rip_ctloutput(int, struct socket *, struct sockopt *);
221 int rip_usrreq(struct socket *,
/netbsd-6-1-5-RELEASE/sys/rump/net/lib/libsockin/
H A Dsockin.c41 #include <sys/socket.h>
58 * An inet communication domain which uses the socket interface.
66 static int sockin_usrreq(struct socket *, int, struct mbuf *,
68 static int sockin_ctloutput(int op, struct socket *, struct sockopt *);
112 struct socket *su_so;
126 registersock(struct socket *so, int news)
147 removesock(struct socket *so)
158 panic("no such socket");
170 sockin_process(struct socket *so)
205 /* Treat a TCP socket
[all...]
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dfiledesc.h177 struct socket;
203 int fd_getsock(unsigned, struct socket **);
204 int fd_getsock1(unsigned, struct socket **, file_t **);
/netbsd-6-1-5-RELEASE/sys/kern/
H A Duipc_socket2.c75 #include <sys/socket.h>
83 * Primitive routines for operating on sockets and socket buffers.
87 * o socket::so_lock can change on the fly. The low level routines used
97 * of so_lock must be held: i.e., the socket must be held locked by the
101 * held by the changing thread, the socket must then be considered
107 * remain valid until the socket and/or protocol control block has been
110 * o If a socket has a non-NULL so_head value (i.e. is in the process of
111 * connecting), then locking the socket must also lock the socket pointed
114 * o If a socket ha
[all...]
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dsafefile.c38 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/setkey/
H A Dtoken.l42 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kcm/
H A Dheaders.h61 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/ipc/
H A Dhi_locl.h41 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dkadm5_locl.h69 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/query-loc-0.4.0/
H A Dloc.h14 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dns/
H A Dtcpmsg.h29 #include <isc/socket.h>
54 * TCP socket.
60 *\li "sock" be a read/write TCP socket.
86 * when an error occurs on the socket.
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isccc/include/isccc/
H A Dccmsg.h43 #include <isc/socket.h>
69 * TCP socket.
75 *\li "sock" be a read/write TCP socket.
101 * readable, or when an error occurs on the socket.
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/unix/include/lwres/
H A Dnet.h57 #include <sys/socket.h> /* Contractual promise. */
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/inet/
H A Dinet_neta.c27 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/
H A Dntp_types.h51 #include <socket.h>
110 * as required by Windows' socket() interface timeout argument, while
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dsocktoa.c13 #include <sys/socket.h>
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/
H A Dbind.c28 #include <ac/socket.h>
H A Dmessages.c25 #include <ac/socket.h>
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dbind.c29 #include <ac/socket.h>

Completed in 209 milliseconds

1234567891011>>