internal.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2018 Freie Universität Berlin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include <stddef.h>
19 
20 #include "net/gnrc/pkt.h"
21 #include "net/gnrc/netif.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
34 
43  unsigned page);
44 
53  unsigned page);
54 
66  size_t orig_datagram_size,
67  gnrc_netif_t *netif,
68  unsigned page);
69 #ifdef __cplusplus
70 }
71 #endif
72 
Definition for GNRC's network interfaces.
int16_t kernel_pid_t
Unique process identifier.
Definition: sched.h:135
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:129
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:105