X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fsocket.h;h=fa3ebdafa064f050268b0dd15495fdadb4e106a6;hb=cbecf9bf929318533fea798c57c10efcf6b2b447;hp=6c0084c477b6fbe34d7988fc46690243edd60164;hpb=9528592ff8d7ff361da430285deba8196e8984d5;p=elogind.git diff --git a/src/core/socket.h b/src/core/socket.h index 6c0084c47..fa3ebdafa 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; @@ -135,7 +137,6 @@ struct Socket { /* Socket options */ bool keep_alive; bool no_delay; - bool fast_open; bool free_bind; bool transparent; bool broadcast; @@ -162,7 +163,11 @@ struct Socket { char *smack_ip_in; char *smack_ip_out; + bool selinux_context_from_net; + char *user, *group; + + bool reset_cpu_usage:1; }; /* Called from the service code when collecting fds */