diff options
author | Martin Willi <martin@strongswan.org> | 2006-08-31 06:18:15 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-08-31 06:18:15 +0000 |
commit | c705698293f398cd94f6145f970cf0793ef45c05 (patch) | |
tree | e28be88f46ac5d5dfdad832612e92acfd96ef4ab /src/charon/network/socket.h | |
parent | 053842f4e75bf2147001af7c8ce40da2a8edea0e (diff) | |
download | strongswan-c705698293f398cd94f6145f970cf0793ef45c05.tar.bz2 strongswan-c705698293f398cd94f6145f970cf0793ef45c05.tar.xz |
added raw socket filter for IPv6
Diffstat (limited to 'src/charon/network/socket.h')
-rw-r--r-- | src/charon/network/socket.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/charon/network/socket.h b/src/charon/network/socket.h index 212a55cde..34a06c0bb 100644 --- a/src/charon/network/socket.h +++ b/src/charon/network/socket.h @@ -45,9 +45,9 @@ typedef struct socket_t socket_t; /** - * @brief Abstraction all sockets (currently IPv4 only). + * @brief Abstraction of all sockets (IPv6/IPv6 send/receive). * - * All available IPv4 sockets are bound and the receive function + * All available sockets are bound and the receive function * reads from them. To allow binding of other daemons (pluto) to * UDP/500, this implementation uses RAW sockets. An installed * "Linux socket filter" filters out all non-IKEv2 traffic and handles @@ -119,13 +119,11 @@ struct socket_t { /** * @brief Create a socket_t, wich binds multiple sockets. - * - * currently creates a raw socket and two send sockets - * + * * @param port port to bind socket to * @param natt_port port to float to in NAT-T * @return socket_t object - * + * * @ingroup network */ socket_t *socket_create(u_int16_t port, u_int16_t natt_port); |