ifconfig.h (194799) | ifconfig.h (228571) |
---|---|
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 194799 2009-06-23 23:49:52Z delphij $ | 34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 228571 2011-12-16 12:16:56Z glebius $ |
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); --- 100 unchanged lines hidden (view full) --- 143typedef void clone_callback_func(int, struct ifreq *); 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); | 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); --- 100 unchanged lines hidden (view full) --- 143typedef void clone_callback_func(int, struct ifreq *); 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); |
151 152void print_vhid(const struct ifaddrs *, const char *); 153 |
|