Searched refs:bits (Results 1 – 3 of 3) sorted by relevance
| /resolv/ |
| A D | inet_net_pton.c | 143 bits = -1; in inet_net_pton_ipv4() 147 bits = 0; in inet_net_pton_ipv4() 151 bits *= 10; in inet_net_pton_ipv4() 152 bits += n; in inet_net_pton_ipv4() 170 bits = 32; in inet_net_pton_ipv4() 172 bits = 4; in inet_net_pton_ipv4() 174 bits = 24; in inet_net_pton_ipv4() 176 bits = 16; in inet_net_pton_ipv4() 178 bits = 8; in inet_net_pton_ipv4() 180 if (bits >= 8 && bits < ((dst - odst) * 8)) in inet_net_pton_ipv4() [all …]
|
| A D | inet_net_ntop.c | 34 static char * inet_net_ntop_ipv4 (const u_char *src, int bits, 48 inet_net_ntop (int af, const void *src, int bits, char *dst, size_t size) in inet_net_ntop() argument 52 return (inet_net_ntop_ipv4(src, bits, dst, size)); in inet_net_ntop() 73 inet_net_ntop_ipv4 (const u_char *src, int bits, char *dst, size_t size) in inet_net_ntop_ipv4() argument 80 if (bits < 0 || bits > 32) { in inet_net_ntop_ipv4() 84 if (bits == 0) { in inet_net_ntop_ipv4() 93 for (b = bits / 8; b > 0; b--) { in inet_net_ntop_ipv4() 106 b = bits % 8; in inet_net_ntop_ipv4() 121 dst += SPRINTF((dst, "/%u", bits)); in inet_net_ntop_ipv4()
|
| A D | Makefile | 25 headers := resolv.h bits/types/res_state.h \ 26 netdb.h bits/netdb.h \
|
Completed in 18 milliseconds