socket_t implementation withouth raw sockets

--disable-raw-socket configure option
  prevents charon/pluto to run in parallel
This commit is contained in:
Martin Willi
2007-11-26 11:20:00 +00:00
parent 5af3a03396
commit 733f336ad3
6 changed files with 929 additions and 323 deletions
+7 -1
View File
@@ -45,7 +45,7 @@ kernel/kernel_interface.c kernel/kernel_interface.h \
network/packet.c network/packet.h \
network/receiver.c network/receiver.h \
network/sender.c network/sender.h \
network/socket.c network/socket.h \
network/socket.h \
processing/jobs/job.h \
processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
processing/jobs/callback_job.c processing/jobs/callback_job.h \
@@ -85,6 +85,12 @@ sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
sa/tasks/ike_reauth.c sa/tasks/ike_reauth.h \
sa/tasks/task.c sa/tasks/task.h
if USE_RAW_SOCKET
charon_SOURCES += network/socket-raw.c
else
charon_SOURCES += network/socket.c
endif
if USE_P2P
charon_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \