Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
Dnetlink.c141 struct ifinfomsg ifinfo; in __bpf_set_link_xdp_fd_replace() member
156 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()
157 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()
244 struct ifinfomsg *ifinfo = msg; in get_xdp_info() local
247 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
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()
Dmain.h255 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
256 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
Dnet.c355 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg() local
357 if (netinfo->filter_idx > 0 && netinfo->filter_idx != ifinfo->ifi_index) in dump_link_nlmsg()
369 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg()
378 return do_xdp_dump(ifinfo, tb); in dump_link_nlmsg()