This struct is used to pass data to the set/getsockopt_internal functions running in tcpip_thread context (only a void* is allowed)
Data Fields | |
err_t | err |
if an error occures, it is temporarily stored here More... | |
int | level |
level of the option to process More... | |
socklen_t * | optlen |
size of *optval More... | |
int | optname |
name of the option to process More... | |
void * | optval |
set: value to set the option to get: value of the option is stored here More... | |
struct lwip_sock * | sock |
socket struct for which to change options More... | |
err_t lwip_setgetsockopt_data::err |
if an error occures, it is temporarily stored here
Referenced by lwip_getsockopt(), lwip_setsockopt(), and lwip_setsockopt_internal().
int lwip_setgetsockopt_data::level |
level of the option to process
Referenced by lwip_getsockopt(), lwip_getsockopt_internal(), lwip_setsockopt(), and lwip_setsockopt_internal().
socklen_t* lwip_setgetsockopt_data::optlen |
size of *optval
Referenced by lwip_getsockopt(), and lwip_setsockopt().
int lwip_setgetsockopt_data::optname |
name of the option to process
Referenced by lwip_getsockopt(), lwip_getsockopt_internal(), lwip_setsockopt(), and lwip_setsockopt_internal().
void* lwip_setgetsockopt_data::optval |
set: value to set the option to get: value of the option is stored here
Referenced by lwip_getsockopt(), lwip_getsockopt_internal(), lwip_setsockopt(), and lwip_setsockopt_internal().
struct lwip_sock* lwip_setgetsockopt_data::sock |
socket struct for which to change options
Referenced by lwip_getsockopt(), lwip_getsockopt_internal(), lwip_setsockopt(), and lwip_setsockopt_internal().