From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <32d9c6dcc0efeabd807ee1f77c328898@coraid.com> From: erik quanstrom Date: Sun, 6 May 2007 10:58:21 -0400 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] OUdphdr Topicbox-Message-UUID: 5d56a9b8-ead2-11e9-9d60-3106f5b1d025 the comment in this diff confuses me. is OUdphdr now used for ip6 as opposed to Udphdr? i guess i don't quite understand the emphasis on v6 since plan 9 represents all ip addresses as v6. also, why are there two udp packet formats defined? - erik enum /n/sources/plan9//sys/include/ip.h:74,87 - ip.h:74,87 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 */ + uchar raddr[IPaddrlen]; /* remote address and port */ + uchar laddr[IPaddrlen]; /* local address and port */ + uchar rport[2]; + uchar lport[2]; };