Searched refs:ifinfo (Results 1 – 5 of 5) sorted by relevance
72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump() argument77 return do_xdp_dump_one(tb[IFLA_XDP], ifinfo->ifi_index, in do_xdp_dump()
256 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);257 int do_filter_dump(struct tcmsg *ifinfo, struct nlattr **tb, const char *kind,
355 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg() local357 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()
59 struct ifinfomsg ifinfo; member
244 req.ifinfo.ifi_family = AF_UNSPEC; in __bpf_set_link_xdp_fd_replace()245 req.ifinfo.ifi_index = ifindex; in __bpf_set_link_xdp_fd_replace()314 struct ifinfomsg *ifinfo = msg; in get_xdp_info() local317 if (xdp_id->ifindex && xdp_id->ifindex != ifinfo->ifi_index) in get_xdp_info()365 .ifinfo.ifi_family = AF_PACKET, in bpf_get_link_xdp_info()