Lines Matching refs:socket
2 * PF_INET6 socket protocol family
28 #include <linux/socket.h>
78 * build a new socket.
90 static int inet6_create(struct socket *sock, int protocol)
201 /* Init the ipv4 part of the socket since we can have sockets
228 * the user to assign a number at socket
250 int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
261 /* If the socket has its own bind function then use it. */
277 /* Check these errors (active socket, double bind). */
315 /* ipv4 addr of the socket is invalid. Only the
361 int inet6_release(struct socket *sock)
407 int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
444 int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
619 "Ignoring attempt to register invalid socket type %d.\n",
780 /* Register the socket-side information for inet6_create. */