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 
23 #ifndef NET_GNRC_IPV6_EXT_H
24 #define NET_GNRC_IPV6_EXT_H
25 
26 #include <stdbool.h>
27 #include <stdint.h>
28 #include <stdlib.h>
29 
30 #include "net/gnrc/netif.h"
31 #include "net/gnrc/pkt.h"
32 #include "net/ipv6/ext.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
59  gnrc_pktsnip_t *current,
60  gnrc_pktsnip_t *pkt,
61  uint8_t nh);
62 
76  uint8_t nh, size_t size);
77 
78 #ifdef __cplusplus
79 }
80 #endif
81 
82 #endif /* NET_GNRC_IPV6_EXT_H */
83 
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.
Representation of a network interface.
Definition: gnrc/netif.h:62
Definition for GNRC&#39;s network interfaces.
Type to represent parts (either headers or payload) of a packet, called snips.
stdlib.h wrapper for MSP430