Lines Matching refs:sab
1295 struct ipsecdoi_sa_b *sab = (struct ipsecdoi_sa_b *)sa->v; local
1301 if (sa->l < sizeof(*sab)) {
1308 if (check_doi(ntohl(sab->doi)) < 0)
1312 if (check_situation(ntohl(sab->sit)) < 0)
1327 bp = (caddr_t)(sab + 1);
1328 tlen = sa->l - sizeof(*sab);
3168 struct ipsecdoi_sa_b *sab; local
3174 iph2->sa = vmalloc(sizeof(*sab));
3182 sab = (struct ipsecdoi_sa_b *)iph2->sa->v;
3183 sab->doi = htonl(IPSEC_DOI);
3184 sab->sit = htonl(IPSECDOI_SIT_IDENTITY_ONLY); /* XXX configurable ? */