/linux/tools/accounting/ |
H A D | procacct.c | 125 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 140 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd()
|
H A D | getdelays.c | 118 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 133 msg.n.nlmsg_pid = nlmsg_pid; in send_cmd()
|
/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/include/uapi/linux/ |
H A D | netlink.h | 49 __u32 nlmsg_pid; /* Sending process port ID */ member
|
/linux/tools/net/ynl/lib/ |
H A D | ynl-priv.h | 250 o = nlh->nlmsg_len + NLA_HDRLEN + NLMSG_ALIGN(size) > nlh->nlmsg_pid; in __ynl_attr_put_overflow() 255 nlh->nlmsg_pid = YNL_MSG_OVERFLOW; in __ynl_attr_put_overflow()
|
H A D | ynl.c | 411 nlh->nlmsg_pid = YNL_SOCKET_BUFFER_SIZE; in ynl_msg_start() 419 if (nlh->nlmsg_pid == 0) { in ynl_msg_end() 424 if (nlh->nlmsg_pid == YNL_MSG_OVERFLOW) { in ynl_msg_end() 430 nlh->nlmsg_pid = 0; in ynl_msg_end()
|
/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/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 54 hdr->nlmsg_pid = getpid(); in send_message()
|
/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/net/xfrm/ |
H A D | xfrm_user.c | 925 c.portid = nlh->nlmsg_pid; in xfrm_add_sa() 995 c.portid = nlh->nlmsg_pid; in xfrm_del_sa() 2128 c.portid = nlh->nlmsg_pid; in xfrm_add_policy() 2483 c.portid = nlh->nlmsg_pid; in xfrm_get_policy() 2510 c.portid = nlh->nlmsg_pid; in xfrm_flush_sa() 2633 c.portid = nlh->nlmsg_pid; in xfrm_get_ae() 2692 c.portid = nlh->nlmsg_pid; in xfrm_new_ae() 2724 c.portid = nlh->nlmsg_pid; in xfrm_flush_policy() 2790 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid); in xfrm_add_pol_expire() 2822 km_state_expired(x, ue->hard, nlh->nlmsg_pid); in xfrm_add_sa_expire()
|
H A D | xfrm_compat.c | 148 nlh_dst = nlmsg_put(skb, nlh_src->nlmsg_pid, nlh_src->nlmsg_seq, in xfrm_nlmsg_put_compat()
|
/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 208 h->nlmsg_pid != rtnl->local.nl_pid || in __rtnl_talk_iov()
|
/linux/net/core/ |
H A D | neighbour.c | 56 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid); 1300 u8 new, u32 flags, u32 nlmsg_pid, in __neigh_update() argument 1309 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid); in __neigh_update() 1482 neigh_update_notify(neigh, nlmsg_pid); in __neigh_update() 1488 u32 flags, u32 nlmsg_pid) in neigh_update() argument 1490 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL); in neigh_update() 2672 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify() argument 2675 __neigh_notify(neigh, RTM_NEWNEIGH, 0, nlmsg_pid); in neigh_update_notify()
|
/linux/tools/lib/bpf/ |
H A D | netlink.c | 176 if (nh->nlmsg_pid != nl_pid) { in libbpf_netlink_recv() 234 req->nh.nlmsg_pid = 0; in libbpf_netlink_send_recv()
|
/linux/include/net/ |
H A D | neighbour.h | 351 u32 nlmsg_pid);
|
/linux/tools/bpf/bpftool/ |
H A D | net.c | 175 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 1152 nh->nlmsg_pid = pid; in dump_addrs()
|
/linux/net/netlink/ |
H A D | af_netlink.c | 2155 nlh->nlmsg_pid = portid; in __nlmsg_put()
|
/linux/net/wireless/ |
H A D | nl80211.c | 11840 if (nlhdr->nlmsg_pid) { in __cfg80211_send_event_skb() 11842 nlhdr->nlmsg_pid); in __cfg80211_send_event_skb()
|