OSDN Git Service

original
[gb-231r1-is01/GB_2.3_IS01.git] / prebuilt / ndk / android-ndk-r4 / platforms / android-8 / arch-x86 / usr / include / linux / udp.h
diff --git a/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/udp.h b/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/udp.h
new file mode 100644 (file)
index 0000000..e4bf864
--- /dev/null
@@ -0,0 +1,30 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ ***   This header was automatically generated from a Linux kernel header
+ ***   of the same name, to make information necessary for userspace to
+ ***   call into the kernel available to libc.  It contains only constants,
+ ***   structures, and macros generated from the original header, and thus,
+ ***   contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef _LINUX_UDP_H
+#define _LINUX_UDP_H
+
+#include <linux/types.h>
+
+struct udphdr {
+ __u16 source;
+ __u16 dest;
+ __u16 len;
+ __u16 check;
+};
+
+#define UDP_CORK 1  
+#define UDP_ENCAP 100  
+
+#define UDP_ENCAP_ESPINUDP_NON_IKE 1  
+#define UDP_ENCAP_ESPINUDP 2  
+
+#endif