Lines Matching defs:optp
2515 struct ip6_opt *optp;
2528 optp = (struct ip6_opt *)(destp + 1);
2529 while (endptr - (uint8_t *)optp > sizeof (*optp)) {
2530 if (optp->ip6o_type == IP6OPT_TUNNEL_LIMIT) {
2531 if ((uint8_t *)(optp + 1) >= endptr)
2533 *encaplim_ptr = (uint8_t *)&optp[1];
2536 optp = (struct ip6_opt *)((uint8_t *)optp + optp->ip6o_len + 2);