struct tapi_trex_common_config
Overview
Common TRex client/server options. More…
#include <tapi_trex.h> struct tapi_trex_common_config { // fields const struct sockaddr* ip_range_beg; const struct sockaddr* ip_range_end; const struct sockaddr* ip_offset; tapi_job_opt_uint_t port; const char* payload; tapi_trex_interface* interface; const struct sockaddr* ip; const struct sockaddr* gw; };
Detailed Documentation
Common TRex client/server options.
Fields
const struct sockaddr* ip_range_beg
IP range begin (if NULL
then "0.0.0.0"
).
const struct sockaddr* ip_range_end
IP range end (if NULL
then "0.0.0.0"
).
const struct sockaddr* ip_offset
Offset to add per port pair (if NULL
then "0.0.0.0"
).
tapi_job_opt_uint_t port
Port number in clients requests (if not set then 80
).
const char* payload
HTTP buffer to send to the other side.
tapi_trex_interface* interface
Interface to use.
const struct sockaddr* ip
Real IP (or MAC) address of interface, if NULL
then "0.0.0.0"
.
const struct sockaddr* gw
Real gateway IP (or MAC) address of interface, if NULL
then "0.0.0.0"
.