summaryrefslogtreecommitdiff
path: root/include/net/tc_act/tc_pedit.h
blob: 29e38d6823df88adb05275c728c052009000c4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __NET_TC_PED_H
#define __NET_TC_PED_H

#include <net/act_api.h>

struct tcf_pedit {
	struct tc_action	common;
	unsigned char		tcfp_nkeys;
	unsigned char		tcfp_flags;
	struct tc_pedit_key	*tcfp_keys;
};
#define to_pedit(a) ((struct tcf_pedit *)a)

#endif /* __NET_TC_PED_H */
626252496311cd122aaa9fbf21ae19e449 (patch) tree1f71a32764f460697a222d870e665af415edfdce /net parentec23189049651b16dc2ffab35a4371dc1f491aca (diff)
netfilter: pkttype: unnecessary to check ipv6 multicast address
Since there's no broadcast address in IPV6, so in ipv6 family, the PACKET_LOOPBACK must be multicast packets, there's no need to check it again. Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')