Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Diwpm_util.c292 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr, in iwpm_compare_sockaddr() argument
295 if (a_sockaddr->ss_family != b_sockaddr->ss_family) in iwpm_compare_sockaddr()
297 if (a_sockaddr->ss_family == AF_INET) { in iwpm_compare_sockaddr()
299 (struct sockaddr_in *)a_sockaddr; in iwpm_compare_sockaddr()
307 } else if (a_sockaddr->ss_family == AF_INET6) { in iwpm_compare_sockaddr()
309 (struct sockaddr_in6 *)a_sockaddr; in iwpm_compare_sockaddr()
Diwpm_util.h185 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr,