This struct is used to pass data to the set/getsockopt_internal functions running in tcpip_thread context (only a void* is allowed)
#include <sockets.h>
Data Fields | |
void * | completed_sem |
semaphore to wake up the calling task More... | |
err_t | err |
if an error occurs, 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... | |
int | s |
socket index for which to change options More... | |
void* lwip_setgetsockopt_data::completed_sem |
semaphore to wake up the calling task
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
err_t lwip_setgetsockopt_data::err |
if an error occurs, it is temporarily stored here
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
int lwip_setgetsockopt_data::level |
level of the option to process
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
socklen_t lwip_setgetsockopt_data::optlen |
size of *optval
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
int lwip_setgetsockopt_data::optname |
name of the option to process
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
void* lwip_setgetsockopt_data::optval |
set: value to set the option to get: value of the option is stored here
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().
int lwip_setgetsockopt_data::s |
socket index for which to change options
Referenced by lwip_getsockopt_callback(), and lwip_setsockopt_callback().