Prusa MINI Firmware overview
nd6.h File Reference
#include "lwip/arch.h"
#include "lwip/ip6_addr.h"
#include "lwip/prot/ip6.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

Macro Definition Documentation

◆ ND6_FLAG_ROUTER

#define ND6_FLAG_ROUTER   (0x80)

◆ ND6_FLAG_SOLICITED

#define ND6_FLAG_SOLICITED   (0x40)

◆ ND6_FLAG_OVERRIDE

#define ND6_FLAG_OVERRIDE   (0x20)

◆ ND6_RA_FLAG_MANAGED_ADDR_CONFIG

#define ND6_RA_FLAG_MANAGED_ADDR_CONFIG   (0x80)

Router advertisement message header.

◆ ND6_RA_FLAG_OTHER_CONFIG

#define ND6_RA_FLAG_OTHER_CONFIG   (0x40)

◆ ND6_RA_FLAG_HOME_AGENT

#define ND6_RA_FLAG_HOME_AGENT   (0x20)

◆ ND6_RA_PREFERENCE_MASK

#define ND6_RA_PREFERENCE_MASK   (0x18)

◆ ND6_RA_PREFERENCE_HIGH

#define ND6_RA_PREFERENCE_HIGH   (0x08)

◆ ND6_RA_PREFERENCE_MEDIUM

#define ND6_RA_PREFERENCE_MEDIUM   (0x00)

◆ ND6_RA_PREFERENCE_LOW

#define ND6_RA_PREFERENCE_LOW   (0x18)

◆ ND6_RA_PREFERENCE_DISABLED

#define ND6_RA_PREFERENCE_DISABLED   (0x10)

◆ ND6_OPTION_TYPE_SOURCE_LLADDR

#define ND6_OPTION_TYPE_SOURCE_LLADDR   (0x01)

Link-layer address option.

◆ ND6_OPTION_TYPE_TARGET_LLADDR

#define ND6_OPTION_TYPE_TARGET_LLADDR   (0x02)

◆ ND6_OPTION_TYPE_PREFIX_INFO

#define ND6_OPTION_TYPE_PREFIX_INFO   (0x03)

Prefix information option.

◆ ND6_PREFIX_FLAG_ON_LINK

#define ND6_PREFIX_FLAG_ON_LINK   (0x80)

◆ ND6_PREFIX_FLAG_AUTONOMOUS

#define ND6_PREFIX_FLAG_AUTONOMOUS   (0x40)

◆ ND6_PREFIX_FLAG_ROUTER_ADDRESS

#define ND6_PREFIX_FLAG_ROUTER_ADDRESS   (0x20)

◆ ND6_PREFIX_FLAG_SITE_PREFIX

#define ND6_PREFIX_FLAG_SITE_PREFIX   (0x10)

◆ ND6_OPTION_TYPE_REDIR_HDR

#define ND6_OPTION_TYPE_REDIR_HDR   (0x04)

Redirected header option.

◆ ND6_OPTION_TYPE_MTU

#define ND6_OPTION_TYPE_MTU   (0x05)

MTU option.

◆ ND6_OPTION_TYPE_ROUTE_INFO

#define ND6_OPTION_TYPE_ROUTE_INFO   (24)

Route information option.

◆ LWIP_RDNSS_OPTION_MAX_SERVERS

#define LWIP_RDNSS_OPTION_MAX_SERVERS   1

Recursive DNS Server Option.

◆ ND6_OPTION_TYPE_RDNSS

#define ND6_OPTION_TYPE_RDNSS   (25)

Variable Documentation

◆ PACK_STRUCT_STRUCT

PACK_STRUCT_BEGIN struct rdnss_option PACK_STRUCT_STRUCT