Searched refs:opt_iter (Results 1 – 2 of 2) sorted by relevance
275 u8 opt_iter; in cipso_v4_validate() local288 for (opt_iter = 6; opt_iter < opt_len;) { in cipso_v4_validate()289 if (opt_iter + 1 == opt_len) { in cipso_v4_validate()290 err_offset = opt_iter; in cipso_v4_validate()293 tag_len = opt[opt_iter + 1]; in cipso_v4_validate()294 if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) { in cipso_v4_validate()295 err_offset = opt_iter + 1; in cipso_v4_validate()298 opt_iter += tag_len; in cipso_v4_validate()
1550 unsigned char opt_iter; in cipso_v4_validate() local1571 opt_iter = CIPSO_V4_HDR_LEN; in cipso_v4_validate()1572 tag = opt + opt_iter; in cipso_v4_validate()1573 while (opt_iter < opt_len) { in cipso_v4_validate()1577 err_offset = opt_iter; in cipso_v4_validate()1581 if (opt_iter + 1 == opt_len) { in cipso_v4_validate()1582 err_offset = opt_iter; in cipso_v4_validate()1586 if (tag_len > (opt_len - opt_iter)) { in cipso_v4_validate()1587 err_offset = opt_iter + 1; in cipso_v4_validate()1594 err_offset = opt_iter + 1; in cipso_v4_validate()[all …]