chiark / gitweb /
socket: introduce SELinuxLabelViaNet option
[elogind.git] / src / core / socket.h
index 6c0084c477b6fbe34d7988fc46690243edd60164..ab342c34e82ecf4e30ad049cba46e28421513e8c 100644 (file)
@@ -101,7 +101,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 +139,6 @@ struct Socket {
         /* Socket options */
         bool keep_alive;
         bool no_delay;
-        bool fast_open;
         bool free_bind;
         bool transparent;
         bool broadcast;
@@ -162,6 +165,8 @@ struct Socket {
         char *smack_ip_in;
         char *smack_ip_out;
 
+        bool selinux_label_via_net;
+
         char *user, *group;
 };