Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Dnet.c96 static int netlink_open(__u32 *nl_pid) in netlink_open() argument
131 *nl_pid = sa.nl_pid; in netlink_open()
139 static int netlink_recv(int sock, __u32 nl_pid, __u32 seq, in netlink_recv() argument
162 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
213 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, in netlink_get_class() argument
232 return netlink_recv(sock, nl_pid, seq, __dump_class_nlmsg, in netlink_get_class()
252 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, in netlink_get_qdisc() argument
271 return netlink_recv(sock, nl_pid, seq, __dump_qdisc_nlmsg, in netlink_get_qdisc()
291 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() argument
311 return netlink_recv(sock, nl_pid, seq, __dump_filter_nlmsg, in netlink_get_filter()
[all …]
/tools/lib/bpf/
Dnetlink.c36 static int libbpf_netlink_open(__u32 *nl_pid) in libbpf_netlink_open() argument
71 *nl_pid = sa.nl_pid; in libbpf_netlink_open()
116 static int libbpf_netlink_recv(int sock, __u32 nl_pid, int seq, in libbpf_netlink_recv() argument
160 if (nh->nlmsg_pid != nl_pid) { in libbpf_netlink_recv()
211 __u32 nl_pid = 0; in libbpf_netlink_send_recv() local
214 sock = libbpf_netlink_open(&nl_pid); in libbpf_netlink_send_recv()
226 ret = libbpf_netlink_recv(sock, nl_pid, req->nh.nlmsg_seq, in libbpf_netlink_send_recv()
/tools/include/uapi/linux/
Dnetlink.h40 __u32 nl_pid; /* port ID */ member