Release 4.7 net/netfilter/xt_comment.c
/*
* Implements a dummy match to allow attaching comments to rules
*
* 2003-05-13 Brad Fisher (brad@info-link.net)
*/
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_comment.h>
MODULE_AUTHOR("Brad Fisher <brad@info-link.net>");
MODULE_DESCRIPTION("Xtables: No-op match which can be tagged with a comment");
MODULE_LICENSE("GPL");
MODULE_ALIAS("ipt_comment");
MODULE_ALIAS("ip6t_comment");
static bool
comment_mt(const struct sk_buff *skb, struct xt_action_param *par)
{
/* We always match */
return true;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
patrick mchardy | patrick mchardy | 16 | 76.19% | 1 | 20.00% |
jan engelhardt | jan engelhardt | 5 | 23.81% | 4 | 80.00% |
| Total | 21 | 100.00% | 5 | 100.00% |
static struct xt_match comment_mt_reg __read_mostly = {
.name = "comment",
.revision = 0,
.family = NFPROTO_UNSPEC,
.match = comment_mt,
.matchsize = sizeof(struct xt_comment_info),
.me = THIS_MODULE,
};
static int __init comment_mt_init(void)
{
return xt_register_match(&comment_mt_reg);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
patrick mchardy | patrick mchardy | 11 | 68.75% | 2 | 40.00% |
jan engelhardt | jan engelhardt | 4 | 25.00% | 2 | 40.00% |
harald welte | harald welte | 1 | 6.25% | 1 | 20.00% |
| Total | 16 | 100.00% | 5 | 100.00% |
static void __exit comment_mt_exit(void)
{
xt_unregister_match(&comment_mt_reg);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
patrick mchardy | patrick mchardy | 9 | 60.00% | 2 | 40.00% |
jan engelhardt | jan engelhardt | 4 | 26.67% | 2 | 40.00% |
harald welte | harald welte | 2 | 13.33% | 1 | 20.00% |
| Total | 15 | 100.00% | 5 | 100.00% |
module_init(comment_mt_init);
module_exit(comment_mt_exit);
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
patrick mchardy | patrick mchardy | 92 | 64.79% | 4 | 36.36% |
harald welte | harald welte | 29 | 20.42% | 1 | 9.09% |
jan engelhardt | jan engelhardt | 21 | 14.79% | 6 | 54.55% |
| Total | 142 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.