strongswan/src/libcharon/plugins/socket_default
Tobias Brunner 47e113a639 socket-default: Refactor setting source address when sending messages
This ensures we don't pass data (via msg_control) defined in a different
scope to sendmsg().  Actually, some compilers (e.g. GCC 5.2.1) might
optimize the memcpy() call away causing the packets not to get sent from
the intended source address.

It also makes the code clearer than with all these ifdefs.

Fixes #1171.
2015-11-09 16:43:21 +01:00
..
Makefile.am plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
socket_default_plugin.c Socket plugins soft depend on the kernel-ipsec plugin feature 2013-06-11 11:18:17 +02:00
socket_default_plugin.h Moving charon to libcharon. 2010-03-19 13:34:52 +01:00
socket_default_socket.c socket-default: Refactor setting source address when sending messages 2015-11-09 16:43:21 +01:00
socket_default_socket.h Deferred instantiation of socket implmentations until registration. 2010-10-15 17:30:21 +02:00