Gleb Smirnoff 21d172a3f1 A step in resolving mess with byte ordering for AF_INET. After this change:
- All packets in NETISR_IP queue are in net byte order.
  - ip_input() is entered in net byte order and converts packet
    to host byte order right _after_ processing pfil(9) hooks.
  - ip_output() is entered in host byte order and converts packet
    to net byte order right _before_ processing pfil(9) hooks.
  - ip_fragment() accepts and emits packet in net byte order.
  - ip_forward(), ip_mloopback() use host byte order (untouched actually).
  - ip_fastforward() no longer modifies packet at all (except ip_ttl).
  - Swapping of byte order there and back removed from the following modules:
    pf(4), ipfw(4), enc(4), if_bridge(4).
  - Swapping of byte order added to ipfilter(4), based on __FreeBSD_version
  - __FreeBSD_version bumped.
  - pfil(9) manual page updated.

Reviewed by:	ray, luigi, eri, melifaro
Tested by:	glebius (LE), ray (BE)
2012-10-06 10:02:11 +00:00
..
2009-11-28 23:50:48 +00:00
2012-08-15 22:25:57 +00:00
2012-01-15 13:23:18 +00:00
2012-08-28 19:30:29 +00:00
2012-01-15 13:23:18 +00:00
2011-06-18 13:56:33 +00:00
2012-01-15 13:23:18 +00:00
2009-01-01 02:08:56 +00:00
2009-01-01 02:08:56 +00:00
2011-04-04 17:39:30 +00:00
2010-09-28 03:24:53 +00:00
2012-09-04 12:07:33 +00:00
2012-01-15 13:23:18 +00:00
2009-05-09 19:01:24 +00:00
2011-01-23 12:44:17 +00:00
2012-03-28 20:58:30 +00:00
2012-02-27 18:28:31 +00:00
2011-05-05 02:35:25 +00:00
2012-08-17 02:47:16 +00:00
2012-08-17 02:47:16 +00:00
2012-08-17 02:47:16 +00:00
2009-11-28 23:50:48 +00:00
2010-04-20 17:57:43 +00:00
2011-07-14 21:02:15 +00:00
2009-03-01 04:57:23 +00:00
2009-08-23 08:04:40 +00:00
2012-01-31 13:00:40 +00:00
2012-08-21 17:06:36 +00:00