diff options
author | thompsa <thompsa@FreeBSD.org> | 2006-07-10 05:24:06 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2006-07-10 05:24:06 +0000 |
commit | c7604969e5fd27ae0ce13cce2ddd013000845214 (patch) | |
tree | b7337cc2102c8842eba767151467f0c0a751e636 /sys/net | |
parent | f6ff2e99e6cc5cace1d15cec1a84ca6802752fc5 (diff) | |
download | FreeBSD-src-c7604969e5fd27ae0ce13cce2ddd013000845214.zip FreeBSD-src-c7604969e5fd27ae0ce13cce2ddd013000845214.tar.gz |
Catch up with the revised network interface cloning which takes an optional
opaque parameter that can specify configuration parameters.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index 10c0065..3875689 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; |