summaryrefslogtreecommitdiff
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-03-24 17:00:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-03-24 17:00:48 +0000
commitb80bafe0d8f1a9085de8d083a14ff60715858dba (patch)
treeb6137a507e85d0e7ba52a5690e0d70db514efad3 /sys/net/pfkeyv2.h
parentc9431262f61a02240623605f326aa66eb0668b65 (diff)
Implement lifetime expiration notifications. Fix some typos. Remove statics.
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index 31f68a9ec86..6945f81951e 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -230,7 +230,7 @@ struct sadb_protocol {
#define SADB_SAFLAGS_X_HALFIV 0x02 /* Used for ESP-old */
#define SADB_SAFLAGS_X_TUNNEL 0x04 /* Force tunneling */
#define SADB_SAFLAGS_X_CHAINDEL 0x08 /* Delete whole SA chain */
-#define SADB_SAFLAGS_X_LOCALFLOW 0x10 /* Delete whole SA chain */
+#define SADB_SAFLAGS_X_LOCALFLOW 0x10 /* Add flow with 0.0.0.0 as src */
#define SADB_IDENTTYPE_RESERVED 0
#define SADB_IDENTTYPE_PREFIX 1
@@ -241,9 +241,12 @@ struct sadb_protocol {
#define SADB_KEY_FLAGS_MAX 0
-#ifdef KERNEL
+#ifdef _KERNEL
+struct tdb;
+
int pfkeyv2_init(void);
int pfkeyv2_cleanup(void);
-int pfkeyv2_parsemessage(void *p, int len, void **headers);
-#endif /* KERNEL */
+int pfkeyv2_parsemessage(void *, int, void **);
+int pfkeyv2_expire(struct tdb *, u_int16_t);
+#endif /* _KERNEL */
#endif /* _NET_PFKEY_V2_H */