Home
last modified time | relevance | path

Searched refs:NS_INADDRSZ (Results 1 – 6 of 6) sorted by relevance

/haiku/src/system/libnetwork/netresolv/net/
H A Dgethnamaddr.c583 size = NS_INADDRSZ; in gethostbyname_internal()
707 uaddr += NS_IN6ADDRSZ - NS_INADDRSZ; in gethostbyaddr_r()
710 len = NS_INADDRSZ; in gethostbyaddr_r()
714 size = NS_INADDRSZ; in gethostbyaddr_r()
787 len = NS_INADDRSZ; in gethostent_r()
848 char tmp[NS_INADDRSZ]; in map_v4v6_address()
855 (void)memcpy(tmp, src, NS_INADDRSZ); in map_v4v6_address()
862 (void)memcpy(p, tmp, NS_INADDRSZ); in map_v4v6_address()
874 if (hp->h_addrtype != AF_INET || hp->h_length != NS_INADDRSZ) in map_v4v6_hostent()
957 info->hp->h_length = NS_INADDRSZ; in _dns_gethtbyname()
[all …]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_cidr_pton.c215 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_cidr_pton_ipv6()
217 tp += NS_INADDRSZ; in inet_cidr_pton_ipv6()
H A Dinet_net_pton.c333 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in inet_net_pton_ipv6()
335 tp += NS_INADDRSZ; in inet_net_pton_ipv6()
/haiku/headers/posix/arpa/
H A Dnameser_compat.h100 #define INADDRSZ NS_INADDRSZ
H A Dnameser.h78 #define NS_INADDRSZ 4 /* IPv4 T_A */ macro
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_print.c164 if (rdlen != (size_t)NS_INADDRSZ) in ns_sprintrrf()
429 rdata += NS_INADDRSZ; in ns_sprintrrf()