nd_opt_hdr
__CTASSERT(sizeof(struct nd_opt_hdr) == 2);
((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) {
struct nd_opt_hdr *nd_opt;
nd_opt = (struct nd_opt_hdr *)p;
static struct nd_opt_hdr *nd6_option(union nd_opts *);
ndopts->nd_opts_search = (struct nd_opt_hdr *)opt;
= (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
static struct nd_opt_hdr *
struct nd_opt_hdr *nd_opt;
ndopts->nd_opts_search = (struct nd_opt_hdr *)((char *)nd_opt + olen);
struct nd_opt_hdr *nd_opt;
struct nd_opt_hdr *nd_opt_array[16]; /* max = ND_OPT_NONCE */
struct nd_opt_hdr *zero;
struct nd_opt_hdr *src_lladdr;
struct nd_opt_hdr *tgt_lladdr;
struct nd_opt_hdr *__res6;
struct nd_opt_hdr *__res7;
struct nd_opt_hdr *__res8;
struct nd_opt_hdr *__res9;
struct nd_opt_hdr *__res10;
struct nd_opt_hdr *__res11;
struct nd_opt_hdr *__res12;
struct nd_opt_hdr *__res13;
struct nd_opt_hdr *__res15;
struct nd_opt_hdr *search; /* multiple opts */
struct nd_opt_hdr *last; /* multiple opts */
int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen;
struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1);
maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen;
struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1);
int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN;
struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1);
maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
CHECKLEN(sizeof(struct nd_opt_hdr));
lladdropt_fill(rainfo->sdl, (struct nd_opt_hdr *)buf);
lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt)
struct nd_opt_hdr;
void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);
struct nd_opt_hdr *opt;
struct nd_opt_hdr *nd_opt_array[9];
if (nd6_options((struct nd_opt_hdr *)(ra + 1),
struct nd_opt_hdr *zero;
struct nd_opt_hdr *src_lladdr;
struct nd_opt_hdr *tgt_lladdr;
nd6_options(struct nd_opt_hdr *hdr, int limit,
if ((size_t)limit < sizeof(struct nd_opt_hdr)) {
hdr = (struct nd_opt_hdr *)((char *)hdr + optlen);
static int nd6_options(struct nd_opt_hdr *, int, union nd_opts *, uint32_t);
if (nd6_options((struct nd_opt_hdr *)(rs + 1),