netfilter: change return types of match functions for ebtables extensions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
19eda879a1
commit
8cc784eec6
11 changed files with 104 additions and 105 deletions
|
@ -207,8 +207,7 @@ struct ebt_match
|
|||
{
|
||||
struct list_head list;
|
||||
const char name[EBT_FUNCTION_MAXNAMELEN];
|
||||
/* 0 == it matches */
|
||||
int (*match)(const struct sk_buff *skb, const struct net_device *in,
|
||||
bool (*match)(const struct sk_buff *skb, const struct net_device *in,
|
||||
const struct net_device *out, const void *matchdata,
|
||||
unsigned int datalen);
|
||||
bool (*check)(const char *tablename, unsigned int hookmask,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue