]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
* Add number:array algorithm lookup method.
authormelifaro <melifaro@FreeBSD.org>
Wed, 30 Jul 2014 14:52:26 +0000 (14:52 +0000)
committermelifaro <melifaro@FreeBSD.org>
Wed, 30 Jul 2014 14:52:26 +0000 (14:52 +0000)
commit4419c812fe0038036e569006b6f17f4558ec53dc
treed29f4d2cb46a4b3d796767400c8c92db273741dd
parent2ca9167fd02752c42cf65b746f61ada05f5541a6
* Add number:array algorithm lookup method.

Kernel changes:
* s/IPFW_TABLE_U32/IPFW_TABLE_NUMBER/
* Force "lookup <port|uid|gid|jid>" to be IPFW_TABLE_NUMBER
* Support "lookup" method for number tables
* Add number:array algorihm (i32 as key, auto-growing).

Userland changes:
* Support named tables in "lookup <tag> Table"
* Fix handling of "table(NAME,val)" case
* Support printing "number" table data.
sbin/ipfw/ipfw2.c
sbin/ipfw/tables.c
sys/netinet/ip_fw.h
sys/netpfil/ipfw/ip_fw2.c
sys/netpfil/ipfw/ip_fw_table.c
sys/netpfil/ipfw/ip_fw_table_algo.c