summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/util.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-06-29 04:12:02 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-06-29 04:12:02 +0000
commit47960c3941786f6816b1c55c663e130b7824c602 (patch)
tree740cc184a1e2be2b0fdb8d77f469649b57cbb8c9 /sbin/isakmpd/util.h
parent6be4bc8a9f43cdf6b9d905ad85df1ad5e440eb95 (diff)
Initial IPv6 support. (niklas@ ok)
Diffstat (limited to 'sbin/isakmpd/util.h')
-rw-r--r--sbin/isakmpd/util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/util.h b/sbin/isakmpd/util.h
index 84b25d084f0..8e7e4defbb2 100644
--- a/sbin/isakmpd/util.h
+++ b/sbin/isakmpd/util.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: util.h,v 1.8 2001/06/27 00:10:35 ho Exp $ */
+/* $OpenBSD: util.h,v 1.9 2001/06/29 04:12:01 ho Exp $ */
/* $EOM: util.h,v 1.10 2000/10/24 13:33:39 niklas Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist. All rights reserved.
+ * Copyright (c) 2001 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
@@ -60,7 +61,8 @@ extern void encode_128 (u_int8_t *, u_int8_t *);
#endif
extern u_int8_t *getrandom (u_int8_t *, size_t);
extern int hex2raw (char *, u_int8_t *, size_t);
-extern int sockaddr2text (struct sockaddr *, char **);
+extern int sockaddr2text (struct sockaddr *, char **, int);
+extern void util_ntoa (char **, int, u_int8_t *);
extern int text2sockaddr (char *, char *, struct sockaddr **);
extern int sockaddr_len (struct sockaddr *);
extern u_int8_t *sockaddr_data (struct sockaddr *);