Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c374 #define XGRESS_FILTER_ADD(qdisc_hook, xgress, prog, priority) ({ \ macro
391 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_INGRESS, src_prog, 0); in netns_load_bpf()
393 XGRESS_FILTER_ADD(&qdisc_src_fwd, BPF_TC_EGRESS, chk_prog, 0); in netns_load_bpf()
398 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
400 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_EGRESS, chk_prog, 0); in netns_load_bpf()
704 XGRESS_FILTER_ADD(&qdisc_src, BPF_TC_INGRESS, skel->progs.ingress_host, 0); in netns_load_dtime_bpf()
706 XGRESS_FILTER_ADD(&qdisc_src, BPF_TC_EGRESS, skel->progs.egress_host, 0); in netns_load_dtime_bpf()
716 XGRESS_FILTER_ADD(&qdisc_dst, BPF_TC_INGRESS, skel->progs.ingress_host, 0); in netns_load_dtime_bpf()
718 XGRESS_FILTER_ADD(&qdisc_dst, BPF_TC_EGRESS, skel->progs.egress_host, 0); in netns_load_dtime_bpf()
728 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, in netns_load_dtime_bpf()
[all …]