Commit | Line | Data |
---|---|---|
2b4b57cd | 1 | /* udp.h 4.3 81/11/18 */ |
61fbf20d | 2 | |
eb44bfb2 BJ |
3 | /* |
4 | * Udp protocol header. | |
2b4b57cd | 5 | * Per RFC 768, September, 1981. |
eb44bfb2 BJ |
6 | */ |
7 | struct udphdr { | |
8 | u_short uh_sport; /* source port */ | |
9 | u_short uh_dport; /* destination port */ | |
10 | short uh_ulen; /* udp length */ | |
11 | u_short uh_sum; /* udp checksum */ | |
12 | }; |