netfilter: ebtables: add support for matching ICMP type and code
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sun, 4 Mar 2018 08:28:53 +0000 (09:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 20 Mar 2018 16:24:03 +0000 (17:24 +0100)
commit5adc1668ddc42bb44fd6d006cacad74ed0cbf49d
treeefcd9577e837f6a224e81b09ee150aa9d4d857b8
parent20710b3b81895c89e92bcc32ce85c0bede1171f8
netfilter: ebtables: add support for matching ICMP type and code

We already have ICMPv6 type/code matches. This adds support for IPv4 ICMP
matches in the same way.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter_bridge/ebt_ip.h
net/bridge/netfilter/ebt_ip.c