]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r342377:
authorcy <cy@FreeBSD.org>
Sun, 30 Dec 2018 04:37:49 +0000 (04:37 +0000)
committercy <cy@FreeBSD.org>
Sun, 30 Dec 2018 04:37:49 +0000 (04:37 +0000)
commita55dc08054039e9c4e8d082c79e5924148a5f866
tree5dc106e83d2b83047c0ebf7647cda660272b8dec
parent46e4b0f7f501383811afb76f4c284cb6b7f7b9da
MFC r342377:

Remove NETBSD_PF. NETBSD_PF is a flag that defines whether the pfil(9)
framework is available. pfil(9) has been in FreeBSD since FreeBSD 5
and according to svn log was first committed to HEAD in 2000, therefore
it is safe to say the check is no longer needed in FreeBSD.

pfil(9) first appeared in NetBSD 1.3 (hence the name NETBSD_PF).
Therefore it is safe to say that it is supported by every NetBSD system
today. The framework also exists in illumos.

As ipfilter code is shared and exchanged between FreeBSD and NetBSD, and
at some point in the future illumos too, and as all three platforms have
pfil(9), the redundant NETBSD_PF #defines and #ifdefs are removed.
sys/contrib/ipfilter/netinet/ip_compat.h
sys/contrib/ipfilter/netinet/ip_fil.h
sys/contrib/ipfilter/netinet/ip_fil_freebsd.c