prot_icmp6.h
ICMP6 protocol definitions.
Defines
-
ICMP6_HLEN
Enums
-
enum icmp6_type
ICMP type.
Values:
-
enumerator ICMP6_TYPE_DUR
Destination unreachable.
-
enumerator ICMP6_TYPE_PTB
Packet too big.
-
enumerator ICMP6_TYPE_TE
Time exceeded.
-
enumerator ICMP6_TYPE_PP
Parameter problem.
-
enumerator ICMP6_TYPE_PE1
Private experimentation.
-
enumerator ICMP6_TYPE_PE2
Private experimentation.
-
enumerator ICMP6_TYPE_RSV_ERR
Reserved for expansion of error messages.
-
enumerator ICMP6_TYPE_EREQ
Echo request.
-
enumerator ICMP6_TYPE_EREP
Echo reply.
-
enumerator ICMP6_TYPE_MLQ
Multicast listener query.
-
enumerator ICMP6_TYPE_MLR
Multicast listener report.
-
enumerator ICMP6_TYPE_MLD
Multicast listener done.
-
enumerator ICMP6_TYPE_RS
Router solicitation.
-
enumerator ICMP6_TYPE_RA
Router advertisement.
-
enumerator ICMP6_TYPE_NS
Neighbor solicitation.
-
enumerator ICMP6_TYPE_NA
Neighbor advertisement.
-
enumerator ICMP6_TYPE_RD
Redirect.
-
enumerator ICMP6_TYPE_MRA
Multicast router advertisement.
-
enumerator ICMP6_TYPE_MRS
Multicast router solicitation.
-
enumerator ICMP6_TYPE_MRT
Multicast router termination.
-
enumerator ICMP6_TYPE_PE3
Private experimentation.
-
enumerator ICMP6_TYPE_PE4
Private experimentation.
-
enumerator ICMP6_TYPE_RSV_INF
Reserved for expansion of informational messages.
-
enumerator ICMP6_TYPE_DUR
-
enum icmp6_dur_code
ICMP destination unreachable codes.
Values:
-
enumerator ICMP6_DUR_NO_ROUTE
No route to destination.
-
enumerator ICMP6_DUR_PROHIBITED
Communication with destination administratively prohibited.
-
enumerator ICMP6_DUR_SCOPE
Beyond scope of source address.
-
enumerator ICMP6_DUR_ADDRESS
Address unreachable.
-
enumerator ICMP6_DUR_PORT
Port unreachable.
-
enumerator ICMP6_DUR_POLICY
Source address failed ingress/egress policy.
-
enumerator ICMP6_DUR_REJECT_ROUTE
Reject route to destination.
-
enumerator ICMP6_DUR_NO_ROUTE
Variables
- PACK_STRUCT_BEGIN struct icmp6_hdr PACK_STRUCT_STRUCT
-
struct icmp6_hdr
- #include <prot_icmp6.h>
This is the standard ICMP6 header.
Public Functions
- PACK_STRUCT_FLD_8 (u8_t type)
- PACK_STRUCT_FLD_8 (u8_t code)
- PACK_STRUCT_FIELD (u16_t chksum)
- PACK_STRUCT_FIELD (u32_t data)
-
struct icmp6_echo_hdr
- #include <prot_icmp6.h>
This is the ICMP6 header adapted for echo req/resp.
Public Functions
- PACK_STRUCT_FLD_8 (u8_t type)
- PACK_STRUCT_FLD_8 (u8_t code)
- PACK_STRUCT_FIELD (u16_t chksum)
- PACK_STRUCT_FIELD (u16_t id)
- PACK_STRUCT_FIELD (u16_t seqno)