netfilter: ebtables: remove EBT_MATCH and EBT_NOMATCH
authorTaehee Yoo <ap420073@gmail.com>
Sun, 8 Apr 2018 15:00:57 +0000 (00:00 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Apr 2018 08:29:16 +0000 (10:29 +0200)
commitcd9a5a15808403a7895c51b1378168d6c75cf8a6
treed37d943298dab819f2deb30bd5dc399c1bf0ec4a
parente4de6ead16fe607082af87ecd4cce7f9690ea632
netfilter: ebtables: remove EBT_MATCH and EBT_NOMATCH

EBT_MATCH and EBT_NOMATCH are used to change return value.
match functions(ebt_xxx.c) return false when received frame is not matched
and returns true when received frame is matched.
but, EBT_MATCH_ITERATE understands oppositely.
so, to change return value, EBT_MATCH and EBT_NOMATCH are used.
but, we can use operation '!' simply.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_bridge/ebtables.h
net/bridge/netfilter/ebtables.c