1 /* 2 * Interface looking up by ioctl () on Solaris. 3 * Copyright (C) 1999 Kunihiro Ishiguro 4 * 5 * This file is part of Quagga. 6 * 7 * Quagga is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the 9 * Free Software Foundation; either version 2, or (at your option) any 10 * later version. 11 * 12 * Quagga is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License along 18 * with this program; see the file COPYING; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 #ifndef _ZEBRA_IF_IOCTL_SOLARIS_H 23 #define _ZEBRA_IF_IOCTL_SOLARIS_H 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 void lifreq_set_name(struct lifreq *, const char *); 30 int if_get_flags_direct(const char *, uint64_t *, unsigned int af); 31 32 #ifdef __cplusplus 33 } 34 #endif 35 36 #endif /* _ZEBRA_IF_IOCTL_SOLARIS_H */ 37