ifconfig.h (177799) | ifconfig.h (189096) |
---|---|
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 177799 2008-03-31 15:38:07Z sam $ | 34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 189096 2009-02-27 00:31:34Z rpaulo $ |
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); --- 93 unchanged lines hidden (view full) --- 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(const char *name); 142 143typedef void clone_callback_func(int, struct ifreq *); | 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); --- 93 unchanged lines hidden (view full) --- 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(const char *name); 142 143typedef void clone_callback_func(int, struct ifreq *); |
144void clone_setcallback(clone_callback_func *); | 144void clone_setdefcallback(const char *, clone_callback_func *); |
145 146/* 147 * XXX expose this so modules that neeed to know of any pending 148 * operations on ifmedia can avoid cmd line ordering confusion. 149 */ 150struct ifmediareq *ifmedia_getstate(int s); | 145 146/* 147 * XXX expose this so modules that neeed to know of any pending 148 * operations on ifmedia can avoid cmd line ordering confusion. 149 */ 150struct ifmediareq *ifmedia_getstate(int s); |