Searched refs:ssk (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Dnetlink.h69 extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size,
71 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
72 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
74 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
78 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
85 long *timeo, struct sock *ssk);
152 extern int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
155 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, netlink_dump_start() argument
162 return __netlink_dump_start(ssk, skb, nlh, control); netlink_dump_start()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c1634 static struct sock *netlink_getsockbyportid(struct sock *ssk, u32 portid) netlink_getsockbyportid() argument
1639 sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, portid); netlink_getsockbyportid()
1646 nlk->dst_portid != nlk_sk(ssk)->portid) { netlink_getsockbyportid()
1705 long *timeo, struct sock *ssk) netlink_attachskb()
1716 if (!ssk || netlink_is_kernel(ssk)) netlink_attachskb()
1804 struct sock *ssk) netlink_unicast_kernel()
1813 NETLINK_CB(skb).sk = ssk; netlink_unicast_kernel()
1814 netlink_deliver_tap_kernel(sk, ssk, skb); netlink_unicast_kernel()
1824 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, netlink_unicast() argument
1833 timeo = sock_sndtimeo(ssk, nonblock); netlink_unicast()
1835 sk = netlink_getsockbyportid(ssk, portid); netlink_unicast()
1841 return netlink_unicast_kernel(sk, skb, ssk); netlink_unicast()
1850 err = netlink_attachskb(sk, skb, &timeo, ssk); netlink_unicast()
1860 struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size, netlink_alloc_skb() argument
1870 sk = netlink_getsockbyportid(ssk, dst_portid); netlink_alloc_skb()
2032 int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb, u32 portid, netlink_broadcast_filtered() argument
2037 struct net *net = sock_net(ssk); netlink_broadcast_filtered()
2043 info.exclude_sk = ssk; netlink_broadcast_filtered()
2061 sk_for_each_bound(sk, &nl_table[ssk->sk_protocol].mc_list) netlink_broadcast_filtered()
2083 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, u32 portid, netlink_broadcast() argument
2086 return netlink_broadcast_filtered(ssk, skb, portid, group, allocation, netlink_broadcast()
2126 * @ssk: the kernel netlink socket, as returned by netlink_kernel_create()
2134 int netlink_set_err(struct sock *ssk, u32 portid, u32 group, int code) netlink_set_err() argument
2140 info.exclude_sk = ssk; netlink_set_err()
2148 sk_for_each_bound(sk, &nl_table[ssk->sk_protocol].mc_list) netlink_set_err()
2776 int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb, __netlink_dump_start() argument
2796 sk = netlink_lookup(sock_net(ssk), ssk->sk_protocol, NETLINK_CB(skb).portid); __netlink_dump_start()
1704 netlink_attachskb(struct sock *sk, struct sk_buff *skb, long *timeo, struct sock *ssk) netlink_attachskb() argument
1803 netlink_unicast_kernel(struct sock *sk, struct sk_buff *skb, struct sock *ssk) netlink_unicast_kernel() argument
/linux-4.1.27/net/l2tp/
H A Dl2tp_ppp.c1308 struct sock *ssk = ps->sock; pppol2tp_session_setsockopt() local
1309 struct pppox_sock *po = pppox_sk(ssk); pppol2tp_session_setsockopt()

Completed in 143 milliseconds