The netinet/icmp6.h header file defines structures and constants
for ICMPv6 header options.
The following structures are exposed with this header file:
- icmp6_hdr
- nd_router_solicit
- nd_router_advert
- nd_neighbor_solicit
- nd_neighbor_advert
- nd_redirect
- nd_opt_hdr
- nd_opt_prefix_info
- nd_opt_rd_hdr
- nd_opt_mtu
- mld_hdr
- icmp6_router_renum
- rr_pco_match
- rr_pco_use
- rr_result
The following definitions are associated with the icmp6_hdr structure:
- icmp6_data32
- icmp6_data16
- icmp6_data8
- icmp6_pptr
- icmp6_mtu
- icmp6_id
- icmp6_seq
- icmp6_maxdelay
The following definitions are associated with ICMPv6 Type and Code
values:
- ICMP6_DST_UNREACH
- ICMP6_PACKET_TOO_BIG
- ICMP6_TIME_EXCEEDED
- ICMP6_PARAM_PROB
- ICMP6_INFOMSG_MASK
- ICMP6_ECHO_REQUEST
- ICMP6_ECHO_REPLY
- ICMP6_DST_UNREACH_NOROUTE
- ICMP6_DST_UNREACH_ADMIN
- ICMP6_DST_UNREACH_BEYONDSCOPE
- ICMP6_DST_UNREACH_ADDR
- ICMP6_DST_UNREACH_NOPORT
- ICMP6_TIME_EXCEED_TRANSIT
- ICMP6_TIME_EXCEED_REASSEMBLY
- ICMP6_PARAMPROB_HEADER
- ICMP6_PARAMPROB_NEXTHEADER
- ICMP6_PARAMPROB_OPTION
The following definitions are associated with the nd_router_solicit
structure:
- ND_ROUTER_SOLICIT
- nd_rs_type
- nd_rs_code
- nd_rs_cksum
- nd_rs_reserved
The following definitions are associated with the nd_router_advert
structure:
- ND_ROUTER_ADVERT
- nd_ra_type
- nd_ra_code
- nd_ra_cksum
- nd_ra_curhoplimit
- nd_ra_flags_reserved
- ND_RA_FLAG_MANAGED
- ND_RA_FLAG_OTHER
- nd_ra_router_lifetime
The following definitions are associated with the nd_neighbor_solicit
structure:
- ND_NEIGHBOR_SOLICIT
- nd_ns_type
- nd_ns_code
- nd_ns_cksum
- nd_ns_reserved
The following definitions are associated with the nd_neighbor_advert
structure:
- ND_NEIGHBOR_ADVERT
- nd_na_type
- nd_na_code
- nd_na_cksum
- nd_na_flags_reserved
- ND_NA_FLAG_ROUTER
- ND_NA_FLAG_SOLICITED
- ND_NA_FLAG_OVERRIDE
The following definitions are associated with the nd_redirect structure:
- ND_REDIRECT
- nd_rd_type
- nd_rd_code
- nd_rd_cksum
- nd_rd_reserved
The following definitions are associated with the nd_opt_hdr structure:
- ND_OPT_SOURCE_LINKADDR
- ND_OPT_TARGET_LINKADDR
- ND_OPT_PREFIX_INFORMATION
- ND_OPT_REDIRECTED_HEADER
- ND_OPT_MTU
The following definitions are associated with nd_opt_prefix_info
structure:
- ND_OPT_PI_FLAG_ONLINK
- ND_OPT_PI_FLAG_AUTO
The following definitions are associated with the mld_hdr structure:
- MLD_LISTENER_QUERY
- MLD_LISTENER_REPORT
- MLD_LISTENER_REDUCTION
- mld_type
- mld_code
- mld_cksum
- mld_maxdelay
- mld_reserved
The following definitions are associated with the icmp6_router_renum
structure:
- ICMP6_ROUTER_RENUMBERING
- rr_type
- rr_code
- rr_cksum
- rr_seqnum
- ICMP6_RR_FLAGS_TEST
- ICMP6_RR_FLAGS_REQRESULT
- ICMP6_RR_FLAGS_FORCEAPPLY
- ICMP6_RR_FLAGS_SPECSITE
- ICMP6_RR_FLAGS_PREVDONE
The following definitions are associated with the rr_pco_match
structure:
- RPM_PCO_ADD
- RPM_PCO_CHANGE
- RPM_PCO_SETGLOBAL
The following definitions are associated with the rr_pco_use structure:
- ICMP6_RR_PCOUSE_RAFLAGS_ONLINK
- ICMP6_RR_PCOUSE_RAFLAGS_AUTO
- ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME
- ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME
- nd_ns_reserved
The following definitions are associated with the rr_result structure:
- ICMP6_RR_RESULT_FLAGS_OOB
- ICMP6_RR_RESULT_FLAGS_FORBIDDEN