Mbed OS Reference
Loading...
Searching...
No Matches
nsapi_stack Struct Reference

nsapi_stack structure More...

#include <nsapi_types.h>

Data Fields

const struct nsapi_stack_apistack_api
 Network stack operation table. More...
 
void * stack
 Opaque handle for network stacks. More...
 

Detailed Description

nsapi_stack structure

Stack structure representing a specific instance of a stack.

Definition at line 371 of file nsapi_types.h.

Field Documentation

◆ stack_api

const struct nsapi_stack_api* stack_api

Network stack operation table.

Provides access to the underlying api of the stack. This is not flattened into the nsapi_stack to allow allocation in read-only memory.

Definition at line 378 of file nsapi_types.h.

◆ stack

void* stack

Opaque handle for network stacks.

Definition at line 382 of file nsapi_types.h.