Home
last modified time | relevance | path

Searched refs:iplen (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/crypto/x509/
Dx509_vpm.c161 paramid->iplen = 0; in x509_verify_param_zero()
322 if (!X509_VERIFY_PARAM_set1_ip(dest, id->ip, id->iplen)) in X509_VERIFY_PARAM_inherit()
499 const unsigned char *ip, size_t iplen) in X509_VERIFY_PARAM_set1_ip() argument
501 if (iplen != 0 && iplen != 4 && iplen != 16) in X509_VERIFY_PARAM_set1_ip()
503 return int_x509_param_set1((char **)&param->id->ip, &param->id->iplen, in X509_VERIFY_PARAM_set1_ip()
504 (char *)ip, iplen); in X509_VERIFY_PARAM_set1_ip()
510 size_t iplen; in X509_VERIFY_PARAM_set1_ip_asc() local
512 iplen = (size_t) a2i_ipadd(ipout, ipasc); in X509_VERIFY_PARAM_set1_ip_asc()
513 if (iplen == 0) in X509_VERIFY_PARAM_set1_ip_asc()
515 return X509_VERIFY_PARAM_set1_ip(param, ipout, iplen); in X509_VERIFY_PARAM_set1_ip_asc()
Dvpm_int.h69 size_t iplen; /* Length of IP address */ member
Dx509_vfy.c741 if (id->ip && X509_check_ip(x, id->ip, id->iplen, 0) <= 0) in check_id()
/external/toybox/toys/pending/
Dnetstat.c195 size_t iplen = strlen(ip); in addr2str() local
197 strncat(ip+iplen, ":*", ADDR_LEN-iplen-1); in addr2str()
228 iplen = strlen(ip); in addr2str()
230 snprintf(ip + iplen, ADDR_LEN-iplen, ":%s", sname); in addr2str()
234 else snprintf(ip+iplen, ADDR_LEN-iplen, ":%d", port); in addr2str()
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c1016 size_t iplen; in X509_check_ip_asc() local
1020 iplen = (size_t) a2i_ipadd(ipout, ipasc); in X509_check_ip_asc()
1021 if (iplen == 0) in X509_check_ip_asc()
1023 return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL); in X509_check_ip_asc()
1034 int iplen; in a2i_IPADDRESS() local
1038 iplen = a2i_ipadd(ipout, ipasc); in a2i_IPADDRESS()
1040 if (!iplen) in a2i_IPADDRESS()
1046 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) in a2i_IPADDRESS()
/external/iputils/Modules/
Dpg3.c244 int datalen, iplen; in fill_packet() local
280 iplen = 20 + 8 + datalen; in fill_packet()
281 iph->tot_len = htons(iplen); in fill_packet()
/external/boringssl/src/include/openssl/
Dx509_vfy.h567 const unsigned char *ip, size_t iplen);