Lines Matching refs:NETLINK_CB

164 	NETLINK_CB(new).portid = NETLINK_CB(skb).portid;  in netlink_to_full_skb()
165 NETLINK_CB(new).dst_group = NETLINK_CB(skb).dst_group; in netlink_to_full_skb()
166 NETLINK_CB(new).creds = NETLINK_CB(skb).creds; in netlink_to_full_skb()
874 return __netlink_ns_capable(&NETLINK_CB(skb), user_ns, cap); in netlink_ns_capable()
1300 NETLINK_CB(skb).sk = ssk; in netlink_unicast_kernel()
1368 const struct netlink_sock *nlk = nlk_sk(NETLINK_CB(skb).sk); in netlink_strict_get_check()
1463 NETLINK_CB(p->skb2).nsid = peernet2id(sock_net(sk), p->net); in do_one_broadcast()
1464 if (NETLINK_CB(p->skb2).nsid != NETNSA_NSID_NOT_ASSIGNED) in do_one_broadcast()
1465 NETLINK_CB(p->skb2).nsid_is_set = true; in do_one_broadcast()
1828 info.group = NETLINK_CB(skb).dst_group; in netlink_cmsg_recv_pktinfo()
1835 if (!NETLINK_CB(skb).nsid_is_set) in netlink_cmsg_listen_all_nsid()
1839 &NETLINK_CB(skb).nsid); in netlink_cmsg_listen_all_nsid()
1896 NETLINK_CB(skb).portid = nlk->portid; in netlink_sendmsg()
1897 NETLINK_CB(skb).dst_group = dst_group; in netlink_sendmsg()
1898 NETLINK_CB(skb).creds = scm.creds; in netlink_sendmsg()
1899 NETLINK_CB(skb).flags = netlink_skb_flags; in netlink_sendmsg()
1981 addr->nl_pid = NETLINK_CB(skb).portid; in netlink_recvmsg()
1982 addr->nl_groups = netlink_group_mask(NETLINK_CB(skb).dst_group); in netlink_recvmsg()
2309 sk = netlink_lookup(sock_net(ssk), ssk->sk_protocol, NETLINK_CB(skb).portid); in __netlink_dump_start()
2338 nlk2 = nlk_sk(NETLINK_CB(skb).sk); in __netlink_dump_start()
2383 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack()
2413 NETLINK_CB(in_skb).sk->sk_err = ENOBUFS; in netlink_ack()
2414 NETLINK_CB(in_skb).sk->sk_error_report(NETLINK_CB(in_skb).sk); in netlink_ack()
2418 rep = __nlmsg_put(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in netlink_ack()
2447 netlink_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid, MSG_DONTWAIT); in netlink_ack()