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

Lines Matching refs:socket

18  * 				   the kernel socket in case userspace opens
19 * socket of same protocol
34 #include <linux/socket.h>
153 printk("Freeing alive netlink socket %p\n", sk);
383 static int __netlink_create(struct socket *sock, struct mutex *cb_mutex,
411 static int netlink_create(struct socket *sock, int protocol)
453 static int netlink_release(struct socket *sock)
502 static int netlink_autobind(struct socket *sock)
540 static inline int netlink_capable(struct socket *sock, unsigned int flag)
580 static int netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len)
626 static int netlink_connect(struct socket *sock, struct sockaddr *addr,
659 static int netlink_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer)
697 /* Don't bother queuing skb if kernel socket has no input function */
725 * Attach a skb to a netlink socket.
726 * The caller must hold a reference to the destination socket. On error, the
732 * 1: repeat lookup - reference dropped while waiting for socket memory.
901 * delivered to a previous socket.
942 /* While we sleep in clone, do not allow to change socket list */
1010 static int netlink_setsockopt(struct socket *sock, int level, int optname,
1065 static int netlink_getsockopt(struct socket *sock, int level, int optname,
1115 static int netlink_sendmsg(struct kiocb *kiocb, struct socket *sock,
1197 static int netlink_recvmsg(struct kiocb *kiocb, struct socket *sock,
1280 struct socket *sock;
1519 * @sk: Netlink socket containing the queue
1566 * Pulls the given netlink message off the socket buffer so the next
1581 * @sk: netlink socket to use