mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 11:34:57 +02:00
pknock: move struct ipt_pknock_crypto to xt_pknock.c
It is only used in xt_pknock.c, and only once, so also make it an anonymous struct.
This commit is contained in:
@@ -74,15 +74,6 @@ struct ipt_pknock_rule {
|
||||
unsigned long max_time; /* max matching time between ports */
|
||||
};
|
||||
|
||||
#include <linux/crypto.h>
|
||||
|
||||
struct ipt_pknock_crypto {
|
||||
char *algo;
|
||||
struct crypto_hash *tfm;
|
||||
int size;
|
||||
struct hash_desc desc;
|
||||
};
|
||||
|
||||
struct transport_data {
|
||||
uint8_t proto;
|
||||
uint16_t port; /* destination port */
|
||||
|
Reference in New Issue
Block a user