Home
last modified time | relevance | path

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

/external/libnl/lib/
Dsocket.c103 sk->s_local.nl_pid = generate_local_port(); in __alloc_socket()
104 if (sk->s_local.nl_pid == UINT_MAX) { in __alloc_socket()
158 release_local_port(sk->s_local.nl_pid); in nl_socket_free()
244 return sk->s_local.nl_pid; in nl_socket_get_local_port()
262 release_local_port(sk->s_local.nl_pid); in nl_socket_set_local_port()
266 sk->s_local.nl_pid = port; in nl_socket_set_local_port()
393 return sk->s_peer.nl_pid; in nl_socket_get_peer_port()
398 sk->s_peer.nl_pid = port; in nl_socket_set_peer_port()
Dnl.c297 nlh->nlmsg_pid = sk->s_local.nl_pid; in nl_auto_complete()
/external/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()
/external/dnsmasq/src/
Dnetlink.c46 addr.nl_pid = 0; /* autobind */ in netlink_init()
69 netlink_pid = addr.nl_pid; in netlink_init()
111 if (rc == -1 || nladdr.nl_pid == 0) in netlink_recv()
141 addr.nl_pid = 0; /* address to kernel */ in iface_enumerate()
/external/iproute2/lib/
Dlibnetlink.c222 if (nladdr.nl_pid != 0 || in rtnl_dump_filter_l()
223 h->nlmsg_pid != rth->local.nl_pid || in rtnl_dump_filter_l()
298 nladdr.nl_pid = peer; in rtnl_talk()
349 if (nladdr.nl_pid != peer || in rtnl_talk()
350 h->nlmsg_pid != rtnl->local.nl_pid || in rtnl_talk()
412 nladdr.nl_pid = 0; in rtnl_listen()
479 nladdr.nl_pid = 0; in rtnl_from_file()
/external/libselinux/src/
Davc_internal.c133 if (nladdr.nl_pid) { in avc_netlink_receive()
136 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
/external/selinux/libselinux/src/
Davc_internal.c133 if (nladdr.nl_pid) { in avc_netlink_receive()
136 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
/external/libnl/include/netlink/
Dnetlink-kernel.h17 uint32_t nl_pid; member
/external/libnl/include/linux/
Dnetlink.h34 __u32 nl_pid; /* port ID */ member
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h80 u32 nl_pid; member
/external/iproute2/include/linux/
Dnetlink.h37 __u32 nl_pid; /* port ID */ member
/external/kernel-headers/original/uapi/linux/
Dnetlink.h38 __u32 nl_pid; /* port ID */ member
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c195 addr.nl_pid = 0; /* address to kernel */ in find_interface()
/external/libpcap/
Dpcap-netfilter-linux.c305 if (snl.nl_pid != 0 || seq_id != nlh->nlmsg_seq) /* if not from kernel or wrong sequence skip */ in netfilter_send_config_msg()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c151 if (nladdr.nl_pid) /* Message not from kernel */ in recvaddrs()
/external/iproute2/misc/
Darpd.c461 if (nladdr.nl_pid) in get_kern_msg()
/external/strace/
Dnet.c346 tprintf("pid=%d, groups=%08x", addrbuf.nl.nl_pid, addrbuf.nl.nl_groups); in printsock()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c1110 PRE_MEM_READ(outmsg, (Addr)&nl->nl_pid, sizeof(nl->nl_pid)); in pre_mem_read_sockaddr()
/external/valgrind/include/vki/
Dvki-linux.h774 __vki_u32 nl_pid; /* port ID */ member