PERFORCE change 153914 for review

Sam Leffler sam at FreeBSD.org
Mon Dec 1 13:18:27 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=153914

Change 153914 by sam at sam_ebb on 2008/12/01 21:17:44

	another cloner that requires local TLC

Affected files ...

.. //depot/projects/vap/sys/netinet/ip_carp.c#11 edit

Differences ...

==== //depot/projects/vap/sys/netinet/ip_carp.c#11 (text+ko) ====

@@ -49,6 +49,7 @@
 #include <sys/signalvar.h>
 #include <sys/filio.h>
 #include <sys/sockio.h>
+#include <sys/uio.h>
 
 #include <sys/socket.h>
 #include <sys/vnode.h>
@@ -192,7 +193,8 @@
 		    unsigned char *);
 static void	carp_setroute(struct carp_softc *, int);
 static void	carp_input_c(struct mbuf *, struct carp_header *, sa_family_t);
-static int 	carp_clone_create(struct if_clone *, int, caddr_t);
+static int 	carp_clone_create(struct if_clone *, int, enum uio_seg,
+		    caddr_t);
 static void 	carp_clone_destroy(struct ifnet *);
 static void	carpdetach(struct carp_softc *, int);
 static int	carp_prepare_ad(struct mbuf *, struct carp_softc *,
@@ -382,7 +384,8 @@
 }
 
 static int
-carp_clone_create(struct if_clone *ifc, int unit, caddr_t params)
+carp_clone_create(struct if_clone *ifc, int unit, enum uio_seg as,
+	caddr_t params)
 {
 
 	struct carp_softc *sc;


More information about the p4-projects mailing list