aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack_expect.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-02-11 12:22:48 +0100
committerPatrick McHardy <kaber@trash.net>2010-02-11 12:22:48 +0100
commitb87921bdf25485afd8f5a5f25e86b5acef32a9cf (patch)
treed839a1568a74c367a3eda529231002abe15aff79 /include/net/netfilter/nf_conntrack_expect.h
parentnetfilter: ctnetlink: dump expectation helper name (diff)
downloadlinux-dev-b87921bdf25485afd8f5a5f25e86b5acef32a9cf.tar.xz
linux-dev-b87921bdf25485afd8f5a5f25e86b5acef32a9cf.zip
netfilter: nf_conntrack: show helper and class in /proc/net/nf_conntrack_expect
Make the output a bit more informative by showing the helper an expectation belongs to and the expectation class. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_expect.h')
-rw-r--r--include/net/netfilter/nf_conntrack_expect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_expect.h b/include/net/netfilter/nf_conntrack_expect.h
index 9a2b9cb52271..917e170fa752 100644
--- a/include/net/netfilter/nf_conntrack_expect.h
+++ b/include/net/netfilter/nf_conntrack_expect.h
@@ -66,6 +66,7 @@ static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp)
struct nf_conntrack_expect_policy {
unsigned int max_expected;
unsigned int timeout;
+ const char *name;
};
#define NF_CT_EXPECT_CLASS_DEFAULT 0