sl@0: /* UDP.H sl@0: * sl@0: * Portions Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: */ sl@0: sl@0: /* sl@0: * Copyright (c) 1982, 1986 Regents of the University of California. sl@0: * All rights reserved. The Berkeley software License Agreement sl@0: * specifies the terms and conditions for redistribution. sl@0: */ sl@0: sl@0: /* sl@0: * Udp protocol header. sl@0: * Per RFC 768, September, 1981. sl@0: */ sl@0: sl@0: #ifndef _NETINET_UDP_H sl@0: #define _NETINET_UDP_H sl@0: sl@0: #ifdef __cplusplus sl@0: extern "C" { sl@0: #endif sl@0: /** sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: struct udphdr { sl@0: u_short uh_sport; /* source port */ sl@0: u_short uh_dport; /* destination port */ sl@0: short uh_ulen; /* udp length */ sl@0: u_short uh_sum; /* udp checksum */ sl@0: }; sl@0: sl@0: #ifdef __cplusplus sl@0: } sl@0: #endif sl@0: sl@0: #endif /* _NETINET_UDP_H */