nd_opt_hdr
((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) {
struct nd_opt_hdr *nd_opt;
nd_opt = (struct nd_opt_hdr *)p;
ndopts->nd_opts_search = (struct nd_opt_hdr *)opt;
= (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len);
struct nd_opt_hdr *
struct nd_opt_hdr *nd_opt;
ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)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 */
struct nd_opt_hdr *nd6_option(union nd_opts *);
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_na + 1);
maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
struct nd_opt_hdr *nd_opt;
nd_opt = (struct nd_opt_hdr *)(nd_ns + 1);
optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen;
int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN;
struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1);
nd6_ra_opt_pi(struct nd_opt_hdr *pt, struct ifnet *ifp,
nd6_ra_opt_src_lladdr(struct nd_opt_hdr *opthdr, struct ifnet *ifp,
struct nd_opt_hdr *pt;
for (pt = (struct nd_opt_hdr *)ndopts.nd_opts_pi;
pt <= (struct nd_opt_hdr *)ndopts.nd_opts_pi_end;
pt = (struct nd_opt_hdr *)((caddr_t)pt +
lladdropt_fill(&ifi->ifi_sdl, (struct nd_opt_hdr *)buf);
lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt)
void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);
error = nd6_options((struct nd_opt_hdr *)(nra + 1),
struct nd_opt_hdr *nol_opt;
struct nd_opt_hdr *opt_array[9];
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 *)((caddr_t)hdr + optlen);
static int nd6_options(struct nd_opt_hdr *, int,
if (nd6_options((struct nd_opt_hdr *)(rs + 1),
lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt)
struct nd_opt_hdr *ndo;
#define RA_OPT_NEXT_HDR(x) (struct nd_opt_hdr *)((char *)(x) + \
(((struct nd_opt_hdr *)(x))->nd_opt_len * 8))
ndo = (struct nd_opt_hdr *)raoptp;
lladdropt_fill(ifi->sdl, (struct nd_opt_hdr *)buf);
struct nd_opt_hdr;
extern void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);