Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Dnd6.h306 struct nd_opt_hdr *nd_opt_array[16]; /* max = ND_OPT_NONCE */
308 struct nd_opt_hdr *zero;
309 struct nd_opt_hdr *src_lladdr;
310 struct nd_opt_hdr *tgt_lladdr;
314 struct nd_opt_hdr *__res6;
315 struct nd_opt_hdr *__res7;
316 struct nd_opt_hdr *__res8;
317 struct nd_opt_hdr *__res9;
318 struct nd_opt_hdr *__res10;
319 struct nd_opt_hdr *__res11;
[all …]
H A Dnd6_nbr.c429 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_ns_output_fib()
564 struct nd_opt_hdr *nd_opt; in nd6_ns_output_fib()
575 nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output_fib()
576 optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_ns_output_fib()
595 int optlen = sizeof(struct nd_opt_hdr) + ND_OPT_NONCE_LEN; in nd6_ns_output_fib()
596 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_ns + 1); in nd6_ns_output_fib()
995 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7; in nd6_na_output_fib()
1085 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen; in nd6_na_output_fib()
1086 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)(nd_na + 1); in nd6_na_output_fib()
H A Dnd6.c393 ndopts->nd_opts_search = (struct nd_opt_hdr *)opt; in nd6_option_init()
395 = (struct nd_opt_hdr *)(((u_char *)opt) + icmp6len); in nd6_option_init()
406 struct nd_opt_hdr *
409 struct nd_opt_hdr *nd_opt; in nd6_option()
438 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen); in nd6_option()
459 struct nd_opt_hdr *nd_opt; in nd6_options()
H A Dnd6_rtr.c476 struct nd_opt_hdr *pt; in nd6_ra_input()
480 for (pt = (struct nd_opt_hdr *)ndopts.nd_opts_pi; in nd6_ra_input()
481 pt <= (struct nd_opt_hdr *)ndopts.nd_opts_pi_end; in nd6_ra_input()
482 pt = (struct nd_opt_hdr *)((caddr_t)pt + in nd6_ra_input()
H A Dicmp6.c2447 ((sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7)) { in icmp6_redirect_output()
2517 struct nd_opt_hdr *nd_opt; in icmp6_redirect_output()
2531 nd_opt = (struct nd_opt_hdr *)p; in icmp6_redirect_output()
/freebsd/usr.sbin/rtsold/
H A Drtsold.h174 struct nd_opt_hdr;
179 extern void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);
H A Drtsol.c176 struct nd_opt_hdr *ndo; in rtsol_input()
354 #define RA_OPT_NEXT_HDR(x) (struct nd_opt_hdr *)((char *)(x) + \ in rtsol_input()
355 (((struct nd_opt_hdr *)(x))->nd_opt_len * 8)) in rtsol_input()
360 ndo = (struct nd_opt_hdr *)raoptp; in rtsol_input()
H A Dif.c271 lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt) in lladdropt_fill()
H A Drtsold.c544 lladdropt_fill(ifi->sdl, (struct nd_opt_hdr *)buf); in make_packet()
/freebsd/usr.sbin/rtadvd/
H A Drtadvd.c112 struct nd_opt_hdr *nol_opt;
115 struct nd_opt_hdr *opt_array[9];
117 struct nd_opt_hdr *zero;
118 struct nd_opt_hdr *src_lladdr;
119 struct nd_opt_hdr *tgt_lladdr;
161 static int nd6_options(struct nd_opt_hdr *, int,
920 if (nd6_options((struct nd_opt_hdr *)(rs + 1), in rs_input()
1083 error = nd6_options((struct nd_opt_hdr *)(nra + 1), in ra_input()
1405 nd6_options(struct nd_opt_hdr *hdr, int limit, in nd6_options()
1411 if ((size_t)limit < sizeof(struct nd_opt_hdr)) { in nd6_options()
[all...]
H A Dif.h46 void lladdropt_fill(struct sockaddr_dl *, struct nd_opt_hdr *);
H A Dif.c127 lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt) in lladdropt_fill()
H A Dconfig.c1480 lladdropt_fill(&ifi->ifi_sdl, (struct nd_opt_hdr *)buf); in make_packet()
/freebsd/contrib/tcpdump/
H A Dprint-icmp6.c271 struct nd_opt_hdr { /* Neighbor discovery option header */ struct
1393 const struct nd_opt_hdr *op; in icmp6_opt_print()
1413 op = (const struct nd_opt_hdr *)cp; in icmp6_opt_print()
/freebsd/sys/netinet/
H A Dicmp6.h297 struct nd_opt_hdr { /* Neighbor discovery option header */ struct