snmp_mibII.h (142810) | snmp_mibII.h (146525) |
---|---|
1/* 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Author: Harti Brandt <harti@freebsd.org> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * Copyright (c) 2001-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Author: Harti Brandt <harti@freebsd.org> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Begemot: bsnmp/snmp_mibII/snmp_mibII.h,v 1.16 2005/02/25 16:04:43 brandt_h Exp $ | 29 * $Begemot: bsnmp/snmp_mibII/snmp_mibII.h,v 1.17 2005/05/23 09:03:43 brandt_h Exp $ |
30 * 31 * Implementation of the interfaces and IP groups of MIB-II. 32 */ 33#ifndef snmp_mibII_h_ 34#define snmp_mibII_h_ 35 36/* forward declaration */ 37struct mibif; --- 15 unchanged lines hidden (view full) --- 53struct mibif { 54 TAILQ_ENTRY(mibif) link; 55 u_int flags; 56 u_int index; /* the logical ifindex */ 57 u_int sysindex; 58 char name[IFNAMSIZ]; 59 char descr[256]; 60 struct ifmibdata mib; | 30 * 31 * Implementation of the interfaces and IP groups of MIB-II. 32 */ 33#ifndef snmp_mibII_h_ 34#define snmp_mibII_h_ 35 36/* forward declaration */ 37struct mibif; --- 15 unchanged lines hidden (view full) --- 53struct mibif { 54 TAILQ_ENTRY(mibif) link; 55 u_int flags; 56 u_int index; /* the logical ifindex */ 57 u_int sysindex; 58 char name[IFNAMSIZ]; 59 char descr[256]; 60 struct ifmibdata mib; |
61 u_int32_t mibtick; | 61 uint64_t mibtick; |
62 void *specmib; 63 size_t specmiblen; 64 u_char *physaddr; 65 u_int physaddrlen; 66 int has_connector; 67 int trap_enable; | 62 void *specmib; 63 size_t specmiblen; 64 u_char *physaddr; 65 u_int physaddrlen; 66 int has_connector; 67 int trap_enable; |
68 u_int32_t counter_disc; | 68 uint64_t counter_disc; |
69 70 /* 71 * This is needed to handle interface type specific information 72 * in sub-modules. It contains a function pointer which handles 73 * notifications and a data pointer to arbitrary data. 74 * Should be set via the mibif_notify function. 75 */ 76 mibif_notify_f xnotify; --- 90 unchanged lines hidden --- | 69 70 /* 71 * This is needed to handle interface type specific information 72 * in sub-modules. It contains a function pointer which handles 73 * notifications and a data pointer to arbitrary data. 74 * Should be set via the mibif_notify function. 75 */ 76 mibif_notify_f xnotify; --- 90 unchanged lines hidden --- |