BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

buffer_options Struct Reference

buffer_options Struct Reference

buffer option fields More...

#include <ns_buffer.h>

Data Fields

uint8_t lqi
int8_t dbm
uint8_t hop_limit
uint8_t type
uint8_t code
uint8_t ip_extflags
bool ll_security_bypass_tx: 1
bool ll_sec_bypass_frag_deny: 1
bool ll_security_bypass_rx: 1
bool ll_broadcast_tx: 1
bool ll_broadcast_rx: 1
bool ll_multicast_rx: 1
bool ll_not_ours_rx: 1
bool lowpan_mesh_rx: 1
bool tunnelled:1
bool need_predecessor:1
bool multicast_loop:1
bool mpl_permitted:1
bool ipv6_dontfrag:1
signed ipv6_use_min_mtu:2
uint8_t traffic_class
int_least24_t flow_label

Detailed Description

buffer option fields

Definition at line 108 of file ns_buffer.h.


Field Documentation

uint8_t code

ICMP code, TCP flags, MAC ack request...

Definition at line 113 of file ns_buffer.h.

int8_t dbm

Signal level

Definition at line 110 of file ns_buffer.h.

int_least24_t flow_label

IPv6 flow label; -1 means unspecified (may auto-generate); -2 means auto-generate required

Definition at line 134 of file ns_buffer.h.

uint8_t hop_limit

IPv6 hop limit

Definition at line 111 of file ns_buffer.h.

uint8_t ip_extflags

IPv6 extension header flags

Definition at line 114 of file ns_buffer.h.

Don't IPv6 fragment (RFC 3542)

Definition at line 128 of file ns_buffer.h.

Use minimum 1280-byte MTU (RFC 3542) - three settings +1, 0, -1

Definition at line 131 of file ns_buffer.h.

Was received as link-layer broadcast

Definition at line 119 of file ns_buffer.h.

Tx as link-layer broadcast (set to override multicast-as-unicast)

Definition at line 118 of file ns_buffer.h.

Was received as link-layer multicast

Definition at line 120 of file ns_buffer.h.

Not addressed to us at link layer - snooped

Definition at line 121 of file ns_buffer.h.

Deny ll_security_bypass_tx usage in fragmented packets

Definition at line 116 of file ns_buffer.h.

Was received without link-layer security, when security was enabled

Definition at line 117 of file ns_buffer.h.

Tx without link-layer security

Definition at line 115 of file ns_buffer.h.

Had a 6LoWPAN mesh header

Definition at line 122 of file ns_buffer.h.

uint8_t lqi

LQI from RF

Definition at line 109 of file ns_buffer.h.

MPL will be used if enabled on interface and scope >=3

Definition at line 126 of file ns_buffer.h.

We want loopback if we're a group member (TX), or this IS the loopback if RX

Definition at line 125 of file ns_buffer.h.

Used as an indicator that predecessor address needed

Definition at line 124 of file ns_buffer.h.

uint8_t traffic_class

Traffic class

Definition at line 133 of file ns_buffer.h.

bool tunnelled

We tunnelled it as part of (RPL?) routing

Definition at line 123 of file ns_buffer.h.

uint8_t type

ICMP type, IP next header, MAC frame type...

Definition at line 112 of file ns_buffer.h.