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 
34 #include "net/gnrc/icmpv6/echo.h"
35 #include "net/gnrc/icmpv6/error.h"
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
48 
61 gnrc_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 */
83 
icmpv6.h
ICMPv6 type and function definitions.
echo.h
ICMPv6 echo message definitions.
gnrc_icmpv6_build
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.
gnrc_netif_t
Representation of a network interface.
Definition: netif.h:115
error.h
ICMPv6 error message definitions.
pkt.h
General definitions for network packets and their helper functions.
gnrc_icmpv6_demux
void gnrc_icmpv6_demux(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
Demultiplexes a received ICMPv6 packet according to its type field.
gnrc_icmpv6_calc_csum
int gnrc_icmpv6_calc_csum(gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr)
Calculates the checksum for an ICMPv6 packet.
netif.h
Definition for GNRC's network interfaces.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108