Searched refs:ND_OPT_NONCE_LEN (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/netinet/
H A Dicmp6.h344 #define ND_OPT_NONCE_LEN ((1 * 8) - 2) macro
345 #if ((ND_OPT_NONCE_LEN + 2) % 8) != 0
346 #error "(ND_OPT_NONCE_LEN + 2) must be a multiple of 8."
351 u_int8_t nd_opt_nonce[ND_OPT_NONCE_LEN];
/freebsd-current/sys/netinet6/
H A Dnd6_nbr.c407 * the value (length is ND_OPT_NONCE_LEN) is used as a random nonce.
595 int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN;
606 bcopy(nonce, (caddr_t)(nd_opt + 1), ND_OPT_NONCE_LEN);
1168 ((ND_OPT_NONCE_LEN + sizeof(uint32_t) - 1)/sizeof(uint32_t))
1231 n->nd_opt_nonce_len == (ND_OPT_NONCE_LEN + 2) / 8 &&
1233 ND_OPT_NONCE_LEN) == 0) {

Completed in 131 milliseconds