Searched refs:BPF_FLOW_DISSECTOR (Results 1 – 9 of 9) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector_reattach.c | 27 err = bpf_prog_query(netns, BPF_FLOW_DISSECTOR, 0, NULL, in query_attached_prog_id() 94 err = bpf_prog_attach(prog1, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach() 102 err = bpf_prog_attach(prog2, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach() 110 err = bpf_prog_attach(prog2, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach() 116 err = bpf_prog_detach2(prog2, 0, BPF_FLOW_DISSECTOR); in test_prog_attach_prog_attach() 127 link1 = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create() 136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create() 152 err = bpf_prog_attach(prog1, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_link_create() 161 link = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_prog_attach_link_create() 168 err = bpf_prog_detach2(prog1, 0, BPF_FLOW_DISSECTOR); in test_prog_attach_link_create() [all …]
|
D | section_names.c | 103 {0, BPF_PROG_TYPE_FLOW_DISSECTOR, BPF_FLOW_DISSECTOR}, 104 {0, BPF_FLOW_DISSECTOR},
|
D | flow_dissector.c | 524 err = bpf_prog_attach(prog_fd, 0, BPF_FLOW_DISSECTOR, 0); in test_skb_less_prog_attach() 530 err = bpf_prog_detach2(prog_fd, 0, BPF_FLOW_DISSECTOR); in test_skb_less_prog_attach()
|
/tools/testing/selftests/bpf/ |
D | flow_dissector_load.c | 33 ret = bpf_prog_attach(prog_fd, 0 /* Ignore */, BPF_FLOW_DISSECTOR, 0); in load_and_attach_program() 47 ret = bpf_prog_detach(0, BPF_FLOW_DISSECTOR); in detach_program()
|
/tools/bpf/bpftool/ |
D | net.c | 499 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
|
D | common.c | 62 [BPF_FLOW_DISSECTOR] = "flow_dissector",
|
D | prog.c | 80 [BPF_FLOW_DISSECTOR] = "flow_dissector", 944 if (*attach_type == BPF_FLOW_DISSECTOR) { in parse_attach_detach_args()
|
/tools/include/uapi/linux/ |
D | bpf.h | 222 BPF_FLOW_DISSECTOR, enumerator
|
/tools/lib/bpf/ |
D | libbpf.c | 8428 BPF_FLOW_DISSECTOR),
|