diff options
author | Martin Willi <martin@strongswan.org> | 2007-06-14 15:16:15 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-06-14 15:16:15 +0000 |
commit | 02b3ec0a10482feabdf1017f1693deeabbfcb245 (patch) | |
tree | 663caba964b71142bece5bd443ab9cfc51264275 /src/charon/kernel/kernel_interface.h | |
parent | fede28be8b79fa600c87dd232fe3df5b608d78bd (diff) | |
download | strongswan-02b3ec0a10482feabdf1017f1693deeabbfcb245.tar.bz2 strongswan-02b3ec0a10482feabdf1017f1693deeabbfcb245.tar.xz |
implemented address change notification (for MOBIKE)
implemented up to date address list cache to list interfaces
Diffstat (limited to 'src/charon/kernel/kernel_interface.h')
-rw-r--r-- | src/charon/kernel/kernel_interface.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/charon/kernel/kernel_interface.h b/src/charon/kernel/kernel_interface.h index 2a3eaff7a..ef576b9ef 100644 --- a/src/charon/kernel/kernel_interface.h +++ b/src/charon/kernel/kernel_interface.h @@ -277,12 +277,16 @@ struct kernel_interface_t { char* (*get_interface) (kernel_interface_t *this, host_t *host); /** - * @brief Creates a list of all local addresses. + * @brief Creates an iterator over all local addresses. + * + * This function blocks an internal cached address list until the + * iterator gets destroyed. + * These hosts are read-only, do not modify or free. * * @param this calling object - * @return allocated list with host_t objects + * @return iterator over host_t's */ - linked_list_t *(*create_address_list) (kernel_interface_t *this); + iterator_t *(*create_address_iterator) (kernel_interface_t *this); /** * @brief Add a virtual IP to an interface. |