Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_file_test BLE_Blink ExternalEncoder
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.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 | |
err_t | err |
if an error occurs, it is temporarily stored here | |
void * | completed_sem |
semaphore to wake up the calling task | |
struct lwip_sock * | sock |
socket struct for which to change options | |
void * | optval |
set: value to set the option to get: value of the option is stored here | |
socklen_t * | optlen |
size of *optval |
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 120 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
Field Documentation
void* completed_sem |
semaphore to wake up the calling task
Definition at line 142 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
if an error occurs, it is temporarily stored here
if an error occures, it is temporarily stored here
Definition at line 140 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
int level |
level of the option to process
Definition at line 124 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
socklen_t optlen |
size of *optval
Definition at line 138 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
int optname |
name of the option to process
Definition at line 126 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.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 130 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
void* optval |
int s |
socket index for which to change options
Definition at line 122 of file FEATURE_LWIP/lwip-interface/lwip/src/include/lwip/sockets.h.
Generated on Tue Jul 12 2022 15:20:49 by
