Provides IPv6 neighbor discovery message types.
More...
Provides IPv6 neighbor discovery message types.
|
file | ndp.h |
| IPv6 neighbor discovery message type definitions.
|
|
|
#define | NDP_OPT_RDNSS_MIN_LEN (3U) |
| Minimum length of a recursive DNS server option (in units of 8 bytes)
|
|
#define | NDP_HOP_LIMIT (255U) |
| Hop-limit required for most NDP messages to ensure link-local communication.
|
|
◆ NDP_DAD_TRANSMIT_NUMOF
#define NDP_DAD_TRANSMIT_NUMOF (1U) |
◆ NDP_DELAY_FIRST_PROBE_MS
#define NDP_DELAY_FIRST_PROBE_MS (5000U) |
DELAY_FIRST_PROBE_TIME (in ms)
Definition at line 203 of file ndp.h.
◆ NDP_HOP_LIMIT
#define NDP_HOP_LIMIT (255U) |
◆ NDP_MAX_ANYCAST_MS_DELAY
#define NDP_MAX_ANYCAST_MS_DELAY (1000U) |
MAX_ANYCAST_DELAY_TIME (in ms)
Definition at line 184 of file ndp.h.
◆ NDP_MAX_FIN_RA_NUMOF
#define NDP_MAX_FIN_RA_NUMOF (3U) |
MAX_FINAL_RTR_ADVERTISEMENT.
Definition at line 150 of file ndp.h.
◆ NDP_MAX_INIT_RA_INTERVAL
#define NDP_MAX_INIT_RA_INTERVAL (16000U) |
MAX_INITIAL_RTR_ADVERT_INTERVAL (in ms)
Definition at line 148 of file ndp.h.
◆ NDP_MAX_INIT_RA_NUMOF
#define NDP_MAX_INIT_RA_NUMOF (3U) |
MAX_INITIAL_RTR_ADVERTISEMENT.
Definition at line 149 of file ndp.h.
◆ NDP_MAX_MC_SOL_NUMOF
#define NDP_MAX_MC_SOL_NUMOF (3U) |
MAX_MULTICAST_SOLICIT.
Definition at line 173 of file ndp.h.
◆ NDP_MAX_NA_NUMOF
#define NDP_MAX_NA_NUMOF (3U) |
MAX_NEIGHBOR_ADVERTISEMENT.
Definition at line 185 of file ndp.h.
◆ NDP_MAX_NS_NUMOF
#define NDP_MAX_NS_NUMOF (17U) |
Maximum retransmission of neighbor solicitations when UNREACHABLE.
With more than this number the backoff will always be larger than NDP_MAX_RETRANS_TIMER_MS, even if the random factor is 0.5 and the retransmission time is 1ms.
Definition at line 202 of file ndp.h.
◆ NDP_MAX_RA_DELAY
#define NDP_MAX_RA_DELAY (500U) |
MAX_RA_DELAY_TIME (in ms)
Definition at line 152 of file ndp.h.
◆ NDP_MAX_RA_INTERVAL_MS
#define NDP_MAX_RA_INTERVAL_MS (600000U) |
default of MaxRtrAdvInterval (in ms)
Definition at line 153 of file ndp.h.
◆ NDP_MAX_RANDOM_FACTOR
#define NDP_MAX_RANDOM_FACTOR (1500U) |
MAX_RANDOM_FACTOR (x 1000)
Definition at line 205 of file ndp.h.
◆ NDP_MAX_RETRANS_TIMER_MS
#define NDP_MAX_RETRANS_TIMER_MS (60000U) |
MAX_RETRANS_TIMER (in ms)
- See also
- RFC 7048
Definition at line 193 of file ndp.h.
◆ NDP_MAX_RS_MS_DELAY
#define NDP_MAX_RS_MS_DELAY (1000U) |
MAX_RTR_SOLICITATION_DELAY (in ms)
Definition at line 163 of file ndp.h.
◆ NDP_MAX_RS_NUMOF
#define NDP_MAX_RS_NUMOF (3U) |
MAX_RTR_SOLICITATIONS.
Definition at line 165 of file ndp.h.
◆ NDP_MAX_UC_SOL_NUMOF
#define NDP_MAX_UC_SOL_NUMOF (3U) |
MAX_UNICAST_SOLICIT.
Definition at line 174 of file ndp.h.
◆ NDP_MIN_MS_DELAY_BETWEEN_RAS
#define NDP_MIN_MS_DELAY_BETWEEN_RAS (3000U) |
MIN_DELAY_BETWEEN_RAS (in ms)
Definition at line 151 of file ndp.h.
◆ NDP_MIN_RA_INTERVAL_MS
#define NDP_MIN_RA_INTERVAL_MS (198000U) |
default of MinRtrAdvInterval (in ms)
Definition at line 154 of file ndp.h.
◆ NDP_MIN_RANDOM_FACTOR
#define NDP_MIN_RANDOM_FACTOR (500U) |
MIN_RANDOM_FACTOR (x 1000)
Definition at line 204 of file ndp.h.
◆ NDP_NBR_ADV_FLAGS_MASK
#define NDP_NBR_ADV_FLAGS_MASK (0xe0) |
Definition at line 72 of file ndp.h.
◆ NDP_NBR_ADV_FLAGS_O
#define NDP_NBR_ADV_FLAGS_O (0x20) |
override
Definition at line 75 of file ndp.h.
◆ NDP_NBR_ADV_FLAGS_R
#define NDP_NBR_ADV_FLAGS_R (0x80) |
router
Definition at line 73 of file ndp.h.
◆ NDP_NBR_ADV_FLAGS_S
#define NDP_NBR_ADV_FLAGS_S (0x40) |
solicited
Definition at line 74 of file ndp.h.
◆ NDP_NBR_ADV_LTIME_NOT_DR
#define NDP_NBR_ADV_LTIME_NOT_DR (0) |
◆ NDP_NBR_ADV_REACH_TIME
#define NDP_NBR_ADV_REACH_TIME (0) |
reachable time unspecified by advertising router
Definition at line 63 of file ndp.h.
◆ NDP_NBR_ADV_RETRANS_TIMER
#define NDP_NBR_ADV_RETRANS_TIMER (0) |
retrans.
timer unspecified by advertising router
Definition at line 64 of file ndp.h.
◆ NDP_OPT_6CTX
#define NDP_OPT_6CTX (34) |
6LoWPAN context option
Definition at line 94 of file ndp.h.
◆ NDP_OPT_ABR
authoritative border router option
Definition at line 95 of file ndp.h.
◆ NDP_OPT_AR
address registration option
Definition at line 93 of file ndp.h.
◆ NDP_OPT_MTU
MTU option.
Definition at line 90 of file ndp.h.
◆ NDP_OPT_MTU_LEN
#define NDP_OPT_MTU_LEN (1U) |
◆ NDP_OPT_PI
prefix information option
Definition at line 88 of file ndp.h.
◆ NDP_OPT_PI_FLAGS_A
#define NDP_OPT_PI_FLAGS_A (0x40) |
autonomous address configuration
Definition at line 104 of file ndp.h.
◆ NDP_OPT_PI_FLAGS_L
#define NDP_OPT_PI_FLAGS_L (0x80) |
on-link
Definition at line 103 of file ndp.h.
◆ NDP_OPT_PI_FLAGS_MASK
#define NDP_OPT_PI_FLAGS_MASK (0xc0) |
◆ NDP_OPT_PI_LEN
#define NDP_OPT_PI_LEN (4U) |
◆ NDP_OPT_PI_PREF_LTIME_INF
#define NDP_OPT_PI_PREF_LTIME_INF (UINT32_MAX) |
infinite preferred lifetime
Definition at line 124 of file ndp.h.
◆ NDP_OPT_PI_VALID_LTIME_INF
#define NDP_OPT_PI_VALID_LTIME_INF (UINT32_MAX) |
infinite valid lifetime
Definition at line 123 of file ndp.h.
◆ NDP_OPT_RDNSS
#define NDP_OPT_RDNSS (25) |
recursive DNS server option
Definition at line 92 of file ndp.h.
◆ NDP_OPT_RDNSS_MIN_LEN
#define NDP_OPT_RDNSS_MIN_LEN (3U) |
◆ NDP_OPT_RH
redirected option
Definition at line 89 of file ndp.h.
◆ NDP_OPT_RI
Route Information Option.
Definition at line 91 of file ndp.h.
◆ NDP_OPT_RI_FLAGS_MASK
#define NDP_OPT_RI_FLAGS_MASK (0x18) |
◆ NDP_OPT_RI_FLAGS_PRF_NEG
#define NDP_OPT_RI_FLAGS_PRF_NEG (0x18) |
negative preference
Definition at line 113 of file ndp.h.
◆ NDP_OPT_RI_FLAGS_PRF_NONE
#define NDP_OPT_RI_FLAGS_PRF_NONE (0x10) |
ignore preference
Definition at line 112 of file ndp.h.
◆ NDP_OPT_RI_FLAGS_PRF_POS
#define NDP_OPT_RI_FLAGS_PRF_POS (0x8) |
positive preference
Definition at line 115 of file ndp.h.
◆ NDP_OPT_RI_FLAGS_PRF_ZERO
#define NDP_OPT_RI_FLAGS_PRF_ZERO (0x0) |
zero preference
Definition at line 114 of file ndp.h.
◆ NDP_OPT_SL2A
source link-layer address option
Definition at line 86 of file ndp.h.
◆ NDP_OPT_TL2A
target link-layer address option
Definition at line 87 of file ndp.h.
◆ NDP_REACH_MS
#define NDP_REACH_MS (30000U) |
REACHABLE_TIME (in ms)
Definition at line 186 of file ndp.h.
◆ NDP_RETRANS_TIMER_MS
#define NDP_RETRANS_TIMER_MS (1000U) |
RETRANS_TIMER (in ms)
Definition at line 187 of file ndp.h.
◆ NDP_RS_MS_INTERVAL
#define NDP_RS_MS_INTERVAL (4000U) |
RTR_SOLICITATION_INTERVAL (in ms)
Definition at line 164 of file ndp.h.
◆ NDP_RTR_ADV_CUR_HL_UNSPEC
#define NDP_RTR_ADV_CUR_HL_UNSPEC (0) |
Router advertisement constants.
- See also
- RFC 4861, section 4.2 current hop limit unspecified by advertising router
Definition at line 49 of file ndp.h.
◆ NDP_RTR_ADV_FLAGS_M
#define NDP_RTR_ADV_FLAGS_M (0x80) |
managed address configuration
Definition at line 38 of file ndp.h.
◆ NDP_RTR_ADV_FLAGS_MASK
#define NDP_RTR_ADV_FLAGS_MASK (0xc0) |
Definition at line 37 of file ndp.h.
◆ NDP_RTR_ADV_FLAGS_O
#define NDP_RTR_ADV_FLAGS_O (0x40) |
other configuration
Definition at line 39 of file ndp.h.
◆ NDP_RTR_ADV_LTIME_SEC_MAX
#define NDP_RTR_ADV_LTIME_SEC_MAX (9000) |
◆ NDP_RTR_LTIME_SEC
#define NDP_RTR_LTIME_SEC (1800U) |
default of AdvDefaultLifetime (in sec)
Definition at line 155 of file ndp.h.