Searched refs:nl_pid (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/tools/bpf/bpftool/ |
D | net.c | 103 static int netlink_open(__u32 *nl_pid) in netlink_open() argument 138 *nl_pid = sa.nl_pid; in netlink_open() 146 static int netlink_recv(int sock, __u32 nl_pid, __u32 seq, in netlink_recv() argument 169 if (nh->nlmsg_pid != nl_pid) { in netlink_recv() 220 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, in netlink_get_class() argument 239 return netlink_recv(sock, nl_pid, seq, __dump_class_nlmsg, in netlink_get_class() 259 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, in netlink_get_qdisc() argument 278 return netlink_recv(sock, nl_pid, seq, __dump_qdisc_nlmsg, in netlink_get_qdisc() 298 static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, in netlink_get_filter() argument 318 return netlink_recv(sock, nl_pid, seq, __dump_filter_nlmsg, in netlink_get_filter() [all …]
|
/linux-6.6.21/tools/lib/bpf/ |
D | netlink.c | 52 static int libbpf_netlink_open(__u32 *nl_pid, int proto) in libbpf_netlink_open() argument 87 *nl_pid = sa.nl_pid; in libbpf_netlink_open() 132 static int libbpf_netlink_recv(int sock, __u32 nl_pid, int seq, in libbpf_netlink_recv() argument 176 if (nh->nlmsg_pid != nl_pid) { in libbpf_netlink_recv() 227 __u32 nl_pid = 0; in libbpf_netlink_send_recv() local 230 sock = libbpf_netlink_open(&nl_pid, proto); in libbpf_netlink_send_recv() 242 ret = libbpf_netlink_recv(sock, nl_pid, req->nh.nlmsg_seq, in libbpf_netlink_send_recv()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | netlink.h | 40 __u32 nl_pid; /* port ID */ member
|
/linux-6.6.21/tools/testing/selftests/netfilter/ |
D | audit_logread.c | 41 addr.nl_pid != 0 || in audit_recv()
|
/linux-6.6.21/include/uapi/linux/ |
D | netlink.h | 40 __u32 nl_pid; /* port ID */ member
|
/linux-6.6.21/samples/connector/ |
D | ucon.c | 147 l_local.nl_pid = 0; in main()
|
/linux-6.6.21/net/netlink/ |
D | af_netlink.c | 1040 if (nladdr->nl_pid != nlk->portid) in netlink_bind() 1064 err = nladdr->nl_pid ? in netlink_bind() 1065 netlink_insert(sk, nladdr->nl_pid) : in netlink_bind() 1117 if ((nladdr->nl_groups || nladdr->nl_pid) && in netlink_connect() 1132 WRITE_ONCE(nlk->dst_portid, nladdr->nl_pid); in netlink_connect() 1151 nladdr->nl_pid = READ_ONCE(nlk->dst_portid); in netlink_getname() 1155 nladdr->nl_pid = READ_ONCE(nlk->portid); in netlink_getname() 1858 dst_portid = addr->nl_pid; in netlink_sendmsg() 1973 addr->nl_pid = NETLINK_CB(skb).portid; in netlink_recvmsg()
|
/linux-6.6.21/tools/testing/selftests/connector/ |
D | proc_filter.c | 98 sa_nl.nl_pid = getpid(); in register_proc_netlink()
|
/linux-6.6.21/Documentation/driver-api/ |
D | connector.rst | 121 l_local.nl_pid = 0;
|