Lines Matching refs:rtnl
753 struct sock *rtnl = net->rtnl; in rtnetlink_send() local
755 return nlmsg_notify(rtnl, skb, pid, group, echo, GFP_KERNEL); in rtnetlink_send()
760 struct sock *rtnl = net->rtnl; in rtnl_unicast() local
762 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast()
769 struct sock *rtnl = net->rtnl; in rtnl_notify() local
771 nlmsg_notify(rtnl, skb, pid, group, nlmsg_report(nlh), flags); in rtnl_notify()
777 struct sock *rtnl = net->rtnl; in rtnl_set_sk_err() local
779 netlink_set_err(rtnl, 0, group, error); in rtnl_set_sk_err()
6367 struct sock *rtnl; in rtnetlink_rcv_msg() local
6391 rtnl = net->rtnl; in rtnetlink_rcv_msg()
6398 err = netlink_dump_start(rtnl, skb, nlh, &c); in rtnetlink_rcv_msg()
6521 net->rtnl = sk; in rtnetlink_net_init()
6527 netlink_kernel_release(net->rtnl); in rtnetlink_net_exit()
6528 net->rtnl = NULL; in rtnetlink_net_exit()