Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c232 u_char *p, *start, *end, *octet; in nxt_sockaddr_text() local
247 octet = (u_char *) &sa->u.sockaddr_in.sin_addr; in nxt_sockaddr_text()
250 octet[0], octet[1], octet[2], octet[3]); in nxt_sockaddr_text()
778 nxt_uint_t digit, octet, dots; in nxt_inet_addr() local
785 octet = 0; in nxt_inet_addr()
798 octet = octet * 10 + digit; in nxt_inet_addr()
802 if (c == '.' && octet < 256) { in nxt_inet_addr()
803 addr = (addr << 8) + octet; in nxt_inet_addr()
804 octet = 0; in nxt_inet_addr()
812 if (dots == 3 && octet < 256) { in nxt_inet_addr()
[all …]