Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c438 size_t zero_groups, last_zero_groups, ipv6_bytes; in nxt_inet6_ntop() local
449 zero_groups = 0; in nxt_inet6_ntop()
464 if (zero_groups < last_zero_groups) { in nxt_inet6_ntop()
465 zero_groups = last_zero_groups; in nxt_inet6_ntop()
473 if (zero_groups < last_zero_groups) { in nxt_inet6_ntop()
474 zero_groups = last_zero_groups; in nxt_inet6_ntop()
484 if ((zero_groups == 5 && addr[10] == 0xFF && addr[11] == 0xFF) in nxt_inet6_ntop()
486 || (zero_groups == 6) in nxt_inet6_ntop()
488 || (zero_groups == 7 && addr[14] != 0 && addr[15] != 1)) in nxt_inet6_ntop()
500 i += (zero_groups - 1) * 2; in nxt_inet6_ntop()