6LoWPAN internal functions More...
6LoWPAN internal functions
Definition in file internal.h.
Go to the source code of this file.
kernel_pid_t | gnrc_sixlowpan_get_pid (void) |
Returns the PID of the 6Lo thread. More... | |
void | gnrc_sixlowpan_dispatch_recv (gnrc_pktsnip_t *pkt, void *context, unsigned page) |
Delegates a packet to the network layer. More... | |
void | gnrc_sixlowpan_dispatch_send (gnrc_pktsnip_t *pkt, void *context, unsigned page) |
Delegates a packet to the network interface. More... | |
void | gnrc_sixlowpan_multiplex_by_size (gnrc_pktsnip_t *pkt, size_t orig_datagram_size, gnrc_netif_t *netif, unsigned page) |
Checks if packet fits over interface (and fragments if 6LoWPAN Fragmentation is available and required) More... | |
void gnrc_sixlowpan_dispatch_recv | ( | gnrc_pktsnip_t * | pkt, |
void * | context, | ||
unsigned | page | ||
) |
Delegates a packet to the network layer.
[in] | pkt | A packet |
[in] | context | Context for the packet. May be NULL. |
[in] | page | Current 6Lo dispatch parsing page |
void gnrc_sixlowpan_dispatch_send | ( | gnrc_pktsnip_t * | pkt, |
void * | context, | ||
unsigned | page | ||
) |
Delegates a packet to the network interface.
[in] | pkt | A packet |
[in] | context | Context for the packet. May be NULL. |
[in] | page | Current 6Lo dispatch parsing page |
kernel_pid_t gnrc_sixlowpan_get_pid | ( | void | ) |
Returns the PID of the 6Lo thread.
void gnrc_sixlowpan_multiplex_by_size | ( | gnrc_pktsnip_t * | pkt, |
size_t | orig_datagram_size, | ||
gnrc_netif_t * | netif, | ||
unsigned | page | ||
) |
Checks if packet fits over interface (and fragments if 6LoWPAN Fragmentation is available and required)
[in] | pkt | The packet to fit. Must not be NULL. |
[in] | orig_datagram_size | The original (uncompressed) datagram size. |
[in] | netif | The interface to fit pkt over. Must not be NULL. |
[in] | page | Current 6Lo dispatch parsing page |