Home
last modified time | relevance | path

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

/freebsd/lib/libc/inet/
H A Dinet_net_ntop.c162 int zero_s, zero_l, tmp_zero_s, tmp_zero_l; in inet_net_ntop_ipv6() local
201 zero_s = zero_l = tmp_zero_s = tmp_zero_l = 0; in inet_net_ntop_ipv6()
208 if (tmp_zero_l && zero_l < tmp_zero_l) { in inet_net_ntop_ipv6()
210 zero_l = tmp_zero_l; in inet_net_ntop_ipv6()
216 if (tmp_zero_l && zero_l < tmp_zero_l) { in inet_net_ntop_ipv6()
218 zero_l = tmp_zero_l; in inet_net_ntop_ipv6()
221 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || in inet_net_ntop_ipv6()
222 ((zero_l == 5 && s[10] == 0xff && s[11] == 0xff) || in inet_net_ntop_ipv6()
223 ((zero_l == 7 && s[14] != 0 && s[15] != 1))))) in inet_net_ntop_ipv6()
228 if (zero_l != 0 && p >= zero_s && p < zero_s + zero_l) { in inet_net_ntop_ipv6()