summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-08 04:22:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-08 04:22:15 +0000
commit52eb9ac48eb7ccab8abb68d872017ca8b118c0c5 (patch)
tree7862cdccc7076b22337f0ce0e23074310bfc0b73 /share
parentcc10120630755a4cbe40ddea21d658f1cbcb5f91 (diff)
bye bye
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile6
-rw-r--r--share/man/man4/ns.4181
-rw-r--r--share/man/man4/nsip.4127
3 files changed, 3 insertions, 311 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 8310c00c59f..38b6a1ad20c 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.299 2005/05/27 02:18:16 martin Exp $
+# $OpenBSD: Makefile,v 1.300 2005/06/08 04:22:14 henning Exp $
MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 ahd.4 \
aic.4 amdpm.4 ami.4 amphy.4 an.4 aria.4 ast.4 atalk.4 \
@@ -18,8 +18,8 @@ MAN= aac.4 ac97.4 acphy.4 addcom.4 adv.4 aha.4 ahb.4 ahc.4 ahd.4 \
ises.4 isp.4 it.4 iwi.4 ksyms.4 kue.4 lc.4 lge.4 lkm.4 lm.4 \
lmc.4 lmtemp.4 lo.4 lofn.4 lpt.4 lxtphy.4 luphy.4 maestro.4 midi.4 \
mii.4 mpt.4 mpu.4 mtd.4 mtdphy.4 multicast.4 mtio.4 ne.4 neo.4 \
- netintro.4 nge.4 noct.4 nofn.4 ns.4 nsclpcsio.4 nsgphy.4 \
- nsip.4 nsphy.4 nsphyter.4 null.4 ohci.4 opl.4 options.4 \
+ netintro.4 nge.4 noct.4 nofn.4 nsclpcsio.4 nsgphy.4 \
+ nsphy.4 nsphyter.4 null.4 ohci.4 opl.4 options.4 \
oosiop.4 osiop.4 pcdisplay.4 pchb.4 pci.4 pcib.4 pciide.4 pckbc.4 \
pckbd.4 pcmcia.4 pcppi.4 pcscp.4 pf.4 pflog.4 pfsync.4 piixpm.4 pim.4 \
pms.4 ppb.4 ppp.4 pppoe.4 pty.4 puc.4 qsphy.4 radio.4 raid.4 ral.4 \
diff --git a/share/man/man4/ns.4 b/share/man/man4/ns.4
deleted file mode 100644
index 1b1325c7095..00000000000
--- a/share/man/man4/ns.4
+++ /dev/null
@@ -1,181 +0,0 @@
-.\" $OpenBSD: ns.4,v 1.14 2004/03/21 19:47:59 miod Exp $
-.\" $NetBSD: ns.4,v 1.3 1994/11/30 16:22:26 jtc Exp $
-.\"
-.\" Copyright (c) 1985, 1991, 1993
-.\" The Regents of the University of California. All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)ns.4 8.2 (Berkeley) 11/30/93
-.\"
-.Dd November 30, 1993
-.Dt NS 4
-.Os
-.Sh NAME
-.Nm ns
-.Nd Xerox Network Systems(tm) protocol family
-.Sh SYNOPSIS
-.Nm option NS
-.Nm option NSIP
-.Nm "pseudo-device ns" Op Ar count
-.Sh DESCRIPTION
-The
-.Tn NS
-protocol family is a collection of protocols
-layered atop the
-.Em Internet Datagram Protocol
-.Pq Tn IDP
-transport layer, and using the Xerox
-.Tn NS
-address formats.
-The
-.Tn NS
-family provides protocol support for the
-.Dv SOCK_STREAM ,
-.Dv SOCK_DGRAM ,
-.Dv SOCK_SEQPACKET ,
-and
-.Dv SOCK_RAW
-socket types; the
-.Dv SOCK_RAW
-interface is a debugging tool, allowing you to trace all packets
-entering, (or with toggling kernel variable, additionally leaving) the local
-host.
-.Sh ADDRESSING
-.Tn NS
-addresses are 12 byte quantities, consisting of a
-4 byte Network number, a 6 byte Host number and a 2 byte port number,
-all stored in network standard format.
-(on the
-.Tn VAX
-these are word and byte reversed; on the
-.Tn SUN
-they are not
-reversed).
-The include file
-.Aq Pa netns/ns.h
-defines the
-.Tn NS
-address as a structure containing unions (for quicker
-comparisons).
-.Pp
-Sockets in the Internet protocol family use the following
-addressing structure:
-.Bd -literal -offset indent
-struct sockaddr_ns {
- u_char sns_len;
- u_char sns_family;
- struct ns_addr sns_addr;
- char sns_zero[2];
-};
-.Ed
-.Pp
-where an
-.Ar ns_addr
-is composed as follows:
-.Bd -literal -offset indent
-union ns_host {
- u_char c_host[6];
- u_short s_host[3];
-};
-
-union ns_net {
- u_char c_net[4];
- u_short s_net[2];
-};
-
-struct ns_addr {
- union ns_net x_net;
- union ns_host x_host;
- u_short x_port;
-};
-.Ed
-.Pp
-Sockets may be created with an address of all zeroes to effect
-.Dq wildcard
-matching on incoming messages.
-The local port address specified in a
-.Xr bind 2
-call is restricted to be greater than
-.Dv NSPORT_RESERVED
-(=3000, in
-.Aq Pa netns/ns.h )
-unless the creating process is running
-as the superuser, providing a space of protected port numbers.
-.Sh PROTOCOLS
-The
-.Tn NS
-protocol family supported by the operating system
-is comprised of
-the Internet Datagram Protocol
-.Pq Tn IDP
-.Xr idp 4 ,
-Error Protocol (available through
-.Tn IDP ) ,
-and
-Sequenced Packet Protocol
-.Pq Tn SPP
-.Xr spp 4 .
-.Pp
-.Tn SPP
-is used to support the
-.Dv SOCK_STREAM
-and
-.Dv SOCK_SEQPACKET
-abstraction,
-while
-.Tn IDP
-is used to support the
-.Dv SOCK_DGRAM
-abstraction.
-The Error protocol is responded to by the kernel
-to handle and report errors in protocol processing;
-it is, however,
-only accessible to user programs through heroic actions.
-.Sh SEE ALSO
-.Xr byteorder 3 ,
-.Xr gethostbyname 3 ,
-.Xr getnetent 3 ,
-.Xr getprotoent 3 ,
-.Xr getservent 3 ,
-.Xr ns 3 ,
-.Xr idp 4 ,
-.Xr netintro 4 ,
-.Xr nsip 4 ,
-.Xr spp 4
-.Rs
-.%T "Internet Transport Protocols"
-.%R Xerox Corporation document XSIS
-.%N 028112
-.Re
-.Rs
-.%T "An Advanced 4.3 BSD Interprocess Communication Tutorial"
-.Re
-.Sh HISTORY
-The
-.Nm
-protocol family
-appeared in
-.Bx 4.3 .
diff --git a/share/man/man4/nsip.4 b/share/man/man4/nsip.4
deleted file mode 100644
index 38feca899ce..00000000000
--- a/share/man/man4/nsip.4
+++ /dev/null
@@ -1,127 +0,0 @@
-.\" $OpenBSD: nsip.4,v 1.10 2003/07/09 13:26:20 jmc Exp $
-.\" $NetBSD: nsip.4,v 1.3 1994/11/30 16:22:27 jtc Exp $
-.\"
-.\" Copyright (c) 1985, 1991, 1993
-.\" The Regents of the University of California. All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\" 3. Neither the name of the University nor the names of its contributors
-.\" may be used to endorse or promote products derived from this software
-.\" without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" @(#)nsip.4 8.2 (Berkeley) 11/30/93
-.\"
-.Dd November 30, 1993
-.Dt NSIP 4
-.Os
-.Sh NAME
-.Nm nsip
-.Nd software network interface encapsulating NS packets in IP packets
-.Sh SYNOPSIS
-.Cd "option NSIP"
-.Fd #include <netns/ns_if.h>
-.Sh DESCRIPTION
-The
-.Nm nsip
-interface is a software mechanism which may be
-used to transmit Xerox
-.Tn NS Ns (tm)
-packets through otherwise uncooperative
-networks.
-It functions by prepending an
-.Tn IP
-header, and resubmitting the packet
-through the
-.Ox
-.Tn IP
-machinery.
-.Pp
-The superuser can advise the operating system of a willing partner
-by naming an
-.Tn IP
-address to be associated with an
-.Tn NS
-address.
-Presently, only specific hosts pairs are allowed, and for each host
-pair, an artificial point-to-point interface is constructed.
-At some future date,
-.Tn IP
-broadcast addresses or hosts may be paired
-with
-.Tn NS
-networks or hosts.
-.Pp
-Specifically, a socket option of
-.Dv SO_NSIP_ROUTE
-is set on a socket
-of family
-.Dv AF_NS ,
-type
-.Dv SOCK_DGRAM ,
-passing the following structure:
-.Bd -literal
-struct nsip_req {
- struct sockaddr rq_ns; /* must be ns format destination */
- struct sockaddr rq_ip; /* must be ip format gateway */
- short rq_flags;
-};
-.Ed
-.Sh DIAGNOSTICS
-.Bl -diag
-.It nsip%d: can't handle af%d.
-The interface was handed
-a message with addresses formatted in an unsuitable address
-family; the packet was dropped.
-.El
-.Sh SEE ALSO
-.Xr netintro 4 ,
-.Xr ns 4
-.Sh HISTORY
-The
-.Nm
-interface appeared in
-.Bx 4.3 .
-.Sh BUGS
-It is absurd to have a separate pseudo-device for each pt-to-pt
-link.
-There is no way to change the
-.Tn IP
-address for an
-.Tn NS
-host once the
-encapsulation interface is set up.
-The request should honor flags of
-.Dv RTF_GATEWAY
-to indicate
-remote networks, and the absence of
-.Dv RTF_UP
-should be a clue
-to remove that partner.
-This was intended to postpone the necessity of rewriting reverse
-.Tn ARP
-for the
-.Xr en
-device, and to allow passing
-.Tn XNS
-packets through an
-Arpanet-Milnet gateway, to facilitate testing between some co-operating
-universities.