internal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
18 #ifndef NET_GNRC_SIXLOWPAN_INTERNAL_H
19 #define NET_GNRC_SIXLOWPAN_INTERNAL_H
20 
21 #include <stddef.h>
22 
23 #include "net/gnrc/pkt.h"
24 #include "net/gnrc/netif.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
37 
46  unsigned page);
47 
56  unsigned page);
57 
69  size_t orig_datagram_size,
70  gnrc_netif_t *netif,
71  unsigned page);
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif /* NET_GNRC_SIXLOWPAN_INTERNAL_H */
Definition for GNRC's network interfaces.
int16_t kernel_pid_t
Unique process identifier.
Definition: sched.h:139
General definitions for network packets and their helper functions.
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 require...
kernel_pid_t gnrc_sixlowpan_get_pid(void)
Returns the PID of the 6Lo thread.
void gnrc_sixlowpan_dispatch_send(gnrc_pktsnip_t *pkt, void *context, unsigned page)
Delegates a packet to the network interface.
void gnrc_sixlowpan_dispatch_recv(gnrc_pktsnip_t *pkt, void *context, unsigned page)
Delegates a packet to the network layer.
Representation of a network interface.
Definition: netif.h:135
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108