diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-07-12 08:58:54 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-07-12 08:58:54 +0000 |
commit | ee4d8861d21f44576e882ac10ef186698e1ace7c (patch) | |
tree | 0eacccf20d5c3aa1265a6a212a397ea66cab3889 /share | |
parent | cdfdaead097054da7a8aec382a7c747859120bca (diff) |
Remove PIPEXCSESSION pipex(4) ioctl(2) command from kernel and man page.
Long time ago pipex(4) session can't be deleted until both pipex(4)
input and output queues become empty. Dead sessions were linked to the
stack and the `ip_forward' flag was used to prevent packets forwarding.
npppd(8) marked such sessions by doing PIPEXCSESSION ioctl(2) call.
But since we started to unlink close session from the stack, this logic
became unnecessary. Also pipex(4) session could be closed just after
close request.
npppd(8) was the only userland program which did PIPEXCSESSION ioctl(2)
call, and we removed it week ago. It's time to remove the remains.
Now the `flags' member of 'pipex_session' structure became immutable.
ok yasuoka@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/pipex.4 | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/share/man/man4/pipex.4 b/share/man/man4/pipex.4 index 7299bf7044e..4d7b357aa1e 100644 --- a/share/man/man4/pipex.4 +++ b/share/man/man4/pipex.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pipex.4,v 1.14 2021/01/02 13:15:15 mvs Exp $ +.\" $OpenBSD: pipex.4,v 1.15 2022/07/12 08:58:53 mvs Exp $ .\" .\" Copyright (c) 2012 YASUOKA Masahiko <yasuoka@openbsd.org> .\" Copyright (c) 2010 SUENAGA Hiroki <hsuenaga@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 2 2021 $ +.Dd $Mdocdate: July 12 2022 $ .Dt PIPEX 4 .Os .Sh NAME @@ -179,18 +179,6 @@ See section for a description of the .Vt pipex_statistics structure. -.It Dv PIPEXCSESSION Fa "struct pipex_session_config_req *" -Change the configuration of the specified session. -The session and configuration are specified by a -.Vt pipex_session_config_req -structure, which has the following definition: -.Bd -literal -struct pipex_session_config_req { - int pcr_protocol; /* tunnel protocol */ - uint16_t pcr_session_id; /* session-id */ - int pcr_ip_forward; /* ip_forwarding on/off */ -}; -.Ed .It Dv PIPEXGSTAT Fa "struct pipex_session_stat_req *" Get statistics for the specified session. Specify the session using a |