Home
last modified time | relevance | path

Searched refs:iplength (Results 1 – 11 of 11) sorted by relevance

/dports/security/gnutls/gnutls-3.6.16/lib/x509/
H A Dip.c207 unsigned iplength, prefix; in gnutls_x509_cidr_to_rfc5280() local
235 iplength = 16; in gnutls_x509_cidr_to_rfc5280()
237 iplength = 4; in gnutls_x509_cidr_to_rfc5280()
239 cidr_rfc5280->size = 2*iplength; in gnutls_x509_cidr_to_rfc5280()
241 if (prefix > iplength*8) { in gnutls_x509_cidr_to_rfc5280()
253 ret = inet_pton(iplength == 4 ? AF_INET : AF_INET6, cidr_tmp, cidr_rfc5280->data); in gnutls_x509_cidr_to_rfc5280()
260 prefix_to_mask(prefix, &cidr_rfc5280->data[iplength], iplength); in gnutls_x509_cidr_to_rfc5280()
261 _gnutls_mask_ip(cidr_rfc5280->data, &cidr_rfc5280->data[iplength], iplength); in gnutls_x509_cidr_to_rfc5280()
H A Dname_constraints.c777 unsigned iplength = 0; in name_constraints_intersect_nodes() local
799 iplength = nc1->name.size/2; in name_constraints_intersect_nodes()
800 for (byte = 0; byte < iplength; byte++) { in name_constraints_intersect_nodes()
802 & nc1->name.data[byte+iplength] // AND mask from nc1 in name_constraints_intersect_nodes()
803 & nc2->name.data[byte+iplength]) // AND mask from nc2 in name_constraints_intersect_nodes()
827 _gnutls_mask_ip(intersection->name.data, intersection->name.data+iplength, iplength); in name_constraints_intersect_nodes()
828 _gnutls_mask_ip(nc1->name.data, nc1->name.data+iplength, iplength); in name_constraints_intersect_nodes()
830 for (byte = 0; byte < 2 * iplength; byte++) { in name_constraints_intersect_nodes()
/dports/net/haproxy17/haproxy-1.7.14/src/
H A Dstandard.c640 size_t iplength = strlen(str); in str2ip2() local
642 if (iplength < 4) { in str2ip2()
646 else if (iplength >= sizeof(tmpip)) { in str2ip2()
651 if (str[iplength - 1] != ']') { in str2ip2()
656 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
657 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy18/haproxy-1.8.30/src/
H A Dstandard.c660 size_t iplength = strlen(str); in str2ip2() local
662 if (iplength < 4) { in str2ip2()
666 else if (iplength >= sizeof(tmpip)) { in str2ip2()
671 if (str[iplength - 1] != ']') { in str2ip2()
676 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
677 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy19/haproxy-1.9.16/src/
H A Dstandard.c659 size_t iplength = strlen(str); in str2ip2() local
661 if (iplength < 4) { in str2ip2()
665 else if (iplength >= sizeof(tmpip)) { in str2ip2()
670 if (str[iplength - 1] != ']') { in str2ip2()
675 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
676 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy20/haproxy-2.0.26/src/
H A Dstandard.c662 size_t iplength = strlen(str); in str2ip2() local
664 if (iplength < 4) { in str2ip2()
668 else if (iplength >= sizeof(tmpip)) { in str2ip2()
673 if (str[iplength - 1] != ']') { in str2ip2()
678 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
679 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/nuster/nuster-5.0.4.21/src/
H A Dstandard.c661 size_t iplength = strlen(str); in str2ip2() local
663 if (iplength < 4) { in str2ip2()
667 else if (iplength >= sizeof(tmpip)) { in str2ip2()
672 if (str[iplength - 1] != ']') { in str2ip2()
677 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
678 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy21/haproxy-2.1.12/src/
H A Dstandard.c675 size_t iplength = strlen(str); in str2ip2() local
677 if (iplength < 4) { in str2ip2()
681 else if (iplength >= sizeof(tmpip)) { in str2ip2()
686 if (str[iplength - 1] != ']') { in str2ip2()
691 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
692 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy22/haproxy-2.2.19/src/
H A Dtools.c678 size_t iplength = strlen(str); in str2ip2() local
680 if (iplength < 4) { in str2ip2()
684 else if (iplength >= sizeof(tmpip)) { in str2ip2()
689 if (str[iplength - 1] != ']') { in str2ip2()
694 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
695 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy23/haproxy-2.3.16/src/
H A Dtools.c679 size_t iplength = strlen(str); in str2ip2() local
681 if (iplength < 4) { in str2ip2()
685 else if (iplength >= sizeof(tmpip)) { in str2ip2()
690 if (str[iplength - 1] != ']') { in str2ip2()
695 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
696 tmpip[iplength - 2] = '\0'; in str2ip2()
/dports/net/haproxy/haproxy-2.4.10/src/
H A Dtools.c742 size_t iplength = strlen(str); in str2ip2() local
744 if (iplength < 4) { in str2ip2()
748 else if (iplength >= sizeof(tmpip)) { in str2ip2()
753 if (str[iplength - 1] != ']') { in str2ip2()
758 memcpy(tmpip, str + 1, iplength - 2); in str2ip2()
759 tmpip[iplength - 2] = '\0'; in str2ip2()