chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-daemon: fix compilation on old systems lacking SOCK_CLOEXEC
[elogind.git]
/
src
/
socket.h
diff --git
a/src/socket.h
b/src/socket.h
index 0674cd81bffee159996ad947ba3bf383322880e9..230dd200d5e423ebef41f869ec3f6555d5b0c0c1 100644
(file)
--- a/
src/socket.h
+++ b/
src/socket.h
@@
-84,12
+84,13
@@
struct Socket {
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
ExecContext exec_context;
+ /* For Accept=no sockets refers to the one service we'll
+ activate. For Accept=yes sockets is either NULL, or filled
+ when the next service we spawn. */
Service *service;
SocketState state, deserialized_state;
Service *service;
SocketState state, deserialized_state;
- KillMode kill_mode;
-
ExecCommand* control_command;
SocketExecCommand control_command_id;
pid_t control_pid;
ExecCommand* control_command;
SocketExecCommand control_command_id;
pid_t control_pid;
@@
-113,6
+114,7
@@
struct Socket {
int mark;
bool free_bind;
char *bind_to_device;
int mark;
bool free_bind;
char *bind_to_device;
+ char *tcp_congestion;
/* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */
SocketAddressBindIPv6Only bind_ipv6_only;
/* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */
SocketAddressBindIPv6Only bind_ipv6_only;