Lines Matching refs:pidx
110 ipsec4_allocsa(struct mbuf *m, struct secpolicy *sp, u_int *pidx, int *error)
122 isr = sp->req[*pidx];
156 saidx = &sp->req[*pidx]->saidx;
165 if (ipsec_get_reqlevel(sp, *pidx) != IPSEC_LEVEL_REQUIRE) {
172 if (sp->tcount > ++(*pidx))
423 ipsec6_allocsa(struct mbuf *m, struct secpolicy *sp, u_int *pidx, int *error)
435 isr = sp->req[*pidx];
481 saidx = &sp->req[*pidx]->saidx;
490 if (ipsec_get_reqlevel(sp, *pidx) != IPSEC_LEVEL_REQUIRE) {
497 if (sp->tcount > ++(*pidx))