Date: Sat, 5 Dec 2009 12:51:51 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in.h ip_fw.h raw_ip.c src/sys/netinet/ipfw ip_fw2.c Message-ID: <200912051252.nB5Cq5qT019892@repoman.freebsd.org>
index | next in thread | raw e-mail
luigi 2009-12-05 12:51:51 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/netinet in.h ip_fw.h raw_ip.c
sys/netinet/ipfw ip_fw2.c
Log:
SVN rev 200119 on 2009-12-05 12:51:51Z by luigi
some simple MFC:
r200020:
change the type of the opcode from enum *:8 to u_int8_t
so the size and alignment of the ipfw_insn is not compiler dependent.
No changes in the code generated by gcc.
r200023:
Add new sockopt names for ipfw and dummynet.
This commit is just grabbing entries for the new names
that will be used in the future, so you don't need to
rebuild anything now.
r200034
Dispatch sockopt calls to ipfw and dummynet
using the new option numbers, IP_FW3 and IP_DUMMYNET3.
Right now the modules return an error if called with those arguments
so there is no danger of unwanted behaviour.
r200040
- initialize src_ip in the main loop to prevent a compiler warning
(gcc 4.x under linux, not sure how real is the complaint).
- rename a macro argument to prevent name clashes.
- add the macro name on a couple of #endif
- add a blank line for readability.
Revision Changes Path
1.110.2.3 +8 -0 src/sys/netinet/in.h
1.132.2.3 +1 -1 src/sys/netinet/ip_fw.h
1.11.2.4 +8 -5 src/sys/netinet/ipfw/ip_fw2.c
1.220.2.4 +4 -0 src/sys/netinet/raw_ip.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051252.nB5Cq5qT019892>
