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

/linux-4.4.14/drivers/infiniband/core/
H A Diwpm_util.c419 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr, iwpm_compare_sockaddr() argument
422 if (a_sockaddr->ss_family != b_sockaddr->ss_family) iwpm_compare_sockaddr()
424 if (a_sockaddr->ss_family == AF_INET) { iwpm_compare_sockaddr()
426 (struct sockaddr_in *)a_sockaddr; iwpm_compare_sockaddr()
434 } else if (a_sockaddr->ss_family == AF_INET6) { iwpm_compare_sockaddr()
436 (struct sockaddr_in6 *)a_sockaddr; iwpm_compare_sockaddr()
539 static int get_hash_bucket(struct sockaddr_storage *a_sockaddr, get_hash_bucket() argument
544 if (a_sockaddr->ss_family == AF_INET) { get_hash_bucket()
545 a_hash = iwpm_ipv4_jhash((struct sockaddr_in *) a_sockaddr); get_hash_bucket()
548 } else if (a_sockaddr->ss_family == AF_INET6) { get_hash_bucket()
549 a_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) a_sockaddr); get_hash_bucket()
H A Diwpm_util.h216 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr,

Completed in 70 milliseconds