PERFORCE change 149917 for review
Sam Leffler
sam at FreeBSD.org
Tue Sep 16 22:25:42 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149917
Change 149917 by sam at sam_ebb on 2008/09/16 22:25:03
expose if_clone_destroyif
Affected files ...
.. //depot/projects/vap/sys/net/if_clone.c#8 edit
.. //depot/projects/vap/sys/net/if_clone.h#7 edit
Differences ...
==== //depot/projects/vap/sys/net/if_clone.c#8 (text+ko) ====
@@ -54,7 +54,6 @@
static void if_clone_free(struct if_clone *ifc);
static int if_clone_createif(struct if_clone *ifc, char *name, size_t len,
enum uio_seg as, caddr_t params);
-static int if_clone_destroyif(struct if_clone *ifc, struct ifnet *ifp);
static struct mtx if_cloners_mtx;
static int if_cloners_count;
@@ -218,7 +217,7 @@
/*
* Destroy a clone network interface.
*/
-static int
+int
if_clone_destroyif(struct if_clone *ifc, struct ifnet *ifp)
{
int err;
==== //depot/projects/vap/sys/net/if_clone.h#7 (text+ko) ====
@@ -79,6 +79,7 @@
int if_clone_create(char *, size_t, caddr_t);
int if_clone_create_sys(char *, size_t, void *);
int if_clone_destroy(const char *);
+int if_clone_destroyif(struct if_clone *, struct ifnet *);
int if_clone_list(struct if_clonereq *);
int ifc_name2unit(const char *name, int *unit);
More information about the p4-projects
mailing list