From c705698293f398cd94f6145f970cf0793ef45c05 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 31 Aug 2006 06:18:15 +0000 Subject: added raw socket filter for IPv6 --- src/charon/network/socket.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/charon/network/socket.h') 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); -- cgit v1.2.3