Lines Matching refs:isakmp
143 struct isakmp *packet;
157 packet = (struct isakmp *)msg->v;
187 packet = (struct isakmp *)dmsg->v;
1124 struct isakmp *isakmp; local
1208 tlen += sizeof(*isakmp) + payload->l;
1219 isakmp = (struct isakmp *)iph2->sendbuf->v;
1220 memcpy(&isakmp->i_ck, &iph1->index.i_ck, sizeof(cookie_t));
1221 memcpy(&isakmp->r_ck, &iph1->index.r_ck, sizeof(cookie_t));
1222 isakmp->np = hash == NULL ? (np & 0xff) : ISAKMP_NPTYPE_HASH;
1223 isakmp->v = iph1->version;
1224 isakmp->etype = ISAKMP_ETYPE_CFG;
1225 isakmp->flags = iph2->flags;
1226 memcpy(&isakmp->msgid, &iph2->msgid, sizeof(isakmp->msgid));
1227 isakmp->len = htonl(tlen);
1228 p = (char *)(isakmp + 1);
1252 if (ISSET(isakmp->flags, ISAKMP_FLAG_E)) {