1.1 --- a/epoc32/include/libc/netinet/udp.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/libc/netinet/udp.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,38 @@
1.4 -udp.h
1.5 +/* UDP.H
1.6 + *
1.7 + * Portions copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
1.8 + */
1.9 +
1.10 +/*
1.11 + * Copyright (c) 1982, 1986 Regents of the University of California.
1.12 + * All rights reserved. The Berkeley software License Agreement
1.13 + * specifies the terms and conditions for redistribution.
1.14 + */
1.15 +
1.16 +/*
1.17 + * Udp protocol header.
1.18 + * Per RFC 768, September, 1981.
1.19 + */
1.20 +
1.21 +#ifndef _NETINET_UDP_H
1.22 +#define _NETINET_UDP_H
1.23 +
1.24 +#ifdef __cplusplus
1.25 +extern "C" {
1.26 +#endif
1.27 +/**
1.28 +@publishedAll
1.29 +@released
1.30 +*/
1.31 +struct udphdr {
1.32 + u_short uh_sport; /* source port */
1.33 + u_short uh_dport; /* destination port */
1.34 + short uh_ulen; /* udp length */
1.35 + u_short uh_sum; /* udp checksum */
1.36 +};
1.37 +
1.38 +#ifdef __cplusplus
1.39 +}
1.40 +#endif
1.41 +
1.42 +#endif /* _NETINET_UDP_H */