freebsd-dev/sys/netinet/ipfw
Luigi Rizzo 0a13f6b1b3 small changes for portability and diff reduction wrt/ FreeBSD 7.
No functional differences.

- use the div64() macro to wrap 64 bit divisions
  (which almost always are 64 / 32 bits) so they are easier
  to handle with compilers or OS that do not have native
  support for 64bit divisions;

- use a local variable for p_numbytes even if not strictly
  necessary on HEAD, as it reduces diffs with FreeBSD7

- in dummynet_send() check that a tag is present before
  dereferencing the pointer.

- add a couple of blank lines for readability near the end of a function

MFC after:	3 days
2009-12-02 15:20:31 +00:00
..
ip_dummynet.c small changes for portability and diff reduction wrt/ FreeBSD 7. 2009-12-02 15:20:31 +00:00
ip_fw2.c Teach an IPv6 to send_pkt() and ipfw_tick(). 2009-12-02 14:32:01 +00:00
ip_fw_nat.c
ip_fw_pfil.c Virtualize the pfil hooks so that different jails may chose different 2009-10-11 05:59:43 +00:00