X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fsocket.h;h=5acf214e1c73ca9202c1c188ec1ab92e85a8591d;hb=c43b2132f37264600cc26e07c8d85dfdd6c969f0;hp=98396e73206e9b2adadc6a8d08801bb11a97ab9b;hpb=4427c3f43a87c2e0c784fda6be1b9715be820733;p=elogind.git diff --git a/src/core/socket.h b/src/core/socket.h index 98396e732..5acf214e1 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -23,8 +23,6 @@ typedef struct Socket Socket; -#include "manager.h" -#include "unit.h" #include "socket-util.h" #include "mount.h" #include "service.h" @@ -101,7 +99,11 @@ struct Socket { unsigned max_connections; unsigned backlog; + unsigned keep_alive_cnt; usec_t timeout_usec; + usec_t keep_alive_time; + usec_t keep_alive_interval; + usec_t defer_accept; ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX]; ExecContext exec_context; @@ -161,6 +163,8 @@ struct Socket { char *smack_ip_in; char *smack_ip_out; + bool selinux_context_from_net; + char *user, *group; };