Prusa MINI Firmware overview
|
Go to the documentation of this file.
37 #ifndef LWIP_HDR_PROT_ND6_H
38 #define LWIP_HDR_PROT_ND6_H
49 #ifdef PACK_STRUCT_USE_INCLUDES
62 #ifdef PACK_STRUCT_USE_INCLUDES
67 #ifdef PACK_STRUCT_USE_INCLUDES
81 #ifdef PACK_STRUCT_USE_INCLUDES
84 #define ND6_FLAG_ROUTER (0x80)
85 #define ND6_FLAG_SOLICITED (0x40)
86 #define ND6_FLAG_OVERRIDE (0x20)
89 #ifdef PACK_STRUCT_USE_INCLUDES
101 #ifdef PACK_STRUCT_USE_INCLUDES
106 #define ND6_RA_FLAG_MANAGED_ADDR_CONFIG (0x80)
107 #define ND6_RA_FLAG_OTHER_CONFIG (0x40)
108 #define ND6_RA_FLAG_HOME_AGENT (0x20)
109 #define ND6_RA_PREFERENCE_MASK (0x18)
110 #define ND6_RA_PREFERENCE_HIGH (0x08)
111 #define ND6_RA_PREFERENCE_MEDIUM (0x00)
112 #define ND6_RA_PREFERENCE_LOW (0x18)
113 #define ND6_RA_PREFERENCE_DISABLED (0x10)
114 #ifdef PACK_STRUCT_USE_INCLUDES
130 #ifdef PACK_STRUCT_USE_INCLUDES
135 #ifdef PACK_STRUCT_USE_INCLUDES
149 #ifdef PACK_STRUCT_USE_INCLUDES
154 #define ND6_OPTION_TYPE_SOURCE_LLADDR (0x01)
155 #define ND6_OPTION_TYPE_TARGET_LLADDR (0x02)
156 #ifdef PACK_STRUCT_USE_INCLUDES
166 #ifdef PACK_STRUCT_USE_INCLUDES
171 #define ND6_OPTION_TYPE_PREFIX_INFO (0x03)
172 #define ND6_PREFIX_FLAG_ON_LINK (0x80)
173 #define ND6_PREFIX_FLAG_AUTONOMOUS (0x40)
174 #define ND6_PREFIX_FLAG_ROUTER_ADDRESS (0x20)
175 #define ND6_PREFIX_FLAG_SITE_PREFIX (0x10)
176 #ifdef PACK_STRUCT_USE_INCLUDES
192 #ifdef PACK_STRUCT_USE_INCLUDES
197 #define ND6_OPTION_TYPE_REDIR_HDR (0x04)
198 #ifdef PACK_STRUCT_USE_INCLUDES
210 #ifdef PACK_STRUCT_USE_INCLUDES
215 #define ND6_OPTION_TYPE_MTU (0x05)
216 #ifdef PACK_STRUCT_USE_INCLUDES
227 #ifdef PACK_STRUCT_USE_INCLUDES
232 #define ND6_OPTION_TYPE_ROUTE_INFO (24)
233 #ifdef PACK_STRUCT_USE_INCLUDES
246 #ifdef PACK_STRUCT_USE_INCLUDES
251 #if LWIP_ND6_RDNSS_MAX_DNS_SERVERS
252 #define LWIP_RDNSS_OPTION_MAX_SERVERS LWIP_ND6_RDNSS_MAX_DNS_SERVERS
254 #define LWIP_RDNSS_OPTION_MAX_SERVERS 1
256 #define ND6_OPTION_TYPE_RDNSS (25)
257 #ifdef PACK_STRUCT_USE_INCLUDES
269 #ifdef PACK_STRUCT_USE_INCLUDES
PACK_STRUCT_FIELD(u16_t reserved)
#define PACK_STRUCT_BEGIN
Definition: arch.h:242
#define NETIF_MAX_HWADDR_LEN
Definition: netif.h:63
PACK_STRUCT_FLD_8(u8_t type)
uint16_t u16_t
Definition: arch.h:121
uint8_t type
Definition: UsbCore.h:184
PACK_STRUCT_FLD_8(u8_t type)
uint32_t u32_t
Definition: arch.h:123
PACK_STRUCT_FLD_8(u8_t type)
PACK_STRUCT_FLD_8(u8_t type)
PACK_STRUCT_FIELD(u32_t route_lifetime)
uint8_t u8_t
Definition: arch.h:119
typedefPACK_STRUCT_END struct ip6_addr_packed ip6_addr_p_t
Definition: ip6.h:60
PACK_STRUCT_FLD_S(ip6_addr_p_t prefix)
PACK_STRUCT_FLD_S(ip6_addr_p_t rdnss_address[LWIP_RDNSS_OPTION_MAX_SERVERS])
PACK_STRUCT_FLD_S(ip6_addr_p_t prefix)
PACK_STRUCT_FIELD(u32_t valid_lifetime)
PACK_STRUCT_FLD_8(u8_t type)
#define PACK_STRUCT_END
Definition: arch.h:251
PACK_STRUCT_FIELD(u16_t reserved)
png_uint_32 length
Definition: png.c:2247
Definition: inftrees.h:24
#define LWIP_RDNSS_OPTION_MAX_SERVERS
Definition: nd6.h:254
PACK_STRUCT_BEGIN struct ns_header PACK_STRUCT_STRUCT