summaryrefslogtreecommitdiff
path: root/pfinet/linux/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux/udp.h')
-rw-r--r--pfinet/linux/udp.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/pfinet/linux/udp.h b/pfinet/linux/udp.h
new file mode 100644
index 00000000..471301a2
--- /dev/null
+++ b/pfinet/linux/udp.h
@@ -0,0 +1,29 @@
+/*
+ * INET An implementation of the TCP/IP protocol suite for the LINUX
+ * operating system. INET is implemented using the BSD Socket
+ * interface as the means of communication with the user level.
+ *
+ * Definitions for the UDP protocol.
+ *
+ * Version: @(#)udp.h 1.0.2 04/28/93
+ *
+ * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+#ifndef _LINUX_UDP_H
+#define _LINUX_UDP_H
+
+
+struct udphdr {
+ unsigned short source;
+ unsigned short dest;
+ unsigned short len;
+ unsigned short check;
+};
+
+
+#endif /* _LINUX_UDP_H */