sixlowpan/internal.h¶
6LoWPAN internal functions
-
void
gnrc_sixlowpan_dispatch_recv
(include/net/gnrc/pkt.h::gnrc_pktsnip_t
* pkt, void * context, unsigned page)¶ Delegates a packet to the network layer.
Parameters
pkt: A packet context: Context for the packet. May be NULL. page: Current 6Lo dispatch parsing page
-
void
gnrc_sixlowpan_dispatch_send
(include/net/gnrc/pkt.h::gnrc_pktsnip_t
* pkt, void * context, unsigned page)¶ Delegates a packet to the network interface.
Parameters
pkt: A packet context: Context for the packet. May be NULL. page: Current 6Lo dispatch parsing page
-
void
gnrc_sixlowpan_multiplex_by_size
(include/net/gnrc/pkt.h::gnrc_pktsnip_t
* pkt,msp430_types.h::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)
Parameters
pkt: The packet to fit. Must not be NULL. orig_datagram_size: The original (uncompressed) datagram size. netif: The interface to fit pkt
over. Must not be NULL.page: Current 6Lo dispatch parsing page