linux_mib.h revision 165687
150465Smarcel/*- 250465Smarcel * Copyright (c) 1999 Marcel Moolenaar 350465Smarcel * All rights reserved. 450465Smarcel * 550465Smarcel * Redistribution and use in source and binary forms, with or without 650465Smarcel * modification, are permitted provided that the following conditions 750465Smarcel * are met: 850465Smarcel * 1. Redistributions of source code must retain the above copyright 950465Smarcel * notice, this list of conditions and the following disclaimer 1050465Smarcel * in this position and unchanged. 1150465Smarcel * 2. Redistributions in binary form must reproduce the above copyright 1250465Smarcel * notice, this list of conditions and the following disclaimer in the 1350465Smarcel * documentation and/or other materials provided with the distribution. 1450465Smarcel * 3. The name of the author may not be used to endorse or promote products 1565067Smarcel * derived from this software without specific prior written permission. 1650465Smarcel * 1750465Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1850465Smarcel * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1950465Smarcel * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2050465Smarcel * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2150465Smarcel * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2250465Smarcel * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2350465Smarcel * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2450465Smarcel * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2550465Smarcel * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2650465Smarcel * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2750465Smarcel * 2850480Speter * $FreeBSD: head/sys/compat/linux/linux_mib.h 165687 2006-12-31 12:39:10Z netchild $ 2950465Smarcel */ 3050465Smarcel 3150465Smarcel#ifndef _LINUX_MIB_H_ 3250465Smarcel#define _LINUX_MIB_H_ 3350465Smarcel 34112206Sjhbvoid linux_get_osname(struct thread *td, char *dst); 35112206Sjhbint linux_set_osname(struct thread *td, char *osname); 3650465Smarcel 37112206Sjhbvoid linux_get_osrelease(struct thread *td, char *dst); 38112206Sjhbint linux_set_osrelease(struct thread *td, char *osrelease); 3950465Smarcel 40112206Sjhbint linux_get_oss_version(struct thread *td); 41112206Sjhbint linux_set_oss_version(struct thread *td, int oss_version); 4250465Smarcel 43165687Snetchildint linux_use26(struct thread *td); 44165687Snetchild 4550465Smarcel#endif /* _LINUX_MIB_H_ */ 46