Searched refs:prefixlen (Results 1 – 9 of 9) sorted by relevance
/external/qemu/android/ |
D | hw-control.c | 81 int prefixlen = strlen(prefix); in if_starts_with() local 83 if (buflen < prefixlen || memcmp(buf, prefix, prefixlen)) in if_starts_with() 86 return (uint8_t*)buf + prefixlen; in if_starts_with()
|
/external/openssl/crypto/x509v3/ |
D | v3_addr.c | 409 const int prefixlen) in make_addressPrefix() argument 411 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix() 448 int i, prefixlen; in make_addressRange() local 450 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange() 451 return make_addressPrefix(result, min, prefixlen); in make_addressRange() 615 const int prefixlen) in v3_addr_add_prefix() argument 619 if (aors == NULL || !make_addressPrefix(&aor, a, prefixlen)) in v3_addr_add_prefix() 909 int prefixlen, i1, i2, delim, length; in v2i_IPAddrBlocks() local 988 prefixlen = (int) strtoul(s + i2, &t, 10); in v2i_IPAddrBlocks() 994 if (!v3_addr_add_prefix(addr, afi, safi, min, prefixlen)) { in v2i_IPAddrBlocks()
|
D | x509v3.h | 740 unsigned char *a, const int prefixlen);
|
/external/ipsec-tools/src/racoon/ |
D | policy.c | 109 u_int8_t prefixlen; local 122 prefixlen = sizeof(struct in_addr) << 3; 126 prefixlen = sizeof(struct in6_addr) << 3; 141 || spidx->prefs != prefixlen) 149 || spidx->prefd != prefixlen)
|
D | isakmp_quick.c | 1806 int prefixlen; local 1813 prefixlen = sizeof(struct in_addr) << 3; 1816 prefixlen = sizeof(struct in6_addr) << 3; 1823 idsrc = ipsecdoi_sockaddr2id(iph2->src, prefixlen, 1837 prefixlen = sizeof(struct in_addr) << 3; 1840 prefixlen = sizeof(struct in6_addr) << 3; 1847 iddst = ipsecdoi_sockaddr2id(iph2->dst, prefixlen,
|
D | ipsec_doi.c | 4088 ipsecdoi_sockaddr2id(saddr, prefixlen, ul_proto) in ipsecdoi_sockaddr2id() argument 4090 u_int prefixlen; 4105 if (prefixlen == (sizeof(struct in_addr) << 3)) { 4118 if (prefixlen == (sizeof(struct in6_addr) << 3)) { 4165 u_int bits = prefixlen; 4250 ipsecdoi_id2sockaddr(buf, saddr, prefixlen, ul_proto) in ipsecdoi_id2sockaddr() argument 4253 u_int8_t *prefixlen; 4365 *prefixlen = plen;
|
/external/wpa_supplicant/ |
D | wpa_ctrl.c | 162 int prefixlen = strlen(local_socket_prefix); in wpa_ctrl_cleanup() local 178 if (strncmp(entry.d_name, local_socket_prefix, prefixlen) == 0) { in wpa_ctrl_cleanup()
|
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 2231 pfkey_setsadbaddr(buf, lim, exttype, saddr, prefixlen, ul_proto) in pfkey_setsadbaddr() argument 2236 u_int prefixlen; 2252 p->sadb_address_prefixlen = prefixlen;
|
/external/openssl/include/openssl/ |
D | x509v3.h | 740 unsigned char *a, const int prefixlen);
|