Loading...
Searching...
No Matches
icmpv6.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
25
26#include "net/icmpv6.h"
27#include "net/gnrc/netif.h"
28#include "net/gnrc/pkt.h"
29
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
44
57gnrc_pktsnip_t *gnrc_icmpv6_build(gnrc_pktsnip_t *next, uint8_t type, uint8_t code, size_t size);
58
73
74#ifdef __cplusplus
75}
76#endif
77
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:137