Lines Matching defs:opt
1045 u_int8_t *opt;
1072 opt = (u_int8_t *)hbh + sizeof(struct ip6_hbh);
1103 u_int8_t *opt = opthead;
1108 for (; hbhlen > 0; hbhlen -= optlen, opt += optlen) {
1109 switch (*opt) {
1118 optlen = *(opt + 1) + 2;
1126 if (*(opt + 1) != IP6OPT_RTALERT_LEN - 2) {
1131 erroff + opt + 1 - opthead);
1136 bcopy((caddr_t)(opt + 2), (caddr_t)&rtalert_val, 2);
1145 if (*(opt + 1) != IP6OPT_JUMBO_LEN - 2) {
1150 erroff + opt + 1 - opthead);
1166 erroff + opt - opthead);
1175 bcopy(opt + 2, &jumboplen, sizeof(jumboplen));
1192 erroff + opt + 2 - opthead);
1206 erroff + opt + 2 - opthead);
1218 optlen = ip6_unknown_opt(opt, m,
1219 erroff + opt - opthead, 1);
1221 /* ip6_unknown opt unlocked ip6_mutex */