Home
last modified time | relevance | path

Searched refs:ssk (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/linux/
Dnetlink.h121 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
122 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
124 extern int netlink_broadcast_filtered(struct sock *ssk, struct sk_buff *skb,
128 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
135 long *timeo, struct sock *ssk);
203 extern int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
206 static inline int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, in netlink_dump_start() argument
213 return __netlink_dump_start(ssk, skb, nlh, control); in netlink_dump_start()
/Linux-v4.19/net/netlink/
Daf_netlink.c1147 static struct sock *netlink_getsockbyportid(struct sock *ssk, u32 portid) in netlink_getsockbyportid() argument
1152 sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, portid); in netlink_getsockbyportid()
1159 nlk->dst_portid != nlk_sk(ssk)->portid) { in netlink_getsockbyportid()
1218 long *timeo, struct sock *ssk) in netlink_attachskb() argument
1228 if (!ssk || netlink_is_kernel(ssk)) in netlink_attachskb()
1306 struct sock *ssk) in netlink_unicast_kernel() argument
1315 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel()
1316 netlink_deliver_tap_kernel(sk, ssk, skb); in netlink_unicast_kernel()
1326 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, in netlink_unicast() argument
1335 timeo = sock_sndtimeo(ssk, nonblock); in netlink_unicast()
[all …]