00001 #if !(__solaris__) 00002 /* 00003 * Copyright (c) 1997 00004 * The Regents of the University of California. All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without 00007 * modification, are permitted provided that: (1) source code distributions 00008 * retain the above copyright notice and this paragraph in its entirety, (2) 00009 * distributions including binary code include the above copyright notice and 00010 * this paragraph in its entirety in the documentation or other materials 00011 * provided with the distribution, and (3) all advertising materials mentioning 00012 * features or use of this software display the following acknowledgement: 00013 * ``This product includes software developed by the University of California, 00014 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 00015 * the University nor the names of its contributors may be used to endorse 00016 * or promote products derived from this software without specific prior 00017 * written permission. 00018 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 00019 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 00020 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00021 * 00022 */ 00023 00024 struct ifaddrlist 00025 { 00026 u_int32_t addr; 00027 char *device; 00028 }; 00029 00030 00031 int 00032 ifaddrlist( 00033 struct ifaddrlist **, 00034 char * 00035 ); 00036 00037 00038 int 00039 set_up_interface( 00040 struct sockaddr_in **, 00041 u_char ** 00042 ); 00043 00044 #endif /* __solaris__ */