]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Extend rule priorities into negative numbers
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 18 Nov 2011 16:58:18 +0000 (11:58 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 18 Nov 2011 16:58:18 +0000 (11:58 -0500)
commitf6e80a713f8a3029b1ea4b557db06bdad2649dc9
tree3e41c28cc4747b3ddcd238e3e29ada222a0b67d3
parentea7c73a76f63a88a34bc06649f3d7f934fd0a18f
Extend rule priorities into negative numbers

So far rules' priorities have only been valid in the range [0,1000].
Now I am extending their priority into the range [-1000, 1000] for subsequently
being able to sort rules and the access of (jumps into) chains following
priorities.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/conf/nwfilter_conf.c
src/conf/nwfilter_conf.h
src/nwfilter/nwfilter_ebiptables_driver.c
src/nwfilter/nwfilter_ebiptables_driver.h