Browse Source

Plan 9 from Bell Labs 2007-05-10

David du Colombier 17 years ago
parent
commit
b628e35d4f
2 changed files with 1 additions and 34 deletions
  1. 0 18
      sys/include/ip.h
  2. 1 16
      sys/man/3/ip

+ 0 - 18
sys/include/ip.h

@@ -62,24 +62,6 @@ struct Ipifc
 	Ipv6rp	rp;
 };
 
-/*
- *  user level udp headers with control message "oldheaders".
- *  this is now considered obsolete.
- */
-enum 
-{
-	OUdphdrsize=	36,	/* size of a OUdphdr */
-};
-
-typedef struct OUdphdr OUdphdr;
-struct OUdphdr
-{
-	uchar	raddr[IPaddrlen];	/* V6 remote address */
-	uchar	laddr[IPaddrlen];	/* V6 local address */
-	uchar	rport[2];		/* remote port */
-	uchar	lport[2];		/* local port */
-};
-
 /*
  *  user level udp headers with control message "headers"
  */

+ 1 - 16
sys/man/3/ip

@@ -686,7 +686,7 @@ However, many-to-one semantics is also possible.
 .PP
 If, after an
 .BR announce ,
-one of the following messages is written to
+the following message is written to
 .BR ctl ,
 then all messages sent to the announced port
 are received on the announced connection prefixed
@@ -706,21 +706,6 @@ struct Udphdr
 	uchar	lport[2];	/* local port */
 };
 .EE
-.TP
-.B oldheaders
-.EX
-typedef struct OUdphdr OUdphdr;
-struct OUdphdr
-{
-	uchar	raddr[16];	/* V6 remote address and port */
-	uchar	laddr[16];	/* V6 local address and port */
-	uchar	rport[2];	/* remote port */
-	uchar	lport[2];	/* local port */
-};
-.EE
-.PP
-.L oldheaders
-is now seriously obsolete and will vanish soon.
 .PP
 Before a write, a user must prefix a similar structure to each message.
 The system overrides the user specified local port with the announced