1#ifndef _LINUX_NETFILTER_XT_L2TP_H 2#define _LINUX_NETFILTER_XT_L2TP_H 3 4#include <linux/types.h> 5 6enum xt_l2tp_type { 7 XT_L2TP_TYPE_CONTROL, 8 XT_L2TP_TYPE_DATA, 9}; 10 11/* L2TP matching stuff */ 12struct xt_l2tp_info { 13 __u32 tid; /* tunnel id */ 14 __u32 sid; /* session id */ 15 __u8 version; /* L2TP protocol version */ 16 __u8 type; /* L2TP packet type */ 17 __u8 flags; /* which fields to match */ 18}; 19 20enum { 21 XT_L2TP_TID = (1 << 0), /* match L2TP tunnel id */ 22 XT_L2TP_SID = (1 << 1), /* match L2TP session id */ 23 XT_L2TP_VERSION = (1 << 2), /* match L2TP protocol version */ 24 XT_L2TP_TYPE = (1 << 3), /* match L2TP packet type */ 25}; 26 27#endif /* _LINUX_NETFILTER_XT_L2TP_H */ 28