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
9#pragma once
10
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
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.
struct gnrc_pktsnip gnrc_pktsnip_t
Type to represent parts (either headers or payload) of a packet, called snips.
General definitions for network packets and their helper functions.
IPv6 header type and helper function definitions.
Data type to represent an IPv6 address.
Definition addr.h:67