Searched refs:NETDEV_A_DEV_IFINDEX (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/net/core/ |
A D | netdev-genl-gen.c | 14 static const struct nla_policy netdev_dev_get_nl_policy[NETDEV_A_DEV_IFINDEX + 1] = { 15 [NETDEV_A_DEV_IFINDEX] = NLA_POLICY_MIN(NLA_U32, 1), 24 .maxattr = NETDEV_A_DEV_IFINDEX,
|
A D | netdev-genl.c | 21 if (nla_put_u32(rsp, NETDEV_A_DEV_IFINDEX, netdev->ifindex) || in netdev_nl_dev_fill() 62 if (GENL_REQ_ATTR_CHECK(info, NETDEV_A_DEV_IFINDEX)) in netdev_nl_dev_get_doit() 65 ifindex = nla_get_u32(info->attrs[NETDEV_A_DEV_IFINDEX]); in netdev_nl_dev_get_doit()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | netdev.h | 39 NETDEV_A_DEV_IFINDEX = 1, enumerator
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | netdev.h | 39 NETDEV_A_DEV_IFINDEX = 1, enumerator
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | netlink.c | 416 if (!tb[NETDEV_A_DEV_IFINDEX] || !tb[NETDEV_A_DEV_XDP_FEATURES]) in parse_xdp_features() 419 ifindex = libbpf_nla_getattr_u32(tb[NETDEV_A_DEV_IFINDEX]); in parse_xdp_features() 481 err = nlattr_add(&req, NETDEV_A_DEV_IFINDEX, &ifindex, sizeof(ifindex)); in bpf_xdp_query()
|
Completed in 7 milliseconds