• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/ipv4/

Lines Matching refs:socket

6  *		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.
175 /* We may need to bind the socket. */
190 * Move a socket into listening state.
192 int inet_listen(struct socket *sock, int backlog)
208 /* Really, if the socket is already in listen state
245 * Create an inet socket.
248 static int inet_create(struct socket *sock, int protocol)
369 * the user to assign a number at socket
392 * The peer socket should always be NULL (or else). When we call this
396 int inet_release(struct socket *sock)
426 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
435 /* If the socket has its own bind function then use it. (RAW) */
476 /* Check these errors (active socket, double bind). */
507 int inet_dgram_connect(struct socket *sock, struct sockaddr * uaddr,
527 * change state of the socket from TCP_SYN_*.
529 * without closing the socket.
547 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
611 * and error was received after socket entered established state.
633 int inet_accept(struct socket *sock, struct socket *newsock, int flags)
660 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
687 int inet_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
692 /* We may need to bind the socket. */
700 static ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset, size_t size, int flags)
704 /* We may need to bind the socket. */
714 int inet_shutdown(struct socket *sock, int how)
720 * the socket is a TCP socket. (WHY AC...)
769 * ioctl() calls you can issue on an INET socket. Most of these are
771 * pass on to the socket itself.
778 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
999 "Ignoring attempt to register invalid socket type %d.\n",
1489 /* Register the socket-side information for inet_create. */