hdr.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
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef NET_GNRC_IPV6_HDR_H
20 #define NET_GNRC_IPV6_HDR_H
21 
22 #include <stdint.h>
23 
24 #include "net/ipv6/hdr.h"
25 #include "net/gnrc/pkt.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
47  const ipv6_addr_t *dst);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* NET_GNRC_IPV6_HDR_H */
54 
hdr.h
IPv6 header type and helper function definitions.
ipv6_addr_t
Data type to represent an IPv6 address.
Definition: addr.h:74
gnrc_ipv6_hdr_build
gnrc_pktsnip_t * gnrc_ipv6_hdr_build(gnrc_pktsnip_t *payload, const ipv6_addr_t *src, const ipv6_addr_t *dst)
Builds an IPv6 header for sending and adds it to the packet buffer.
pkt.h
General definitions for network packets and their helper functions.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108