/freebsd/contrib/wireguard-tools/ |
H A D | ipc-freebsd.h | 272 nvlist_add_binary(nvl_device, "private-key", dev->private_key, sizeof(dev->private_key)); in kernel_set_device() 295 nvlist_add_binary(nvl_peers[i], "public-key", peer->public_key, sizeof(peer->public_key)); in kernel_set_device() 297 …nvlist_add_binary(nvl_peers[i], "preshared-key", peer->preshared_key, sizeof(peer->preshared_key)); in kernel_set_device() 301 nvlist_add_binary(nvl_peers[i], "endpoint", &peer->endpoint.addr, peer->endpoint.addr.sa_len); in kernel_set_device() 312 nvlist_add_binary(nvl_aips[j], "ipv4", &aip->ip4, sizeof(aip->ip4)); in kernel_set_device() 314 nvlist_add_binary(nvl_aips[j], "ipv6", &aip->ip6, sizeof(aip->ip6)); in kernel_set_device()
|
/freebsd/sys/netpfil/pf/ |
H A D | pfsync_nv.c | 111 nvlist_add_binary(nvl, "address", in, sizeof(*in)); in pfsync_sockaddr_to_syncpeer_nvlist() 120 nvlist_add_binary(nvl, "address", in6, sizeof(*in6)); in pfsync_sockaddr_to_syncpeer_nvlist()
|
H A D | pf_nv.c | 184 nvlist_add_binary(nvl, "addr", paddr, sizeof(*paddr)); in pf_addr_to_nvaddr() 255 nvlist_add_binary(nvl, "key", &pool->key, sizeof(pool->key)); in pf_pool_to_nvpool() 1041 nvlist_add_binary(nvl, "addr", &krule->addr, sizeof(krule->addr)); in pf_keth_rule_addr_to_nveth_rule_addr() 1042 nvlist_add_binary(nvl, "mask", &krule->mask, sizeof(krule->mask)); in pf_keth_rule_addr_to_nveth_rule_addr()
|
/freebsd/sbin/ifconfig/ |
H A D | ifpfsync.c | 99 nvlist_add_binary(nvl, "address", in, sizeof(*in)); in pfsync_sockaddr_to_syncpeer_nvlist() 107 nvlist_add_binary(nvl, "address", in6, sizeof(*in6)); in pfsync_sockaddr_to_syncpeer_nvlist() 113 nvlist_add_binary(nvl, "address", sa, sizeof(*sa)); in pfsync_sockaddr_to_syncpeer_nvlist()
|
/freebsd/lib/libnv/tests/ |
H A D | dnv_tests.cc | 216 nvlist_add_binary(nvl, k, value, value_size); in ATF_TEST_CASE_BODY() 248 nvlist_add_binary(nvl, key, "test", 4); in ATF_TEST_CASE_BODY() 488 nvlist_add_binary(nvl, key, value, value_size); in ATF_TEST_CASE_BODY() 530 nvlist_add_binary(nvl, "key", "foobar", 6); in ATF_TEST_CASE_BODY()
|
H A D | nv_tests.cc | 272 nvlist_add_binary(nvl, key, value, value_size); in ATF_TEST_CASE_BODY() 1006 nvlist_add_binary(nvl, otherkey1, otherval1, othersize); in ATF_TEST_CASE_BODY() 1014 nvlist_add_binary(nvl, testkey, testval, testsize); in ATF_TEST_CASE_BODY() 1119 nvlist_add_binary(nvl, key, "jgjgfd", 6); in ATF_TEST_CASE_BODY() 1215 nvlist_add_binary(nvl, key, "jgjgfd", 6); in ATF_TEST_CASE_BODY()
|
H A D | nvlist_send_recv_test.c | 84 nvlist_add_binary(nvl, "nvlist/binary/x", "x", 1); in send_nvlist_child() 85 nvlist_add_binary(nvl, "nvlist/binary/" ALPHABET, ALPHABET, in send_nvlist_child()
|
H A D | cnv_tests.cc | 268 nvlist_add_binary(nvl, key, in_binary, in_size); in ATF_TEST_CASE_BODY() 1009 nvlist_add_binary(nvl, key, in_binary, in_size); in ATF_TEST_CASE_BODY() 1249 nvlist_add_binary(nvl, key, in_binary, in_size); in ATF_TEST_CASE_BODY()
|
/freebsd/lib/libcasper/services/cap_net/ |
H A D | cap_net.c | 153 nvlist_add_binary(nvl, "saddr", saddr, len); in request_cb() 231 nvlist_add_binary(nvl, "addr", addr, (size_t)len); in cap_gethostbyaddr() 359 nvlist_add_binary(nvl, "sa", sa, (size_t)salen); in cap_getnameinfo() 472 nvlist_add_binary(nvl, "", sa, salen); in pack_sockaddr() 570 nvlist_add_binary(capdnscache, deprecated ? "d" : "", sa, salen); in net_add_sockaddr_to_cache() 773 nvlist_add_binary(nvl, nvlname, hp->h_addr_list[ii], in hostent_pack() 949 nvlist_add_binary(nvl, "ai_addr", ai->ai_addr, (size_t)ai->ai_addrlen); in addrinfo_pack()
|
/freebsd/lib/libcasper/services/cap_fileargs/ |
H A D | cap_fileargs.c | 178 nvlist_add_binary(limits, "cap_rights", rightsp, in fileargs_create_limit() 588 nvlist_add_binary(new, "stat", &sb, sizeof(sb)); in fileargs_add_cache() 665 nvlist_add_binary(nvlout, "stat", &sb, sizeof(sb)); in fileargs_command_lstat()
|
/freebsd/tests/sys/net/if_ovpn/ |
H A D | if_ovpn_c.c | 27 nvlist_add_binary(nvl, "address", &addr, 4); in fake_sockaddr()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_controller.c | 473 nvlist_add_binary(nvl, "cmd", cmd, sizeof(*cmd)); in nvmf_handoff_controller_qpair() 474 nvlist_add_binary(nvl, "data", data, sizeof(*data)); in nvmf_handoff_controller_qpair()
|
H A D | nvmf_host.c | 819 nvlist_add_binary(nvl_rparams, "dle", dle, sizeof(*dle)); in prepare_queues_for_handoff() 865 nvlist_add_binary(nvl, "cdata", cdata, sizeof(*cdata)); in prepare_queues_for_handoff()
|
/freebsd/usr.sbin/iovctl/ |
H A D | validate.c | 135 nvlist_add_binary(config, name, bin, len); in apply_subsystem_defaults()
|
H A D | parse.c | 160 nvlist_add_binary(config, key, mac, ETHER_ADDR_LEN); in add_unicast_mac_config()
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslogd_cap_log.c | 169 nvlist_add_binary(nvl, "filed", f, sizeof(*f)); in cap_wallmsg()
|
H A D | syslogd_cap_config.c | 143 nvlist_add_binary(nvl_filed, "f_addrs", filed->f_addrs, in filed_to_nvlist()
|
/freebsd/sys/dev/pci/ |
H A D | pci_iov_schema.c | 265 nvlist_add_binary(entry, "default", defaultVal, ETHER_ADDR_LEN); in pci_iov_schema_add_unicast_mac() 377 nvlist_add_binary(config, name, binary, len); in pci_iov_config_add_default()
|
/freebsd/sys/dev/wg/ |
H A D | if_wg.c | 2625 nvlist_add_binary(nvl, "public-key", public_key, WG_KEY_SIZE); in wgc_get() 2627 nvlist_add_binary(nvl, "private-key", private_key, WG_KEY_SIZE); in wgc_get() 2645 nvlist_add_binary(nvl_peer, "public-key", public_key, sizeof(public_key)); in wgc_get() 2647 nvlist_add_binary(nvl_peer, "preshared-key", preshared_key, sizeof(preshared_key)); in wgc_get() 2650 nvlist_add_binary(nvl_peer, "endpoint", &peer->p_endpoint.e_remote, sizeof(struct sockaddr_in)); in wgc_get() 2652 … nvlist_add_binary(nvl_peer, "endpoint", &peer->p_endpoint.e_remote, sizeof(struct sockaddr_in6)); in wgc_get() 2654 nvlist_add_binary(nvl_peer, "last-handshake-time", &ts64, sizeof(ts64)); in wgc_get() 2673 nvlist_add_binary(nvl_aip, "ipv4", &aip->a_addr.in, sizeof(aip->a_addr.in)); in wgc_get() 2678 nvlist_add_binary(nvl_aip, "ipv6", &aip->a_addr.in6, sizeof(aip->a_addr.in6)); in wgc_get()
|
/freebsd/usr.sbin/rtsold/ |
H A D | cap_sendmsg.c | 228 nvlist_add_binary(nvl, "data", ifinfo->rs_data, ifinfo->rs_datalen); in cap_rssend()
|
/freebsd/sys/sys/ |
H A D | nv_namespace.h | 80 #define nvlist_add_binary FreeBSD_nvlist_add_binary macro
|
H A D | nv.h | 148 void nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, size_t size);
|
/freebsd/lib/libpfctl/ |
H A D | libpfctl.c | 571 nvlist_add_binary(nvl, "addr", addr, sizeof(*addr)); in pfctl_nv_add_addr() 841 nvlist_add_binary(nvl, "addr", &addr->addr, ETHER_ADDR_LEN); in pfctl_eth_addr_to_nveth_addr() 842 nvlist_add_binary(nvl, "mask", &addr->mask, ETHER_ADDR_LEN); in pfctl_eth_addr_to_nveth_addr()
|
/freebsd/sys/contrib/libnv/ |
H A D | nvlist.c | 1524 nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, in nvlist_add_binary() function
|
/freebsd/share/man/man9/ |
H A D | Makefile | 1659 nv.9 nvlist_add_binary.9 \
|