Home
last modified time | relevance | path

Searched refs:nl_pid (Results 1 – 15 of 15) sorted by relevance

/third_party/libnl/lib/
Dsocket.c253 release_local_port(sk->s_local.nl_pid); in nl_socket_free()
335 return (sk->s_local.nl_pid == 0); in _nl_socket_is_local_port_unspecified()
349 sk->s_local.nl_pid = port; in _nl_socket_set_local_port_no_release()
367 if (sk->s_local.nl_pid == 0) { in nl_socket_get_local_port()
379 sk_mutable->s_local.nl_pid = generate_local_port(); in nl_socket_get_local_port()
380 if (sk_mutable->s_local.nl_pid == 0) { in nl_socket_get_local_port()
384 sk_mutable->s_local.nl_pid = UINT32_MAX; in nl_socket_get_local_port()
389 return sk->s_local.nl_pid; in nl_socket_get_local_port()
407 release_local_port(sk->s_local.nl_pid); in nl_socket_set_local_port()
409 sk->s_local.nl_pid = port; in nl_socket_set_local_port()
[all …]
Dnl.c202 if (sk->s_local.nl_pid != local.nl_pid) { in nl_connect()
205 nl_socket_set_local_port (sk, local.nl_pid); in nl_connect()
/third_party/eudev/src/libudev/
Dlibudev-monitor.c122 udev_monitor->snl.nl.nl_pid = snl.nl.nl_pid; in monitor_set_nl_address()
345 udev_monitor->snl_trusted_sender.nl.nl_pid = sender->snl.nl.nl_pid; in udev_monitor_allow_unicast_sender()
584 if (udev_monitor->snl_trusted_sender.nl.nl_pid == 0 || in udev_monitor_receive_device()
585 snl.nl.nl_pid != udev_monitor->snl_trusted_sender.nl.nl_pid) { in udev_monitor_receive_device()
590 if (snl.nl.nl_pid > 0) { in udev_monitor_receive_device()
592 snl.nl.nl_pid); in udev_monitor_receive_device()
/third_party/iptables/libipq/
Dlibipq.c177 if (h->peer.nl_pid != 0) { in ipq_netlink_recvfrom()
239 h->local.nl_pid = getpid(); in ipq_create_handle()
250 h->peer.nl_pid = 0; in ipq_create_handle()
280 req.nlh.nlmsg_pid = h->local.nl_pid; in ipq_set_mode()
329 nlh.nlmsg_pid = h->local.nl_pid; in ipq_set_verdict()
/third_party/selinux/libselinux/src/
Davc_internal.c177 if (nladdr.nl_pid) { in avc_netlink_receive()
180 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
/third_party/libnl/include/netlink/
Dnetlink-kernel.h25 uint32_t nl_pid;
/third_party/ltp/testcases/cve/
Dcve-2017-16939.c52 addr.nl_pid = 0; /* packet goes into the kernel */ in setup()
/third_party/libusb/libusb/os/
Dlinux_netlink.c313 if (sa_nl.nl_groups != NL_GROUP_KERNEL || sa_nl.nl_pid != 0) { in linux_netlink_read_message()
315 (unsigned int)sa_nl.nl_groups, (unsigned int)sa_nl.nl_pid); in linux_netlink_read_message()
/third_party/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c287 src_addr.nl_pid = 0; in main()
292 l_local.nl_pid = getpid(); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dpriv_netlink.h80 u32 nl_pid; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dpriv_netlink.h80 u32 nl_pid; member
/third_party/libnl/include/linux-private/linux/
Dnetlink.h40 __u32 nl_pid; /* port ID */ member
/third_party/glib/gio/
Dgnetworkmonitornetlink.c105 snl.nl_pid = snl.nl_pad = 0; in g_network_monitor_netlink_initable_init()
342 if (source_sockaddr.nl_pid != 0) in read_netlink_messages()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c521 sanl.nl_pid = (uint32_t)getpid(); in rops_pt_init_destroy_netlink()
/third_party/python/Modules/
Dsocketmodule.c1333 return Py_BuildValue("II", a->nl_pid, a->nl_groups); in makesockaddr()
1726 addr->nl_pid = pid; in getsockaddrarg()