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
27#ifndef NET_GNRC_ICMPV6_H
28#define NET_GNRC_ICMPV6_H
29
30#include "net/icmpv6.h"
31#include "net/gnrc/netif.h"
32#include "net/gnrc/pkt.h"
33
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
48
61gnrc_pktsnip_t *gnrc_icmpv6_build(gnrc_pktsnip_t *next, uint8_t type, uint8_t code, size_t size);
62
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif /* NET_GNRC_ICMPV6_H */
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.
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:135
Type to represent parts (either headers or payload) of a packet, called snips.
Definition pkt.h:108