Lines Matching refs:sadb_address
197 sizeof(struct sadb_address), /* SADB_EXT_ADDRESS_SRC */
198 sizeof(struct sadb_address), /* SADB_EXT_ADDRESS_DST */
199 sizeof(struct sadb_address), /* SADB_EXT_ADDRESS_PROXY */
949 /* set sadb_address for saidx's. */
958 /* set sadb_address for saidx's. */
1984 struct sadb_address *src0, *dst0;
2004 if (mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
2005 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address) ||
2019 src0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_SRC];
2020 dst0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_DST];
2282 struct sadb_address *src0, *dst0;
2299 if (mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
2300 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address) ||
2306 src0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_SRC];
2307 dst0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_DST];
2879 /* set sadb_address for source */
2889 /* set sadb_address for destination */
4028 * copy secasvar data into sadb_address.
4062 * set data into sadb_address.
4072 struct sadb_address *p;
4075 len = PFKEY_ALIGN8(sizeof(struct sadb_address)) +
4084 p = mtod(m, struct sadb_address *);
4106 mtod(m, caddr_t) + PFKEY_ALIGN8(sizeof(struct sadb_address)),
5166 struct sadb_address *src0, *dst0;
5187 if (mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
5188 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address)) {
5200 src0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_SRC]);
5201 dst0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_DST]);
5461 struct sadb_address *src0, *dst0;
5497 mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
5498 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address)) {
5512 src0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_SRC]);
5513 dst0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_DST]);
5683 struct sadb_address *src0, *dst0;
5719 mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
5720 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address)) {
5734 src0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_SRC];
5735 dst0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_DST];
5950 struct sadb_address *src0, *dst0;
5974 if (mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
5975 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address)) {
5998 src0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_SRC]);
5999 dst0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_DST]);
6063 struct sadb_address *src0, *dst0;
6071 src0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_SRC]);
6072 dst0 = (struct sadb_address *)(mhp->ext[SADB_EXT_ADDRESS_DST]);
6153 struct sadb_address *src0, *dst0;
6178 mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
6179 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address)) {
6185 src0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_SRC];
6186 dst0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_DST];
6572 /* set sadb_address for saidx's. */
6822 const struct sadb_address *src0, *dst0;
6893 if (mhp->extlen[SADB_EXT_ADDRESS_SRC] < sizeof(struct sadb_address) ||
6894 mhp->extlen[SADB_EXT_ADDRESS_DST] < sizeof(struct sadb_address) ||
6902 src0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_SRC];
6903 dst0 = (struct sadb_address *)mhp->ext[SADB_EXT_ADDRESS_DST];
7221 /* set sadb_address for source */
7231 /* set sadb_address for destination */
7737 struct sadb_address *src0, *dst0;
7740 src0 = (struct sadb_address *)(mh.ext[SADB_EXT_ADDRESS_SRC]);
7741 dst0 = (struct sadb_address *)(mh.ext[SADB_EXT_ADDRESS_DST]);
7990 baselen = PFKEY_ALIGN8(sizeof(struct sadb_address));