Home
last modified time | relevance | path

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

/Linux-v6.6/tools/accounting/
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()
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-v6.6/include/trace/events/
Dneigh.h75 u32 flags, u32 nlmsg_pid),
77 TP_ARGS(n, lladdr, new, flags, nlmsg_pid),
138 __entry->pid = nlmsg_pid;
/Linux-v6.6/Documentation/userspace-api/netlink/
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.
264 __u32 nlmsg_pid: 0
294 __u32 nlmsg_pid: 5831 /* The PID of our user space process */
332 __u32 nlmsg_pid: 5831 /* The PID of our user space process */
341 __u32 nlmsg_pid: 0
412 nlmsg_pid section in Advanced topics
415 :c:member:`nlmsghdr.nlmsg_pid` is the Netlink equivalent of an address.
423 to leave the :c:member:`nlmsghdr.nlmsg_pid` field initialized to ``0``.
[all …]
/Linux-v6.6/tools/testing/selftests/nci/
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-v6.6/drivers/infiniband/core/
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-v6.6/tools/include/uapi/linux/
Dnetlink.h49 __u32 nlmsg_pid; /* Sending process port ID */ member
/Linux-v6.6/include/uapi/linux/
Dnetlink.h57 __u32 nlmsg_pid; member
/Linux-v6.6/samples/connector/
Ducon.c58 nlh->nlmsg_pid = getpid(); in netlink_send()
/Linux-v6.6/tools/testing/selftests/connector/
Dproc_filter.c54 hdr->nlmsg_pid = getpid(); in send_message()
/Linux-v6.6/samples/bpf/
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-v6.6/net/xfrm/
Dxfrm_user.c818 c.portid = nlh->nlmsg_pid; in xfrm_add_sa()
888 c.portid = nlh->nlmsg_pid; in xfrm_del_sa()
2004 c.portid = nlh->nlmsg_pid; in xfrm_add_policy()
2357 c.portid = nlh->nlmsg_pid; in xfrm_get_policy()
2384 c.portid = nlh->nlmsg_pid; in xfrm_flush_sa()
2500 c.portid = nlh->nlmsg_pid; in xfrm_get_ae()
2559 c.portid = nlh->nlmsg_pid; in xfrm_new_ae()
2591 c.portid = nlh->nlmsg_pid; in xfrm_flush_policy()
2657 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid); in xfrm_add_pol_expire()
2689 km_state_expired(x, ue->hard, nlh->nlmsg_pid); in xfrm_add_sa_expire()
Dxfrm_compat.c145 nlh_dst = nlmsg_put(skb, nlh_src->nlmsg_pid, nlh_src->nlmsg_seq, in xfrm_nlmsg_put_compat()
/Linux-v6.6/net/core/
Dneighbour.c56 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
1291 u8 new, u32 flags, u32 nlmsg_pid, in __neigh_update() argument
1300 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid); in __neigh_update()
1473 neigh_update_notify(neigh, nlmsg_pid); in __neigh_update()
1479 u32 flags, u32 nlmsg_pid) in neigh_update() argument
1481 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL); in neigh_update()
2657 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify() argument
2660 __neigh_notify(neigh, RTM_NEWNEIGH, 0, nlmsg_pid); in neigh_update_notify()
/Linux-v6.6/tools/lib/bpf/
Dnetlink.c176 if (nh->nlmsg_pid != nl_pid) { in libbpf_netlink_recv()
234 req->nh.nlmsg_pid = 0; in libbpf_netlink_send_recv()
/Linux-v6.6/include/net/
Dneighbour.h351 u32 nlmsg_pid);
/Linux-v6.6/tools/bpf/bpftool/
Dnet.c169 if (nh->nlmsg_pid != nl_pid) { in netlink_recv()
/Linux-v6.6/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c1130 nh->nlmsg_pid = pid; in dump_addrs()
/Linux-v6.6/net/netlink/
Daf_netlink.c2165 nlh->nlmsg_pid = portid; in __nlmsg_put()
/Linux-v6.6/net/wireless/
Dnl80211.c11654 if (nlhdr->nlmsg_pid) { in __cfg80211_send_event_skb()
11656 nlhdr->nlmsg_pid); in __cfg80211_send_event_skb()