Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c889 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr() argument
900 return !((four1->sin_port == four2->sin_port || !cmp_port) && in cmp_addr()
905 return !((six1->sin6_port == six2->sin6_port || !cmp_port) && in cmp_addr()
914 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr() argument
923 return cmp_addr(&addr1, addr2, cmp_port); in cmp_sock_addr()