The Pedigree Project  0.1
Classes | Macros | Variables
prot/nd6.h File Reference
#include "lwip/arch.h"
#include "lwip/ip6_addr.h"
#include "lwip/prot/ip6.h"
+ Include dependency graph for prot/nd6.h:

Go to the source code of this file.

Classes

struct  ns_header
 
struct  na_header
 
struct  rs_header
 
struct  ra_header
 
struct  redirect_header
 
struct  lladdr_option
 
struct  prefix_option
 
struct  redirected_header_option
 
struct  mtu_option
 
struct  route_option
 
struct  rdnss_option
 

Macros

#define ND6_FLAG_ROUTER   (0x80)
 
#define ND6_FLAG_SOLICITED   (0x40)
 
#define ND6_FLAG_OVERRIDE   (0x20)
 
#define ND6_RA_FLAG_MANAGED_ADDR_CONFIG   (0x80)
 
#define ND6_RA_FLAG_OTHER_CONFIG   (0x40)
 
#define ND6_RA_FLAG_HOME_AGENT   (0x20)
 
#define ND6_RA_PREFERENCE_MASK   (0x18)
 
#define ND6_RA_PREFERENCE_HIGH   (0x08)
 
#define ND6_RA_PREFERENCE_MEDIUM   (0x00)
 
#define ND6_RA_PREFERENCE_LOW   (0x18)
 
#define ND6_RA_PREFERENCE_DISABLED   (0x10)
 
#define ND6_OPTION_TYPE_SOURCE_LLADDR   (0x01)
 
#define ND6_OPTION_TYPE_TARGET_LLADDR   (0x02)
 
#define ND6_OPTION_TYPE_PREFIX_INFO   (0x03)
 
#define ND6_PREFIX_FLAG_ON_LINK   (0x80)
 
#define ND6_PREFIX_FLAG_AUTONOMOUS   (0x40)
 
#define ND6_PREFIX_FLAG_ROUTER_ADDRESS   (0x20)
 
#define ND6_PREFIX_FLAG_SITE_PREFIX   (0x10)
 
#define ND6_OPTION_TYPE_REDIR_HDR   (0x04)
 
#define ND6_OPTION_TYPE_MTU   (0x05)
 
#define ND6_OPTION_TYPE_ROUTE_INFO   (24)
 
#define LWIP_RDNSS_OPTION_MAX_SERVERS   1
 
#define ND6_OPTION_TYPE_RDNSS   (25)
 

Variables

PACK_STRUCT_BEGIN struct ns_header PACK_STRUCT_STRUCT
 

Detailed Description

ND6 protocol definitions

Definition in file prot/nd6.h.

Macro Definition Documentation

#define LWIP_RDNSS_OPTION_MAX_SERVERS   1

Recursive DNS Server Option.

Definition at line 273 of file prot/nd6.h.

#define ND6_OPTION_TYPE_MTU   (0x05)

MTU option.

Definition at line 234 of file prot/nd6.h.

#define ND6_OPTION_TYPE_PREFIX_INFO   (0x03)

Prefix information option.

Definition at line 190 of file prot/nd6.h.

#define ND6_OPTION_TYPE_REDIR_HDR   (0x04)

Redirected header option.

Definition at line 216 of file prot/nd6.h.

#define ND6_OPTION_TYPE_ROUTE_INFO   (24)

Route information option.

Definition at line 251 of file prot/nd6.h.

#define ND6_OPTION_TYPE_SOURCE_LLADDR   (0x01)

Link-layer address option.

Definition at line 173 of file prot/nd6.h.

#define ND6_RA_FLAG_MANAGED_ADDR_CONFIG   (0x80)

Router advertisement message header.

Definition at line 125 of file prot/nd6.h.