Lines Matching refs:rtnl
749 struct sock *rtnl = net->rtnl; in rtnetlink_send() local
751 return nlmsg_notify(rtnl, skb, pid, group, echo, GFP_KERNEL); in rtnetlink_send()
756 struct sock *rtnl = net->rtnl; in rtnl_unicast() local
758 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast()
765 struct sock *rtnl = net->rtnl; in rtnl_notify() local
767 nlmsg_notify(rtnl, skb, pid, group, nlmsg_report(nlh), flags); in rtnl_notify()
773 struct sock *rtnl = net->rtnl; in rtnl_set_sk_err() local
775 netlink_set_err(rtnl, 0, group, error); in rtnl_set_sk_err()
6016 struct sock *rtnl; in rtnetlink_rcv_msg() local
6040 rtnl = net->rtnl; in rtnetlink_rcv_msg()
6047 err = netlink_dump_start(rtnl, skb, nlh, &c); in rtnetlink_rcv_msg()
6170 net->rtnl = sk; in rtnetlink_net_init()
6176 netlink_kernel_release(net->rtnl); in rtnetlink_net_exit()
6177 net->rtnl = NULL; in rtnetlink_net_exit()