summaryrefslogtreecommitdiff
path: root/sys/net/pipex.h
diff options
context:
space:
mode:
authormvs <mvs@cvs.openbsd.org>2021-01-04 12:21:39 +0000
committermvs <mvs@cvs.openbsd.org>2021-01-04 12:21:39 +0000
commit1f55122c526ea74c057621fbde1d00e8fa392534 (patch)
tree25f0c9dcf824c41281ed1114c3914f1e78070185 /sys/net/pipex.h
parent4afca8f494d5f5cc69a0dfbedb3ffea02dcda689 (diff)
Remove unused `pipex_iface_context' struct.
ok ok@ yasuoka@
Diffstat (limited to 'sys/net/pipex.h')
-rw-r--r--sys/net/pipex.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/net/pipex.h b/sys/net/pipex.h
index b2a42889280..b29903beac7 100644
--- a/sys/net/pipex.h
+++ b/sys/net/pipex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.h,v 1.29 2021/01/02 13:15:15 mvs Exp $ */
+/* $OpenBSD: pipex.h,v 1.30 2021/01/04 12:21:38 mvs Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -177,22 +177,8 @@ extern int pipex_enable;
struct pipex_session;
-/* pipex context for a interface
- *
- * Locks used to protect struct members:
- * I immutable after creation
- * N net lock
- */
-struct pipex_iface_context {
- u_int ifindex; /* [I] outer interface index */
- u_int pipexmode; /* [N] pipex mode */
- /* [I] virtual pipex_session entry for multicast routing */
- struct pipex_session *multicast_session;
-};
-
__BEGIN_DECLS
void pipex_init (void);
-void pipex_iface_fini (struct pipex_iface_context *);
struct pipex_session *pipex_pppoe_lookup_session (struct mbuf *);
struct mbuf *pipex_pppoe_input (struct mbuf *, struct pipex_session *);