ifconfig.h (144818) | ifconfig.h (148001) |
---|---|
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 144818 2005-04-08 21:37:41Z stefanf $ | 34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 148001 2005-07-14 18:33:21Z rwatson $ |
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); --- 78 unchanged lines hidden (view full) --- 121 struct option *next; 122}; 123void opt_register(struct option *); 124 125extern struct ifreq ifr; 126extern char name[IFNAMSIZ]; /* name of interface */ 127extern int allmedia; 128extern int supmedia; | 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); --- 78 unchanged lines hidden (view full) --- 121 struct option *next; 122}; 123void opt_register(struct option *); 124 125extern struct ifreq ifr; 126extern char name[IFNAMSIZ]; /* name of interface */ 127extern int allmedia; 128extern int supmedia; |
129extern int printkeys; |
|
129extern int printname; 130extern int flags; 131extern int newaddr; 132extern int verbose; 133extern int setipdst; 134 135void setifcap(const char *, int value, int s, const struct afswtch *); 136 137void Perror(const char *cmd); 138void printb(const char *s, unsigned value, const char *bits); 139 140void ifmaybeload(char *name); 141 142void clone_create(void); | 130extern int printname; 131extern int flags; 132extern int newaddr; 133extern int verbose; 134extern int setipdst; 135 136void setifcap(const char *, int value, int s, const struct afswtch *); 137 138void Perror(const char *cmd); 139void printb(const char *s, unsigned value, const char *bits); 140 141void ifmaybeload(char *name); 142 143void clone_create(void); |