Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _LINUX_UDP_H
     13 #define _LINUX_UDP_H
     14 
     15 #include <linux/types.h>
     16 
     17 struct udphdr {
     18  __u16 source;
     19  __u16 dest;
     20  __u16 len;
     21  __u16 check;
     22 };
     23 
     24 #define UDP_CORK 1
     25 #define UDP_ENCAP 100
     26 
     27 #define UDP_ENCAP_ESPINUDP_NON_IKE 1
     28 #define UDP_ENCAP_ESPINUDP 2
     29 
     30 #endif
     31