Home
last modified time | relevance | path

Searched refs:octet (Results 1 – 1 of 1) sorted by last modified time

/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()
777 nxt_uint_t digit, octet, dots; in nxt_inet_addr() local
784 octet = 0; in nxt_inet_addr()
797 octet = octet * 10 + digit; in nxt_inet_addr()
801 if (c == '.' && octet < 256) { in nxt_inet_addr()
802 addr = (addr << 8) + octet; in nxt_inet_addr()
803 octet = 0; in nxt_inet_addr()
811 if (dots == 3 && octet < 256) { in nxt_inet_addr()
[all …]