chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: change filesystem type from "bind" to NULL in mount() syscalls
[elogind.git]
/
src
/
core
/
socket.h
diff --git
a/src/core/socket.h
b/src/core/socket.h
index 814a3bfabc0c2d65dc2c906f21b3840c614b3864..fa3ebdafa064f050268b0dd15495fdadb4e106a6 100644
(file)
--- a/
src/core/socket.h
+++ b/
src/core/socket.h
@@
-23,8
+23,6
@@
typedef struct Socket Socket;
typedef struct Socket Socket;
-#include "manager.h"
-#include "unit.h"
#include "socket-util.h"
#include "mount.h"
#include "service.h"
#include "socket-util.h"
#include "mount.h"
#include "service.h"
@@
-101,7
+99,11
@@
struct Socket {
unsigned max_connections;
unsigned backlog;
unsigned max_connections;
unsigned backlog;
+ unsigned keep_alive_cnt;
usec_t timeout_usec;
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;
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
@@
-134,6
+136,7
@@
struct Socket {
/* Socket options */
bool keep_alive;
/* Socket options */
bool keep_alive;
+ bool no_delay;
bool free_bind;
bool transparent;
bool broadcast;
bool free_bind;
bool transparent;
bool broadcast;
@@
-160,7
+163,11
@@
struct Socket {
char *smack_ip_in;
char *smack_ip_out;
char *smack_ip_in;
char *smack_ip_out;
+ bool selinux_context_from_net;
+
char *user, *group;
char *user, *group;
+
+ bool reset_cpu_usage:1;
};
/* Called from the service code when collecting fds */
};
/* Called from the service code when collecting fds */