Lines Matching refs:sadb_sa
193 sizeof(struct sadb_sa), /* SADB_EXT_SA */
3070 const struct sadb_sa *xsa;
3113 xsa = (const struct sadb_sa *)mhp->ext[SADB_EXT_SA];
3374 const struct sadb_sa *sa0;
3376 sa0 = (const struct sadb_sa *)mhp->ext[SADB_EXT_SA];
4035 struct sadb_sa *p;
4038 len = PFKEY_ALIGN8(sizeof(struct sadb_sa));
4046 p = mtod(m, struct sadb_sa *);
5296 struct sadb_sa *m_sa;
5302 PFKEY_ALIGN8(sizeof(struct sadb_sa));
5324 m_sa = (struct sadb_sa *)(mtod(n, caddr_t) + off);
5325 m_sa->sadb_sa_len = PFKEY_UNIT64(sizeof(struct sadb_sa));
5328 off += PFKEY_ALIGN8(sizeof(struct sadb_sa));
5460 struct sadb_sa *sa0;
5496 if (mhp->extlen[SADB_EXT_SA] < sizeof(struct sadb_sa) ||
5511 sa0 = (struct sadb_sa *)mhp->ext[SADB_EXT_SA];
5682 struct sadb_sa *sa0;
5718 if (mhp->extlen[SADB_EXT_SA] < sizeof(struct sadb_sa) ||
5733 sa0 = (struct sadb_sa *)mhp->ext[SADB_EXT_SA];
5949 struct sadb_sa *sa0;
5991 } else if (mhp->extlen[SADB_EXT_SA] < sizeof(struct sadb_sa)) {
5997 sa0 = (struct sadb_sa *)mhp->ext[SADB_EXT_SA];
6152 struct sadb_sa *sa0;
6177 if (mhp->extlen[SADB_EXT_SA] < sizeof(struct sadb_sa) ||
6184 sa0 = (struct sadb_sa *)mhp->ext[SADB_EXT_SA];