/external/ipsec-tools/src/racoon/ |
isakmp_newg.c | 54 #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));
|
isakmp_frag.c | 76 #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 + 1) [all...] |
isakmp_inf.h | 41 extern int isakmp_info_send_nx __P((struct isakmp *,
|
isakmp_inf.c | 81 #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 + sizeof(struct isakmp)) 131 struct isakmp *isakmp; local 893 struct isakmp *isakmp; local [all...] |
isakmp.c | 1 /* $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, x.buf + extralen, sizeof (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...] |
isakmp_cfg.c | 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; local 1136 "ISAKMP mode config exchange with immature phase 1\n") [all...] |
isakmp_quick.c | 75 #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->len) - sizeof(*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...] |
isakmp.h | 1 /* $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 */ 48 /* 3.1 ISAKMP Header Format 64 struct isakmp { struct 121 * See draft-ietf-ipsec-isakmp-gss-auth-06.txt. 243 /* A.4 ISAKMP Identification Type Values */ 391 /* See draft-ietf-ipsec-isakmp-mode-cfg-04.txt, 3.2 */
|
racoonctl.c | 80 #include "isakmp.h" 143 { EVTT_ISAKMP_CFG_DONE, "ISAKMP mode config done", INFO }, 157 { EVTT_NO_ISAKMP_CFG, "No need for ISAKMP mode config ", INFO }, 171 { ADMIN_PROTO_ISAKMP, "isakmp" }, 199 #define EVTF_CFG_STOP 0x0002 /* Stop after ISAKMP mode config */ 200 #define EVTF_CFG 0x0004 /* Print ISAKMP mode config info */ 236 " <protocol>: \"isakmp\", \"esp\" or \"ah\".\n" 239 " <saopts>: \"isakmp\" <family> <src> <dst>\n" 742 char *isakmp = "isakmp"; local 807 char *isakmp = "isakmp"; local [all...] |
isakmp_agg.c | 71 #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 *)msg->v)->r_ck [all...] |
oakley.c | 78 #include "isakmp.h" 437 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05. 579 * generating long key (isakmp-oakley-08 5.5) 738 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05. 1271 "few isakmp message received.\n"); [all...] |
isakmp_ident.c | 67 #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 message received.\n") [all...] |
isakmp_base.c | 71 #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 HASH payload * [all...] |
cftoken.l | 69 #include "isakmp.h" 209 <S_LST>isakmp { YYD; return(X_ISAKMP); }
|
/external/ipsec-tools/ |
Makefile | 10 src/racoon/isakmp.c \
|
Android.mk | 26 src/racoon/isakmp.c \ 84 # pfkey.c, isakmp.c, remoteconf.c have some K&R warnings,
|
/external/tcpdump/ |
print-isakmp.c | 33 "@(#) $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 */ [all...] |
Android.mk | 32 tcpdump_LIBNETDISSECT_SRC=print-isakmp.c
|
isakmp.h | 29 /* YIPS @(#)$Id: isakmp.h,v 1.12 2007-11-24 18:13:33 mcr Exp $ */ 84 /* 3.1 ISAKMP Header Format (IKEv1 and IKEv2) 100 struct isakmp { struct
|
/external/tcpdump/win32/prj/ |
GNUmakefile | 87 ../../print-isakmp.o \
|