Lines Matching refs:sa_family
137 switch (sa->sa_family) {
473 sav->sah->saidx.src.sa.sa_family);
584 /* sa_family must be equal */
585 if (src->sa_family != dst->sa_family ||
590 switch (src->sa_family) {
607 /* check sa_family looks sane for the cmd */
612 if (src->sa_family == AF_INET)
618 if (src->sa_family == AF_INET6)
624 switch (src->sa_family) {
676 if (saidx->src.sa.sa_family != AF_INET) {
689 if (saidx->src.sa.sa_family != AF_INET6) {
834 saidx = ipsec_getsaidx(sc, IPSEC_DIR_OUTBOUND, sa->sa_family);
887 sp[i]->spidx.src.sa.sa_family =
888 sp[i]->spidx.dst.sa.sa_family = AF_INET;
896 sp[i]->spidx.src.sa.sa_family =
897 sp[i]->spidx.dst.sa.sa_family = AF_INET6;
1012 src->sa_family);
1052 sc->family = src->sa_family;