Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2007 15:54:24 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 113710 for review
Message-ID:  <200701301554.l0UFsOZs092418@repoman.freebsd.org>

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

Change 113710 by piso@piso_newluxor on 2007/01/30 15:53:52

	Switch FragmentIn()'s "struct ip *" arg to a "void *" arg.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#42 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#42 (text+ko) ====

@@ -1126,14 +1126,21 @@
 */
 
 /* Local prototypes */
-static int	FragmentIn(struct libalias *, struct ip *);
+static int	FragmentIn(struct libalias *, void *);
 static int	FragmentOut(struct libalias *, struct ip *);
 
 
 static int
-FragmentIn(struct libalias *la, struct ip *pip)
+FragmentIn(struct libalias *la, void *ptr)
 {
 	struct alias_link *lnk;
+	struct ip *pip;
+#ifdef _KERNEL
+	// XXX - m_pullup()
+	pip = ptr;
+#else
+	pip = ptr;
+#endif
 
 	LIBALIAS_LOCK_ASSERT(la);
 	lnk = FindFragmentIn2(la, pip->ip_src, pip->ip_dst, pip->ip_id);



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