Searched refs:nd_opt_hdr (Results 1 – 9 of 9) sorted by relevance
30 static void print_opt(struct nd_opt_hdr *opt, int len);36 struct nd_opt_hdr *opt; in print_route_sol()45 opt = (struct nd_opt_hdr *)&rs[1]; in print_route_sol()53 struct nd_opt_hdr *opt; in print_route_adv()75 opt = (struct nd_opt_hdr *)&ra[1]; in print_route_adv()80 print_opt(struct nd_opt_hdr *opt, int len) in print_opt()89 while (len >= sizeof (struct nd_opt_hdr)) { in print_opt()159 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in print_opt()
39 static boolean_t verify_opt_len(struct nd_opt_hdr *opt, int optlen,205 if (!verify_opt_len((struct nd_opt_hdr *)&rs[1], in in_data()265 if (!verify_opt_len((struct nd_opt_hdr *)&ra[1], in in_data()290 struct nd_opt_hdr *opt; in incoming_rs()295 opt = (struct nd_opt_hdr *)&rs[1]; in incoming_rs()296 while (len >= sizeof (struct nd_opt_hdr)) { in incoming_rs()306 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in incoming_rs()436 struct nd_opt_hdr *opt; in incoming_ra()551 opt = (struct nd_opt_hdr *)&ra[1]; in incoming_ra()552 while (len >= sizeof (struct nd_opt_hdr)) { in incoming_ra()[all …]
167 optlen = ((sizeof (struct nd_opt_hdr) + hwaddrlen + 7) / 8) * 8; in add_opt_lla()
1518 struct nd_opt_hdr *opt; in intercept_ra_inbound()1527 opt = (struct nd_opt_hdr *)&ra[1]; in intercept_ra_inbound()1528 while (len >= sizeof (struct nd_opt_hdr) && in intercept_ra_inbound()1529 ((uchar_t *)opt + sizeof (struct nd_opt_hdr)) <= end) { in intercept_ra_inbound()1532 if (optlen < sizeof (struct nd_opt_hdr) || in intercept_ra_inbound()1543 opt = (struct nd_opt_hdr *)((char *)opt + optlen); in intercept_ra_inbound()
800 struct nd_opt_hdr *opt; in interpret_options()803 opt = (struct nd_opt_hdr *)optc; in interpret_options()
353 typedef struct nd_opt_hdr { /* Neighbor discovery option header */ struct
102 optlen = ((sizeof (struct nd_opt_hdr) + in spoof_prepare_lla()
350 while (plen >= sizeof (struct nd_opt_hdr)) { in libvarpd_plugin_proxy_ndp()
3616 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_get_option()3635 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_verify_optlen()