| /linux/include/trace/events/ |
| H A D | neigh.h | 75 u32 flags, u32 nlmsg_pid), 77 TP_ARGS(n, lladdr, new, flags, nlmsg_pid), 138 __entry->pid = nlmsg_pid;
|
| /linux/Documentation/userspace-api/netlink/ |
| H A D | intro.rst | 117 __u32 nlmsg_pid; /* Port ID, set to 0 */ 162 :c:member:`nlmsghdr.nlmsg_pid` is the Netlink equivalent of an address. 164 See :ref:`nlmsg_pid` for the (uncommon) uses of the field. 268 __u32 nlmsg_pid: 0 298 __u32 nlmsg_pid: 5831 /* The PID of our user space process */ 336 __u32 nlmsg_pid: 5831 /* The PID of our user space process */ 345 __u32 nlmsg_pid: 0 416 nlmsg_pid section in Advanced topics 419 :c:member:`nlmsghdr.nlmsg_pid` is the Netlink equivalent of an address. 427 to leave the :c:member:`nlmsghdr.nlmsg_pid` field initialized to ``0``. [all …]
|
| /linux/tools/testing/selftests/nci/ |
| H A D | nci_dev.c | 111 static int send_cmd_mt_nla(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd_mt_nla() argument 126 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd_mt_nla() 240 static int send_cmd_with_idx(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd_with_idx() argument 247 return send_cmd_mt_nla(sd, nlmsg_type, nlmsg_pid, genl_cmd, 1, in send_cmd_with_idx()
|
| /linux/drivers/infiniband/core/ |
| H A D | iwpm_msg.c | 423 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_register_pid_cb() 573 __func__, cb->nlh->nlmsg_pid, msg_seq); in iwpm_add_and_query_mapping_cb() 719 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_mapping_info_cb() 843 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_hello_cb()
|
| /linux/tools/accounting/ |
| H A D | getdelays.c | 119 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 134 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd()
|
| H A D | delaytop.c | 419 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 438 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd()
|
| /linux/tools/net/ynl/lib/ |
| H A D | ynl-priv.h | 262 o = nlh->nlmsg_len + NLA_HDRLEN + NLMSG_ALIGN(size) > nlh->nlmsg_pid; in __ynl_attr_put_overflow() 267 nlh->nlmsg_pid = YNL_MSG_OVERFLOW; in __ynl_attr_put_overflow()
|
| H A D | ynl.c | 483 * length in nlmsg_pid, since messages sent to the kernel always use in ynl_msg_start() 486 nlh->nlmsg_pid = YNL_SOCKET_BUFFER_SIZE; in ynl_msg_start() 493 /* We stash buffer length in nlmsg_pid. */ in ynl_msg_end() 494 if (nlh->nlmsg_pid == 0) { in ynl_msg_end() 499 if (nlh->nlmsg_pid == YNL_MSG_OVERFLOW) { in ynl_msg_end() 505 nlh->nlmsg_pid = 0; in ynl_msg_end()
|
| /linux/tools/include/uapi/linux/ |
| H A D | netlink.h | 49 __u32 nlmsg_pid; /* Sending process port ID */ member
|
| /linux/include/uapi/linux/ |
| H A D | netlink.h | 57 __u32 nlmsg_pid; member
|
| /linux/samples/connector/ |
| H A D | ucon.c | 58 nlh->nlmsg_pid = getpid(); in netlink_send()
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 286 req.nl.nlmsg_pid = 0; in get_route_table() 421 req.nl.nlmsg_pid = 0; in get_arp_table()
|
| /linux/tools/testing/selftests/connector/ |
| H A D | proc_filter.c | 54 hdr->nlmsg_pid = getpid(); in send_message()
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 1054 c.portid = nlh->nlmsg_pid; in xfrm_user_state_lookup() 1124 c.portid = nlh->nlmsg_pid; 2278 c.portid = nlh->nlmsg_pid; in copy_to_user_tmpl() 2633 c.portid = nlh->nlmsg_pid; in xfrm_flush_sa() 2660 c.portid = nlh->nlmsg_pid; in xfrm_aevent_msgsize() 2789 c.portid = nlh->nlmsg_pid; 2848 c.portid = nlh->nlmsg_pid; in xfrm_flush_policy() 2880 c.portid = nlh->nlmsg_pid; in xfrm_add_pol_expire() 2946 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid); in xfrm_add_sa_expire() 2978 km_state_expired(x, ue->hard, nlh->nlmsg_pid); in xfrm_add_sa_expire() [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | netlink_helpers.c | 208 h->nlmsg_pid != rtnl->local.nl_pid || in __rtnl_talk_iov()
|
| /linux/tools/lib/bpf/ |
| H A D | netlink.c | 176 if (nh->nlmsg_pid != nl_pid) { in libbpf_netlink_recv() 236 req->nh.nlmsg_pid = 0; in libbpf_netlink_send_recv()
|
| /linux/include/net/ |
| H A D | neighbour.h | 358 u32 nlmsg_pid);
|
| /linux/net/core/ |
| H A D | neighbour.c | 1376 u8 new, u32 flags, u32 nlmsg_pid, in __neigh_update() argument 1386 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid); in __neigh_update() 1523 __neigh_notify(neigh, RTM_NEWNEIGH, 0, nlmsg_pid); in __neigh_update() 1543 u32 flags, u32 nlmsg_pid) in neigh_update() argument 1545 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL); in neigh_update()
|
| /linux/tools/bpf/bpftool/ |
| H A D | net.c | 175 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
|
| /linux/net/ethtool/ |
| H A D | rss.c | 983 nlh->nlmsg_pid = 0; in ethnl_rss_create_send_ntf()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | pm_nl_ctl.c | 1186 nh->nlmsg_pid = pid; in dump_addrs()
|
| /linux/net/netlink/ |
| H A D | af_netlink.c | 2148 nlh->nlmsg_pid = portid; in __nlmsg_put()
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 13039 if (nlhdr->nlmsg_pid) { in __cfg80211_send_event_skb() 13041 nlhdr->nlmsg_pid); in __cfg80211_send_event_skb()
|