]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r342377:
authorcy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 30 Dec 2018 04:37:49 +0000 (04:37 +0000)
committercy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 30 Dec 2018 04:37:49 +0000 (04:37 +0000)
commit86cc815886aae143342c2b4270ad34075906a0f9
treeb98c94a8caac923513d8f110bcba5f5f4e3a6852
parent71598d44344416d9bf31b3b3416516a7ec904481
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@342607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/contrib/ipfilter/netinet/ip_compat.h
sys/contrib/ipfilter/netinet/ip_fil.h
sys/contrib/ipfilter/netinet/ip_fil_freebsd.c