Mercurial > hg > freeDiameter-dtls
comparison include/freeDiameter/libfdcore.h @ 1191:50bf33dc8fe0
Limit number of incoming connections under processing to configurable value
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 10 Jun 2013 16:23:09 +0800 |
parents | 56c36d1007b4 |
children | 6a1042d8075b |
comparison
equal
deleted
inserted
replaced
1190:f40de74bd1c7 | 1191:50bf33dc8fe0 |
---|---|
129 uint16_t cnf_port; /* the local port for legacy Diameter (default: 3868) in host byte order */ | 129 uint16_t cnf_port; /* the local port for legacy Diameter (default: 3868) in host byte order */ |
130 uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 5658) in host byte order */ | 130 uint16_t cnf_port_tls; /* the local port for Diameter/TLS (default: 5658) in host byte order */ |
131 uint16_t cnf_port_3436; /* Open an additional server port to listen to old TLS/SCTP clients (RFC3436, freeDiameter versions < 1.2.0) */ | 131 uint16_t cnf_port_3436; /* Open an additional server port to listen to old TLS/SCTP clients (RFC3436, freeDiameter versions < 1.2.0) */ |
132 uint16_t cnf_sctp_str; /* default max number of streams for SCTP associations (def: 30) */ | 132 uint16_t cnf_sctp_str; /* default max number of streams for SCTP associations (def: 30) */ |
133 struct fd_list cnf_endpoints; /* the local endpoints to bind the server to. list of struct fd_endpoint. default is empty (bind all). After servers are started, this is the actual list of endpoints including port information. */ | 133 struct fd_list cnf_endpoints; /* the local endpoints to bind the server to. list of struct fd_endpoint. default is empty (bind all). After servers are started, this is the actual list of endpoints including port information. */ |
134 int cnf_thr_srv; /* Number of threads per servers handling the connection state machines */ | |
134 struct fd_list cnf_apps; /* Applications locally supported (except relay, see flags). Use fd_disp_app_support to add one. list of struct fd_app. */ | 135 struct fd_list cnf_apps; /* Applications locally supported (except relay, see flags). Use fd_disp_app_support to add one. list of struct fd_app. */ |
135 uint16_t cnf_dispthr; /* Number of dispatch threads to create */ | 136 uint16_t cnf_dispthr; /* Number of dispatch threads to create */ |
136 struct { | 137 struct { |
137 unsigned no_fwd : 1; /* the peer does not relay messages (0xffffff app id) */ | 138 unsigned no_fwd : 1; /* the peer does not relay messages (0xffffff app id) */ |
138 unsigned no_ip4 : 1; /* disable IP */ | 139 unsigned no_ip4 : 1; /* disable IP */ |