Module Name: src Committed By: christos Date: Sun Feb 26 21:50:05 UTC 2012
Modified Files: src/usr.sbin/npf/npfctl: npf_build.c npf_data.c npf_parse.y npf_var.c npf_var.h npfctl.h Log Message: - make each element of a variable hold a type - change get_type to take an index, so we can get the individual types of each element (since primitive elements can be in lists) - make port_range primitive - add a routine to convert a variable of primitives to a variable containing - only port ranges. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/npf/npfctl/npf_build.c cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/npf/npfctl/npf_data.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/npf/npfctl/npf_parse.y cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/npf/npfctl/npf_var.c cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/npf/npfctl/npf_var.h cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/npf/npfctl/npfctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.