Home
last modified time | relevance | path

Searched refs:nvlist_add_binary (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/wireguard-tools/
H A Dipc-freebsd.h272 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()
297nvlist_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 Dpfsync_nv.c111 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 Dpf_nv.c184 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 Difpfsync.c99 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 Ddnv_tests.cc216 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 Dnv_tests.cc272 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 Dnvlist_send_recv_test.c84 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 Dcnv_tests.cc268 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 Dcap_net.c153 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 Dcap_fileargs.c178 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 Dif_ovpn_c.c27 nvlist_add_binary(nvl, "address", &addr, 4); in fake_sockaddr()
/freebsd/lib/libnvmf/
H A Dnvmf_controller.c473 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 Dnvmf_host.c819 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 Dvalidate.c135 nvlist_add_binary(config, name, bin, len); in apply_subsystem_defaults()
H A Dparse.c160 nvlist_add_binary(config, key, mac, ETHER_ADDR_LEN); in add_unicast_mac_config()
/freebsd/usr.sbin/syslogd/
H A Dsyslogd_cap_log.c169 nvlist_add_binary(nvl, "filed", f, sizeof(*f)); in cap_wallmsg()
H A Dsyslogd_cap_config.c143 nvlist_add_binary(nvl_filed, "f_addrs", filed->f_addrs, in filed_to_nvlist()
/freebsd/sys/dev/pci/
H A Dpci_iov_schema.c265 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 Dif_wg.c2625 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()
2652nvlist_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 Dcap_sendmsg.c228 nvlist_add_binary(nvl, "data", ifinfo->rs_data, ifinfo->rs_datalen); in cap_rssend()
/freebsd/sys/sys/
H A Dnv_namespace.h80 #define nvlist_add_binary FreeBSD_nvlist_add_binary macro
H A Dnv.h148 void nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, size_t size);
/freebsd/lib/libpfctl/
H A Dlibpfctl.c571 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 Dnvlist.c1524 nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, in nvlist_add_binary() function
/freebsd/share/man/man9/
H A DMakefile1659 nv.9 nvlist_add_binary.9 \

12