Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_sockaddr.c357 nxt_sockaddr_cmp(nxt_sockaddr_t *sa1, nxt_sockaddr_t *sa2) in nxt_sockaddr_cmp() argument
359 if (sa1->socklen != sa2->socklen) { in nxt_sockaddr_cmp()
363 if (sa1->type != sa2->type) { in nxt_sockaddr_cmp()
367 if (sa1->u.sockaddr.sa_family != sa2->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
376 switch (sa1->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
381 if (sa1->u.sockaddr_in6.sin6_port != sa2->u.sockaddr_in6.sin6_port) { in nxt_sockaddr_cmp()
385 if (nxt_memcmp(&sa1->u.sockaddr_in6.sin6_addr, in nxt_sockaddr_cmp()
402 length = sa1->socklen - offsetof(struct sockaddr_un, sun_path); in nxt_sockaddr_cmp()
404 if (nxt_memcmp(&sa1->u.sockaddr_un.sun_path, in nxt_sockaddr_cmp()
417 if (sa1->u.sockaddr_in.sin_port != sa2->u.sockaddr_in.sin_port) { in nxt_sockaddr_cmp()
[all …]
H A Dnxt_sockaddr.h80 NXT_EXPORT nxt_bool_t nxt_sockaddr_cmp(nxt_sockaddr_t *sa1,