netinet/ip6.h — IPv6 header options

The netinet/ip6.h header file defines structures and constants for IPv6 header options.

The following structures are exposed with this header file:
  • ip6_hdr
  • ip6_hbh
  • ip6_dest
  • ip6_rthdr
  • ip6_rthdr0
  • ip6_frag
  • ip6_opt
  • ip6_opt_jumbo
  • ip6_opt_nsap
  • ip6_opt_tunnel
  • ip6_opt_router
The following definitions are associated with the ip6_hdr structure:
  • ip6_vcf
  • ip6_flow
  • ip6_plen
  • ip6_nxt
  • ip6_hlim
  • ip6_hops
  • ip6_src
  • ip6_dst
The following definitions are associated with the extension header structure:
  • IP6F_OFF_MASK
  • IP6F_RESERVED_MASK
  • IP6F_MORE_FRAG
The following definitions are associated with the option header structure:
  • IP6OPT_TYPE
  • IP6OPT_TYPE_SKIP
  • IP6OPT_TYPE_DISCARD
  • IP6OPT_TYPE_FORCEICMP
  • IP6OPT_TYPE_ICMP
  • IP6OPT_MUTABLE
  • IP6OPT_PAD1
  • IP6OPT_PADN
  • IP6OPT_JUMBO
  • IP6OPT_NSAP_ADDR
  • IP6OPT_TUNNEL_LIMIT
  • IP6OPT_ROUTER_ALERT
  • IP6OPT_JUMBO_LEN
  • IP6_ALERT_MLD
  • IP6_ALERT_RSVP
  • IP6_ALERT_AN