- started implementation of netlink kernel interface

This commit is contained in:
Martin Willi
2005-12-04 19:05:52 +00:00
parent c7314095e7
commit 3ebebc5e96
8 changed files with 539 additions and 31 deletions
+11
View File
@@ -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
*