Home
last modified time | relevance | path

Searched refs:nlmsg_pid (Results 1 – 23 of 23) sorted by relevance

/linux/tools/accounting/
H A Dprocacct.c125 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 Dgetdelays.c118 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 Dneigh.h75 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 Dintro.rst117 __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 Dnci_dev.c111 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 Diwpm_msg.c423 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 Dnetlink.h49 __u32 nlmsg_pid; /* Sending process port ID */ member
/linux/tools/net/ynl/lib/
H A Dynl-priv.h250 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 Dynl.c411 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 Dnetlink.h57 __u32 nlmsg_pid; member
/linux/samples/connector/
H A Ducon.c58 nlh->nlmsg_pid = getpid(); in netlink_send()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c54 hdr->nlmsg_pid = getpid(); in send_message()
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c286 req.nl.nlmsg_pid = 0; in get_route_table()
421 req.nl.nlmsg_pid = 0; in get_arp_table()
/linux/net/xfrm/
H A Dxfrm_user.c925 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 Dxfrm_compat.c148 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 Dnetlink_helpers.c208 h->nlmsg_pid != rtnl->local.nl_pid || in __rtnl_talk_iov()
/linux/net/core/
H A Dneighbour.c56 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 Dnetlink.c176 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 Dneighbour.h351 u32 nlmsg_pid);
/linux/tools/bpf/bpftool/
H A Dnet.c175 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c1152 nh->nlmsg_pid = pid; in dump_addrs()
/linux/net/netlink/
H A Daf_netlink.c2155 nlh->nlmsg_pid = portid; in __nlmsg_put()
/linux/net/wireless/
H A Dnl80211.c11840 if (nlhdr->nlmsg_pid) { in __cfg80211_send_event_skb()
11842 nlhdr->nlmsg_pid); in __cfg80211_send_event_skb()