1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _LINUX_NETFILTER_XT_L2TP_H
3 #define _LINUX_NETFILTER_XT_L2TP_H
5 #include <linux/types.h>
12 /* L2TP matching stuff */
14 __u32 tid; /* tunnel id */
15 __u32 sid; /* session id */
16 __u8 version; /* L2TP protocol version */
17 __u8 type; /* L2TP packet type */
18 __u8 flags; /* which fields to match */
22 XT_L2TP_TID = (1 << 0), /* match L2TP tunnel id */
23 XT_L2TP_SID = (1 << 1), /* match L2TP session id */
24 XT_L2TP_VERSION = (1 << 2), /* match L2TP protocol version */
25 XT_L2TP_TYPE = (1 << 3), /* match L2TP packet type */
28 #endif /* _LINUX_NETFILTER_XT_L2TP_H */