| /src/crypto/dist/ipsec-tools/src/racoon/ |
| isakmp_newg.c | 54 #include "isakmp.h" 73 struct isakmp *isakmp = (struct isakmp *)msg->v; 152 len = sizeof(isakmp->msgid) + ntohs(sa->h.len); 159 memcpy(buf->v, &isakmp->msgid, sizeof(isakmp->msgid)); 160 memcpy(buf->v + sizeof(isakmp->msgid), sa, ntohs(sa->h.len));
|
| isakmp_inf.h | 41 extern int isakmp_info_send_nx(struct isakmp *, struct sockaddr *,
|
| isakmp_frag.c | 76 #include "isakmp.h" 84 struct isakmp *hdr; 100 hdr = (struct isakmp *)buf->v; 132 hdr = (struct isakmp *)frag->v; 212 struct isakmp *isakmp; local 225 if (msg->l < sizeof(*isakmp) + sizeof(*frag)) { 230 isakmp = (struct isakmp *)msg->v; 231 frag = (struct isakmp_frag *)(isakmp + 1) [all...] |
| isakmp_inf.c | 81 #include "isakmp.h" 127 struct isakmp *isakmp; 138 encrypted = ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E); 139 msgid = ((struct isakmp *)msg0->v)->msgid; 151 ivm = oakley_newiv2(iph1, ((struct isakmp *)msg0->v)->msgid); 164 if (msg->l < sizeof(*isakmp) + sizeof(*gen)) { 172 isakmp = (struct isakmp *)msg->v; 173 gen = (struct isakmp_gen *)((caddr_t)isakmp + sizeof(struct isakmp)) 126 struct isakmp *isakmp; local 856 struct isakmp *isakmp; local [all...] |
| isakmp.c | 1 /* $NetBSD: isakmp.c,v 1.81 2025/03/08 16:39:08 christos Exp $ */ 3 /* Id: isakmp.c,v 1.74 2006/05/07 21:32:59 manubsd Exp */ 84 #include "isakmp.h" 195 * isakmp packet handler 201 struct isakmp isakmp; local 203 char buf[sizeof (isakmp) + 4]; 212 char buf[sizeof(isakmp) + 4]; 231 "failed to receive isakmp packet: %s\n", 270 memcpy ((char *)&isakmp, x.buf + extralen, sizeof (isakmp)) 393 struct isakmp *isakmp = (struct isakmp *)msg->v; local 960 struct isakmp *isakmp = (struct isakmp *)msg->v; local 1133 struct isakmp *isakmp = (struct isakmp *)msg->v; local 1307 struct isakmp *isakmp = (struct isakmp *)msg->v; local 1498 struct isakmp *isakmp = (struct isakmp *)buf->v; local 2594 struct isakmp *isakmp; local 2767 struct isakmp *isakmp; local [all...] |
| isakmp_cfg.c | 94 #include "isakmp.h" 135 * Handle an ISAKMP config mode packet 141 struct isakmp *packet; 155 packet = (struct isakmp *)msg->v; 185 packet = (struct isakmp *)dmsg->v; 431 * It is done at the end of phase 1 if ISAKMP mode config is not 730 * If required, request ISAKMP mode config information 1120 struct isakmp *isakmp; local 1132 "ISAKMP mode config exchange with immature phase 1\n") [all...] |
| isakmp_quick.c | 72 #include "isakmp.h" 360 /* send isakmp payload */ 369 /* change status of isakmp status entry */ 402 struct isakmp *isakmp = (struct isakmp *)msg0->v; 416 if (!ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E)) { 429 * 2. the second one must be SA (added in isakmp-oakley-05!) 449 * this restriction was introduced in isakmp-oakley-05. 463 + ntohl(isakmp->len) - sizeof(*isakmp) 401 struct isakmp *isakmp = (struct isakmp *)msg0->v; local 1059 struct isakmp *isakmp = (struct isakmp *)msg0->v; local 2054 struct isakmp *isakmp; local [all...] |
| oakley.c | 71 #include "isakmp.h" 466 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05. 603 * generating long key (isakmp-oakley-08 5.5) 762 * see seciton 5.5 Phase 2 - Quick Mode in isakmp-oakley-05. 1268 "few isakmp message received.\n"); 1574 "few isakmp message received.\n"); 2611 /* see isakmp-oakley-08 5.3. */ 2922 pl = msg->v + sizeof(struct isakmp); 2924 len = msg->l - sizeof(struct isakmp); 2979 len = sizeof(struct isakmp) + new->l [all...] |
| isakmp.h | 1 /* $NetBSD: isakmp.h,v 1.8 2025/03/07 15:55:29 christos 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 */ 387 /* See draft-ietf-ipsec-isakmp-mode-cfg-04.txt, 3.2 */
|
| racoonctl.c | 81 #include "isakmp.h" 174 { ADMIN_PROTO_ISAKMP, "isakmp" }, 231 " <protocol>: \"isakmp\", \"esp\" or \"ah\".\n" 234 " <saopts>: \"isakmp\" <family> <src> <dst>\n" 627 const char *isakmp = "isakmp"; local 676 nav[nac++] = isakmp; 689 const char *isakmp = "isakmp"; local 700 nav[nac++] = isakmp; [all...] |
| isakmp_agg.c | 71 #include "isakmp.h" 146 /* create isakmp index */ 150 /* make ID payload into isakmp status */ 220 /* create isakmp KE payload */ 223 /* create isakmp NONCE payload */ 226 /* create isakmp ID payload */ 239 /* create isakmp CR payload */ 455 "few isakmp message received.\n"); 475 /* fix isakmp index */ 476 memcpy(&iph1->index.r_ck, &((struct isakmp *)msg->v)->r_ck [all...] |
| isakmp_ident.c | 67 #include "isakmp.h" 138 /* create isakmp index */ 360 /* fix isakmp index */ 361 memcpy(&iph1->index.r_ck, &((struct isakmp *)msg->v)->r_ck, 380 /* create buffer to send isakmp payload */ 524 "few isakmp message received.\n"); 593 /* make ID payload into isakmp status */ 674 if (!ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E)) { 805 * status update and establish isakmp sa. 1196 "few isakmp message received.\n") [all...] |
| isakmp_base.c | 71 #include "isakmp.h" 135 /* create isakmp index */ 139 /* make ID payload into isakmp status */ 214 /* create isakmp ID payload */ 217 /* create isakmp NONCE payload */ 350 "few isakmp message received.\n"); 417 /* fix isakmp index */ 418 memcpy(&iph1->index.r_ck, &((struct isakmp *)msg->v)->r_ck, 458 /* create isakmp KE payload */ 461 /* create isakmp HASH payload * [all...] |
| /src/usr.sbin/racoon/ |
| Makefile | 11 getcertsbyname.c grabmyaddr.c gssapi.c handler.c ipsec_doi.c isakmp.c \ 69 COPTS.isakmp.c+=${CC_WNO_STRINGOP_TRUNCATION}
|
| /src/external/bsd/tcpdump/dist/ |
| print-isakmp.c | 33 __RCSID("$NetBSD: print-isakmp.c,v 1.14 2026/03/19 00:05:13 christos Exp $"); 36 /* \summary: Internet Security Association and Key Management Protocol (ISAKMP) printer */ 61 /* 3.1 ISAKMP Header Format (IKEv1 and IKEv2) 77 struct isakmp { struct 434 /* isakmp sa structure */ 458 /* 4.4.2 IPSEC ISAKMP Transform Values */ 603 const struct isakmp *base, 619 const struct isakmp *base, 631 const u_char *bp2, const struct isakmp *base); 648 NULL, "isakmp", "ipsec-ah", "ipsec-esp", "ipcomp" [all...] |
| /src/external/bsd/tcpdump/bin/ |
| Makefile | 87 print-isakmp.c \
|