Home
last modified time | relevance | path

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

/external/qemu/android/
Dhw-control.c85 int prefixlen = strlen(prefix); in if_starts_with() local
87 if (buflen < prefixlen || memcmp(buf, prefix, prefixlen)) in if_starts_with()
90 return (uint8_t*)buf + prefixlen; in if_starts_with()
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c130 format_reverse_addr (int af, const void * addr, int prefixlen, char * buf);
151 int prefixlen,
174 int prefixlen,
2370 int prefixlen, in format_reverse_addr_in() argument
2379 if (prefixlen > 32) in format_reverse_addr_in()
2381 if (prefixlen < 0) in format_reverse_addr_in()
2382 prefixlen = 32; in format_reverse_addr_in()
2384 i = (prefixlen + 7) / 8; in format_reverse_addr_in()
2401 int prefixlen, in format_reverse_addr_in6() argument
2410 if (prefixlen > 128) in format_reverse_addr_in6()
[all …]
/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/openssl/crypto/x509v3/
Dv3_addr.c427 const int prefixlen) in make_addressPrefix() argument
429 int bytelen = (prefixlen + 7) / 8, bitlen = prefixlen % 8; in make_addressPrefix()
466 int i, prefixlen; in make_addressRange() local
468 if ((prefixlen = range_should_be_prefix(min, max, length)) >= 0) in make_addressRange()
469 return make_addressPrefix(result, min, prefixlen); in make_addressRange()
633 const int prefixlen) in v3_addr_add_prefix() argument
637 if (aors == NULL || !make_addressPrefix(&aor, a, prefixlen)) in v3_addr_add_prefix()
955 int prefixlen, i1, i2, delim, length; in v2i_IPAddrBlocks() local
1034 prefixlen = (int) strtoul(s + i2, &t, 10); in v2i_IPAddrBlocks()
1040 if (!v3_addr_add_prefix(addr, afi, safi, min, prefixlen)) { in v2i_IPAddrBlocks()
Dx509v3.h820 unsigned char *a, const int prefixlen);
/external/regex-re2/re2/
Dre2.cc548 int prefixlen = 0; in Match() local
552 prefixlen = prefix_.size(); in Match()
553 if (prefixlen > subtext.size()) in Match()
556 if (ascii_strcasecmp(&prefix_[0], subtext.data(), prefixlen) != 0) in Match()
559 if (memcmp(&prefix_[0], subtext.data(), prefixlen) != 0) in Match()
562 subtext.remove_prefix(prefixlen); in Match()
747 if (prefixlen > 0 && nsubmatch > 0) in Match()
748 submatch[0] = StringPiece(submatch[0].begin() - prefixlen, in Match()
749 submatch[0].size() + prefixlen); in Match()
/external/iproute2/include/linux/
Dif_tunnel.h58 __u16 prefixlen; member
/external/iproute2/ip/
Diptunnel.c368 if (p->iph.protocol == IPPROTO_IPV6 && !tnl_ioctl_get_6rd(p->name, &ip6rd) && ip6rd.prefixlen) { in print_tunnel()
371 ip6rd.prefixlen); in print_tunnel()
565 ip6rd.prefixlen = prefix.bitlen; in do_6rd()
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_ctrl.c193 int prefixlen = strlen(local_socket_prefix); in wpa_ctrl_cleanup() local
209 if (strncmp(entry.d_name, local_socket_prefix, prefixlen) == 0) { in wpa_ctrl_cleanup()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c209 int prefixlen = os_strlen(CONFIG_CTRL_IFACE_CLIENT_PREFIX); in wpa_ctrl_cleanup() local
227 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/dhcpcd/
Dnet.c448 iflr.prefixlen = sdl->sdl_alen * NBBY; in discover_interfaces()
/external/openssl/include/openssl/
Dx509v3.h820 unsigned char *a, const int prefixlen);