summaryrefslogtreecommitdiff
path: root/sys/net/pipex_local.h
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2014-10-21 10:52:54 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2014-10-21 10:52:54 +0000
commite75da720bf10857a1d0b8ca1d4134d92184a4454 (patch)
treea403d7402c5674fef7d5b84c14700ace4311eee2 /sys/net/pipex_local.h
parent4e603f633733a8f5af15714b6417a92bf484433c (diff)
tun(4) has a pipex session which is used for multicast internally, it
wasn't freeed when the interface is destroyed. Free it properly. ok dlg
Diffstat (limited to 'sys/net/pipex_local.h')
-rw-r--r--sys/net/pipex_local.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pipex_local.h b/sys/net/pipex_local.h
index 520704fb7cd..8daa8924f85 100644
--- a/sys/net/pipex_local.h
+++ b/sys/net/pipex_local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex_local.h,v 1.19 2013/04/20 07:54:28 yasuoka Exp $ */
+/* $OpenBSD: pipex_local.h,v 1.20 2014/10/21 10:52:53 yasuoka Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -374,6 +374,8 @@ extern struct pipex_hash_head pipex_id_hashtable[];
/*
* static function prototypes
*/
+Static void pipex_iface_start (struct pipex_iface_context *);
+Static void pipex_iface_stop (struct pipex_iface_context *);
Static int pipex_add_session (struct pipex_session_req *, struct pipex_iface_context *);
Static int pipex_close_session (struct pipex_session_close_req *);
Static int pipex_config_session (struct pipex_session_config_req *);