Searched refs:a_sockaddr (Results 1 – 2 of 2) sorted by relevance
407 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr, in iwpm_compare_sockaddr() argument410 if (a_sockaddr->ss_family != b_sockaddr->ss_family) in iwpm_compare_sockaddr()412 if (a_sockaddr->ss_family == AF_INET) { in iwpm_compare_sockaddr()414 (struct sockaddr_in *)a_sockaddr; in iwpm_compare_sockaddr()422 } else if (a_sockaddr->ss_family == AF_INET6) { in iwpm_compare_sockaddr()424 (struct sockaddr_in6 *)a_sockaddr; in iwpm_compare_sockaddr()528 static int get_hash_bucket(struct sockaddr_storage *a_sockaddr, in get_hash_bucket() argument533 if (a_sockaddr->ss_family == AF_INET) { in get_hash_bucket()534 a_hash = iwpm_ipv4_jhash((struct sockaddr_in *) a_sockaddr); in get_hash_bucket()537 } else if (a_sockaddr->ss_family == AF_INET6) { in get_hash_bucket()[all …]
200 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr,