Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c173 int zero_s, zero_l, tmp_zero_s, tmp_zero_l; in inet_net_ntop_ipv6() local
212 zero_s = zero_l = tmp_zero_s = tmp_zero_l = 0; in inet_net_ntop_ipv6()
219 if (tmp_zero_l && zero_l < tmp_zero_l) { in inet_net_ntop_ipv6()
221 zero_l = tmp_zero_l; in inet_net_ntop_ipv6()
227 if (tmp_zero_l && zero_l < tmp_zero_l) { in inet_net_ntop_ipv6()
229 zero_l = tmp_zero_l; in inet_net_ntop_ipv6()
232 if (zero_l != words && zero_s == 0 && ((zero_l == 6) || in inet_net_ntop_ipv6()
233 ((zero_l == 5 && s[10] == 0xff && s[11] == 0xff) || in inet_net_ntop_ipv6()
234 ((zero_l == 7 && s[14] != 0 && s[15] != 1))))) in inet_net_ntop_ipv6()
239 if (zero_l != 0 && p >= zero_s && p < zero_s + zero_l) { in inet_net_ntop_ipv6()