Lines Matching refs:IFINDEX_LO
5 #define IFINDEX_LO 1 macro
40 err = bpf_xdp_attach(IFINDEX_LO, fd1, XDP_FLAGS_REPLACE, &opts); in test_xdp_attach()
44 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in test_xdp_attach()
49 err = bpf_xdp_attach(IFINDEX_LO, fd2, XDP_FLAGS_REPLACE, &opts); in test_xdp_attach()
54 err = bpf_xdp_attach(IFINDEX_LO, fd2, 0, &opts); in test_xdp_attach()
57 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in test_xdp_attach()
62 err = bpf_xdp_attach(IFINDEX_LO, fd3, 0, &opts); in test_xdp_attach()
66 err = bpf_xdp_detach(IFINDEX_LO, 0, &opts); in test_xdp_attach()
71 err = bpf_xdp_detach(IFINDEX_LO, 0, &opts); in test_xdp_attach()
75 err = bpf_xdp_query_id(IFINDEX_LO, 0, &id0); in test_xdp_attach()
80 bpf_xdp_detach(IFINDEX_LO, 0, NULL); in test_xdp_attach()
133 err = bpf_link_create(fd_xdp, IFINDEX_LO, BPF_XDP, &opts); in test_xdp_attach_fail()