Changeset 183 for trunk/src/emx/include/netinet/udp.h
- Timestamp:
- May 19, 2003, 4:41:00 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/netinet/udp.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r182 r183 1 1 /* Modified for emx by hv 1996 2 * Modified for gcc/os2 by bird 2003 2 3 * 3 4 * Copyright (c) 1982, 1986 Regents of the University of California. … … 39 40 #define _NETINET_UDP_H_ 40 41 42 #ifdef TCPV40HDRS 43 #include <netinet/udp_var.h> 44 #else 41 45 /* 42 46 * Udp protocol header. 43 47 * Per RFC 768, September, 1981. 44 48 */ 49 #pragma pack(1) 45 50 struct udphdr { 46 51 u_short uh_sport; /* source port */ … … 49 54 u_short uh_sum; /* udp checksum */ 50 55 }; 51 52 /* hv: this is a new structure of TCPIPV4. Consult IBM's docs on that */ 53 #ifdef TCPIPV4 54 #include <netinet/udp_var.h> 55 struct udpstat { 56 u_long udps_hdrops; 57 u_long udps_badsum; 58 u_long udps_badlen; 59 u_long udps_udpInDatagrams; 60 u_long udps_udpNoPorts; 61 u_long udps_udpOutDatagrams; 62 }; 56 #pragma pack() 63 57 #endif 64 58 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.