aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_enc.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2006-07-10 05:24:06 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2006-07-10 05:24:06 +0000
commit07ed9a88c6483403e65f6b3cfb40b6e737259ed9 (patch)
treeb7337cc2102c8842eba767151467f0c0a751e636 /sys/net/if_enc.c
parent1da811ef162bf48ca7446bee758c98e3e5bb61ab (diff)
downloadsrc-07ed9a88c6483403e65f6b3cfb40b6e737259ed9.tar.gz
src-07ed9a88c6483403e65f6b3cfb40b6e737259ed9.zip
Catch up with the revised network interface cloning which takes an optional
opaque parameter that can specify configuration parameters.
Notes
Notes: svn path=/head/; revision=160233
Diffstat (limited to 'sys/net/if_enc.c')
-rw-r--r--sys/net/if_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index 10c0065da35e..387568957aa7 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -85,7 +85,7 @@ struct enc_softc {
static int enc_ioctl(struct ifnet *, u_long, caddr_t);
static int enc_output(struct ifnet *ifp, struct mbuf *m,
struct sockaddr *dst, struct rtentry *rt);
-static int enc_clone_create(struct if_clone *, int);
+static int enc_clone_create(struct if_clone *, int, caddr_t);
static void enc_clone_destroy(struct ifnet *);
IFC_SIMPLE_DECLARE(enc, 1);
@@ -101,7 +101,7 @@ enc_clone_destroy(struct ifnet *ifp)
}
static int
-enc_clone_create(struct if_clone *ifc, int unit)
+enc_clone_create(struct if_clone *ifc, int unit, caddr_t params)
{
struct ifnet *ifp;
struct enc_softc *sc;