Home
last modified time | relevance | path

Searched refs:NETNSA_NSID (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dnet_namespace.h16 NETNSA_NSID, enumerator
/linux-6.6.21/net/core/
Dnet_namespace.c740 [NETNSA_NSID] = { .type = NLA_S32 },
759 if (!tb[NETNSA_NSID]) { in rtnl_net_newid()
763 nsid = nla_get_s32(tb[NETNSA_NSID]); in rtnl_net_newid()
799 NL_SET_BAD_ATTR(extack, tb[NETNSA_NSID]); in rtnl_net_newid()
838 if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) in rtnl_net_fill()
878 case NETNSA_NSID: in rtnl_net_valid_getid_req()
914 } else if (tb[NETNSA_NSID]) { in rtnl_net_getid()
915 peer = get_net_ns_by_id(net, nla_get_s32(tb[NETNSA_NSID])); in rtnl_net_getid()
918 nla = tb[NETNSA_NSID]; in rtnl_net_getid()