diff options
Diffstat (limited to 'sbin/isakmpd/isakmp.h')
-rw-r--r-- | sbin/isakmpd/isakmp.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sbin/isakmpd/isakmp.h b/sbin/isakmpd/isakmp.h index 11051fb7c15..4ab6869648d 100644 --- a/sbin/isakmpd/isakmp.h +++ b/sbin/isakmpd/isakmp.h @@ -1,8 +1,9 @@ -/* $OpenBSD: isakmp.h,v 1.6 2004/04/15 18:39:26 deraadt Exp $ */ +/* $OpenBSD: isakmp.h,v 1.7 2004/06/20 15:24:05 ho Exp $ */ /* $EOM: isakmp.h,v 1.11 2000/07/05 10:48:43 ho Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. + * Copyright (c) 2004 Håkan Olsson. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -35,11 +36,15 @@ #include "isakmp_fld.h" #include "isakmp_num.h" -/* ISAKMP default transport */ -#define ISAKMP_DEFAULT_TRANSPORT "udp" - /* IANA assigned port */ -#define UDP_DEFAULT_PORT 500 +#define UDP_DEFAULT_PORT 500 +#define UDP_DEFAULT_PORT_STR "500" + +#define ISAKMP_DEFAULT_TRANSPORT "udp" + +/* draft-ietf-ipsec-nat-t-ike-07.txt */ +#define UDP_ENCAP_DEFAULT_PORT 4500 +#define UDP_ENCAP_DEFAULT_PORT_STR "4500" /* ISAKMP header extras defines */ #define ISAKMP_HDR_COOKIES_OFF ISAKMP_HDR_ICOOKIE_OFF |