pknock: rename struct ipt_pknock -> xt_pknock_mtinfo

Streamline symbols; use xt_*_mtinfo as other modules do.
This commit is contained in:
Jan Engelhardt
2009-10-03 00:00:37 +02:00
parent 28ecf45548
commit 628d137f12
3 changed files with 39 additions and 41 deletions

View File

@@ -27,7 +27,7 @@
#define DEBUG 1
struct ipt_pknock {
struct xt_pknock_mtinfo {
char rule_name[IPT_PKNOCK_MAX_BUF_LEN + 1];
uint32_t rule_name_len;
char open_secret[IPT_PKNOCK_MAX_PASSWD_LEN + 1];
@@ -40,7 +40,7 @@ struct ipt_pknock {
uint32_t max_time; /* max matching time between ports */
};
struct ipt_pknock_nl_msg {
struct xt_pknock_nl_msg {
char rule_name[IPT_PKNOCK_MAX_BUF_LEN + 1];
uint32_t peer_ip;
};
@@ -63,7 +63,7 @@ struct peer {
#include <linux/proc_fs.h>
struct ipt_pknock_rule {
struct xt_pknock_rule {
struct list_head head;
char rule_name[IPT_PKNOCK_MAX_BUF_LEN + 1];
int rule_name_len;