Lines Matching defs:af
120 ipsec_common_input(struct mbuf *m, int skip, int protoff, int af, int sproto)
170 dst_address.sa.sa_family = af;
171 switch (af) {
196 DPRINTF(("%s: unsupported protocol family %u\n", __func__, af));
351 int error, prot, af, sproto, isr_prot;
356 af = saidx->dst.sa.sa_family;
357 IPSEC_ASSERT(af == AF_INET, ("unexpected af %u", af));
473 af = AF_INET;
478 af = AF_INET6;
489 IPSEC_INIT_CTX(&ctx, &m, NULL, sav, af, IPSEC_ENC_AFTER);
495 error = ipsec_if_input(m, sav, af);
602 int prot, af, sproto;
610 af = saidx->dst.sa.sa_family;
611 IPSEC_ASSERT(af == AF_INET6, ("unexpected af %u", af));
631 IPSEC_INIT_CTX(&ctx, &m, NULL, sav, af, IPSEC_ENC_BEFORE);
707 af = AF_INET;
710 af = AF_INET6;
711 IPSEC_INIT_CTX(&ctx, &m, NULL, sav, af, IPSEC_ENC_AFTER);
737 error = ipsec_if_input(m, sav, af);