ReactOS 0.4.16-dev-297-gc569aee
nd6.h File Reference
#include "lwip/arch.h"
#include "lwip/ip6_addr.h"
#include "lwip/prot/ip6.h"
Include dependency graph for 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 ND6_OPTION_TYPE_RDNSS   (25)
 
#define SIZEOF_RDNSS_OPTION_BASE   8 /* size without addresses */
 

Variables

PACK_STRUCT_BEGIN struct ns_header PACK_STRUCT_STRUCT
 

Detailed Description

ND6 protocol definitions

Definition in file nd6.h.

Macro Definition Documentation

◆ ND6_FLAG_OVERRIDE

#define ND6_FLAG_OVERRIDE   (0x20)

Definition at line 86 of file nd6.h.

◆ ND6_FLAG_ROUTER

#define ND6_FLAG_ROUTER   (0x80)

Definition at line 84 of file nd6.h.

◆ ND6_FLAG_SOLICITED

#define ND6_FLAG_SOLICITED   (0x40)

Definition at line 85 of file nd6.h.

◆ ND6_OPTION_TYPE_MTU

#define ND6_OPTION_TYPE_MTU   (0x05)

MTU option.

Definition at line 215 of file nd6.h.

◆ ND6_OPTION_TYPE_PREFIX_INFO

#define ND6_OPTION_TYPE_PREFIX_INFO   (0x03)

Prefix information option.

Definition at line 171 of file nd6.h.

◆ ND6_OPTION_TYPE_RDNSS

#define ND6_OPTION_TYPE_RDNSS   (25)

Recursive DNS Server Option.

Definition at line 251 of file nd6.h.

◆ ND6_OPTION_TYPE_REDIR_HDR

#define ND6_OPTION_TYPE_REDIR_HDR   (0x04)

Redirected header option.

Definition at line 197 of file nd6.h.

◆ ND6_OPTION_TYPE_ROUTE_INFO

#define ND6_OPTION_TYPE_ROUTE_INFO   (24)

Route information option.

Definition at line 232 of file nd6.h.

◆ ND6_OPTION_TYPE_SOURCE_LLADDR

#define ND6_OPTION_TYPE_SOURCE_LLADDR   (0x01)

Link-layer address option.

Definition at line 154 of file nd6.h.

◆ ND6_OPTION_TYPE_TARGET_LLADDR

#define ND6_OPTION_TYPE_TARGET_LLADDR   (0x02)

Definition at line 155 of file nd6.h.

◆ ND6_PREFIX_FLAG_AUTONOMOUS

#define ND6_PREFIX_FLAG_AUTONOMOUS   (0x40)

Definition at line 173 of file nd6.h.

◆ ND6_PREFIX_FLAG_ON_LINK

#define ND6_PREFIX_FLAG_ON_LINK   (0x80)

Definition at line 172 of file nd6.h.

◆ ND6_PREFIX_FLAG_ROUTER_ADDRESS

#define ND6_PREFIX_FLAG_ROUTER_ADDRESS   (0x20)

Definition at line 174 of file nd6.h.

◆ ND6_PREFIX_FLAG_SITE_PREFIX

#define ND6_PREFIX_FLAG_SITE_PREFIX   (0x10)

Definition at line 175 of file nd6.h.

◆ ND6_RA_FLAG_HOME_AGENT

#define ND6_RA_FLAG_HOME_AGENT   (0x20)

Definition at line 108 of file nd6.h.

◆ ND6_RA_FLAG_MANAGED_ADDR_CONFIG

#define ND6_RA_FLAG_MANAGED_ADDR_CONFIG   (0x80)

Router advertisement message header.

Definition at line 106 of file nd6.h.

◆ ND6_RA_FLAG_OTHER_CONFIG

#define ND6_RA_FLAG_OTHER_CONFIG   (0x40)

Definition at line 107 of file nd6.h.

◆ ND6_RA_PREFERENCE_DISABLED

#define ND6_RA_PREFERENCE_DISABLED   (0x10)

Definition at line 113 of file nd6.h.

◆ ND6_RA_PREFERENCE_HIGH

#define ND6_RA_PREFERENCE_HIGH   (0x08)

Definition at line 110 of file nd6.h.

◆ ND6_RA_PREFERENCE_LOW

#define ND6_RA_PREFERENCE_LOW   (0x18)

Definition at line 112 of file nd6.h.

◆ ND6_RA_PREFERENCE_MASK

#define ND6_RA_PREFERENCE_MASK   (0x18)

Definition at line 109 of file nd6.h.

◆ ND6_RA_PREFERENCE_MEDIUM

#define ND6_RA_PREFERENCE_MEDIUM   (0x00)

Definition at line 111 of file nd6.h.

◆ SIZEOF_RDNSS_OPTION_BASE

#define SIZEOF_RDNSS_OPTION_BASE   8 /* size without addresses */

Definition at line 268 of file nd6.h.

Variable Documentation

◆ PACK_STRUCT_STRUCT