From 1f55122c526ea74c057621fbde1d00e8fa392534 Mon Sep 17 00:00:00 2001 From: mvs Date: Mon, 4 Jan 2021 12:21:39 +0000 Subject: Remove unused `pipex_iface_context' struct. ok ok@ yasuoka@ --- sys/net/pipex.h | 16 +--------------- sys/net/pipex_local.h | 4 +--- 2 files changed, 2 insertions(+), 18 deletions(-) (limited to 'sys/net') 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 *); diff --git a/sys/net/pipex_local.h b/sys/net/pipex_local.h index dab6a2dc51e..a01fbda0fb5 100644 --- a/sys/net/pipex_local.h +++ b/sys/net/pipex_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex_local.h,v 1.40 2020/08/27 10:47:52 yasuoka Exp $ */ +/* $OpenBSD: pipex_local.h,v 1.41 2021/01/04 12:21:38 mvs Exp $ */ /* * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -384,8 +384,6 @@ void pipex_rele_session(struct pipex_session *); int pipex_link_session(struct pipex_session *, struct ifnet *, void *); void pipex_unlink_session(struct pipex_session *); -int pipex_close_session (struct pipex_session_close_req *, - struct pipex_iface_context *); int pipex_config_session (struct pipex_session_config_req *, void *); int pipex_get_stat (struct pipex_session_stat_req *, -- cgit v1.2.3