blob: 245e52c07ba4f04726cfc9da21ae76e9ae67a45f [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>
Christopher Ferris49f525c2016-12-12 14:55:36 -080022#include <linux/in.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -080024#include <linux/in6.h>
Christopher Ferris48af7cb2017-02-21 12:35:09 -080025#include <linux/l2tp.h>
Christopher Ferris49f525c2016-12-12 14:55:36 -080026struct pppol2tp_addr {
Tao Baod7db5942015-01-28 10:07:51 -080027 __kernel_pid_t pid;
Christopher Ferris49f525c2016-12-12 14:55:36 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080029 int fd;
Tao Baod7db5942015-01-28 10:07:51 -080030 struct sockaddr_in addr;
31 __u16 s_tunnel, s_session;
Tao Baod7db5942015-01-28 10:07:51 -080032 __u16 d_tunnel, d_session;
Christopher Ferris49f525c2016-12-12 14:55:36 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080034};
Ben Cheng655a7c02013-10-16 16:09:24 -070035struct pppol2tpin6_addr {
Tao Baod7db5942015-01-28 10:07:51 -080036 __kernel_pid_t pid;
Tao Baod7db5942015-01-28 10:07:51 -080037 int fd;
Christopher Ferris49f525c2016-12-12 14:55:36 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080039 __u16 s_tunnel, s_session;
Tao Baod7db5942015-01-28 10:07:51 -080040 __u16 d_tunnel, d_session;
41 struct sockaddr_in6 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070042};
Christopher Ferris49f525c2016-12-12 14:55:36 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080044struct pppol2tpv3_addr {
Tao Baod7db5942015-01-28 10:07:51 -080045 __kernel_pid_t pid;
46 int fd;
Tao Baod7db5942015-01-28 10:07:51 -080047 struct sockaddr_in addr;
Christopher Ferris49f525c2016-12-12 14:55:36 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080049 __u32 s_tunnel, s_session;
Tao Baod7db5942015-01-28 10:07:51 -080050 __u32 d_tunnel, d_session;
Ben Cheng655a7c02013-10-16 16:09:24 -070051};
Ben Cheng655a7c02013-10-16 16:09:24 -070052struct pppol2tpv3in6_addr {
Christopher Ferris49f525c2016-12-12 14:55:36 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080054 __kernel_pid_t pid;
Tao Baod7db5942015-01-28 10:07:51 -080055 int fd;
56 __u32 s_tunnel, s_session;
Tao Baod7db5942015-01-28 10:07:51 -080057 __u32 d_tunnel, d_session;
Christopher Ferris49f525c2016-12-12 14:55:36 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080059 struct sockaddr_in6 addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070060};
61enum {
Tao Baod7db5942015-01-28 10:07:51 -080062 PPPOL2TP_SO_DEBUG = 1,
Christopher Ferris49f525c2016-12-12 14:55:36 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080064 PPPOL2TP_SO_RECVSEQ = 2,
Tao Baod7db5942015-01-28 10:07:51 -080065 PPPOL2TP_SO_SENDSEQ = 3,
66 PPPOL2TP_SO_LNSMODE = 4,
Tao Baod7db5942015-01-28 10:07:51 -080067 PPPOL2TP_SO_REORDERTO = 5,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070069};
70enum {
Christopher Ferris48af7cb2017-02-21 12:35:09 -080071 PPPOL2TP_MSG_DEBUG = L2TP_MSG_DEBUG,
72 PPPOL2TP_MSG_CONTROL = L2TP_MSG_CONTROL,
Christopher Ferris49f525c2016-12-12 14:55:36 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080074 PPPOL2TP_MSG_SEQ = L2TP_MSG_SEQ,
75 PPPOL2TP_MSG_DATA = L2TP_MSG_DATA,
Ben Cheng655a7c02013-10-16 16:09:24 -070076};
Ben Cheng655a7c02013-10-16 16:09:24 -070077#endif
Christopher Ferris48af7cb2017-02-21 12:35:09 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */