Loading...
Searching...
No Matches
icmpv6.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
9#pragma once
10
28
29#include "net/icmpv6.h"
30#include "net/gnrc/netif.h"
31#include "net/gnrc/pkt.h"
32
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
47
60gnrc_pktsnip_t *gnrc_icmpv6_build(gnrc_pktsnip_t *next, uint8_t type, uint8_t code, size_t size);
61
76
77#ifdef __cplusplus
78}
79#endif
80
ICMPv6 echo message definitions.
Definition for GNRC's network interfaces.
int gnrc_icmpv6_calc_csum(gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr)
Calculates the checksum for an ICMPv6 packet.
gnrc_pktsnip_t * gnrc_icmpv6_build(gnrc_pktsnip_t *next, uint8_t type, uint8_t code, size_t size)
Builds an ICMPv6 message for sending.
void gnrc_icmpv6_demux(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
Demultiplexes a received ICMPv6 packet according to its type field.
struct gnrc_pktsnip gnrc_pktsnip_t
Type to represent parts (either headers or payload) of a packet, called snips.
ICMPv6 type and function definitions.
ICMPv6 error message definitions.
General definitions for network packets and their helper functions.
Representation of a network interface.
Definition netif.h:132