Lines Matching refs:opt
1580 u_int8_t *opt; in ip6_hopopts_input() local
1591 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh); in ip6_hopopts_input()
1620 u_int8_t *opt = opthead; in ip6_process_hopopts() local
1625 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) { in ip6_process_hopopts()
1626 switch (*opt) { in ip6_process_hopopts()
1636 optlen = *(opt + 1) + 2; in ip6_process_hopopts()
1644 if (*(opt + 1) != IP6OPT_RTALERT_LEN - 2) { in ip6_process_hopopts()
1648 (int)(erroff + opt + 1 - opthead)); in ip6_process_hopopts()
1652 bcopy((caddr_t)(opt + 2), (caddr_t)&rtalert_val, 2); in ip6_process_hopopts()
1662 if (*(opt + 1) != IP6OPT_JUMBO_LEN - 2) { in ip6_process_hopopts()
1666 (int)(erroff + opt + 1 - opthead)); in ip6_process_hopopts()
1680 (int)(erroff + opt - opthead)); in ip6_process_hopopts()
1688 bcopy(opt + 2, &jumboplen, sizeof(jumboplen)); in ip6_process_hopopts()
1704 (int)(erroff + opt + 2 - opthead)); in ip6_process_hopopts()
1716 (int)(erroff + opt + 2 - opthead)); in ip6_process_hopopts()
1728 optlen = ip6_unknown_opt(opt, hbhlen, m, in ip6_process_hopopts()
1729 erroff + opt - opthead); in ip6_process_hopopts()