Nicolas Borla / Mbed OS BBR_1Ebene
Embed: (wiki syntax)

« Back to documentation index

buffer Struct Reference

buffer Struct Reference

buffer structure More...

#include <ns_buffer.h>

Data Fields

sockaddr_t dst_sa
sockaddr_t src_sa
sockaddr_tpredecessor
protocol_interface_info_entry_t * interface
struct socketsocket
buffer_info_t info
uint8_t seq
uint16_t buf_ptr
uint16_t buf_end
uint16_t size
uint16_t offset
uint16_t payload_length
buffer_options_t options
uint8_t buf []

Detailed Description

buffer structure

Definition at line 198 of file ns_buffer.h.


Field Documentation

uint8_t buf[]

Trailing buffer data

Definition at line 231 of file ns_buffer.h.

uint16_t buf_end

End pointer in the buffer

Definition at line 208 of file ns_buffer.h.

uint16_t buf_ptr

Current pointer in the buffer

Definition at line 207 of file ns_buffer.h.

Destination sockaddr

Definition at line 200 of file ns_buffer.h.

buffer_info_t info

Protocol information

Definition at line 205 of file ns_buffer.h.

protocol_interface_info_entry_t* interface

Pointer to interface

Definition at line 203 of file ns_buffer.h.

uint16_t offset

Offset indicator (used in some upward paths)

Definition at line 210 of file ns_buffer.h.

Additional signal info etc

Definition at line 229 of file ns_buffer.h.

uint16_t payload_length

Socket payload length

Definition at line 212 of file ns_buffer.h.

Predecessor - used by RPL

Definition at line 202 of file ns_buffer.h.

uint8_t seq

Packet MAC header sequence number

Definition at line 206 of file ns_buffer.h.

uint16_t size

Buffer size

Definition at line 209 of file ns_buffer.h.

struct socket* socket

Indicate is data came trough socket

Definition at line 204 of file ns_buffer.h.

Source sockaddr

Definition at line 201 of file ns_buffer.h.