HomeSort by relevance Sort by last modified time
    Searched refs:isakmp (Results 1 - 20 of 20) sorted by null

  /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"
198 * isakmp packet handler
204 struct isakmp isakmp; local
206 char buf[sizeof (isakmp) + 4];
214 sizeof(isakmp) + 4];
231 "failed to receive isakmp packet: %s\n",
279 memcpy ((char *)&isakmp, x.buf + extralen, sizeof (isakmp))
405 struct isakmp *isakmp = (struct isakmp *)msg->v; local
953 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1124 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1303 struct isakmp *isakmp = (struct isakmp *)msg->v; local
1507 struct isakmp *isakmp = (struct isakmp *)buf->v; local
2611 struct isakmp *isakmp; local
2795 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 \
  /external/tcpdump/
print-isakmp.c 31 /* \summary: Internet Security Association and Key Management Protocol (ISAKMP) printer */
63 /* 3.1 ISAKMP Header Format (IKEv1 and IKEv2)
79 struct isakmp { struct
448 /* isakmp sa structure */
472 /* 4.4.2 IPSEC ISAKMP Transform Values */
617 struct isakmp *base,
633 struct isakmp *base,
645 const u_char *bp2, struct isakmp *base);
662 NULL, "isakmp", "ipsec-ah", "ipsec-esp", "ipcomp",
665 /* isakmp->np *
    [all...]
Android.mk 85 print-isakmp.c \
  /external/tcpdump/win32/prj/
GNUmakefile 88 ../../print-isakmp.o \
  /external/scapy/scapy/contrib/
ikev2.py 24 ## Modified from the original ISAKMP code by Yaron Sheffer <yaronf.ietf@gmail.com>, June 2010.
32 from scapy.layers.isakmp import ISAKMP
763 split_layers(UDP, ISAKMP, sport=500)
764 split_layers(UDP, ISAKMP, dport=500)

Completed in 605 milliseconds