Home
last modified time | relevance | path

Searched refs:nl_port (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/netlink/
H A Dnetlink_domain.c132 if (nlp->nl_port == port_id) in nl_port_lookup()
276 uint32_t nl_port = (arc4random() % 65536) + 65536 * 4; in nl_find_port() local
277 if (nl_port_lookup(nl_port) == 0) in nl_find_port()
278 return (nl_port); in nl_find_port()
279 NL_LOG(LOG_DEBUG3, "tried %u\n", nl_port); in nl_find_port()
288 if (nlp->nl_port != snl->nl_pid) { in nl_bind_locked()
292 nlp->nl_port, snl->nl_pid); in nl_bind_locked()
300 nlp->nl_port = snl->nl_pid; in nl_bind_locked()
516 NL_LOG(LOG_DEBUG3, "socket %p, unlinking bound pid %u", so, nlp->nl_port); in nl_close()
556 .nl_pid = sotonlpcb(so)->nl_port, in nl_sockaddr()
[all …]
H A Dnetlink_var.h59 uint32_t nl_port; member
H A Dnetlink_io.c274 hdr->nlmsg_pid = nlp->nl_port; in nl_receive_message()
H A Dnetlink_message_writer.c288 if (!nlmsg_add(nw, nlp->nl_port, hdr->nlmsg_seq, NLMSG_ERROR, nl_flags, payload_len)) in nlmsg_ack()