ifconfig.h (77217) | ifconfig.h (77385) |
---|---|
1/* 2 * Copyright (c) 1997 Peter Wemm. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 27 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * so there! 33 * | 1/* 2 * Copyright (c) 1997 Peter Wemm. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 27 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * so there! 33 * |
34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 77217 2001-05-26 09:27:08Z phk $ | 34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 77385 2001-05-29 09:13:44Z phk $ |
35 */ 36 37extern struct ifreq ifr; 38 39extern char name[32]; /* name of interface */ 40extern int allmedia; | 35 */ 36 37extern struct ifreq ifr; 38 39extern char name[32]; /* name of interface */ 40extern int allmedia; |
41extern int supmedia; |
|
41struct afswtch; 42 43extern void setmedia(const char *, int, int, const struct afswtch *rafp); 44extern void setmediaopt(const char *, int, int, const struct afswtch *rafp); 45extern void unsetmediaopt(const char *, int, int, const struct afswtch *rafp); 46extern void media_status(int s, struct rt_addrinfo *); 47 48extern void setvlantag(const char *, int, int, const struct afswtch *rafp); --- 17 unchanged lines hidden --- | 42struct afswtch; 43 44extern void setmedia(const char *, int, int, const struct afswtch *rafp); 45extern void setmediaopt(const char *, int, int, const struct afswtch *rafp); 46extern void unsetmediaopt(const char *, int, int, const struct afswtch *rafp); 47extern void media_status(int s, struct rt_addrinfo *); 48 49extern void setvlantag(const char *, int, int, const struct afswtch *rafp); --- 17 unchanged lines hidden --- |