projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date and time created 81/11/29 22:19:36 by wnj
[unix-history]
/
usr
/
src
/
sys
/
netinet
/
udp.h
diff --git
a/usr/src/sys/netinet/udp.h
b/usr/src/sys/netinet/udp.h
index
338123a
..
d32fa72
100644
(file)
--- a/
usr/src/sys/netinet/udp.h
+++ b/
usr/src/sys/netinet/udp.h
@@
-1,9
+1,12
@@
-/* udp.h 4.1 81/11/14 */
-
-struct udpiphdr {
- struct ipovly u_ip;
-
- struct udpiphdr *u_x[2]; /* space holders */
- u_char u_x1; /* unused */
- u_char u_pr; /* protocol */
+/* udp.h 4.3 81/11/18 */
+/*
+ * Udp protocol header.
+ * Per RFC 768, September, 1981.
+ */
+struct udphdr {
+ u_short uh_sport; /* source port */
+ u_short uh_dport; /* destination port */
+ short uh_ulen; /* udp length */
+ u_short uh_sum; /* udp checksum */
+};