sysctl.h (126319) | sysctl.h (127052) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)sysctl.h 8.1 (Berkeley) 6/2/93 |
37 * $FreeBSD: head/sys/sys/sysctl.h 126319 2004-02-27 17:13:23Z des $ | 37 * $FreeBSD: head/sys/sys/sysctl.h 127052 2004-03-16 06:53:03Z truckman $ |
38 */ 39 40#ifndef _SYS_SYSCTL_H_ 41#define _SYS_SYSCTL_H_ 42 43#include <sys/queue.h> 44 45struct thread; --- 88 unchanged lines hidden (view full) --- 134 void *oldptr; 135 size_t oldlen; 136 size_t oldidx; 137 int (*oldfunc)(struct sysctl_req *, const void *, size_t); 138 void *newptr; 139 size_t newlen; 140 size_t newidx; 141 int (*newfunc)(struct sysctl_req *, void *, size_t); | 38 */ 39 40#ifndef _SYS_SYSCTL_H_ 41#define _SYS_SYSCTL_H_ 42 43#include <sys/queue.h> 44 45struct thread; --- 88 unchanged lines hidden (view full) --- 134 void *oldptr; 135 size_t oldlen; 136 size_t oldidx; 137 int (*oldfunc)(struct sysctl_req *, const void *, size_t); 138 void *newptr; 139 size_t newlen; 140 size_t newidx; 141 int (*newfunc)(struct sysctl_req *, void *, size_t); |
142 size_t wiredlen; | 142 size_t validlen; |
143}; 144 145SLIST_HEAD(sysctl_oid_list, sysctl_oid); 146 147/* 148 * This describes one "oid" in the MIB tree. Potentially more nodes can 149 * be hidden behind it, expanded by the handler. 150 */ --- 491 unchanged lines hidden --- | 143}; 144 145SLIST_HEAD(sysctl_oid_list, sysctl_oid); 146 147/* 148 * This describes one "oid" in the MIB tree. Potentially more nodes can 149 * be hidden behind it, expanded by the handler. 150 */ --- 491 unchanged lines hidden --- |