aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
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
parentd1e7a03f4fee4059ee3fa7ce0edb7c48c1a75fcf (diff)
downloadkernel_samsung_crespo-b87921bdf25485afd8f5a5f25e86b5acef32a9cf.zip
kernel_samsung_crespo-b87921bdf25485afd8f5a5f25e86b5acef32a9cf.tar.gz
kernel_samsung_crespo-b87921bdf25485afd8f5a5f25e86b5acef32a9cf.tar.bz2
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')
-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 9a2b9cb..917e170 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