Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c518 size_t zero_groups, last_zero_groups, ipv6_bytes; in nxt_inet6_ntop() local
529 zero_groups = 0; in nxt_inet6_ntop()
544 if (zero_groups < last_zero_groups) { in nxt_inet6_ntop()
545 zero_groups = last_zero_groups; in nxt_inet6_ntop()
553 if (zero_groups < last_zero_groups) { in nxt_inet6_ntop()
554 zero_groups = last_zero_groups; in nxt_inet6_ntop()
564 if ((zero_groups == 5 && addr[10] == 0xFF && addr[11] == 0xFF) in nxt_inet6_ntop()
566 || (zero_groups == 6) in nxt_inet6_ntop()
568 || (zero_groups == 7 && addr[14] != 0 && addr[15] != 1)) in nxt_inet6_ntop()
580 i += (zero_groups - 1) * 2; in nxt_inet6_ntop()