summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/transport.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-11 05:29:24 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-11 05:29:24 +0000
commitd57ad7ec3fc9f22c355c6d7aae03525403b5f02b (patch)
treefa240ae260aced0d8be732071751025573dabccb /sbin/isakmpd/transport.h
parentf3aeb49444d2b4eec707ee72af7fcf92c4d5678a (diff)
Add TRANSPORT_MARK, for mark-and-sweep garbage collection of transport
instances.
Diffstat (limited to 'sbin/isakmpd/transport.h')
-rw-r--r--sbin/isakmpd/transport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/isakmpd/transport.h b/sbin/isakmpd/transport.h
index eede865606d..54a891b9feb 100644
--- a/sbin/isakmpd/transport.h
+++ b/sbin/isakmpd/transport.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: transport.h,v 1.8 2001/06/29 18:52:17 ho Exp $ */
+/* $OpenBSD: transport.h,v 1.9 2001/08/11 05:29:23 angelos Exp $ */
/* $EOM: transport.h,v 1.16 2000/07/17 18:57:59 provos Exp $ */
/*
@@ -119,6 +119,8 @@ struct transport {
/* Set if this is a transport we want to listen on. */
#define TRANSPORT_LISTEN 1
+/* Used for mark-and-sweep-type garbage collection of transports */
+#define TRANSPORT_MARK 2
extern void transport_add (struct transport *);
extern struct transport *transport_create (char *, char *);