Lines Matching defs:options
137 static struct options { struct
138 const char *server_addr; /* address to forward packets to */
139 const char *server_port; /* port to forward packets to */
140 const char *listen_addr; /* address for accepting client connections */
141 const char *listen_port; /* port for accepting client connections */
143 int duplicate; /* duplicate 1 in N packets (none if 0) */
144 int delay; /* delay 1 packet in N (none if 0) */
145 int delay_ccs; /* delay ChangeCipherSpec */
146 char *delay_cli[MAX_DELAYED_HS]; /* handshake types of messages from
148 uint8_t delay_cli_cnt; /* Number of entries in delay_cli. */
149 char *delay_srv[MAX_DELAYED_HS]; /* handshake types of messages from
151 uint8_t delay_srv_cnt; /* Number of entries in delay_srv. */
152 int drop; /* drop 1 packet in N (none if 0) */
176 static void get_options(int argc, char *argv[]) in get_options() argument