Home
last modified time | relevance | path

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

/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.c524 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/
Dflow_dissector_load.c33 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/
Dnet.c499 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
Dcommon.c62 [BPF_FLOW_DISSECTOR] = "flow_dissector",
Dprog.c80 [BPF_FLOW_DISSECTOR] = "flow_dissector",
944 if (*attach_type == BPF_FLOW_DISSECTOR) { in parse_attach_detach_args()
/tools/include/uapi/linux/
Dbpf.h222 BPF_FLOW_DISSECTOR, enumerator
/tools/lib/bpf/
Dlibbpf.c8428 BPF_FLOW_DISSECTOR),