The friendly Operating System for the Internet of Things
gnrc/ipv6/ext.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for
6  * more details.
7  */
8 
25 #ifndef GNRC_IPV6_EXT_H
26 #define GNRC_IPV6_EXT_H
27 
28 #include <stdbool.h>
29 #include <stdint.h>
30 #include <stdlib.h>
31 
32 #include "kernel_types.h"
33 #include "net/gnrc/pkt.h"
34 #include "net/ipv6/ext.h"
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
61  gnrc_pktsnip_t *current,
62  gnrc_pktsnip_t *pkt,
63  uint8_t nh);
64 
78  uint8_t nh, size_t size);
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* GNRC_IPV6_EXT_H */
85 
Types used by the kernel.
IPv6 extension header definitions.
int16_t kernel_pid_t
Unique process identifier.
Definition: kernel_types.h:83
General definitions for network packets and their helper functions.
void gnrc_ipv6_ext_demux(kernel_pid_t iface, gnrc_pktsnip_t *current, gnrc_pktsnip_t *pkt, uint8_t nh)
Demultiplex extension headers according to nh.
gnrc_pktsnip_t * gnrc_ipv6_ext_build(gnrc_pktsnip_t *ipv6, gnrc_pktsnip_t *next, uint8_t nh, size_t size)
Builds an extension header for sending.
Type to represent parts (either headers or payload) of a packet, called snips.
stdlib.h wrapper for MSP430