Home
last modified time | relevance | path

Searched refs:prefixlen (Results 1 – 9 of 9) sorted by relevance

/external/qemu/android/
Dhw-control.c81 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/
Dv3_addr.c409 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()
Dx509v3.h740 unsigned char *a, const int prefixlen);
/external/ipsec-tools/src/racoon/
Dpolicy.c109 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)
Disakmp_quick.c1806 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,
Dipsec_doi.c4088 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/
Dwpa_ctrl.c162 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/
Dpfkey.c2231 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/
Dx509v3.h740 unsigned char *a, const int prefixlen);