summaryrefslogtreecommitdiff
path: root/klibc/include/netinet/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/netinet/udp.h')
-rw-r--r--klibc/include/netinet/udp.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/klibc/include/netinet/udp.h b/klibc/include/netinet/udp.h
new file mode 100644
index 0000000000..b809b4ee6e
--- /dev/null
+++ b/klibc/include/netinet/udp.h
@@ -0,0 +1,19 @@
+/*
+ * netinet/udp.h
+ */
+
+#ifndef _NETINET_UDP_H
+#define _NETINET_UDP_H
+
+/*
+ * We would include linux/udp.h, but it brings in too much other stuff
+ */
+
+struct udphdr {
+ __u16 source;
+ __u16 dest;
+ __u16 len;
+ __u16 check;
+};
+
+#endif /* _NETINET_UDP_H */