|
@@ -838,6 +838,7 @@ static struct xt_match hashlimit_mt_reg[] __read_mostly = {
|
|
.family = NFPROTO_IPV4,
|
|
.family = NFPROTO_IPV4,
|
|
.match = hashlimit_mt_v1,
|
|
.match = hashlimit_mt_v1,
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo1),
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo1),
|
|
|
|
+ .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
|
|
.checkentry = hashlimit_mt_check_v1,
|
|
.checkentry = hashlimit_mt_check_v1,
|
|
.destroy = hashlimit_mt_destroy_v1,
|
|
.destroy = hashlimit_mt_destroy_v1,
|
|
.me = THIS_MODULE,
|
|
.me = THIS_MODULE,
|
|
@@ -848,6 +849,7 @@ static struct xt_match hashlimit_mt_reg[] __read_mostly = {
|
|
.family = NFPROTO_IPV4,
|
|
.family = NFPROTO_IPV4,
|
|
.match = hashlimit_mt,
|
|
.match = hashlimit_mt,
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo2),
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo2),
|
|
|
|
+ .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
|
|
.checkentry = hashlimit_mt_check,
|
|
.checkentry = hashlimit_mt_check,
|
|
.destroy = hashlimit_mt_destroy,
|
|
.destroy = hashlimit_mt_destroy,
|
|
.me = THIS_MODULE,
|
|
.me = THIS_MODULE,
|
|
@@ -859,6 +861,7 @@ static struct xt_match hashlimit_mt_reg[] __read_mostly = {
|
|
.family = NFPROTO_IPV6,
|
|
.family = NFPROTO_IPV6,
|
|
.match = hashlimit_mt_v1,
|
|
.match = hashlimit_mt_v1,
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo1),
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo1),
|
|
|
|
+ .usersize = offsetof(struct xt_hashlimit_mtinfo1, hinfo),
|
|
.checkentry = hashlimit_mt_check_v1,
|
|
.checkentry = hashlimit_mt_check_v1,
|
|
.destroy = hashlimit_mt_destroy_v1,
|
|
.destroy = hashlimit_mt_destroy_v1,
|
|
.me = THIS_MODULE,
|
|
.me = THIS_MODULE,
|
|
@@ -869,6 +872,7 @@ static struct xt_match hashlimit_mt_reg[] __read_mostly = {
|
|
.family = NFPROTO_IPV6,
|
|
.family = NFPROTO_IPV6,
|
|
.match = hashlimit_mt,
|
|
.match = hashlimit_mt,
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo2),
|
|
.matchsize = sizeof(struct xt_hashlimit_mtinfo2),
|
|
|
|
+ .usersize = offsetof(struct xt_hashlimit_mtinfo2, hinfo),
|
|
.checkentry = hashlimit_mt_check,
|
|
.checkentry = hashlimit_mt_check,
|
|
.destroy = hashlimit_mt_destroy,
|
|
.destroy = hashlimit_mt_destroy,
|
|
.me = THIS_MODULE,
|
|
.me = THIS_MODULE,
|