home *** CD-ROM | disk | FTP | other *** search
- #ifndef __netinet_udp_h
- #define __netinet_udp_h
-
- #include "sys/types.h"
-
- /*
- * Structure of a UDP header
- * Per RFC 768, September, 1981.
- */
-
- struct udphdr {
- u_short uh_sport; /* Source port */
- u_short uh_dport; /* Destination port */
- short uh_ulen; /* Length */
- u_short uh_sum; /* Checksum */
- };
-
- #endif
-