Searched refs:nd_opt_hdr (Results 1 – 8 of 8) sorted by relevance
32 static void print_opt(struct nd_opt_hdr *opt, int len);38 struct nd_opt_hdr *opt; in print_route_sol()47 opt = (struct nd_opt_hdr *)&rs[1]; in print_route_sol()55 struct nd_opt_hdr *opt; in print_route_adv()77 opt = (struct nd_opt_hdr *)&ra[1]; in print_route_adv()82 print_opt(struct nd_opt_hdr *opt, int len) in print_opt()91 while (len >= sizeof (struct nd_opt_hdr)) { in print_opt()161 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 …]
166 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()
350 typedef struct nd_opt_hdr { /* Neighbor discovery option header */ struct
786 struct nd_opt_hdr *opt;789 opt = (struct nd_opt_hdr *)optc;
102 optlen = ((sizeof (struct nd_opt_hdr) + in spoof_prepare_lla()
3372 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_get_option()3391 opt = (struct nd_opt_hdr *)((char *)opt + 8 * opt->nd_opt_len); in ndp_verify_optlen()