Home | History | Annotate | Download | only in racoon

Lines Matching refs:isakmp

96 #include "isakmp.h"
135 * Handle an ISAKMP config mode packet
143 struct isakmp *packet;
157 packet = (struct isakmp *)msg->v;
187 packet = (struct isakmp *)dmsg->v;
445 * It is done at the end of phase 1 if ISAKMP mode config is not
746 * If required, request ISAKMP mode config information
1124 struct isakmp *isakmp;
1136 "ISAKMP mode config exchange with immature phase 1\n");
1140 /* add new entry to isakmp status table */
1208 tlen += sizeof(*isakmp) + payload->l;
1210 /* create buffer for isakmp payload */
1218 /* create isakmp header */
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)) {