socket.h | socket.h | |||
---|---|---|---|---|
skipping to change at line 104 | skipping to change at line 104 | |||
struct Socket { | struct Socket { | |||
Unit meta; | Unit meta; | |||
LIST_HEAD(SocketPort, ports); | LIST_HEAD(SocketPort, ports); | |||
unsigned n_accepted; | unsigned n_accepted; | |||
unsigned n_connections; | unsigned n_connections; | |||
unsigned max_connections; | unsigned max_connections; | |||
unsigned backlog; | 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]; | ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX]; | |||
ExecContext exec_context; | ExecContext exec_context; | |||
KillContext kill_context; | KillContext kill_context; | |||
CGroupContext cgroup_context; | CGroupContext cgroup_context; | |||
ExecRuntime *exec_runtime; | ExecRuntime *exec_runtime; | |||
/* For Accept=no sockets refers to the one service we'll | /* For Accept=no sockets refers to the one service we'll | |||
activate. For Accept=yes sockets is either NULL, or filled | activate. For Accept=yes sockets is either NULL, or filled | |||
when the next service we spawn. */ | when the next service we spawn. */ | |||
skipping to change at line 137 | skipping to change at line 141 | |||
SocketResult result; | SocketResult result; | |||
char **symlinks; | char **symlinks; | |||
bool accept; | bool accept; | |||
bool remove_on_stop; | bool remove_on_stop; | |||
/* Socket options */ | /* Socket options */ | |||
bool keep_alive; | bool keep_alive; | |||
bool no_delay; | ||||
bool free_bind; | bool free_bind; | |||
bool transparent; | bool transparent; | |||
bool broadcast; | bool broadcast; | |||
bool pass_cred; | bool pass_cred; | |||
bool pass_sec; | bool pass_sec; | |||
/* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */ | /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */ | |||
SocketAddressBindIPv6Only bind_ipv6_only; | SocketAddressBindIPv6Only bind_ipv6_only; | |||
int priority; | int priority; | |||
skipping to change at line 186 | skipping to change at line 191 | |||
const char* socket_state_to_string(SocketState i) _const_; | const char* socket_state_to_string(SocketState i) _const_; | |||
SocketState socket_state_from_string(const char *s) _pure_; | SocketState socket_state_from_string(const char *s) _pure_; | |||
const char* socket_exec_command_to_string(SocketExecCommand i) _const_; | const char* socket_exec_command_to_string(SocketExecCommand i) _const_; | |||
SocketExecCommand socket_exec_command_from_string(const char *s) _pure_; | SocketExecCommand socket_exec_command_from_string(const char *s) _pure_; | |||
const char* socket_result_to_string(SocketResult i) _const_; | const char* socket_result_to_string(SocketResult i) _const_; | |||
SocketResult socket_result_from_string(const char *s) _pure_; | SocketResult socket_result_from_string(const char *s) _pure_; | |||
const char* socket_port_type_to_string(SocketPort *p) _pure_; | const char* socket_port_type_to_string(SocketPort *p) _pure_; | |||
int socket_instantiate_service(Socket *s); | ||||
End of changes. 4 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |