Date: Fri, 20 Feb 2009 00:39:39 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ipfw Makefile altq.c dummynet.c ipfw.8 ipfw2.c ipfw2.h ipv6.c main.c nat.c Message-ID: <200902200039.n1K0dhcO051983@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2009-02-20 00:39:39 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sbin/ipfw Makefile ipfw.8 ipfw2.c
Added files: (Branch: RELENG_7)
sbin/ipfw altq.c dummynet.c ipfw2.h ipv6.c main.c
nat.c
Log:
SVN rev 188836 on 2009-02-20 00:39:39Z by luigi
MFC: sync the ipfw code with the version in HEAD.
The only new feature is that now one can write
"table all {flush | list}" to act on all tables.
Just for the records, there is one difference which probably
has no practical importance; two "tos" flags are represented
differently now:
@@ -182,8 +182,8 @@ static struct _s_x f_iptos[] = {
{ "throughput", IPTOS_THROUGHPUT},
{ "reliability", IPTOS_RELIABILITY},
{ "mincost", IPTOS_MINCOST},
- { "congestion", IPTOS_CE},
- { "ecntransport", IPTOS_ECT},
+ { "congestion", IPTOS_ECN_CE},
+ { "ecntransport", IPTOS_ECN_ECT0},
{ "ip tos option", 0},
{ NULL, 0 }
};
IPTOS_ECT = IPTOS_ECN_ECT0 = 2 so 'ecntransport' is the same.
IPTOS_CE = 1, IPTOS_ECN_CE = 3 so 'congestion' is represented by a
different codepoint, but this also reflects a different specification
(RFC3168 obsoletes RFC2481) so the change is just adopting the new
spec.
Revision Changes Path
1.14.10.1 +2 -2 src/sbin/ipfw/Makefile
1.1.2.1 +150 -0 src/sbin/ipfw/altq.c (new)
1.5.2.1 +719 -0 src/sbin/ipfw/dummynet.c (new)
1.203.2.10 +298 -79 src/sbin/ipfw/ipfw.8
1.108.2.13 +233 -2888 src/sbin/ipfw/ipfw2.c
1.6.2.1 +270 -0 src/sbin/ipfw/ipfw2.h (new)
1.1.2.1 +501 -0 src/sbin/ipfw/ipv6.c (new)
1.1.2.1 +539 -0 src/sbin/ipfw/main.c (new)
1.3.2.1 +940 -0 src/sbin/ipfw/nat.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902200039.n1K0dhcO051983>
