iPXE
Data Structures | Macros | 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...
 

Macros

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

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Variables

struct tcpip_protocol icmpv6_protocol __tcpip_protocol
 ICMPv4 TCP/IP protocol. More...
 

Detailed Description

ICMPv6 protocol.

Definition in file icmpv6.h.

Macro Definition Documentation

◆ ICMPV6_HANDLERS

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

ICMPv6 handler table.

Definition at line 38 of file icmpv6.h.

◆ __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

#define ICMPV6_DESTINATION_UNREACHABLE   1

ICMPv6 destination unreachable.

Definition at line 44 of file icmpv6.h.

◆ ICMPV6_PACKET_TOO_BIG

#define ICMPV6_PACKET_TOO_BIG   2

ICMPv6 packet too big.

Definition at line 47 of file icmpv6.h.

◆ ICMPV6_TIME_EXCEEDED

#define ICMPV6_TIME_EXCEEDED   3

ICMPv6 time exceeded.

Definition at line 50 of file icmpv6.h.

◆ ICMPV6_PARAMETER_PROBLEM

#define ICMPV6_PARAMETER_PROBLEM   4

ICMPv6 parameter problem.

Definition at line 53 of file icmpv6.h.

◆ ICMPV6_ECHO_REQUEST

#define ICMPV6_ECHO_REQUEST   128

ICMPv6 echo request.

Definition at line 56 of file icmpv6.h.

◆ ICMPV6_ECHO_REPLY

#define ICMPV6_ECHO_REPLY   129

ICMPv6 echo reply.

Definition at line 59 of file icmpv6.h.

◆ ICMPV6_ROUTER_SOLICITATION

#define ICMPV6_ROUTER_SOLICITATION   133

ICMPv6 router solicitation.

Definition at line 62 of file icmpv6.h.

◆ ICMPV6_ROUTER_ADVERTISEMENT

#define ICMPV6_ROUTER_ADVERTISEMENT   134

ICMPv6 router advertisement.

Definition at line 65 of file icmpv6.h.

◆ ICMPV6_NEIGHBOUR_SOLICITATION

#define ICMPV6_NEIGHBOUR_SOLICITATION   135

ICMPv6 neighbour solicitation.

Definition at line 68 of file icmpv6.h.

◆ ICMPV6_NEIGHBOUR_ADVERTISEMENT

#define ICMPV6_NEIGHBOUR_ADVERTISEMENT   136

ICMPv6 neighbour advertisement.

Definition at line 71 of file icmpv6.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ __tcpip_protocol

struct tcpip_protocol icmpv6_protocol __tcpip_protocol

ICMPv4 TCP/IP protocol.

ICMPv4 TCP/IP protocol.

Definition at line 100 of file icmpv4.c.