Lines Matching refs:nl_pid

109 static int netlink_open(__u32 *nl_pid)  in netlink_open()  argument
144 *nl_pid = sa.nl_pid; in netlink_open()
152 static int netlink_recv(int sock, __u32 nl_pid, __u32 seq, in netlink_recv() argument
175 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
226 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, in netlink_get_class() argument
245 return netlink_recv(sock, nl_pid, seq, __dump_class_nlmsg, in netlink_get_class()
265 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, in netlink_get_qdisc() argument
284 return netlink_recv(sock, nl_pid, seq, __dump_qdisc_nlmsg, in netlink_get_qdisc()
304 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() argument
324 return netlink_recv(sock, nl_pid, seq, __dump_filter_nlmsg, in netlink_get_filter()
343 static int netlink_get_link(int sock, unsigned int nl_pid, in netlink_get_link() argument
361 return netlink_recv(sock, nl_pid, seq, __dump_link_nlmsg, in netlink_get_link()
520 static int show_dev_tc_bpf_classic(int sock, unsigned int nl_pid, in show_dev_tc_bpf_classic() argument
532 ret = netlink_get_class(sock, nl_pid, dev->ifindex, in show_dev_tc_bpf_classic()
538 ret = netlink_get_qdisc(sock, nl_pid, dev->ifindex, in show_dev_tc_bpf_classic()
547 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, in show_dev_tc_bpf_classic()
557 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()
564 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()
571 ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle, in show_dev_tc_bpf_classic()
907 unsigned int nl_pid = 0; in do_show() local
922 sock = netlink_open(&nl_pid); in do_show()
937 ret = netlink_get_link(sock, nl_pid, dump_link_nlmsg, &dev_array); in do_show()
944 ret = show_dev_tc_bpf_classic(sock, nl_pid, in do_show()