Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
| bool ipv6_dontfrag | 
Don't IPv6 fragment (RFC 3542)
Definition at line 128 of file ns_buffer.h.
| signed ipv6_use_min_mtu | 
Use minimum 1280-byte MTU (RFC 3542) - three settings +1, 0, -1
Definition at line 131 of file ns_buffer.h.
| bool ll_broadcast_rx | 
Was received as link-layer broadcast
Definition at line 119 of file ns_buffer.h.
| bool ll_broadcast_tx | 
Tx as link-layer broadcast (set to override multicast-as-unicast)
Definition at line 118 of file ns_buffer.h.
| bool ll_multicast_rx | 
Was received as link-layer multicast
Definition at line 120 of file ns_buffer.h.
| bool ll_not_ours_rx | 
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.
| bool lowpan_mesh_rx | 
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.
| bool mpl_permitted | 
MPL will be used if enabled on interface and scope >=3
Definition at line 126 of file ns_buffer.h.
| bool multicast_loop | 
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.
| bool need_predecessor | 
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.
Generated on Tue Jul 12 2022 15:18:00 by
 1.7.2