summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2006-10-25 09:09:23 +0000
committerhenning <henning@openbsd.org>2006-10-25 09:09:23 +0000
commitd71192dc38e50dd089d005d6559ae877cb703143 (patch)
treeef3583ce00c15d83cac76ebf00d6504742a0a91a
parentBits to build ramdisk (bsd.rd) for landisk (diff)
downloadwireguard-openbsd-d71192dc38e50dd089d005d6559ae877cb703143.tar.xz
wireguard-openbsd-d71192dc38e50dd089d005d6559ae877cb703143.zip
another hiding AF_NS leftover, spotted by jmc
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/idp.4183
2 files changed, 2 insertions, 185 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index a4c987f6159..f5f359982de 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.385 2006/10/15 20:09:14 deraadt Exp $
+# $OpenBSD: Makefile,v 1.386 2006/10/25 09:09:23 henning Exp $
MAN= aac.4 ac97.4 acphy.4 acpi.4 acx.4 \
adc.4 addcom.4 admcts.4 admlc.4 admtemp.4 \
@@ -18,7 +18,7 @@ MAN= aac.4 ac97.4 acphy.4 acpi.4 acx.4 \
gentbi.4 gem.4 gif.4 \
glenv.4 gpio.4 gpioiic.4 gpioow.4 gpr.4 gre.4 gscsio.4 gtp.4 \
hifn.4 hil.4 hilid.4 hilkbd.4 hilms.4 hme.4 hotplug.4 hsq.4 \
- ichiic.4 ichwdt.4 icmp.4 icmp6.4 icsphy.4 idp.4 ifmedia.4 \
+ ichiic.4 ichwdt.4 icmp.4 icmp6.4 icsphy.4 ifmedia.4 \
iha.4 iic.4 inet.4 inet6.4 inphy.4 iop.4 iophy.4 ioprbs.4 \
iopsp.4 ip.4 ip6.4 ipcomp.4 ipgphy.4 ipmi.4 ipsec.4 ipw.4 \
isa.4 isagpio.4 isapnp.4 \
diff --git a/share/man/man4/idp.4 b/share/man/man4/idp.4
deleted file mode 100644
index 01c0017476c..00000000000
--- a/share/man/man4/idp.4
+++ /dev/null
@@ -1,183 +0,0 @@
-.\" $OpenBSD: idp.4,v 1.10 2005/06/09 08:40:49 jmc Exp $
-.\" $NetBSD: idp.4,v 1.3 1994/11/30 16:22:15 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.
-.\"
-.\" @(#)idp.4 8.1 (Berkeley) 6/5/93
-.\"
-.Dd June 5, 1993
-.Dt IDP 4
-.Os
-.Sh NAME
-.Nm idp
-.Nd Xerox Internet Datagram Protocol
-.Sh SYNOPSIS
-.Fd #include <sys/socket.h>
-.Fd #include <netns/ns.h>
-.Fd #include <netns/idp.h>
-.Ft int
-.Fn socket AF_NS SOCK_DGRAM 0
-.Sh DESCRIPTION
-.Tn IDP
-is a simple, unreliable datagram protocol which is used
-to support the
-.Dv SOCK_DGRAM
-abstraction for the Internet
-protocol family.
-.Tn IDP
-sockets are connectionless, and are
-normally used with the
-.Xr sendto 2
-and
-.Xr recvfrom 2
-calls, though the
-.Xr connect 2
-call may also be used to fix the destination for future
-packets (in which case the
-.Xr recv 2
-or
-.Xr read 2
-and
-.Xr send 2
-or
-.Xr write 2
-system calls may be used).
-.Pp
-Xerox protocols are built vertically on top of
-.Tn IDP .
-Thus,
-.Tn IDP
-address formats are identical to those used by
-.Tn SPP .
-Note that the
-.Tn IDP
-port
-space is the same as the
-.Tn SPP
-port space (i.e. an
-.Tn IDP
-port
-may be
-.Dq connected
-to an
-.Tn SPP
-port, with certain
-options enabled below).
-In addition broadcast packets may be sent
-(assuming the underlying network supports
-this) by using a reserved
-.Dq broadcast address ;
-this address
-is network interface dependent.
-.Sh DIAGNOSTICS
-A socket operation may fail with one of the following errors returned:
-.Bl -tag -width [EADDRNOTAVAIL]
-.It Bq Er EISCONN
-when trying to establish a connection on a socket which
-already has one, or when trying to send a datagram with the destination
-address specified and the socket is already connected;
-.It Bq Er ENOTCONN
-when trying to send a datagram, but
-no destination address is specified, and the socket hasn't been
-connected;
-.It Bq Er ENOBUFS
-when the system runs out of memory for
-an internal data structure;
-.It Bq Er EADDRINUSE
-when an attempt
-is made to create a socket with a port which has already been
-allocated;
-.It Bq Er EADDRNOTAVAIL
-when an attempt is made to create a
-socket with a network address for which no network interface
-exists.
-.El
-.Sh SOCKET OPTIONS
-.Bl -tag -width [SO_HEADERS_ON_OUTPUT]
-.It Bq Dv SO_ALL_PACKETS
-When set, this option defeats automatic processing of Error packets,
-and Sequence Protocol packets.
-.It Bq Dv SO_DEFAULT_HEADERS
-The user provides the kernel an
-.Tn IDP
-header, from which
-it gleans the Packet Type.
-When requested, the kernel will provide an
-.Tn IDP
-header, showing
-the default packet type, and local and foreign addresses, if
-connected.
-.It Bq Dv SO_HEADERS_ON_INPUT
-When set, the first 30 bytes of any data returned from a read
-or recv from will be the initial 30 bytes of the
-.Tn IDP
-packet,
-as described by
-.Bd -literal -offset indent
-struct idp {
- u_short idp_sum;
- u_short idp_len;
- u_char idp_tc;
- u_char idp_pt;
- struct ns_addr idp_dna;
- struct ns_addr idp_sna;
-};
-.Ed
-.Pp
-This allows the user to determine the packet type, and whether
-the packet was a multi-cast packet or directed specifically at
-the local host.
-When requested, gives the current state of the option,
-.Pf ( Dv NSP_RAWIN
-or 0).
-.It Bq Dv SO_HEADERS_ON_OUTPUT
-When set, the first 30 bytes of any data sent
-will be the initial 30 bytes of the
-.Tn IDP
-packet.
-This allows the user to determine the packet type, and whether
-the packet should be multi-cast packet or directed specifically at
-the local host.
-You can also misrepresent the sender of the packet.
-When requested, gives the current state of the option.
-.Pf ( Dv NSP_RAWOUT
-or 0).
-.It Bq Dv SO_SEQNO
-When requested, this returns a sequence number which is not likely
-to be repeated until the machine crashes or a very long time has passed.
-It is useful in constructing Packet Exchange Protocol packets.
-.El
-.Sh SEE ALSO
-.Xr recv 2 ,
-.Xr send 2 ,
-.Xr netintro 4
-.Sh HISTORY
-The
-.Nm
-protocol appeared in
-.Bx 4.3 .