lwip_setgetsockopt_data Struct Reference


Data Fields

struct lwip_socketsock
int s
int level
int optname
void * optval
socklen_t * optlen
err_t err

Detailed Description

This struct is used to pass data to the set/getsockopt_internal functions running in tcpip_thread context (only a void* is allowed)

Field Documentation

struct lwip_socket* lwip_setgetsockopt_data::sock [read]

socket struct for which to change options

int lwip_setgetsockopt_data::s

socket index for which to change options

int lwip_setgetsockopt_data::level

level of the option to process

int lwip_setgetsockopt_data::optname

name of the option to process

void* lwip_setgetsockopt_data::optval

set: value to set the option to get: value of the option is stored here

socklen_t* lwip_setgetsockopt_data::optlen

size of *optval

err_t lwip_setgetsockopt_data::err

if an error occures, it is temporarily stored here


The documentation for this struct was generated from the following file:
Generated on Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4