Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 11:44:20 -0700 (PDT)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 38431 for review
Message-ID:  <200309221844.h8MIiKM3024358@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=38431

Change 38431 by sam@sam_ebb on 2003/09/22 11:43:44

	Nuke pfil_head from protosw entries; no longer needed.
	
	Pointed out by: "Max Laier" <max@love2party.net>

Affected files ...

.. //depot/projects/netperf/sys/netinet/ip_output.c#6 edit
.. //depot/projects/netperf/sys/netinet6/ip6protosw.h#2 edit
.. //depot/projects/netperf/sys/sys/protosw.h#2 edit

Differences ...

==== //depot/projects/netperf/sys/netinet/ip_output.c#6 (text+ko) ====

@@ -65,6 +65,10 @@
 #include <netinet/in_var.h>
 #include <netinet/ip_var.h>
 
+#ifdef PFIL_HOOKS
+#include <net/pfil.h>
+#endif
+
 #include <machine/in_cksum.h>
 
 static MALLOC_DEFINE(M_IPMOPTS, "ip_moptions", "internet multicast options");

==== //depot/projects/netperf/sys/netinet6/ip6protosw.h#2 (text+ko) ====

@@ -72,11 +72,6 @@
 #define _NETINET6_IP6PROTOSW_H_
 
 /*
- * For pfil_head structure.
- */
-#include <net/pfil.h>
-
-/*
  * Protocol switch table for IPv6.
  * All other definitions should refer to sys/protosw.h
  */
@@ -153,7 +148,6 @@
 	void	(*pr_drain)		/* flush any excess space possible */
 			__P((void));
 	struct	pr_usrreqs *pr_usrreqs;	/* supersedes pr_usrreq() */
-	struct	pfil_head	pr_pfh;
 };
 
 #ifdef _KERNEL

==== //depot/projects/netperf/sys/sys/protosw.h#2 (text+ko) ====

@@ -37,11 +37,6 @@
 #ifndef _SYS_PROTOSW_H_
 #define _SYS_PROTOSW_H_
 
-/*
- * For pfil_head structure.
- */
-#include <net/pfil.h>
-
 /* Forward declare these structures referenced from prototypes below. */
 struct mbuf;
 struct thread;
@@ -107,7 +102,6 @@
 	pr_drain_t *pr_drain;		/* flush any excess space possible */
 
 	struct	pr_usrreqs *pr_usrreqs;	/* supersedes pr_usrreq() */
-	struct	pfil_head	pr_pfh;
 };
 /*#endif*/
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309221844.h8MIiKM3024358>