• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __LINUX_IF_PPPOL2TP_H
20 #define __LINUX_IF_PPPOL2TP_H
21 #include <linux/types.h>
22 struct pppol2tp_addr {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24  __kernel_pid_t pid;
25  int fd;
26  struct sockaddr_in addr;
27  __u16 s_tunnel, s_session;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  __u16 d_tunnel, d_session;
30 };
31 struct pppol2tpv3_addr {
32  pid_t pid;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  int fd;
35  struct sockaddr_in addr;
36  __u32 s_tunnel, s_session;
37  __u32 d_tunnel, d_session;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 };
40 enum {
41  PPPOL2TP_SO_DEBUG = 1,
42  PPPOL2TP_SO_RECVSEQ = 2,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  PPPOL2TP_SO_SENDSEQ = 3,
45  PPPOL2TP_SO_LNSMODE = 4,
46  PPPOL2TP_SO_REORDERTO = 5,
47 };
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 enum {
50  PPPOL2TP_MSG_DEBUG = (1 << 0),
51  PPPOL2TP_MSG_CONTROL = (1 << 1),
52  PPPOL2TP_MSG_SEQ = (1 << 2),
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  PPPOL2TP_MSG_DATA = (1 << 3),
55 };
56 #endif
57