Searched refs:BPF_FLOW_DISSECTOR (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/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 | 586 err = bpf_prog_attach(prog_fd, 0, BPF_FLOW_DISSECTOR, 0); in test_skb_less_prog_attach() 592 err = bpf_prog_detach2(prog_fd, 0, BPF_FLOW_DISSECTOR); in test_skb_less_prog_attach()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | flow_dissector_load.c | 35 ret = bpf_prog_attach(prog_fd, 0 /* Ignore */, BPF_FLOW_DISSECTOR, 0); in load_and_attach_program() 49 ret = bpf_prog_detach(0, BPF_FLOW_DISSECTOR); in detach_program()
|
/Linux-v6.6/include/linux/ |
D | bpf-netns.h | 13 case BPF_FLOW_DISSECTOR: in to_netns_bpf_attach_type()
|
/Linux-v6.6/Documentation/bpf/libbpf/ |
D | program_types.rst | 74 | ``BPF_PROG_TYPE_FLOW_DISSECTOR`` | ``BPF_FLOW_DISSECTOR`` | ``flow_disse…
|
/Linux-v6.6/tools/bpf/bpftool/ |
D | net.c | 587 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
|
D | prog.c | 51 [BPF_FLOW_DISSECTOR] = true, 1045 if (*attach_type == BPF_FLOW_DISSECTOR) { in parse_attach_detach_args()
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 1011 BPF_FLOW_DISSECTOR, enumerator
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 1011 BPF_FLOW_DISSECTOR, enumerator
|
/Linux-v6.6/kernel/bpf/ |
D | syscall.c | 3696 case BPF_FLOW_DISSECTOR: in attach_type_to_prog_type() 3965 case BPF_FLOW_DISSECTOR: in bpf_prog_query()
|
/Linux-v6.6/tools/lib/bpf/ |
D | libbpf.c | 103 [BPF_FLOW_DISSECTOR] = "flow_dissector", 8832 SEC_DEF("flow_dissector", FLOW_DISSECTOR, BPF_FLOW_DISSECTOR, SEC_ATTACHABLE_OPT),
|