cvs commit: src/sys/netinet ip_input.c ip_output.c src/sys/net if_ethersubr.c src/sys/net/ipfw ip_fw2.c ip_fw2.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun Sep 7 03:05:33 PDT 2008
sephe 2008/09/07 03:03:45 PDT
DragonFly src repository
Modified files:
sys/netinet ip_input.c ip_output.c
sys/net if_ethersubr.c
sys/net/ipfw ip_fw2.c ip_fw2.h
Log:
Let ipfw_chk() return IP_FW_{PASS,DENY,DUMMYNET,TEE,DIVERT} and the caller
proceeds according to the return value in well strutured switch block. The
additional information related to the return value (e.g. pipe/queue number
of IP_FW_DUMMYNET) is saved in ip_fw_args.cookie.
Idea-from: FreeBSD
Revision Changes Path
1.99 +139 -126 src/sys/netinet/ip_input.c
1.57 +70 -67 src/sys/netinet/ip_output.c
1.86 +20 -13 src/sys/net/if_ethersubr.c
1.79 +28 -25 src/sys/net/ipfw/ip_fw2.c
1.15 +18 -4 src/sys/net/ipfw/ip_fw2.h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.98&r2=1.99&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_output.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.85&r2=1.86&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.c.diff?r1=1.78&r2=1.79&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.h.diff?r1=1.14&r2=1.15&f=u
More information about the Commits
mailing list