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 NET_GNRC_IPV6_EXT_H
26 #define NET_GNRC_IPV6_EXT_H
27 
28 #include <stdbool.h>
29 #include <stdint.h>
30 #include <stdlib.h>
31 
32 #include "net/gnrc/netif.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 /* NET_GNRC_IPV6_EXT_H */
85 
IPv6 extension header definitions.
General definitions for network packets and their helper functions.
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.
void gnrc_ipv6_ext_demux(gnrc_netif_t *netif, gnrc_pktsnip_t *current, gnrc_pktsnip_t *pkt, uint8_t nh)
Demultiplex extension headers according to nh.
Definition for GNRC&#39;s network interfaces.
Representation of a network interface.
Definition: netif.h:62
Type to represent parts (either headers or payload) of a packet, called snips.
stdlib.h wrapper for MSP430