Home
last modified time | relevance | path

Searched refs:BPF_FLOW_DISSECTOR (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c27 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 …]
Dsection_names.c103 {0, BPF_PROG_TYPE_FLOW_DISSECTOR, BPF_FLOW_DISSECTOR},
104 {0, BPF_FLOW_DISSECTOR},
Dflow_dissector.c586 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/
Dflow_dissector_load.c35 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/
Dbpf-netns.h13 case BPF_FLOW_DISSECTOR: in to_netns_bpf_attach_type()
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst74 | ``BPF_PROG_TYPE_FLOW_DISSECTOR`` | ``BPF_FLOW_DISSECTOR`` | ``flow_disse…
/Linux-v6.6/tools/bpf/bpftool/
Dnet.c587 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
Dprog.c51 [BPF_FLOW_DISSECTOR] = true,
1045 if (*attach_type == BPF_FLOW_DISSECTOR) { in parse_attach_detach_args()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1011 BPF_FLOW_DISSECTOR, enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h1011 BPF_FLOW_DISSECTOR, enumerator
/Linux-v6.6/kernel/bpf/
Dsyscall.c3696 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/
Dlibbpf.c103 [BPF_FLOW_DISSECTOR] = "flow_dissector",
8832 SEC_DEF("flow_dissector", FLOW_DISSECTOR, BPF_FLOW_DISSECTOR, SEC_ATTACHABLE_OPT),