Date: Mon, 15 Mar 2010 17:14:27 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ipfw dummynet.c src/sys/netinet ip_fw.h src/sys/netinet/ipfw ip_dn_io.c ip_dn_private.h ip_dummynet.c ip_fw2.c ip_fw_dynamic.c ip_fw_log.c Message-ID: <201003151729.o2FHTm7T072424@repoman.freebsd.org>
index | next in thread | raw e-mail
luigi 2010-03-15 17:14:27 UTC
FreeBSD src repository
Modified files:
sbin/ipfw dummynet.c
sys/netinet ip_fw.h
sys/netinet/ipfw ip_dn_io.c ip_dn_private.h ip_dummynet.c
ip_fw2.c ip_fw_dynamic.c ip_fw_log.c
Log:
SVN rev 205173 on 2010-03-15 17:14:27Z by luigi
+ implement (two lines) the kernel side of 'lookup dscp N' to use the
dscp as a search key in table lookups;
+ (re)implement a sysctl variable to control the expire frequency of
pipes and queues when they become empty;
+ add 'queue number' as optional part of the flow_id. This can be
enabled with the command
queue X config mask queue ...
and makes it possible to support priority-based schedulers, where
packets should be grouped according to the priority and not some
fields in the 5-tuple.
This is implemented as follows:
- redefine a field in the ipfw_flow_id (in sys/netinet/ip_fw.h) but
without changing the size or shape of the structure, so there are
no ABI changes. On passing, also document how other fields are
used, and remove some useless assignments in ip_fw2.c
- implement small changes in the userland code to set/read the field;
- revise the functions in ip_dummynet.c to manipulate masks so they
also handle the additional field;
There are no ABI changes in this commit.
Revision Changes Path
1.17 +13 -4 src/sbin/ipfw/dummynet.c
1.138 +9 -6 src/sys/netinet/ip_fw.h
1.2 +9 -2 src/sys/netinet/ipfw/ip_dn_io.c
1.3 +5 -1 src/sys/netinet/ipfw/ip_dn_private.h
1.27 +30 -22 src/sys/netinet/ipfw/ip_dummynet.c
1.42 +14 -7 src/sys/netinet/ipfw/ip_fw2.c
1.8 +1 -1 src/sys/netinet/ipfw/ip_fw_dynamic.c
1.9 +1 -1 src/sys/netinet/ipfw/ip_fw_log.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003151729.o2FHTm7T072424>
