Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2007/0413/6

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/sys/include/ip.h
% cat >/sys/lib/dist/changes/1176499807.0.txt << EOF
•	Fix comment style (more on the // -> /* */ rampage!)
•	s/cntrol/control/
EOF
 [geoff] --rw-rw-r-- M 121 glenda sys 2978 Apr 13 17:22 sys/include/ip.h
	/n/sourcesdump/2007/0413/plan9/sys/include/ip.h:63,69 - 
	/n/sources/plan9/sys/include/ip.h:63,69
	  };
	  
	  /*
	-  *  user level udp headers with cntrol message "oldheaders".
	+  *  user level udp headers with control message "oldheaders".
	   *  this is now considered obsolete.
	   */
	  enum 
	/n/sourcesdump/2007/0413/plan9/sys/include/ip.h:74,87 - 
	/n/sources/plan9/sys/include/ip.h:74,87
	  typedef struct OUdphdr OUdphdr;
	  struct OUdphdr
	  {
	- 	uchar	raddr[IPaddrlen];	/* remote address and port */
	- 	uchar	laddr[IPaddrlen];	/* local address and port */
	- 	uchar	rport[2];
	- 	uchar	lport[2];
	+ 	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 cntrol message "headers"
	+  *  user level udp headers with control message "headers"
	   */
	  enum 
	  {
	/n/sourcesdump/2007/0413/plan9/sys/include/ip.h:91,101 - 
	/n/sources/plan9/sys/include/ip.h:91,100
	  typedef struct Udphdr Udphdr;
	  struct Udphdr
	  {
	- 	uchar	raddr[IPaddrlen];	/* remote address */
	- 	uchar	laddr[IPaddrlen];	/* local address */
	- 	uchar	ifcaddr[IPaddrlen];	/* address of ifc message was received from
	- 					   (only useful on reception) */
	- 	uchar	rport[2];		/* remove port */
	+ 	uchar	raddr[IPaddrlen];	/* V6 remote address */
	+ 	uchar	laddr[IPaddrlen];	/* V6 local address */
	+ 	uchar	ifcaddr[IPaddrlen];	/* V6 ifc addr msg was received on */
	+ 	uchar	rport[2];		/* remote port */
	  	uchar	lport[2];		/* local port */
	  };
	  


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.