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addr_packed ip6_addr_p_t
Variables
- PACK_STRUCT_BEGIN struct ip6_addr_packed PACK_STRUCT_STRUCT
-
struct ip6_addr_packed
- #include <prot_ip6.h>
This is the packed version of ip6_addr_t, used in network headers that are itself packed.
Public Functions
- PACK_STRUCT_FIELD (u32_t addr[4])
-
struct ip6_hdr
- #include <prot_ip6.h>
The IPv6 header.
Public Functions
- PACK_STRUCT_FIELD (u32_t _v_tc_fl)
version / traffic class / flow label
- PACK_STRUCT_FIELD (u16_t _plen)
payload length
- PACK_STRUCT_FLD_8 (u8_t _nexth)
next header
- PACK_STRUCT_FLD_8 (u8_t _hoplim)
hop limit
- PACK_STRUCT_FLD_S (ip6_addr_p_t src)
source and destination IP addresses
- PACK_STRUCT_FLD_S (ip6_addr_p_t dest)
-
struct ip6_opt_hdr
- #include <prot_ip6.h>
Public Functions
- PACK_STRUCT_FLD_8 (u8_t _opt_type)
- PACK_STRUCT_FLD_8 (u8_t _opt_dlen)
-
struct ip6_hbh_hdr
- #include <prot_ip6.h>
Public Functions
- PACK_STRUCT_FLD_8 (u8_t _nexth)
- PACK_STRUCT_FLD_8 (u8_t _hlen)
-
struct ip6_dest_hdr
- #include <prot_ip6.h>
Public Functions
- PACK_STRUCT_FLD_8 (u8_t _nexth)
- PACK_STRUCT_FLD_8 (u8_t _hlen)
-
struct ip6_rout_hdr
- #include <prot_ip6.h>
Public Functions
- PACK_STRUCT_FLD_8 (u8_t _nexth)
- PACK_STRUCT_FLD_8 (u8_t _hlen)
- PACK_STRUCT_FIELD (u8_t _routing_type)
- PACK_STRUCT_FIELD (u8_t _segments_left)
-
struct ip6_frag_hdr
- #include <prot_ip6.h>
Public Functions
- PACK_STRUCT_FLD_8 (u8_t _nexth)
- PACK_STRUCT_FLD_8 (u8_t reserved)
- PACK_STRUCT_FIELD (u16_t _fragment_offset)
- PACK_STRUCT_FIELD (u32_t _identification)