]> git.ipfire.org Git - thirdparty/iptables.git/commit
icmp: split icmp type printing to header file
authorFlorian Westphal <fw@strlen.de>
Tue, 17 Apr 2018 22:09:04 +0000 (00:09 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Apr 2018 08:18:10 +0000 (10:18 +0200)
commit71a6e372f82b6c50c14c8034a974f3ad5983314d
tree7cc9d9491ac1035f668d11cca7ec186822c51a55
parente67c08880961f64984b396d6e8ad6bad04546253
icmp: split icmp type printing to header file

libebt_ip will get icmp support soon, unify icmp name
mapping a bit so we can re-use this code from libebt_ip.c.

It doesn't seem to be too useful to move to libxtables
(as its icmp specific), so add a hedaer file for this to reduce
copy & paste needs.

Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libip6t_icmp6.c
extensions/libipt_icmp.c
extensions/libxt_icmp.h [new file with mode: 0644]