Buffer for asynchronous 6LoWPAN fragmentation.
More...
Buffer for asynchronous 6LoWPAN fragmentation.
|
file | fb.h |
| Fragmentation buffer definitions.
|
|
◆ GNRC_SIXLOWPAN_FRAG_FB_SND_MSG
#define GNRC_SIXLOWPAN_FRAG_FB_SND_MSG (0x0225) |
Message type for passing one 6LoWPAN fragment down the network stack.
Definition at line 42 of file fb.h.
◆ gnrc_sixlowpan_frag_fb_get()
Allocates a fragmentation buffer entry.
- Returns
- A fragmentation buffer entry if available
-
NULL, otherwise
◆ gnrc_sixlowpan_frag_fb_get_by_tag()
Get an existing fragmentation buffer entry by a given tag.
- Parameters
-
[in] | tag | Tag to search for. |
- Returns
- a fragmentation buffer entry if one with
tag
exists.
-
NULL, if no fragmentation buffer entry can be found.
◆ gnrc_sixlowpan_frag_fb_next_tag()
uint16_t gnrc_sixlowpan_frag_fb_next_tag |
( |
void |
| ) |
|
Generate a new datagram tag for sending.
- Returns
- A new datagram tag.
◆ gnrc_sixlowpan_frag_fb_reset()
void gnrc_sixlowpan_frag_fb_reset |
( |
void |
| ) |
|
Reset fragmentation buffer.
- Note
- Only available with test
◆ gnrc_sixlowpan_frag_fb_send()
Sends a message to pass a further fragment down the network stack.
- See also
- GNRC_SIXLOWPAN_MSG_FRAG_SND
- Parameters
-
[in] | fbuf | A fragmentation buffer entry ] |
- Returns
- true, when the message was sent
-
false when sending the message failed.
Definition at line 125 of file fb.h.