Lines Matching refs:a
48 _dtls_address_equals_impl(const session_t *a, in _dtls_address_equals_impl() argument
50 if (a->ifindex != b->ifindex || in _dtls_address_equals_impl()
51 a->size != b->size || a->addr.sa.sa_family != b->addr.sa.sa_family) in _dtls_address_equals_impl()
55 switch (a->addr.sa.sa_family) { in _dtls_address_equals_impl()
58 a->addr.sin.sin_port == b->addr.sin.sin_port && in _dtls_address_equals_impl()
59 memcmp(&a->addr.sin.sin_addr, &b->addr.sin.sin_addr, in _dtls_address_equals_impl()
62 return a->addr.sin6.sin6_port == b->addr.sin6.sin6_port && in _dtls_address_equals_impl()
63 memcmp(&a->addr.sin6.sin6_addr, &b->addr.sin6.sin6_addr, in _dtls_address_equals_impl()
80 dtls_session_equals(const session_t *a, const session_t *b) { in dtls_session_equals() argument
81 assert(a); assert(b); in dtls_session_equals()
82 return _dtls_address_equals_impl(a, b); in dtls_session_equals()