Searched refs:rtnl (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/testing/selftests/net/ |
D | tun.c | 75 int ret, rtnl; in tun_delete() local 77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete() 78 if (rtnl < 0) { in tun_delete() 96 ret = send(rtnl, &req, req.nh.nlmsg_len, 0); in tun_delete() 101 close(rtnl); in tun_delete()
|
D | tap.c | 93 int ret, rtnl; in dev_create() local 95 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_create() 96 if (rtnl < 0) { in dev_create() 134 ret = send(rtnl, &req, req.nh.nlmsg_len, 0); in dev_create() 139 close(rtnl); in dev_create() 150 int ret, rtnl; in dev_delete() local 152 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_delete() 153 if (rtnl < 0) { in dev_delete() 167 ret = send(rtnl, &req, req.nh.nlmsg_len, 0); in dev_delete() 173 close(rtnl); in dev_delete()
|
/Linux-v6.6/net/core/ |
D | rtnetlink.c | 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() [all …]
|
/Linux-v6.6/include/net/ |
D | net_namespace.h | 107 struct sock *rtnl; /* rtnetlink socket */ member
|
/Linux-v6.6/net/ieee802154/ |
D | nl802154.c | 2523 bool rtnl = ops->internal_flags & NL802154_FLAG_NEED_RTNL; in nl802154_pre_doit() local 2525 if (rtnl) in nl802154_pre_doit() 2531 if (rtnl) in nl802154_pre_doit() 2542 if (rtnl) in nl802154_pre_doit() 2552 if (rtnl) in nl802154_pre_doit() 2565 if (rtnl) in nl802154_pre_doit()
|
/Linux-v6.6/Documentation/networking/ |
D | sfp-phylink.rst | 134 rtnl lock, and will warn if not. This will normally be the case,
|
/Linux-v6.6/drivers/net/ |
D | vrf.c | 1601 skb->sk = dev_net(dev)->rtnl; in vrf_fib_rule()
|
D | macsec.c | 4411 goto rtnl; in macsec_init() 4415 rtnl: in macsec_init()
|