|
mptcpd
Multipath TCP Daemon
|
struct sockaddr hash related functions.
More...
#include <assert.h>#include <stdint.h>#include <string.h>#include <netinet/in.h>#include <ell/ell.h>#include <mptcpd/private/murmur_hash.h>#include "hash_sockaddr.h"
Functions | |
| int | mptcpd_hash_sockaddr_compare (void const *a, void const *b) |
| Compare hash map keys based on IP address alone. | |
| void * | mptcpd_hash_sockaddr_key_copy (void const *p) |
| Deep copy the hash map key p. | |
| void | mptcpd_hash_sockaddr_key_free (void *p) |
struct sockaddr hash related functions.
Copyright (c) 2022, Intel Corporation
| int mptcpd_hash_sockaddr_compare | ( | void const * | a, |
| void const * | b | ||
| ) |
Compare hash map keys based on IP address alone.
| [in] | a | Pointer struct sockaddr (left hand side). |
| [in] | b | Pointer struct sockaddr (right hand side). |
| void * mptcpd_hash_sockaddr_key_copy | ( | void const * | p | ) |
Deep copy the hash map key p.
l_free().