ifindex_list 30 samples/bpf/xdp_router_ipv4_user.c static int *ifindex_list; ifindex_list 46 samples/bpf/xdp_router_ipv4_user.c if (bpf_get_link_xdp_id(ifindex_list[i], &prog_id, flags)) { ifindex_list 48 samples/bpf/xdp_router_ipv4_user.c ifindex_list[i]); ifindex_list 52 samples/bpf/xdp_router_ipv4_user.c bpf_set_link_xdp_fd(ifindex_list[i], -1, flags); ifindex_list 55 samples/bpf/xdp_router_ipv4_user.c ifindex_list[i]); ifindex_list 58 samples/bpf/xdp_router_ipv4_user.c ifindex_list[i]); ifindex_list 696 samples/bpf/xdp_router_ipv4_user.c ifindex_list = (int *)calloc(total_ifindex, sizeof(int *)); ifindex_list 698 samples/bpf/xdp_router_ipv4_user.c ifindex_list[i] = if_nametoindex(ifname_list[i]); ifindex_list 699 samples/bpf/xdp_router_ipv4_user.c if (!ifindex_list[i]) { ifindex_list 707 samples/bpf/xdp_router_ipv4_user.c if (bpf_set_link_xdp_fd(ifindex_list[i], prog_fd, flags) < 0) { ifindex_list 712 samples/bpf/xdp_router_ipv4_user.c bpf_set_link_xdp_fd(ifindex_list[i], -1, flags); ifindex_list 723 samples/bpf/xdp_router_ipv4_user.c printf("Attached to %d\n", ifindex_list[i]);