Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dnetlink.c363 struct xdp_id_md *xdp_id = cookie; in get_xdp_info() local
367 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
380 xdp_id->info.attach_mode = libbpf_nla_getattr_u8( in get_xdp_info()
383 if (xdp_id->info.attach_mode == XDP_ATTACHED_NONE) in get_xdp_info()
387 xdp_id->info.prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
391 xdp_id->info.skb_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
395 xdp_id->info.drv_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
399 xdp_id->info.hw_prog_id = libbpf_nla_getattr_u32( in get_xdp_info()
439 struct xdp_id_md xdp_id = {}; in bpf_xdp_query() local
457 xdp_id.ifindex = ifindex; in bpf_xdp_query()
[all …]