/freebsd/libexec/rc/rc.d/ |
H A D | stf | 55 prefixlen ${stf_prefixlen} 59 route add -inet6 2002:e000:: -prefixlen 20 ::1 -reject 60 route add -inet6 2002:7f00:: -prefixlen 24 ::1 -reject 61 route add -inet6 2002:0000:: -prefixlen 24 ::1 -reject 62 route add -inet6 2002:ff00:: -prefixlen 24 ::1 -reject 71 route delete -inet6 2002:e000:: -prefixlen 20 ::1 72 route delete -inet6 2002:7f00:: -prefixlen 24 ::1 73 route delete -inet6 2002:0000:: -prefixlen 24 ::1 74 route delete -inet6 2002:ff00:: -prefixlen 24 ::1
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | zap.c | 266 unsigned int prefixlen; in zap_fat_write_prefixlen() local 275 for (prefixlen = 1; prefixlen < (unsigned int)l->l_bs; prefixlen++) { in zap_fat_write_prefixlen() 278 leafchunks = ecalloc(1u << prefixlen, sizeof(*leafchunks)); in zap_fat_write_prefixlen() 283 li = ZAP_HASH_IDX(ent->hash, prefixlen); in zap_fat_write_prefixlen() 308 assert(prefixlen < (unsigned int)l->l_bs); in zap_fat_write_prefixlen() 310 return (prefixlen); in zap_fat_write_prefixlen() 317 zap_fat_write_leaf_init(zap_leaf_t *l, uint64_t prefix, int prefixlen) in zap_fat_write_leaf_init() argument 327 leaf->l_hdr.lh_prefix_len = prefixlen; in zap_fat_write_leaf_init() 360 unsigned int prefixlen; in zap_fat_write() local 398 prefixlen = zap_fat_write_prefixlen(zap, &l); in zap_fat_write() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | netaddr.c | 71 unsigned int prefixlen) in isc_netaddr_eqprefix() argument 104 if (prefixlen > ipabytes * 8) in isc_netaddr_eqprefix() 105 prefixlen = ipabytes * 8; in isc_netaddr_eqprefix() 107 nbytes = prefixlen / 8; in isc_netaddr_eqprefix() 108 nbits = prefixlen % 8; in isc_netaddr_eqprefix() 216 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { in isc_netaddr_prefixok() argument 225 if (prefixlen > 32) in isc_netaddr_prefixok() 231 if (prefixlen > 128) in isc_netaddr_prefixok() 237 nbytes = prefixlen / 8; in isc_netaddr_prefixok() 238 nbits = prefixlen % 8; in isc_netaddr_prefixok()
|
/freebsd/lib/libifconfig/ |
H A D | libifconfig_inet6.c | 47 int prefixlen = 0; in inet6_prefixlen() local 52 prefixlen += x == 0 ? 0 : 33 - x; in inet6_prefixlen() 57 return (prefixlen); in inet6_prefixlen() 79 addr->prefixlen = inet6_prefixlen(&netmask->sin6_addr); in ifconfig_inet6_get_addrinfo()
|
H A D | libifconfig.h | 85 int prefixlen; member 94 int prefixlen; member
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | crypto_scrypt-common.c | 145 size_t prefixlen; in escrypt_r() local 158 prefixlen = src - setting; in escrypt_r() 167 need = prefixlen + saltlen + 1 + in escrypt_r() 183 memcpy(dst, setting, prefixlen + saltlen); in escrypt_r() 184 dst += prefixlen + saltlen; in escrypt_r() 202 size_t prefixlen = in escrypt_gensalt_r() local 207 need = prefixlen + saltlen + 1; in escrypt_gensalt_r()
|
/freebsd/contrib/netbsd-tests/net/net/ |
H A D | t_mtudisc6.sh | 91 local prefixlen=64 106 setup_server $SOCKLOCAL shmif0 bus1 $local_ip/$prefixlen 107 setup_server $SOCKGATEWAY shmif0 bus1 $gateway_local_ip/$prefixlen 108 setup_server $SOCKGATEWAY shmif1 bus2 $gateway_remote_ip/$prefixlen 109 setup_server $SOCKREMOTE shmif0 bus2 $remote_ip/$prefixlen
|
H A D | t_mtudisc.sh | 90 local prefixlen=24 105 setup_server $SOCKLOCAL shmif0 bus1 $local_ip/$prefixlen 106 setup_server $SOCKGATEWAY shmif0 bus1 $gateway_local_ip/$prefixlen 107 setup_server $SOCKGATEWAY shmif1 bus2 $gateway_remote_ip/$prefixlen 108 setup_server $SOCKREMOTE shmif0 bus2 $remote_ip/$prefixlen
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dhcp_snoop.c | 40 int res, msgtype = 0, prefixlen = 32; in handle_dhcp() local 79 prefixlen--; in handle_dhcp() 115 prefixlen); in handle_dhcp() 129 prefixlen, sta->addr); in handle_dhcp()
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | hostcheck.c | 167 size_t prefixlen, suffixlen; in hostmatch() local 197 prefixlen = pattern_wildcard - pattern; in hostmatch() 199 return Curl_raw_nequal(pattern, hostname, prefixlen) && in hostmatch()
|
/freebsd/contrib/libevent/sample/ |
H A D | hostcheck.c | 167 size_t prefixlen, suffixlen; in hostmatch() local 197 prefixlen = pattern_wildcard - pattern; in hostmatch() 199 return Curl_raw_nequal(pattern, hostname, prefixlen) && in hostmatch()
|
/freebsd/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_cwd.c | 41 static size_t prefixlen; variable 50 if (prefix[prefixlen-1] != '/') in makepath() 153 prefixlen = strlen(argv[1]); in main()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_addr.c | 397 const int prefixlen, const int afilen) in make_addressPrefix() argument 399 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() 402 if (prefixlen < 0 || prefixlen > (afilen * 8)) in make_addressPrefix() 437 int i, prefixlen; in make_addressRange() local 442 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange() 443 return make_addressPrefix(result, min, prefixlen, length); in make_addressRange() 601 unsigned char *a, const int prefixlen) in X509v3_addr_add_prefix() argument 607 || !make_addressPrefix(&aor, a, prefixlen, length_from_af in X509v3_addr_add_prefix() 941 int prefixlen, i1, i2, delim, length; v2i_IPAddrBlocks() local [all...] |
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | netaddr.h | 58 unsigned int prefixlen); 165 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen);
|
/freebsd/tests/sys/netlink/ |
H A D | test_rtnl_ifaddr.py | 200 msg.base_hdr.ifa_prefixlen = ifa.network.prefixlen 250 assert rx_msg.base_hdr.ifa_prefixlen == ifa.network.prefixlen 285 assert rx_msg.base_hdr.ifa_prefixlen == ifa.network.prefixlen 306 assert rx_msg_gu.base_hdr.ifa_prefixlen == ifa.network.prefixlen 330 assert rx_msg.base_hdr.ifa_prefixlen == ifa.network.prefixlen 358 assert rx_msg_gu.base_hdr.ifa_prefixlen == ifa.network.prefixlen 509 msg.base_hdr.ifa_prefixlen = ifa.network.prefixlen 551 assert rx_msg.base_hdr.ifa_prefixlen == ifa.network.prefixlen 595 assert rx_msg_gu.base_hdr.ifa_prefixlen == ifa.network.prefixlen 636 msg.base_hdr.ifa_prefixlen = ifa.network.prefixlen [all …]
|
/freebsd/bin/date/ |
H A D | date.c | 375 size_t prefixlen; in strftime_ns() local 404 prefixlen = tok - oldformat - 1; in strftime_ns() 416 (int)prefixlen, prefix, nsec, in strftime_ns() 421 tok = newformat + prefixlen + 9; in strftime_ns()
|
/freebsd/contrib/unbound/validator/ |
H A D | val_secalgo.c | 1240 size_t* prefixlen) in nss_setup_key_digest() argument 1296 *prefixlen = sizeof(p_sha256); in nss_setup_key_digest() 1303 *prefixlen = sizeof(p_sha512); in nss_setup_key_digest() 1310 *prefixlen = sizeof(p_sha1); in nss_setup_key_digest() 1330 *prefixlen = sizeof(p_md5); in nss_setup_key_digest() 1392 size_t prefixlen = 0; in verify_canonrrset() local 1396 &prefix, &prefixlen)) { in verify_canonrrset() 1444 if(prefixlen+hashlen > sizeof(hash2)) { in verify_canonrrset() 1450 sechash.len = prefixlen+hashlen; in verify_canonrrset() 1451 memcpy(sechash.data, prefix, prefixlen); in verify_canonrrset() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 460 int i, bits, prefixlen; in internal_current4() local 567 prefixlen = lifreq.lifr_addrlen; in internal_current4() 578 prefixlen = 128; in internal_current4() 586 if (prefixlen > 8) { in internal_current4() 588 prefixlen -= 8; in internal_current4() 590 bits = 8 - prefixlen; in internal_current4() 591 prefixlen = 0; in internal_current4()
|
/freebsd/usr.bin/mail/ |
H A D | send.c | 56 int c = 0, length, prefixlen; in sendmessage() local 66 prefixlen = cp2 == NULL ? 0 : cp2 - prefix + 1; in sendmessage() 169 prefixlen, obuf); in sendmessage() 196 prefixlen, obuf); in sendmessage()
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_conf.c | 82 size_t prefixlen; member 812 if (strlen(*pcmd) <= cctx->prefixlen) in ssl_conf_cmd_skip_prefix() 815 strncmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 818 OPENSSL_strncasecmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 820 *pcmd += cctx->prefixlen; in ssl_conf_cmd_skip_prefix() 1047 cctx->prefixlen = strlen(tmp); in SSL_CONF_CTX_set1_prefix() 1049 cctx->prefixlen = 0; in SSL_CONF_CTX_set1_prefix()
|
/freebsd/usr.sbin/rtadvd/ |
H A D | if.h | 52 int prefixlen(unsigned char *, unsigned char *);
|
/freebsd/sbin/route/ |
H A D | keywords | 38 prefixlen
|
/freebsd/usr.sbin/rrenumd/ |
H A D | parser.y | 107 %type <num> prefixlen maxlen minlen keeplen vltime pltime 360 IPV6ADDR prefixlen 367 prefixlen:
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_io.h | 90 const char *if_name, int prefixlen,
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 595 const unsigned char *prefix, size_t prefixlen, in prov_tls13_hkdf_expand() 613 || !WPACKET_memcpy(&pkt, prefix, prefixlen) in prov_tls13_hkdf_expand() 634 size_t prefixlen, in prov_tls13_hkdf_generate_secret() 673 prefix, prefixlen, label, labellen, in prov_tls13_hkdf_generate_secret() 587 prov_tls13_hkdf_expand(const EVP_MD * md,const unsigned char * key,size_t keylen,const unsigned char * prefix,size_t prefixlen,const unsigned char * label,size_t labellen,const unsigned char * data,size_t datalen,unsigned char * out,size_t outlen) prov_tls13_hkdf_expand() argument 626 prov_tls13_hkdf_generate_secret(OSSL_LIB_CTX * libctx,const EVP_MD * md,const unsigned char * prevsecret,size_t prevsecretlen,const unsigned char * insecret,size_t insecretlen,const unsigned char * prefix,size_t prefixlen,const unsigned char * label,size_t labellen,unsigned char * out,size_t outlen) prov_tls13_hkdf_generate_secret() argument
|