Lines Matching refs:sab
1295 struct ipsecdoi_sa_b *sab = (struct ipsecdoi_sa_b *)sa->v;
1301 if (sa->l < sizeof(*sab)) {
1308 if (check_doi(ntohl(sab->doi)) < 0)
1312 if (check_situation(ntohl(sab->sit)) < 0)
1323 bp = (caddr_t)(sab + 1);
1324 tlen = sa->l - sizeof(*sab);
3164 struct ipsecdoi_sa_b *sab;
3170 iph2->sa = vmalloc(sizeof(*sab));
3178 sab = (struct ipsecdoi_sa_b *)iph2->sa->v;
3179 sab->doi = htonl(IPSEC_DOI);
3180 sab->sit = htonl(IPSECDOI_SIT_IDENTITY_ONLY); /* XXX configurable ? */