/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/cpp/ |
H A D | 20000625-1.c | 8 #define socket bind macro 13 goto socket; 15 ENTRY(socket) /* { dg-error "valid preprocessing token" "" } */
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/cpp/ |
H A D | 20000625-1.c | 7 #define socket bind macro 12 goto socket; 14 ENTRY(socket) /* { dg-warning "valid preprocessing token" "" } */
|
/netbsd-6-1-5-RELEASE/share/doc/psd/20.ipctut/ |
H A D | udgramread.c | 33 #include <sys/socket.h> 46 #define NAME "socket" 49 * This program creates a UNIX domain datagram socket, binds a name to it, 50 * then reads from the socket. 58 /* Create socket from which to read. */ 59 sock = socket(AF_UNIX, SOCK_DGRAM, 0); 61 perror("opening datagram socket"); 68 perror("binding name to datagram socket"); 71 printf("socket -->%s\en", NAME); 72 /* Read from the socket */ [all...] |
H A D | ustreamwrite.c | 33 #include <sys/socket.h> 40 * This program connects to the socket named in the command line and sends a 41 * one line message to that socket. The form of the command line is 52 /* Create socket */ 53 sock = socket(AF_UNIX, SOCK_STREAM, 0); 55 perror("opening stream socket"); 58 /* Connect socket using name specified by command line. */ 64 perror("connecting stream socket"); 68 perror("writing on stream socket");
|
H A D | dgramread.c | 33 #include <sys/socket.h> 46 * This program creates a datagram socket, binds a name to it, then reads 47 * from the socket. 55 /* Create socket from which to read. */ 56 sock = socket(AF_INET, SOCK_DGRAM, 0); 58 perror("opening datagram socket"); 66 perror("binding datagram socket"); 72 perror("getting socket name"); 76 /* Read from the socket */
|
H A D | streamwrite.c | 33 #include <sys/socket.h> 41 * This program creates a socket and initiates a connection with the socket 43 * then the socket is closed, ending the connection. The form of the command 56 /* Create socket */ 57 sock = socket(AF_INET, SOCK_STREAM, 0); 59 perror("opening stream socket"); 62 /* Connect socket using name specified by command line. */ 73 perror("connecting stream socket"); 77 perror("writing on stream socket"); [all...] |
H A D | strchkread.c | 33 #include <sys/socket.h> 55 /* Create socket */ 56 sock = socket(AF_INET, SOCK_STREAM, 0); 58 perror("opening stream socket"); 61 /* Name socket using wildcards */ 66 perror("binding stream socket"); 72 perror("getting socket name");
|
H A D | streamread.c | 33 #include <sys/socket.h> 40 * This program creates a socket and then begins an infinite loop. Each time 55 /* Create socket */ 56 sock = socket(AF_INET, SOCK_STREAM, 0); 58 perror("opening stream socket"); 61 /* Name socket using wildcards */ 66 perror("binding stream socket"); 72 perror("getting socket name"); 96 * Since this program has an infinite loop, the socket "sock" is
|
H A D | ustreamread.c | 33 #include <sys/socket.h> 37 #define NAME "socket" 40 * This program creates a socket in the UNIX domain and binds a name to it. 41 * After printing the socket's name it begins a loop. Each time through the 52 /* Create socket */ 53 sock = socket(AF_UNIX, SOCK_STREAM, 0); 55 perror("opening stream socket"); 58 /* Name socket using file system name */ 62 perror("binding stream socket");
|
H A D | udgramsend.c | 33 #include <sys/socket.h> 51 /* Create socket on which to send. */ 52 sock = socket(AF_UNIX, SOCK_DGRAM, 0); 54 perror("opening datagram socket"); 57 /* Construct name of socket to send to. */
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/port/cygwin/include/asm/ |
H A D | socket.h | 6 #include_next <asm/socket.h>
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/port/cygwin/include/sys/ |
H A D | socket.h | 6 #include_next <sys/socket.h>
|
/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/ |
H A D | 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
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | socketvar.h | 80 TAILQ_HEAD(soqhead, socket); 83 * Variables for socket buffering. 88 struct socket *sb_so; /* back pointer to socket */ 100 socket buffer */ 116 #define SB_AUTOSIZE 0x800 /* automatically size socket buffer */ 119 * Kernel structure per socket. 124 struct socket { struct 127 short so_type; /* generic type, see socket.h */ 128 short so_options; /* from socket cal [all...] |
H A D | un.h | 75 struct socket; 78 int uipc_usrreq(struct socket *, int, struct mbuf *, 80 int uipc_ctloutput(int, struct socket *, struct sockopt *); 86 int unp_attach (struct socket *); 87 int unp_bind (struct socket *, struct mbuf *, struct lwp *); 88 int unp_connect (struct socket *, struct mbuf *, struct lwp *); 89 int unp_connect2 (struct socket *, struct socket *, int); 100 void unp_setaddr (struct socket *, struct mbuf *, bool);
|
/netbsd-6-1-5-RELEASE/sbin/mount_nfs/ |
H A D | iodesc.h | 43 int socket; member in struct:iodesc
|
H A D | udp_xfer.c | 37 #include <sys/socket.h> 60 errx(1, "Unsupported socket family %d", 71 if (d->socket >= 0) { 72 close(d->socket); 73 d->socket = -1; 76 sock = socket(d->ai->ai_family, SOCK_DGRAM, IPPROTO_UDP); 79 d->socket = sock; 93 struct pollfd pfd = {d->socket, POLLIN, 0}; 98 return recv(d->socket, pkt, len, 0);
|
/netbsd-6-1-5-RELEASE/sys/netipsec/ |
H A D | keysock.h | 37 /* statistics for pfkey socket */ 58 #define PFKEY_STAT_SOCKERR 529 /* # of socket related errors */ 70 int kp_registered; /* registered socket */ 75 int key_usrreq (struct socket *, 78 int key_usrreq (struct socket *, 82 int key_sendup (struct socket *, struct sadb_msg *, u_int, int); 83 int key_sendup_mbuf (struct socket *, struct mbuf *, int);
|
/netbsd-6-1-5-RELEASE/sys/netkey/ |
H A D | keysock.h | 36 /* statistics for pfkey socket */ 57 #define PFKEY_STAT_SOCKERR 529 /* # of socket related errors */ 72 int kp_registered; /* registered socket */ 73 int (*kp_receive) (struct socket *, struct mbuf **, struct uio *, 80 extern int key_usrreq(struct socket *, 83 extern int key_usrreq(struct socket *, 87 extern int key_sendup_mbuf(struct socket *, struct mbuf *, int);
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/ |
H A D | socket-client.c | 1 /* CVS socket client stuff. 26 #include "socket-client.h" 30 via a socket using send() and recv(). This is because under some 31 operating systems (OS/2 and Windows 95 come to mind), a socket 33 socket and nothing else. 35 We may also need to deal with socket routine error codes differently 46 error code came from a socket routine (to decide whether to use 53 /* The socket number. */ 54 int socket; member in struct:socket_buffer 59 /* The buffer input function for a buffer built on a socket 227 socket_buffer_initialize(int socket, int input, void (*memory) (struct buffer *)) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/ |
H A D | sock1.c | 6 #include <sys/socket.h> 16 int ret = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP);
|
/netbsd-6-1-5-RELEASE/sbin/ifconfig/ |
H A D | ifconfig_hostops.c | 35 #include <sys/socket.h> 43 .op_socket = socket,
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/ep93xx/ |
H A D | eppcicvar.h | 43 int (*socket_type)(void *, int socket); 44 int (*power_capability)(void *, int socket); 45 int (*power_ctl)(void *, int socket, int onoff);
|
/netbsd-6-1-5-RELEASE/sys/net/ |
H A D | raw_cb.h | 39 * to tie a socket to the generic raw interface. 43 struct socket *rcb_socket; /* back pointer to socket */ 45 struct sockaddr *rcb_laddr; /* socket's address */ 52 * Nominal space allocated to a raw socket. 61 int raw_attach(struct socket *, int); 67 int raw_usrreq(struct socket *,
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-dnssrv/ |
H A D | compare.c | 29 #include <ac/socket.h>
|