summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/FreeBSD/ip_output.c.diffs
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2013-07-19 05:41:57 +0000
committercy <cy@FreeBSD.org>2013-07-19 05:41:57 +0000
commit672af8808c0e7c15f330b401482f9271c2eb3fa6 (patch)
tree225b5acf68c01bc6a260b386c2b2dbf4fa2839e3 /contrib/ipfilter/FreeBSD/ip_output.c.diffs
parent71e82d94e82560b20789833f60056506de34de8b (diff)
downloadFreeBSD-src-672af8808c0e7c15f330b401482f9271c2eb3fa6.zip
FreeBSD-src-672af8808c0e7c15f330b401482f9271c2eb3fa6.tar.gz
As per the developers handbook (5.3.1 step 1), prepare the vendor trees for
import of new ipfilter vendor sources by flattening them. To keep the tags consistent with dist, the tags are also flattened. Approved by: glebius (Mentor)
Diffstat (limited to 'contrib/ipfilter/FreeBSD/ip_output.c.diffs')
-rw-r--r--contrib/ipfilter/FreeBSD/ip_output.c.diffs36
1 files changed, 0 insertions, 36 deletions
diff --git a/contrib/ipfilter/FreeBSD/ip_output.c.diffs b/contrib/ipfilter/FreeBSD/ip_output.c.diffs
deleted file mode 100644
index f1fe9ac..0000000
--- a/contrib/ipfilter/FreeBSD/ip_output.c.diffs
+++ /dev/null
@@ -1,36 +0,0 @@
-*** /sys/netinet/ip_output.c.orig Thu Oct 24 22:27:28 1996
---- /sys/netinet/ip_output.c Tue Feb 18 21:38:23 1997
-***************
-*** 65,70 ****
---- 65,74 ----
- static struct mbuf *ip_insertoptions __P((struct mbuf *, struct mbuf *, int *));
- static void ip_mloopback
- __P((struct ifnet *, struct mbuf *, struct sockaddr_in *));
-+ #if defined(IPFILTER_LKM) || defined(IPFILTER)
-+ extern int fr_check __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
-+ extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
-+ #endif
-
- /*
- * IP output. The packet in mbuf chain m contains a skeletal IP
-***************
-*** 330,335 ****
---- 334,351 ----
- m->m_flags &= ~M_BCAST;
-
- sendit:
-+ #if defined(IPFILTER) || defined(IPFILTER_LKM)
-+ /*
-+ * looks like most checking has been done now...do a filter check
-+ */
-+ if (fr_checkp) {
-+ struct mbuf *m1 = m;
-+
-+ if ((error = (*fr_checkp)(ip, hlen, ifp, 1, &m1)) || !m1)
-+ goto done;
-+ ip = mtod(m = m1, struct ip *);
-+ }
-+ #endif
- /*
- * Check with the firewall...
- */
OpenPOWER on IntegriCloud