epoc32/include/libc/netinet/udp.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
--- a/epoc32/include/libc/netinet/udp.h	Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/libc/netinet/udp.h	Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,38 @@
-udp.h
+/* UDP.H
+ * 
+ * Portions copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
+ */
+
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+/*
+ * Udp protocol header.
+ * Per RFC 768, September, 1981.
+ */
+
+#ifndef	_NETINET_UDP_H
+#define	_NETINET_UDP_H
+
+#ifdef	__cplusplus
+extern "C" {
+#endif
+/**
+@publishedAll
+@released
+*/
+struct udphdr {
+	u_short	uh_sport;		/* source port */
+	u_short	uh_dport;		/* destination port */
+	short	uh_ulen;		/* udp length */
+	u_short	uh_sum;			/* udp checksum */
+};
+
+#ifdef	__cplusplus
+}
+#endif
+
+#endif	/* _NETINET_UDP_H */