diff options
author | mvs <mvs@cvs.openbsd.org> | 2021-01-02 13:15:16 +0000 |
---|---|---|
committer | mvs <mvs@cvs.openbsd.org> | 2021-01-02 13:15:16 +0000 |
commit | e26228c6c455ecc3bf9669b34547682eb86fe4fc (patch) | |
tree | 3004c5af0b794ec3fddc7c9140da4e732b35f180 /sys | |
parent | cc0c46ff7778b4946dea93d3c38d4cf9c6408640 (diff) |
Remove PIPEX{S,G}MODE ioctl(2) commands. This time they are pretty dummy
and were kept only for backward compatibility reasons.
ok mpi@ yasuoka@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pipex.c | 9 | ||||
-rw-r--r-- | sys/net/pipex.h | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c index 797f2ee939d..7b1088fde74 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.127 2020/08/30 19:48:16 mvs Exp $ */ +/* $OpenBSD: pipex.c,v 1.128 2021/01/02 13:15:15 mvs Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -163,13 +163,6 @@ pipex_ioctl(void *ownersc, u_long cmd, caddr_t data) NET_ASSERT_LOCKED(); switch (cmd) { - case PIPEXSMODE: - break; - - case PIPEXGMODE: - *(int *)data = 1; - break; - case PIPEXCSESSION: ret = pipex_config_session( (struct pipex_session_config_req *)data, ownersc); diff --git a/sys/net/pipex.h b/sys/net/pipex.h index 950407177b6..b2a42889280 100644 --- a/sys/net/pipex.h +++ b/sys/net/pipex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.h,v 1.28 2020/08/27 10:47:52 yasuoka Exp $ */ +/* $OpenBSD: pipex.h,v 1.29 2021/01/02 13:15:15 mvs Exp $ */ /* * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -165,8 +165,6 @@ struct pipex_session_descr_req { /* PIPEX ioctls */ -#define PIPEXSMODE _IOW ('p', 1, int) -#define PIPEXGMODE _IOR ('p', 2, int) #define PIPEXASESSION _IOW ('p', 3, struct pipex_session_req) #define PIPEXDSESSION _IOWR('p', 4, struct pipex_session_close_req) #define PIPEXCSESSION _IOW ('p', 5, struct pipex_session_config_req) |