iPXE
Data Structures | Defines | Functions | Variables
icmpv6.h File Reference

ICMPv6 protocol. More...

#include <stdint.h>
#include <ipxe/tables.h>
#include <ipxe/iobuf.h>
#include <ipxe/netdevice.h>
#include <ipxe/icmp.h>

Go to the source code of this file.

Data Structures

struct  icmpv6_handler
 An ICMPv6 handler. More...

Defines

#define ICMPV6_HANDLERS   __table ( struct icmpv6_handler, "icmpv6_handlers" )
 ICMPv6 handler table.
#define __icmpv6_handler   __table_entry ( ICMPV6_HANDLERS, 01 )
 Declare an ICMPv6 handler.
#define ICMPV6_DESTINATION_UNREACHABLE   1
 ICMPv6 destination unreachable.
#define ICMPV6_PACKET_TOO_BIG   2
 ICMPv6 packet too big.
#define ICMPV6_TIME_EXCEEDED   3
 ICMPv6 time exceeded.
#define ICMPV6_PARAMETER_PROBLEM   4
 ICMPv6 parameter problem.
#define ICMPV6_ECHO_REQUEST   128
 ICMPv6 echo request.
#define ICMPV6_ECHO_REPLY   129
 ICMPv6 echo reply.
#define ICMPV6_ROUTER_SOLICITATION   133
 ICMPv6 router solicitation.
#define ICMPV6_ROUTER_ADVERTISEMENT   134
 ICMPv6 router advertisement.
#define ICMPV6_NEIGHBOUR_SOLICITATION   135
 ICMPv6 neighbour solicitation.
#define ICMPV6_NEIGHBOUR_ADVERTISEMENT   136
 ICMPv6 neighbour advertisement.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Variables

struct tcpip_protocol
icmpv6_protocol 
__tcpip_protocol
 ICMPv4 TCP/IP protocol.

Detailed Description

ICMPv6 protocol.

Definition in file icmpv6.h.


Define Documentation

#define ICMPV6_HANDLERS   __table ( struct icmpv6_handler, "icmpv6_handlers" )

ICMPv6 handler table.

Definition at line 38 of file icmpv6.h.

Referenced by icmpv6_handler().

struct icmpv6_handler icmpv6_echo_reply_handler __icmpv6_handler   __table_entry ( ICMPV6_HANDLERS, 01 )

Declare an ICMPv6 handler.

ICMPv6 echo reply handler.

Definition at line 41 of file icmpv6.h.

ICMPv6 destination unreachable.

Definition at line 44 of file icmpv6.h.

Referenced by icmpv6_rx().

#define ICMPV6_PACKET_TOO_BIG   2

ICMPv6 packet too big.

Definition at line 47 of file icmpv6.h.

Referenced by icmpv6_rx().

#define ICMPV6_TIME_EXCEEDED   3

ICMPv6 time exceeded.

Definition at line 50 of file icmpv6.h.

Referenced by icmpv6_rx().

#define ICMPV6_PARAMETER_PROBLEM   4

ICMPv6 parameter problem.

Definition at line 53 of file icmpv6.h.

Referenced by icmpv6_rx().

#define ICMPV6_ECHO_REQUEST   128

ICMPv6 echo request.

Definition at line 56 of file icmpv6.h.

#define ICMPV6_ECHO_REPLY   129

ICMPv6 echo reply.

Definition at line 59 of file icmpv6.h.

#define ICMPV6_ROUTER_SOLICITATION   133

ICMPv6 router solicitation.

Definition at line 62 of file icmpv6.h.

Referenced by ndp_tx_router_solicitation().

#define ICMPV6_ROUTER_ADVERTISEMENT   134

ICMPv6 router advertisement.

Definition at line 65 of file icmpv6.h.

ICMPv6 neighbour solicitation.

Definition at line 68 of file icmpv6.h.

Referenced by ndp_tx_request().

ICMPv6 neighbour advertisement.

Definition at line 71 of file icmpv6.h.

Referenced by ndp_rx_neighbour_solicitation_ll_source().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

struct tcpip_protocol icmpv6_protocol __tcpip_protocol

ICMPv4 TCP/IP protocol.

Definition at line 100 of file icmpv4.c.