Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c361 nxt_sockaddr_cmp(nxt_sockaddr_t *sa1, nxt_sockaddr_t *sa2) in nxt_sockaddr_cmp() argument
363 if (sa1->socklen != sa2->socklen) { in nxt_sockaddr_cmp()
367 if (sa1->type != sa2->type) { in nxt_sockaddr_cmp()
371 if (sa1->u.sockaddr.sa_family != sa2->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
380 switch (sa1->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
385 if (sa1->u.sockaddr_in6.sin6_port != sa2->u.sockaddr_in6.sin6_port) { in nxt_sockaddr_cmp()
389 if (nxt_memcmp(&sa1->u.sockaddr_in6.sin6_addr, in nxt_sockaddr_cmp()
406 length = sa1->socklen - offsetof(struct sockaddr_un, sun_path); in nxt_sockaddr_cmp()
408 if (nxt_memcmp(&sa1->u.sockaddr_un.sun_path, in nxt_sockaddr_cmp()
421 if (sa1->u.sockaddr_in.sin_port != sa2->u.sockaddr_in.sin_port) { in nxt_sockaddr_cmp()
[all …]
H A Dnxt_sockaddr.h89 NXT_EXPORT nxt_bool_t nxt_sockaddr_cmp(nxt_sockaddr_t *sa1,