Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/tcp.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_core.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_zones.h>
#include <linux/netfilter/nf_conntrack_proto_gre.h>
#include <linux/netfilter/nf_conntrack_pptp.h>
Go to the source code of this file.
Macros | |
#define | NF_CT_PPTP_VERSION "3.1" |
#define | SECS *HZ |
#define | MINS * 60 SECS |
#define | HOURS * 60 MINS |
#define | PPTP_GRE_TIMEOUT (10 MINS) |
#define | PPTP_GRE_STREAM_TIMEOUT (5 HOURS) |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Harald Welte <[email protected]>") | |
MODULE_DESCRIPTION ("Netfilter connection tracking helper module for PPTP") | |
MODULE_ALIAS ("ip_conntrack_pptp") | |
MODULE_ALIAS_NFCT_HELPER ("pptp") | |
EXPORT_SYMBOL_GPL (nf_nat_pptp_hook_outbound) | |
EXPORT_SYMBOL_GPL (nf_nat_pptp_hook_inbound) | |
EXPORT_SYMBOL_GPL (nf_nat_pptp_hook_exp_gre) | |
EXPORT_SYMBOL_GPL (nf_nat_pptp_hook_expectfn) | |
module_init (nf_conntrack_pptp_init) | |
module_exit (nf_conntrack_pptp_fini) | |
Variables | |
int(* | nf_nat_pptp_hook_outbound )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) __read_mostly |
int(* | nf_nat_pptp_hook_inbound )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) __read_mostly |
void(* | nf_nat_pptp_hook_exp_gre )(struct nf_conntrack_expect *expect_orig, struct nf_conntrack_expect *expect_reply) __read_mostly |
void(* | nf_nat_pptp_hook_expectfn )(struct nf_conn *ct, struct nf_conntrack_expect *exp) __read_mostly |
#define HOURS * 60 MINS |
Definition at line 95 of file nf_conntrack_pptp.c.
#define MINS * 60 SECS |
Definition at line 94 of file nf_conntrack_pptp.c.
#define NF_CT_PPTP_VERSION "3.1" |
Definition at line 35 of file nf_conntrack_pptp.c.
#define PPTP_GRE_STREAM_TIMEOUT (5 HOURS) |
Definition at line 98 of file nf_conntrack_pptp.c.
#define PPTP_GRE_TIMEOUT (10 MINS) |
Definition at line 97 of file nf_conntrack_pptp.c.
#define SECS *HZ |
Definition at line 93 of file nf_conntrack_pptp.c.
EXPORT_SYMBOL_GPL | ( | nf_nat_pptp_hook_outbound | ) |
EXPORT_SYMBOL_GPL | ( | nf_nat_pptp_hook_inbound | ) |
EXPORT_SYMBOL_GPL | ( | nf_nat_pptp_hook_exp_gre | ) |
EXPORT_SYMBOL_GPL | ( | nf_nat_pptp_hook_expectfn | ) |
MODULE_ALIAS | ( | "ip_conntrack_pptp" | ) |
MODULE_ALIAS_NFCT_HELPER | ( | "pptp" | ) |
MODULE_AUTHOR | ( | "Harald Welte <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Netfilter connection tracking helper module for PPTP" | ) |
module_exit | ( | nf_conntrack_pptp_fini | ) |
module_init | ( | nf_conntrack_pptp_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
void(* nf_nat_pptp_hook_exp_gre)(struct nf_conntrack_expect *expect_orig, struct nf_conntrack_expect *expect_reply) __read_mostly |
Definition at line 60 of file nf_conntrack_pptp.c.
void(* nf_nat_pptp_hook_expectfn)(struct nf_conn *ct, struct nf_conntrack_expect *exp) __read_mostly |
Definition at line 66 of file nf_conntrack_pptp.c.
int(* nf_nat_pptp_hook_inbound)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) __read_mostly |
Definition at line 53 of file nf_conntrack_pptp.c.
int(* nf_nat_pptp_hook_outbound)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, struct PptpControlHeader *ctlh, union pptp_ctrl_union *pptpReq) __read_mostly |
Definition at line 46 of file nf_conntrack_pptp.c.