Searched refs:nl_pid (Results 1 – 19 of 19) sorted by relevance
103 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()
297 nlh->nlmsg_pid = sk->s_local.nl_pid; in nl_auto_complete()
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()
46 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()
222 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()
133 if (nladdr.nl_pid) { in avc_netlink_receive()136 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
17 uint32_t nl_pid; member
34 __u32 nl_pid; /* port ID */ member
80 u32 nl_pid; member
37 __u32 nl_pid; /* port ID */ member
38 __u32 nl_pid; /* port ID */ member
195 addr.nl_pid = 0; /* address to kernel */ in find_interface()
305 if (snl.nl_pid != 0 || seq_id != nlh->nlmsg_seq) /* if not from kernel or wrong sequence skip */ in netfilter_send_config_msg()
151 if (nladdr.nl_pid) /* Message not from kernel */ in recvaddrs()
461 if (nladdr.nl_pid) in get_kern_msg()
346 tprintf("pid=%d, groups=%08x", addrbuf.nl.nl_pid, addrbuf.nl.nl_groups); in printsock()
1110 PRE_MEM_READ(outmsg, (Addr)&nl->nl_pid, sizeof(nl->nl_pid)); in pre_mem_read_sockaddr()
774 __vki_u32 nl_pid; /* port ID */ member