GNUnet  0.11.x
Data Fields
PrismValue Struct Reference

Values in the 'struct PrismHeader'. More...

Data Fields

uint32_t did
 This has a different ID for each parameter, see PRISM_DID_* constants. More...
 
uint16_t status
 See PRISM_STATUS_*-constants. More...
 
uint16_t len
 length of data (which is always a uint32_t, but presumably this can be used to specify that fewer bytes are used (with values in 'len' from 0-4). More...
 
uint32_t data
 The data value. More...
 

Detailed Description

Values in the 'struct PrismHeader'.

All in host byte order (!).

Definition at line 237 of file gnunet-helper-transport-wlan.c.

Field Documentation

◆ did

uint32_t PrismValue::did

This has a different ID for each parameter, see PRISM_DID_* constants.

Definition at line 243 of file gnunet-helper-transport-wlan.c.

Referenced by linux_read().

◆ status

uint16_t PrismValue::status

See PRISM_STATUS_*-constants.

Note that they are unusual: 0 = set; 1 = not set

Definition at line 248 of file gnunet-helper-transport-wlan.c.

Referenced by linux_read().

◆ len

uint16_t PrismValue::len

length of data (which is always a uint32_t, but presumably this can be used to specify that fewer bytes are used (with values in 'len' from 0-4).

We ignore this field.

Definition at line 255 of file gnunet-helper-transport-wlan.c.

Referenced by check_crc_buf_osdep().

◆ data

uint32_t PrismValue::data

The data value.

Definition at line 260 of file gnunet-helper-transport-wlan.c.

Referenced by linux_read().


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