Loading...
Searching...
No Matches

Data structure to be send for setting (GNRC_NETAPI_MSG_TYPE_SET) and getting (GNRC_NETAPI_MSG_TYPE_GET) options. More...

Detailed Description

Data structure to be send for setting (GNRC_NETAPI_MSG_TYPE_SET) and getting (GNRC_NETAPI_MSG_TYPE_GET) options.

Definition at line 100 of file netapi.h.

#include <netapi.h>

Data Fields

netopt_t opt
 the option to get/set
 
uint16_t context
 (optional) context for that option
 
void * data
 data to set or buffer to read into
 
uint16_t data_len
 size of the data / the buffer
 

Field Documentation

◆ context

uint16_t gnrc_netapi_opt_t::context

(optional) context for that option

Definition at line 102 of file netapi.h.

◆ data

void* gnrc_netapi_opt_t::data

data to set or buffer to read into

Definition at line 103 of file netapi.h.

◆ data_len

uint16_t gnrc_netapi_opt_t::data_len

size of the data / the buffer

Definition at line 104 of file netapi.h.

◆ opt

netopt_t gnrc_netapi_opt_t::opt

the option to get/set

Definition at line 101 of file netapi.h.


The documentation for this struct was generated from the following file: