Searched refs:IFLA_NET_NS_FD (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | netlink.c | 126 if (rtattr_pack(nh, req_sz, IFLA_NET_NS_FD, &ns, sizeof(ns))) in veth_pack_peerb() 157 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, &ns_a, sizeof(ns_a))) in __add_veth() 373 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, in __add_vrf()
|
/linux-6.12.1/net/core/ |
D | rtnetlink.c | 2021 [IFLA_NET_NS_FD] = { .type = NLA_U32 }, 2356 else if (tb[IFLA_NET_NS_FD]) in rtnl_link_get_net() 2357 net = get_net_ns_by_fd(nla_get_u32(tb[IFLA_NET_NS_FD])); in rtnl_link_get_net() 2376 if (tb[IFLA_NET_NS_PID] || tb[IFLA_NET_NS_FD]) in rtnl_link_get_net_by_nlattr() 2416 if (!tb[IFLA_NET_NS_PID] && !tb[IFLA_NET_NS_FD]) in rtnl_ensure_unique_netns() 2423 if (tb[IFLA_TARGET_NETNSID] && (tb[IFLA_NET_NS_PID] || tb[IFLA_NET_NS_FD])) in rtnl_ensure_unique_netns() 2426 if (tb[IFLA_NET_NS_PID] && (tb[IFLA_TARGET_NETNSID] || tb[IFLA_NET_NS_FD])) in rtnl_ensure_unique_netns() 2429 if (tb[IFLA_NET_NS_FD] && (tb[IFLA_TARGET_NETNSID] || tb[IFLA_NET_NS_PID])) in rtnl_ensure_unique_netns() 2817 if (tb[IFLA_NET_NS_PID] || tb[IFLA_NET_NS_FD] || tb[IFLA_TARGET_NETNSID]) { in do_setlink()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | if_link.h | 334 IFLA_NET_NS_FD, enumerator
|
/linux-6.12.1/include/uapi/linux/ |
D | if_link.h | 334 IFLA_NET_NS_FD, enumerator
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | ipsec.c | 276 if (rtattr_pack(nh, req_sz, IFLA_NET_NS_FD, &ns, sizeof(ns))) in veth_pack_peerb() 330 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, &ns_a, sizeof(ns_a))) in veth_add()
|