Searched refs:isakmp (Results 1 - 20 of 20) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Disakmp_newg.c54 #include "isakmp.h"
74 struct isakmp *isakmp = (struct isakmp *)msg->v;
153 len = sizeof(isakmp->msgid) + ntohs(sa->h.len);
160 memcpy(buf->v, &isakmp->msgid, sizeof(isakmp->msgid));
161 memcpy(buf->v + sizeof(isakmp->msgid), sa, ntohs(sa->h.len));
H A Disakmp_frag.c76 #include "isakmp.h"
86 struct isakmp *hdr;
103 hdr = (struct isakmp *)buf->v;
135 hdr = (struct isakmp *)frag->v;
181 struct isakmp *isakmp; local
190 if (msg->l < sizeof(*isakmp) + sizeof(*frag)) {
195 isakmp = (struct isakmp *)msg->v;
196 frag = (struct isakmp_frag *)(isakmp
[all...]
H A Disakmp_inf.h41 extern int isakmp_info_send_nx __P((struct isakmp *,
H A Disakmp.c1 /* $NetBSD: isakmp.c,v 1.20.6.13 2008/09/25 09:34:39 vanhu Exp $ */
3 /* Id: isakmp.c,v 1.74 2006/05/07 21:32:59 manubsd Exp */
83 #include "isakmp.h"
194 * isakmp packet handler
200 struct isakmp isakmp; local
202 char buf[sizeof (isakmp) + 4];
210 sizeof(isakmp) + 4];
227 "failed to receive isakmp packet: %s\n",
275 memcpy ((char *)&isakmp,
401 struct isakmp *isakmp = (struct isakmp *)msg->v; local
949 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1122 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1301 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1505 struct isakmp *isakmp = (struct isakmp *)buf->v; local
2606 struct isakmp *isakmp; local
2790 struct isakmp *isakmp; local
[all...]
H A Disakmp_inf.c81 #include "isakmp.h"
132 struct isakmp *isakmp;
143 encrypted = ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E);
144 msgid = ((struct isakmp *)msg0->v)->msgid;
156 ivm = oakley_newiv2(iph1, ((struct isakmp *)msg0->v)->msgid);
169 if (msg->l < sizeof(*isakmp) + sizeof(*gen)) {
176 isakmp = (struct isakmp *)msg->v;
177 gen = (struct isakmp_gen *)((caddr_t)isakmp
131 struct isakmp *isakmp; local
893 struct isakmp *isakmp; local
[all...]
H A Disakmp_cfg.c96 #include "isakmp.h"
143 struct isakmp *packet;
157 packet = (struct isakmp *)msg->v;
187 packet = (struct isakmp *)dmsg->v;
1124 struct isakmp *isakmp; local
1140 /* add new entry to isakmp status table */
1208 tlen += sizeof(*isakmp) + payload->l;
1210 /* create buffer for isakmp payload */
1218 /* create isakmp heade
[all...]
H A Disakmp_quick.c75 #include "isakmp.h"
282 /* send isakmp payload */
292 /* change status of isakmp status entry */
319 struct isakmp *isakmp = (struct isakmp *)msg0->v;
334 if (!ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E)) {
347 * 2. the second one must be SA (added in isakmp-oakley-05!)
367 * this restriction was introduced in isakmp-oakley-05.
381 + ntohl(isakmp
318 struct isakmp *isakmp = (struct isakmp *)msg0->v; local
842 struct isakmp *isakmp = (struct isakmp *)msg0->v; local
1739 struct isakmp *isakmp; local
[all...]
H A Disakmp.h1 /* $NetBSD: isakmp.h,v 1.4 2006/09/09 16:22:09 manu Exp $ */
3 /* Id: isakmp.h,v 1.11 2005/04/25 22:19:39 manubsd Exp */
64 struct isakmp { struct
121 * See draft-ietf-ipsec-isakmp-gss-auth-06.txt.
391 /* See draft-ietf-ipsec-isakmp-mode-cfg-04.txt, 3.2 */
H A Dracoonctl.c80 #include "isakmp.h"
171 { ADMIN_PROTO_ISAKMP, "isakmp" },
236 " <protocol>: \"isakmp\", \"esp\" or \"ah\".\n"
239 " <saopts>: \"isakmp\" <family> <src> <dst>\n"
742 char *isakmp = "isakmp"; local
792 nav[nac++] = isakmp;
807 char *isakmp = "isakmp"; local
820 nav[nac++] = isakmp;
[all...]
H A Disakmp_agg.c71 #include "isakmp.h"
151 /* create isakmp index */
155 /* make ID payload into isakmp status */
238 /* create isakmp KE payload */
241 /* create isakmp NONCE payload */
244 /* create isakmp ID payload */
253 /* create isakmp CR payload */
477 "few isakmp message received.\n");
497 /* fix isakmp index */
498 memcpy(&iph1->index.r_ck, &((struct isakmp *)ms
[all...]
H A Doakley.c74 #include "isakmp.h"
433 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05.
575 * generating long key (isakmp-oakley-08 5.5)
734 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05.
1267 "few isakmp message received.\n");
1610 "few isakmp message received.\n");
2817 /* see isakmp-oakley-08 5.3. */
3163 pl = msg->v + sizeof(struct isakmp);
3165 len = msg->l - sizeof(struct isakmp);
3220 len = sizeof(struct isakmp)
[all...]
H A Disakmp_ident.c67 #include "isakmp.h"
139 /* create isakmp index */
365 /* fix isakmp index */
366 memcpy(&iph1->index.r_ck, &((struct isakmp *)msg->v)->r_ck,
385 /* create buffer to send isakmp payload */
532 "few isakmp message received.\n");
604 /* make ID payload into isakmp status */
688 if (!ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E)) {
822 * status update and establish isakmp sa.
1223 "few isakmp messag
[all...]
H A Disakmp_base.c71 #include "isakmp.h"
137 /* create isakmp index */
141 /* make ID payload into isakmp status */
215 /* create isakmp ID payload */
218 /* create isakmp NONCE payload */
359 "few isakmp message received.\n");
428 /* fix isakmp index */
429 memcpy(&iph1->index.r_ck, &((struct isakmp *)msg->v)->r_ck,
469 /* create isakmp KE payload */
472 /* create isakmp HAS
[all...]
H A Dcftoken.l69 #include "isakmp.h"
209 <S_LST>isakmp { YYD; return(X_ISAKMP); }
/external/ipsec-tools/
H A DMakefile10 src/racoon/isakmp.c \
H A DAndroid.mk26 src/racoon/isakmp.c \
/external/tcpdump/
H A Dprint-isakmp.c33 "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.61 2008-02-05 19:34:25 guy Exp $ (LBL)";
54 #include "isakmp.h"
108 struct isakmp *base,
124 struct isakmp *base,
136 const u_char *bp2, struct isakmp *base);
148 NULL, "isakmp", "ipsec-ah", "ipsec-esp", "ipcomp",
151 /* isakmp->np */
166 /* isakmp->np */
210 /* isakmp->etype */
2031 struct isakmp *bas
[all...]
H A DAndroid.mk32 tcpdump_LIBNETDISSECT_SRC=print-isakmp.c
H A Disakmp.h29 /* YIPS @(#)$Id: isakmp.h,v 1.12 2007-11-24 18:13:33 mcr Exp $ */
100 struct isakmp { struct
/external/tcpdump/win32/prj/
H A DGNUmakefile87 ../../print-isakmp.o \

Completed in 8361 milliseconds