mibII.h (146525) | mibII.h (150920) |
---|---|
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/mibII.h,v 1.14 2005/05/23 09:03:38 brandt_h Exp $ | 29 * $Begemot: bsnmp/snmp_mibII/mibII.h,v 1.15 2005/06/09 12:36:53 brandt_h Exp $ |
30 * 31 * Implementation of the interfaces and IP groups of MIB-II. 32 */ 33#include <sys/param.h> 34#include <sys/sysctl.h> 35#include <sys/socket.h> 36#include <sys/sockio.h> 37#include <sys/syslog.h> --- 187 unchanged lines hidden (view full) --- 225struct mibarp *mib_find_arp(const struct mibif *, struct in_addr); 226 227/* update arp table */ 228void mib_arp_update(void); 229 230/* fetch routing table */ 231u_char *mib_fetch_rtab(int af, int info, int arg, size_t *lenp); 232 | 30 * 31 * Implementation of the interfaces and IP groups of MIB-II. 32 */ 33#include <sys/param.h> 34#include <sys/sysctl.h> 35#include <sys/socket.h> 36#include <sys/sockio.h> 37#include <sys/syslog.h> --- 187 unchanged lines hidden (view full) --- 225struct mibarp *mib_find_arp(const struct mibif *, struct in_addr); 226 227/* update arp table */ 228void mib_arp_update(void); 229 230/* fetch routing table */ 231u_char *mib_fetch_rtab(int af, int info, int arg, size_t *lenp); 232 |
233/* process routing message */ 234void mib_sroute_process(struct rt_msghdr *, struct sockaddr *, 235 struct sockaddr *, struct sockaddr *); 236 237/* send a routing message */ 238void mib_send_rtmsg(struct rt_msghdr *, struct sockaddr *, 239 struct sockaddr *, struct sockaddr *); 240 |
|
233/* extract addresses from routing message */ 234void mib_extract_addrs(int, u_char *, struct sockaddr **); | 241/* extract addresses from routing message */ 242void mib_extract_addrs(int, u_char *, struct sockaddr **); |
243 244/* fetch routing table */ 245int mib_fetch_route(void); |
|