Structure that holds LMT Transport configuration items. More...
Public Member Functions | |
LmtTransportConfig () | |
Constructor. Initializes all configuration items with default values. | |
ReturnCode_t | get_default_config () |
ReturnCode_t | get_env_config () |
Public Attributes | |
int | so_sndbuf |
int | so_rcvbuf |
int | max_tx_size |
int | max_rx_buf_size |
int | debug_flags |
Structure that holds LMT Transport configuration items.
ReturnCode_t get_default_config | ( | ) |
Initialize the LmtTransportConfig object with default values. Currently assigned values may be overwritten by defaults.
ReturnCode_t get_env_config | ( | ) |
Query for environment variables that impact lmt transport configuration. Load the values (if any) into the LmtTransportConfig object. Currently assigned values may be overwritten by values derived from environment variables.
int debug_flags |
configure debug output of the transport
int max_rx_buf_size |
limit size of RX buffer (per connection)
int max_tx_size |
largest LMT packet size we transmit (default: 8192, max: 64K)
int so_rcvbuf |
size in bytes for socket RCVBUF
int so_sndbuf |
size in bytes for socket SNDBUF