ifconfig.h (271603) | ifconfig.h (295836) |
---|---|
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 271603 2014-09-14 22:10:35Z bryanv $ | 34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 295836 2016-02-20 11:36:35Z kp $ |
35 */ 36 37#define __constructor __attribute__((constructor)) 38 39struct afswtch; 40struct cmd; 41 42typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); --- 85 unchanged lines hidden (view full) --- 128 129extern struct ifreq ifr; 130extern char name[IFNAMSIZ]; /* name of interface */ 131extern int allmedia; 132extern int supmedia; 133extern int printkeys; 134extern int newaddr; 135extern int verbose; | 35 */ 36 37#define __constructor __attribute__((constructor)) 38 39struct afswtch; 40struct cmd; 41 42typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp); --- 85 unchanged lines hidden (view full) --- 128 129extern struct ifreq ifr; 130extern char name[IFNAMSIZ]; /* name of interface */ 131extern int allmedia; 132extern int supmedia; 133extern int printkeys; 134extern int newaddr; 135extern int verbose; |
136extern int printifname; |
|
136 137void setifcap(const char *, int value, int s, const struct afswtch *); 138 139void Perror(const char *cmd); 140void printb(const char *s, unsigned value, const char *bits); 141 142void ifmaybeload(const char *name); 143 --- 13 unchanged lines hidden --- | 137 138void setifcap(const char *, int value, int s, const struct afswtch *); 139 140void Perror(const char *cmd); 141void printb(const char *s, unsigned value, const char *bits); 142 143void ifmaybeload(const char *name); 144 --- 13 unchanged lines hidden --- |