blob: 36b8cedc14b02452ec046ac3376ea85b864419f1 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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 _UAPI__LINUX_IF_PPPOL2TP_H
20#define _UAPI__LINUX_IF_PPPOL2TP_H
21#include <linux/types.h>
22struct pppol2tp_addr {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 __kernel_pid_t pid;
25 int fd;
26 struct sockaddr_in addr;
27 __u16 s_tunnel, s_session;
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __u16 d_tunnel, d_session;
Ben Cheng655a7c02013-10-16 16:09:24 -070030};
31struct pppol2tpin6_addr {
Tao Baod7db5942015-01-28 10:07:51 -080032 __kernel_pid_t pid;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 int fd;
35 __u16 s_tunnel, s_session;
36 __u16 d_tunnel, d_session;
37 struct sockaddr_in6 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40struct pppol2tpv3_addr {
Tao Baod7db5942015-01-28 10:07:51 -080041 __kernel_pid_t pid;
42 int fd;
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 struct sockaddr_in addr;
45 __u32 s_tunnel, s_session;
46 __u32 d_tunnel, d_session;
Ben Cheng655a7c02013-10-16 16:09:24 -070047};
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49struct pppol2tpv3in6_addr {
Tao Baod7db5942015-01-28 10:07:51 -080050 __kernel_pid_t pid;
51 int fd;
52 __u32 s_tunnel, s_session;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 __u32 d_tunnel, d_session;
55 struct sockaddr_in6 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070056};
57enum {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 PPPOL2TP_SO_DEBUG = 1,
60 PPPOL2TP_SO_RECVSEQ = 2,
61 PPPOL2TP_SO_SENDSEQ = 3,
62 PPPOL2TP_SO_LNSMODE = 4,
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 PPPOL2TP_SO_REORDERTO = 5,
Ben Cheng655a7c02013-10-16 16:09:24 -070065};
66enum {
Tao Baod7db5942015-01-28 10:07:51 -080067 PPPOL2TP_MSG_DEBUG = (1 << 0),
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 PPPOL2TP_MSG_CONTROL = (1 << 1),
70 PPPOL2TP_MSG_SEQ = (1 << 2),
71 PPPOL2TP_MSG_DATA = (1 << 3),
Ben Cheng655a7c02013-10-16 16:09:24 -070072};
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#endif