Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b560b44 authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: substitute temporary defines by final name

parent de74c169
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -182,8 +182,6 @@ struct xt_counters_info {

#include <linux/netdevice.h>

#define xt_match_param xt_action_param
#define xt_target_param xt_action_param
/**
 * struct xt_action_param - parameters for matches/targets
 *
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#include <linux/netfilter_bridge/ebt_802_3.h>

static bool
ebt_802_3_mt(const struct sk_buff *skb, const struct xt_match_param *par)
ebt_802_3_mt(const struct sk_buff *skb, const struct xt_action_param *par)
{
	const struct ebt_802_3_info *info = par->matchinfo;
	const struct ebt_802_3_hdr *hdr = ebt_802_3_hdr(skb);
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ static int get_ip_src(const struct sk_buff *skb, __be32 *addr)
}

static bool
ebt_among_mt(const struct sk_buff *skb, const struct xt_match_param *par)
ebt_among_mt(const struct sk_buff *skb, const struct xt_action_param *par)
{
	const struct ebt_among_info *info = par->matchinfo;
	const char *dmac, *smac;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
#include <linux/netfilter_bridge/ebt_arp.h>

static bool
ebt_arp_mt(const struct sk_buff *skb, const struct xt_match_param *par)
ebt_arp_mt(const struct sk_buff *skb, const struct xt_action_param *par)
{
	const struct ebt_arp_info *info = par->matchinfo;
	const struct arphdr *ah;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
#include <linux/netfilter_bridge/ebt_arpreply.h>

static unsigned int
ebt_arpreply_tg(struct sk_buff *skb, const struct xt_target_param *par)
ebt_arpreply_tg(struct sk_buff *skb, const struct xt_action_param *par)
{
	const struct ebt_arpreply_info *info = par->targinfo;
	const __be32 *siptr, *diptr;
Loading