Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dnetlink_dumper.c72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump() argument
77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
H A Dmain.h239 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
240 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
H A Dnet.c364 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg() local
366 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg()
378 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg()
387 return do_xdp_dump(ifinfo, tb); in dump_link_nlmsg()
/linux/tools/lib/bpf/
H A Dnetlink.c297 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
298 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()
364 struct ifinfomsg *ifinfo = msg; in get_xdp_info() local
367 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
437 .ifinfo.ifi_family = AF_PACKET, in bpf_xdp_query()
H A Dnlattr.h60 struct ifinfomsg ifinfo; member
/linux/Documentation/netlink/specs/
H A Drt_link.yaml12 name: ifinfo-flags
90 enum: ifinfo-flags