Lines Matching refs:handle
45 int handle; member
298 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() argument
310 .t.tcm_parent = handle, in netlink_get_filter()
410 tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle; in dump_class_qdisc_nlmsg()
516 int i, handle, ret = 0; in show_dev_tc_bpf_classic() local
539 tcinfo.handle_array[i].handle, in show_dev_tc_bpf_classic()
546 handle = TC_H_ROOT; in show_dev_tc_bpf_classic()
548 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()
553 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS); in show_dev_tc_bpf_classic()
555 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()
560 handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS); in show_dev_tc_bpf_classic()
562 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()