Searched refs:snl (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/netlink/ |
H A D | netlink_domain.c | 285 nl_bind_locked(struct nlpcb *nlp, struct sockaddr_nl *snl) in nl_bind_locked() argument 288 if (nlp->nl_port != snl->nl_pid) { in nl_bind_locked() 292 nlp->nl_port, snl->nl_pid); in nl_bind_locked() 296 if (snl->nl_pid == 0) in nl_bind_locked() 297 snl->nl_pid = nl_find_port(); in nl_bind_locked() 298 if (nl_port_lookup(snl->nl_pid) != NULL) in nl_bind_locked() 300 nlp->nl_port = snl->nl_pid; in nl_bind_locked() 305 if (snl->nl_groups & ((uint32_t)1 << i)) in nl_bind_locked() 381 struct sockaddr_nl *snl = (struct sockaddr_nl *)sa; in nl_pru_bind() local 385 if (snl->nl_len != sizeof(*snl)) { in nl_pru_bind() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-netfilter-linux.c | 348 struct sockaddr_nl snl; in netfilter_send_config_msg() local 376 memset(&snl, 0, sizeof(snl)); in netfilter_send_config_msg() 377 snl.nl_family = AF_NETLINK; in netfilter_send_config_msg() 379 if (sendto(handle->fd, nlh, nlh->nlmsg_len, 0, (struct sockaddr *) &snl, sizeof(snl)) == -1) in netfilter_send_config_msg() 387 socklen_t addrlen = sizeof(snl); in netfilter_send_config_msg() 396 len = (int)recvfrom(handle->fd, buf, sizeof(buf), 0, (struct sockaddr *) &snl, &addrlen); in netfilter_send_config_msg() 402 if (addrlen != sizeof(snl) || snl.nl_family != AF_NETLINK) { in netfilter_send_config_msg() 408 if (snl.nl_pid != 0 || seq_id != nlh->nlmsg_seq) /* if not from kernel or wrong sequence skip */ in netfilter_send_config_msg()
|
/freebsd/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 123 STAILQ_HEAD(, spec_name) snl; /* list of names specified by -N. */ 653 STAILQ_INIT(&ed->snl); in main() 725 (STAILQ_EMPTY(&ed->snl) || (sn = find_name(ed, "ARSYM")) != NULL)) { in main() 728 STAILQ_REMOVE(&ed->snl, sn, spec_name, sn_list); in main() 729 if (STAILQ_EMPTY(&ed->snl)) in main() 1199 STAILQ_INSERT_TAIL(&ed->snl, sn, sn_list); in add_name() 1210 STAILQ_FOREACH(sn, &ed->snl, sn_list) { in find_name() 1281 if (!STAILQ_EMPTY(&ed->snl)) in elf_print_ehdr() 1350 if (!STAILQ_EMPTY(&ed->snl) && in elf_print_phdr() 1395 if (!STAILQ_EMPTY(&ed->snl)) in elf_print_shdr() [all …]
|
/freebsd/tools/build/options/ |
H A D | WITH_NETLINK_SUPPORT | 2 .Xr snl 3
|
H A D | WITHOUT_NETLINK_SUPPORT | 4 .Xr snl 3 .
|
/freebsd/crypto/openssl/apps/ |
H A D | ca.c | 1098 const int snl = ASN1_STRING_length(serialNumber); in ca_main() local 1099 const int filen_len = 2 * (snl > 0 ? snl : 1) + sizeof(".pem"); in ca_main() 1107 if (snl > 0) { in ca_main() 1110 for (j = 0; j < snl; j++, psn++) { in ca_main()
|
/freebsd/share/man/man3/ |
H A D | Makefile | 27 snl.3 \
|