| /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/tools/accounting/ |
| 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()
|
| 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/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 | 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/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 | 1045 c.portid = nlh->nlmsg_pid; in xfrm_add_sa() 1115 c.portid = nlh->nlmsg_pid; in xfrm_del_sa() 2268 c.portid = nlh->nlmsg_pid; in xfrm_add_policy() 2623 c.portid = nlh->nlmsg_pid; in xfrm_get_policy() 2650 c.portid = nlh->nlmsg_pid; in xfrm_flush_sa() 2779 c.portid = nlh->nlmsg_pid; in xfrm_get_ae() 2838 c.portid = nlh->nlmsg_pid; in xfrm_new_ae() 2870 c.portid = nlh->nlmsg_pid; in xfrm_flush_policy() 2936 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid); in xfrm_add_pol_expire() 2968 km_state_expired(x, ue->hard, nlh->nlmsg_pid); in xfrm_add_sa_expire()
|
| /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); 1328 u8 new, u32 flags, u32 nlmsg_pid, in __neigh_update() 1337 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid); in __neigh_update() 1511 neigh_update_notify(neigh, nlmsg_pid); in __neigh_update() 1517 u32 flags, u32 nlmsg_pid) in neigh_update() 1519 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL); in neigh_update() 2730 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify() argument 2733 __neigh_notify(neigh, RTM_NEWNEIGH, 0, nlmsg_pid); in neigh_update_notify() 1329 __neigh_update(struct neighbour * neigh,const u8 * lladdr,u8 new,u32 flags,u32 nlmsg_pid,struct netlink_ext_ack * extack) __neigh_update() argument 1518 neigh_update(struct neighbour * neigh,const u8 * lladdr,u8 new,u32 flags,u32 nlmsg_pid) neigh_update() argument
|
| /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 | 358 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 | 1186 nh->nlmsg_pid = pid; in dump_addrs()
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 12923 if (nlhdr->nlmsg_pid) { in __cfg80211_send_event_skb() 12925 nlhdr->nlmsg_pid); in __cfg80211_send_event_skb()
|