Searched refs:nl_pid (Results 1 – 15 of 15) sorted by relevance
253 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 …]
202 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()
122 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()
177 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()
177 if (nladdr.nl_pid) { in avc_netlink_receive()180 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
25 uint32_t nl_pid;
52 addr.nl_pid = 0; /* packet goes into the kernel */ in setup()
313 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()
287 src_addr.nl_pid = 0; in main()292 l_local.nl_pid = getpid(); in main()
80 u32 nl_pid; member
40 __u32 nl_pid; /* port ID */ member
105 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()
521 sanl.nl_pid = (uint32_t)getpid(); in rops_pt_init_destroy_netlink()
1333 return Py_BuildValue("II", a->nl_pid, a->nl_groups); in makesockaddr()1726 addr->nl_pid = pid; in getsockaddrarg()