diff options
Diffstat (limited to 'Source/charon/network/host.h')
-rw-r--r-- | Source/charon/network/host.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/charon/network/host.h b/Source/charon/network/host.h index b5223ef4c..57274525d 100644 --- a/Source/charon/network/host.h +++ b/Source/charon/network/host.h @@ -29,6 +29,7 @@ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <linux/xfrm.h> #include <types.h> @@ -75,6 +76,16 @@ struct host_t { */ socklen_t *(*get_sockaddr_len) (host_t *this); + /** + * @brief Gets the address as xfrm_address_t. + */ + xfrm_address_t (*get_xfrm_addr) (host_t *this); + + /** + * @brief Gets the address as xfrm_address_t. + */ + int (*get_family) (host_t *this); + /** * @brief get the address of this host * |