Home
last modified time | relevance | path

Searched refs:nd_opt_hdr (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/sys/netinet6/
Dnd6.h124 struct nd_opt_hdr *nd_opt_array[16]; /* max = ND_OPT_NONCE */
126 struct nd_opt_hdr *zero;
127 struct nd_opt_hdr *src_lladdr;
128 struct nd_opt_hdr *tgt_lladdr;
132 struct nd_opt_hdr *__res6;
133 struct nd_opt_hdr *__res7;
134 struct nd_opt_hdr *__res8;
135 struct nd_opt_hdr *__res9;
136 struct nd_opt_hdr *__res10;
137 struct nd_opt_hdr *__res11;
[all …]
Dnd6_nbr.c425 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_ns_output()
546 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_ns_output()
547 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()
563 int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN; in nd6_ns_output()
564 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output()
924 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_na_output()
1017 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_na_output()
1018 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in nd6_na_output()
Dnd6.c116 static struct nd_opt_hdr *nd6_option(union nd_opts *);
206 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init()
208 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len); in nd6_option_init()
219 static struct nd_opt_hdr *
222 struct nd_opt_hdr *nd_opt; in nd6_option()
251 ndopts->nd_opts_search = (struct nd_opt_hdr *)((char *)nd_opt + olen); in nd6_option()
272 struct nd_opt_hdr *nd_opt; in nd6_options()
Dicmp6.c130 __CTASSERT(sizeof(struct nd_opt_hdr) == 2);
2535 ((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) { in icmp6_redirect_output()
2606 struct nd_opt_hdr *nd_opt; in icmp6_redirect_output()
2623 nd_opt = (struct nd_opt_hdr *)p; in icmp6_redirect_output()
/netbsd/src/usr.sbin/rtadvd/
Dif.h35 struct nd_opt_hdr;
40 void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);
Drtadvd.c102 struct nd_opt_hdr *opt;
105 struct nd_opt_hdr *nd_opt_array[9];
107 struct nd_opt_hdr *zero;
108 struct nd_opt_hdr *src_lladdr;
109 struct nd_opt_hdr *tgt_lladdr;
172 static int nd6_options(struct nd_opt_hdr *, int, union nd_opts *, uint32_t);
913 if (nd6_options((struct nd_opt_hdr *)(rs + 1), in rs_input()
1055 if (nd6_options((struct nd_opt_hdr *)(ra + 1), in ra_input()
1376 nd6_options(struct nd_opt_hdr *hdr, int limit, in nd6_options()
1382 if ((size_t)limit < sizeof(struct nd_opt_hdr)) { in nd6_options()
[all …]
Dif.c171 lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt) in lladdropt_fill()
Dconfig.c1101 CHECKLEN(sizeof(struct nd_opt_hdr)); in make_packet()
1102 lladdropt_fill(rainfo->sdl, (struct nd_opt_hdr *)buf); in make_packet()
/netbsd/src/external/bsd/tcpdump/dist/
Dprint-icmp6.c276 struct nd_opt_hdr { /* Neighbor discovery option header */ struct
1399 const struct nd_opt_hdr *op; in icmp6_opt_print()
1419 op = (const struct nd_opt_hdr *)cp; in icmp6_opt_print()
/netbsd/src/sys/netinet/
Dicmp6.h299 struct nd_opt_hdr { /* Neighbor discovery option header */ struct