Searched refs:nl_pid (Results 1 - 10 of 10) sorted by relevance
/linux-master/tools/bpf/bpftool/ |
H A D | net.c | 105 static int netlink_open(__u32 *nl_pid) argument 140 *nl_pid = sa.nl_pid; 148 static int netlink_recv(int sock, __u32 nl_pid, __u32 seq, argument 171 if (nh->nlmsg_pid != nl_pid) { 222 static int netlink_get_class(int sock, unsigned int nl_pid, int ifindex, argument 241 return netlink_recv(sock, nl_pid, seq, __dump_class_nlmsg, 261 static int netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, argument 280 return netlink_recv(sock, nl_pid, seq, __dump_qdisc_nlmsg, 300 static int netlink_get_filter(int sock, unsigned int nl_pid, in argument 339 netlink_get_link(int sock, unsigned int nl_pid, dump_nlmsg_t dump_link_nlmsg, void *cookie) argument 516 show_dev_tc_bpf_classic(int sock, unsigned int nl_pid, struct ip_devname_ifindex *dev) argument 848 unsigned int nl_pid = 0; local [all...] |
/linux-master/tools/lib/bpf/ |
H A D | netlink.c | 52 static int libbpf_netlink_open(__u32 *nl_pid, int proto) argument 87 *nl_pid = sa.nl_pid; 132 static int libbpf_netlink_recv(int sock, __u32 nl_pid, int seq, argument 176 if (nh->nlmsg_pid != nl_pid) { 227 __u32 nl_pid = 0; local 230 sock = libbpf_netlink_open(&nl_pid, proto); 242 ret = libbpf_netlink_recv(sock, nl_pid, req->nh.nlmsg_seq,
|
/linux-master/tools/include/uapi/linux/ |
H A D | netlink.h | 40 __u32 nl_pid; /* port ID */ member in struct:sockaddr_nl
|
/linux-master/samples/connector/ |
H A D | ucon.c | 147 l_local.nl_pid = 0;
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | audit_logread.c | 41 addr.nl_pid != 0 ||
|
/linux-master/include/uapi/linux/ |
H A D | netlink.h | 40 __u32 nl_pid; /* port ID */ member in struct:sockaddr_nl
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 207 if (nladdr.nl_pid != 0 || 208 h->nlmsg_pid != rtnl->local.nl_pid ||
|
/linux-master/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 98 sa_nl.nl_pid = getpid();
|
/linux-master/net/netlink/ |
H A D | af_netlink.c | 1036 if (nladdr->nl_pid != nlk->portid) 1060 err = nladdr->nl_pid ? 1061 netlink_insert(sk, nladdr->nl_pid) : 1113 if ((nladdr->nl_groups || nladdr->nl_pid) && 1128 WRITE_ONCE(nlk->dst_portid, nladdr->nl_pid); 1147 nladdr->nl_pid = READ_ONCE(nlk->dst_portid); 1151 nladdr->nl_pid = READ_ONCE(nlk->portid); 1853 dst_portid = addr->nl_pid; 1968 addr->nl_pid = NETLINK_CB(skb).portid;
|
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.c | 708 ys->portid = addr.nl_pid;
|
Completed in 143 milliseconds