ICMPV6

Provides types related to ICMPv6.

See also

RFC 4443

ICMPV6_DST_UNR

Destination unreachable message.

1
(1)
ICMPV6_PKT_TOO_BIG

Packet Too Big message.

1
(2)
ICMPV6_TIME_EXC

Time Exceeded message.

1
(3)
ICMPV6_PARAM_PROB

Parameter Problem message.

1
(4)
ICMPV6_ERR_EXP1

message type for private experimentation

1
(100)
ICMPV6_ERR_EXP2

message type for private experimentation

1
(101)
ICMPV6_ECHO_REQ

Echo request message (ping)

1
(128)
ICMPV6_ECHO_REP

Echo reply message (pong)

1
(129)
ICMPV6_RTR_SOL

NDP router solicitation message.

1
(133)
ICMPV6_RTR_ADV

NDP router advertisement message.

1
(134)
ICMPV6_NBR_SOL

NDP neighbor solicitation message.

1
(135)
ICMPV6_NBR_ADV

NDP neighbor advertisement message.

1
(136)
ICMPV6_REDIRECT

NDP redirect message.

1
(137)
ICMPV6_RPL_CTRL

RPL control message.

1
(155)
ICMPV6_DAR

Duplicate address request.

1
(157)
ICMPV6_DAC

Duplicate address confirmation.

1
(158)
ICMPV6_INF_EXP1

message type for private experimentation

1
(200)
ICMPV6_INF_EXP2

message type for private experimentation

1
(201)
ICMPV6_ERROR_DST_UNR_NO_ROUTE

no route to destination

1
(0)
ICMPV6_ERROR_DST_UNR_PROHIB

communictation with destination administratively prohibited

1
(1)
ICMPV6_ERROR_DST_UNR_SCOPE

beyond scope of source address

1
(2)
ICMPV6_ERROR_DST_UNR_ADDR

address unreachable

1
(3)
ICMPV6_ERROR_DST_UNR_PORT

port unreachable

1
(4)
ICMPV6_ERROR_DST_UNR_POLICY

source address failed ingress/egress policy

1
(5)
ICMPV6_ERROR_DST_UNR_REJECT

reject route to destination

1
(6)
ICMPV6_ERROR_TIME_EXC_HL

hop limit exceeded in transit

1
(0)
ICMPV6_ERROR_TIME_EXC_FRAG

fragment reassembly time exceeded

1
(1)
ICMPV6_ERROR_PARAM_PROB_HDR_FIELD

errorneous header field encountered

1
(0)
ICMPV6_ERROR_PARAM_PROB_NH

unrecognized next header field encountered

1
(1)
ICMPV6_ERROR_PARAM_PROB_OPT

unrecognized IPv6 option field encountered

1
(2)
void icmpv6_hdr_print(icmpv6_hdr_t * hdr)

Print the given ICMPv6 header to STDOUT.

Parameters

hdr:ICMPv6 header to print

struct icmpv6_hdr_t

General ICMPv6 message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

struct icmpv6_error_dst_unr_t

Destination unreachable message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

byteorder.h::network_uint32_t unused

unused field

struct icmpv6_error_pkt_too_big_t

Packet too big message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

byteorder.h::network_uint32_t mtu

MTU.

struct icmpv6_error_time_exc_t

Time exceeded message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

byteorder.h::network_uint32_t unused

unused field

struct icmpv6_error_param_prob_t

Parameter problem message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

byteorder.h::network_uint32_t ptr

pointer

struct icmpv6_echo_t

Echo request and response message format.

uint8_t type

message type

uint8_t code

message code

byteorder.h::network_uint16_t csum

checksum

byteorder.h::network_uint16_t id

identifier

byteorder.h::network_uint16_t seq

Sequence number.