freebsd-dev/sys/contrib/pf/net
David Malone 1f44b0a1b5 Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD
have already done this, so I have styled the patch on their work:

        1) introduce a ip_newid() static inline function that checks
        the sysctl and then decides if it should return a sequential
        or random IP ID.

        2) named the sysctl net.inet.ip.random_id

        3) IPv6 flow IDs and fragment IDs are now always random.
        Flow IDs and frag IDs are significantly less common in the
        IPv6 world (ie. rarely generated per-packet), so there should
        be smaller performance concerns.

The sysctl defaults to 0 (sequential IP IDs).

Reviewed by:	andre, silby, mlaier, ume
Based on:	NetBSD
MFC after:	2 months
2004-08-14 15:32:40 +00:00
..
if_pflog.c
if_pflog.h
if_pfsync.c Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD 2004-08-14 15:32:40 +00:00
if_pfsync.h
pf_if.c Loopback fix from Henning Brauer: 2004-08-12 13:54:50 +00:00
pf_ioctl.c Loopback fix from Mathieu Sauve-Frankel: 2004-08-12 14:15:42 +00:00
pf_norm.c Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD 2004-08-14 15:32:40 +00:00
pf_osfp.c
pf_subr.c
pf_table.c Initialize s variable early to shut up GCC warnings. 2004-07-28 06:14:44 +00:00
pf.c Loopback fix from Daniel Hartmeier: 2004-08-12 13:59:44 +00:00
pfvar.h Loopback fix from Daniel Hartmeier: 2004-08-12 13:59:44 +00:00