ipfw3: func to check if val exists in tbl
authorBill Yuan <bycn82@leaf.dragonflybsd.org>
Thu, 1 Oct 2015 03:12:35 +0000 (11:12 +0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 6 Oct 2015 18:08:38 +0000 (11:08 -0700)
commite1615a25016fc2abe3baadeb23e31b6eabd8a871
tree11fef1c30edf0abfb34f72163083671e0b35ab09
parentfc6b5ee0140a2897c0347e5cb1f12999101d3076
ipfw3: func to check if val exists in tbl

usage:
ipfw3 table <id> test <type> <val>
output:
YES, <val> exists in table <id>
NO, <val> not exists in table <id>
sbin/ipfw3/ipfw3.c
sys/net/ipfw3/ip_fw3.c