diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-08-03 07:24:49 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-08-03 07:24:49 +0000 |
commit | 57d0d4299c0d563df35a7fb14abdd017c5891807 (patch) | |
tree | 3316177ff6f2a6926b5e24069748afd525682b07 /sbin/isakmpd | |
parent | 363ddca0983e89e8888e6097c17ba53e20b18b10 (diff) |
Merge with EOM 1.41
author: provos
introduce ipsec_decode_ids, also decodes FQDN and USER_FQDN now.
new ipsec_clone_id to copy IDs to phase 2 SAs for better status
reports. okay angelos@
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/ipsec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/isakmpd/ipsec.h b/sbin/isakmpd/ipsec.h index bbe3a3a263d..91ed9167ab1 100644 --- a/sbin/isakmpd/ipsec.h +++ b/sbin/isakmpd/ipsec.h @@ -1,5 +1,5 @@ -/* $OpenBSD: ipsec.h,v 1.13 2000/02/01 02:46:18 niklas Exp $ */ -/* $EOM: ipsec.h,v 1.40 2000/01/31 22:33:46 niklas Exp $ */ +/* $OpenBSD: ipsec.h,v 1.14 2000/08/03 07:24:48 niklas Exp $ */ +/* $EOM: ipsec.h,v 1.41 2000/07/01 23:30:41 provos Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -150,4 +150,8 @@ extern int ipsec_keymat_length (struct proto *); extern int ipsec_save_g_x (struct message *); extern struct sa *ipsec_sa_lookup (in_addr_t, u_int32_t, u_int8_t); +extern char *ipsec_decode_ids(char *, u_int8_t *, size_t, u_int8_t *, size_t, + int); +extern int ipsec_clone_id(u_int8_t **, size_t *, u_int8_t *, size_t); + #endif /* _IPSEC_H_ */ |