Deleted Added
full compact
ifconfig.h (25667) ifconfig.h (44764)
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 * $Id: ifconfig.h,v 1.2 1997/05/10 14:47:35 peter Exp $
34 * $Id: ifconfig.h,v 1.3 1997/05/10 17:14:53 peter Exp $
35 */
36
37extern struct ifreq ifr;
38
39extern char name[32]; /* name of interface */
40extern int allmedia;
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 *);
35 */
36
37extern struct ifreq ifr;
38
39extern char name[32]; /* name of interface */
40extern int allmedia;
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);
49extern void setvlandev(const char *, int, int, const struct afswtch *rafp);
50extern void unsetvlandev(const char *, int, int, const struct afswtch *rafp);
51extern void vlan_status(int s, struct rt_addrinfo *);