Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

lwip_setgetsockopt_data Struct Reference

lwip_setgetsockopt_data Struct Reference

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

#include <sockets_priv.h>

Data Fields

int s
 socket index for which to change options
int level
 level of the option to process
int optname
 name of the option to process
u8_t optval [LWIP_SETGETSOCKOPT_MAXOPTLEN]
 set: value to set the option to get: value of the option is stored here
socklen_t optlen
 size of *optval
int err
 if an error occurs, it is temporarily stored here
void * completed_sem
 semaphore to wake up the calling task

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)

Definition at line 104 of file sockets_priv.h.


Field Documentation

semaphore to wake up the calling task

Definition at line 126 of file sockets_priv.h.

int err

if an error occurs, it is temporarily stored here

Definition at line 124 of file sockets_priv.h.

int level

level of the option to process

Definition at line 108 of file sockets_priv.h.

socklen_t optlen

size of *optval

Definition at line 122 of file sockets_priv.h.

int optname

name of the option to process

Definition at line 110 of file sockets_priv.h.

u8_t optval[LWIP_SETGETSOCKOPT_MAXOPTLEN]

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

Definition at line 114 of file sockets_priv.h.

int s

socket index for which to change options

Definition at line 106 of file sockets_priv.h.