/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 148 static int __rtnl_talk_iov(struct rtnl_handle *rtnl, struct iovec *iov, in __rtnl_talk_iov() argument 167 h->nlmsg_seq = seq = ++rtnl->seq; in __rtnl_talk_iov() 171 status = sendmsg(rtnl->fd, &msg, 0); in __rtnl_talk_iov() 182 status = rtnl_recvmsg(rtnl->fd, &msg, &buf); in __rtnl_talk_iov() 208 h->nlmsg_pid != rtnl->local.nl_pid || in __rtnl_talk_iov() 226 if (rtnl->proto != NETLINK_SOCK_DIAG && in __rtnl_talk_iov() 264 static int __rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, in __rtnl_talk() argument 273 return __rtnl_talk_iov(rtnl, &iov, 1, answer, show_rtnl_err, errfn); in __rtnl_talk() 276 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, in rtnl_talk() argument 279 return __rtnl_talk(rtnl, n, answer, true, NULL); in rtnl_talk()
|
H A D | netlink_helpers.h | 32 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n,
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
H A 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()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 782 struct sock *rtnl = net->rtnl; in rtnetlink_send() local 784 return nlmsg_notify(rtnl, skb, pid, group, echo, GFP_KERNEL); in rtnetlink_send() 789 struct sock *rtnl = net->rtnl; in rtnl_unicast() local 791 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast() 798 struct sock *rtnl = net->rtnl; in rtnl_notify() local 800 nlmsg_notify(rtnl, skb, pid, group, nlmsg_report(nlh), flags); in rtnl_notify() 806 struct sock *rtnl = net->rtnl; in rtnl_set_sk_err() local 808 netlink_set_err(rtnl, 0, group, error); in rtnl_set_sk_err() 6395 struct sock *rtnl; in rtnetlink_rcv_msg() local 6420 rtnl = net->rtnl; in rtnetlink_rcv_msg() [all …]
|
/openbmc/linux/include/net/ |
H A D | net_namespace.h | 108 struct sock *rtnl; /* rtnetlink socket */ member
|
/openbmc/linux/net/ieee802154/ |
H A 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()
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0025-adjust-header-inclusion-order-to-avoid-redeclaration.patch | 264 static int manager_process_link(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) {
|
/openbmc/linux/Documentation/networking/ |
H A D | sfp-phylink.rst | 134 rtnl lock, and will warn if not. This will normally be the case,
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0003-src-basic-missing.h-check-for-missing-strndupa.patch | 683 …UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl, int log_level)…
|
/openbmc/linux/drivers/net/ |
H A D | vrf.c | 1583 skb->sk = dev_net(dev)->rtnl; in vrf_fib_rule()
|
H A D | macsec.c | 4418 goto rtnl; in macsec_init() 4422 rtnl: in macsec_init()
|