Searched refs:socket (Results 251 - 275 of 1132) sorted by relevance

<<11121314151617181920>>

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dserver_ipc.c18 #include <sys/socket.h>
51 * @returns -1 on error, 0 if no matching session was found, 1 if session was found and socket passed
116 * Listen on UNIX domain socket "name" for IPC from old sesssion
118 * @args name (r) file name to use for UNIX domain socket
119 * @returns socket fd, -1 on error
128 EC_NEG1_LOG( fd = socket(PF_UNIX, SOCK_STREAM, 0) );
145 * Connect to UNIX domain socket "name" for IPC with new afpd master
150 * @args name (r) file name to use for UNIX domain socket
151 * @returns socket fd, -1 on error
161 EC_NEG1_LOG( fd = socket(PF_UNI
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dif_pppox.h254 struct net_device *dev; /* device associated with socket*/
255 int ifindex; /* ifindex of device associated with socket */
256 struct pppoe_addr pa; /* what this socket is bound to*/
257 struct sockaddr_pppox relay; /* what socket data will be
262 struct net_device *dev; /* device associated with socket*/
263 int ifindex; /* ifindex of device associated with socket */
264 struct pptp_addr pa; /* what this socket is bound to*/
265 struct sockaddr_pppox relay; /* what socket data will be
304 int (*create)(struct socket *sock);
305 int (*ioctl)(struct socket *soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dplugin.c41 #include <sys/socket.h>
155 /* Make the session socket */
156 conn->sessionSocket = socket(AF_PPPOX, SOCK_STREAM, PX_PROTO_OE);
158 fatal("Failed to create PPPoE socket: %m");
177 fatal("Failed to connect PPPoE socket: %d %m", errno);
217 fatal("Failed to disconnect PPPoE socket: %d %m", errno);
266 /* Open a socket */
267 if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) {
289 /* Close socket */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/9p/
H A Dtrans_fd.c4 * Fd transport layer. Includes deprecated socket layer.
76 * v9fs_fd_write - write to a socket
179 struct socket *csocket)
207 struct socket *csocket = NULL;
216 eprintk(KERN_ERR, "v9fs_trans_tcp: problem creating socket\n");
225 "v9fs_trans_tcp: problem connecting socket to %s\n",
237 struct socket *csocket;
253 "v9fs_trans_unix: problem connecting socket: %s: %d\n",
262 * v9fs_sock_close - shutdown socket
263 * @trans: private socket structur
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/udev/
H A Dudevmonitor.c29 #include <sys/socket.h>
51 /* use abstract namespace for socket path */
55 udev_monitor_sock = socket(AF_LOCAL, SOCK_DGRAM, 0);
57 fprintf(stderr, "error getting socket: %s\n", strerror(errno));
86 uevent_netlink_sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT);
88 fprintf(stderr, "error getting socket: %s\n", strerror(errno));
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/irda/
H A Daf_irda.c48 #include <linux/socket.h>
63 static int irda_create(struct socket *sock, int protocol);
143 * can then be matched to this socket (and it will be, because
145 * listening socket waiting on the same TSAP to get those
149 * Note : all socket function do check sk->sk_state, so we are
161 * with the socket anymore, apart from closing it.
707 * Return the our own, or peers socket address (sockaddr_irda)
710 static int irda_getname(struct socket *sock, struct sockaddr *uaddr,
746 static int irda_listen(struct socket *sock, int backlog)
772 static int irda_bind(struct socket *soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/iproute2/ip/
H A Diptunnel.c25 #include <sys/socket.h>
66 fd = socket(AF_INET, SOCK_DGRAM, 0);
83 fd = socket(AF_INET, SOCK_DGRAM, 0);
101 fd = socket(AF_INET, SOCK_DGRAM, 0);
120 fd = socket(AF_INET, SOCK_DGRAM, 0);
139 fd = socket(AF_INET, SOCK_DGRAM, 0);
158 fd = socket(AF_INET, SOCK_DGRAM, 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/ipv4/
H A Daf_inet.c6 * PF_INET protocol family socket handler.
24 * Alan Cox : Keep correct socket pointer on sock
41 * Alan Cox : memzero the socket structure for
59 * David S. Miller : New socket lookup architecture.
73 #include <linux/socket.h>
128 * build a new socket.
143 printk("Attempt to release TCP socket in state %d %p\n",
148 printk("Attempt to release alive inet socket %p\n", sk);
164 * socket object. Mostly it punts to the subprotocols of IP to do
169 * Automatically bind an unbound socket
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/netrom/
H A Daf_netrom.c16 #include <linux/socket.h>
118 * Add a socket to the bound sockets list.
128 * Find a socket that wants to accept the Connect Request we just
150 * Find a connected NET/ROM socket given my circuit IDs.
173 * Find a connected NET/ROM socket given their circuit IDs.
262 /* Queue the unaccepted socket for death */
283 * NET/ROM socket object.
286 static int nr_setsockopt(struct socket *sock, int level, int optname,
338 static int nr_getsockopt(struct socket *sock, int level, int optname,
388 static int nr_listen(struct socket *soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/x25/
H A Daf_x25.c27 * 2000-10-02 Henner Eisen Made x25_kick() single threaded per socket.
222 * Add a socket to the bound sockets list.
232 * Find a socket that wants to accept the Call Request we just
235 * Note: if a listening socket has cud set it must only get calls
255 * Found a listening socket, now check the incoming
280 * Find a connected X.25 socket given my LCI and neighbour.
364 * Queue the unaccepted socket for death
392 * X.25 socket object.
395 static int x25_setsockopt(struct socket *sock, int level, int optname,
419 static int x25_getsockopt(struct socket *soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/econet/
H A Daf_econet.c18 #include <linux/socket.h>
61 static struct socket *udpsock;
117 static int econet_recvmsg(struct kiocb *iocb, struct socket *sock,
184 * Bind an Econet socket.
187 static int econet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
263 static int econet_sendmsg(struct kiocb *iocb, struct socket *sock,
414 return -ENETDOWN; /* No socket - can't send */
502 * Look up the address of a socket.
505 static int econet_getname(struct socket *sock, struct sockaddr *uaddr,
543 printk(KERN_DEBUG "econet socket destro
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/sunrpc/
H A Dxprtsock.c12 * Fix behaviour when socket buffer is full.
15 * IP socket transport implementation, (C) 2005 Chuck Lever <cel@netapp.com>
23 #include <linux/socket.h>
130 * How many times to try sending a request on a socket before waiting
131 * for the socket buffer to clear.
136 * Time out for an RPC UDP socket connect. UDP socket connects are
155 * Delay if a UDP socket connect error occurs. This is most likely some
173 * TCP idle timeout; client drops the transport socket if it is idle
215 struct socket * soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/packet/
H A Daf_packet.c22 * Alan Cox : Added NULL's for socket options.
56 #include <linux/socket.h>
94 - packet socket receives packets with pulled ll header,
144 /* Private packet socket structures. */
234 printk("Attempt to release alive packet socket: %p\n", sk);
240 printk(KERN_DEBUG "PACKET socket %p is free, %d are alive\n", sk, atomic_read(&packet_socks_nr));
255 * When we registered the protocol we saved the socket in the data
290 * The SOCK_PACKET socket receives _all_ frames.
298 * Charge the memory to the socket. This is done specifically
317 static int packet_sendmsg_spkt(struct kiocb *iocb, struct socket *soc
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/openssl-0.9.8e/
H A De_os.h224 # include <sys/socket.h>
445 # define socket(d,t,p) ((int)socket(d,t,p)) macro
471 # include <sys/socket.h>
497 # include <socket.h>
501 # include <sys/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pcmcia/
H A Dpcmcia_ioctl.c56 struct pcmcia_socket *socket; member in struct:user_info_t
182 bind_request() connects a socket to a particular client driver.
184 drivers, binds it to the socket, and tries to create an instance
187 Bind_device() associates a device driver with a particular socket.
190 eligible to register as a client of this socket.
193 caller with a socket. The driver must have already been bound
194 to a socket with bind_device() -- in fact, bind_device()
401 ds_dbg(0, "ds_open(socket %d)\n", i);
427 user->socket = s;
454 ds_dbg(0, "ds_release(socket
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/dnsmasq/
H A Ddnsmasq.c87 if ((peerfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1 &&
90 die("dnsmasq: cannot create socket: %s", NULL);
93 if ((peerfd6 = socket(AF_INET6, SOCK_DGRAM, 0)) == -1 &&
96 die("dnsmasq: cannot create IPv6 socket: %s", NULL);
106 /* open a socket bound to NS port on each local interface.
111 if ((iface->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1)
112 die("cannot create socket: %s", NULL);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/
H A Dsendfile.c259 #include <sys/socket.h>
330 #include <sys/socket.h>
403 #include <sys/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/avahi-0.6.25/avahi-compat-howl/include/corby/
H A Dchannel.h33 #include <salt/socket.h>
H A Dorb.h34 #include <salt/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A DMakefile.am62 socket.c socket.h \
H A Ddns-test.c28 #include <sys/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppoecd/
H A Doptions.c26 #include <sys/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfce_util.c37 #include <sys/socket.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_sendfile.c40 #include <sys/socket.h>
143 /* read from a socket and write to an adouble file */
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/atp/
H A Datp_sresp.c36 #include <sys/socket.h>

Completed in 244 milliseconds

<<11121314151617181920>>