diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-04 19:05:52 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-04 19:05:52 +0000 |
commit | 3ebebc5e963afed1242192f4fa440c177daee4bc (patch) | |
tree | 027c0810fe60b1170752399f99194a87cf7e545e /Source/charon/network/host.h | |
parent | c7314095e7141891d9cba2b48e15f1d683c7630b (diff) | |
download | strongswan-3ebebc5e963afed1242192f4fa440c177daee4bc.tar.bz2 strongswan-3ebebc5e963afed1242192f4fa440c177daee4bc.tar.xz |
- started implementation of netlink kernel interface
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 * |