138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris/**************************************************************************** 238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris **************************************************************************** 338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** 438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** This header was automatically generated from a Linux kernel header 538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** of the same name, to make information necessary for userspace to 638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** call into the kernel available to libc. It contains only constants, 738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** structures, and macros generated from the original header, and thus, 838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** contains no copyrightable information. 938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** 1038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** To edit the content of this header, modify the corresponding 1138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** source file (e.g. under external/kernel-headers/original/) then 1238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** run bionic/libc/kernel/tools/update_all.py 1338062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** 1438062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** Any manual change here will be lost the next time this script will 1538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** be run. You've been warned! 1638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris *** 1738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris **************************************************************************** 1838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris ****************************************************************************/ 1938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#ifndef _LINUX_NETFILTER_XT_L2TP_H 2038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define _LINUX_NETFILTER_XT_L2TP_H 2138062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#include <linux/types.h> 2238062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum xt_l2tp_type { 23d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_TYPE_CONTROL, 24d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_TYPE_DATA, 2538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris}; 2638062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisstruct xt_l2tp_info { 27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u32 tid; 28d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u32 sid; 29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 version; 30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 type; 31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao __u8 flags; 3238062f954c637861348dd8078cefb73554e6f12cChristopher Ferris}; 3338062f954c637861348dd8078cefb73554e6f12cChristopher Ferrisenum { 34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_TID = (1 << 0), 35d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_SID = (1 << 1), 36d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_VERSION = (1 << 2), 37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao XT_L2TP_TYPE = (1 << 3), 3838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris}; 3938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#endif 40