• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /*
2   * This file is auto-generated. Modifications will be lost.
3   *
4   * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5   * for more information.
6   */
7  #ifndef _UAPI_LINUX_UDP_H
8  #define _UAPI_LINUX_UDP_H
9  #include <linux/types.h>
10  struct __kernel_udphdr {
11    __be16 source;
12    __be16 dest;
13    __be16 len;
14    __sum16 check;
15  };
16  #define UDP_CORK 1
17  #define UDP_ENCAP 100
18  #define UDP_NO_CHECK6_TX 101
19  #define UDP_NO_CHECK6_RX 102
20  #define UDP_SEGMENT 103
21  #define UDP_GRO 104
22  #define UDP_ENCAP_ESPINUDP_NON_IKE 1
23  #define UDP_ENCAP_ESPINUDP 2
24  #define UDP_ENCAP_L2TPINUDP 3
25  #define UDP_ENCAP_GTP0 4
26  #define UDP_ENCAP_GTP1U 5
27  #define UDP_ENCAP_RXRPC 6
28  #define TCP_ENCAP_ESPINTCP 7
29  #endif
30