Searched refs:TC_H_MAKE (Results 1 – 5 of 5) sorted by relevance
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | bpf_qdisc.c | 86 .parent = TC_H_MAKE(1 << 16, 1), in test_qdisc_attach_to_mq() 117 .parent = TC_H_MAKE(1 << 16, 1), in test_qdisc_attach_to_non_root()
|
| A D | tc_bpf.c | 153 inv_hook.parent = TC_H_MAKE(1UL << 16, 10); in test_tc_bpf_api() 354 hook.parent = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in tc_bpf_root()
|
| /tools/lib/bpf/ |
| A D | netlink.c | 537 req->tc.tcm_handle = TC_H_MAKE(TC_H_CLSACT, 0); in clsact_config() 581 *parent = TC_H_MAKE(TC_H_CLSACT, in tc_get_tcm_parent() 773 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_attach() 850 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in __bpf_tc_detach() 916 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_query()
|
| /tools/bpf/bpftool/ |
| A D | net.c | 565 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf_classic() 572 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf_classic()
|
| /tools/include/uapi/linux/ |
| A D | pkt_sched.h | 71 #define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) macro
|
Completed in 16 milliseconds