Loading...
Searching...
No Matches
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
28extern "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 */
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.
General definitions for network packets and their helper functions.
IPv6 header type and helper function definitions.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition pkt.h:108
Data type to represent an IPv6 address.
Definition addr.h:72