[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Ti
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration |
Date: |
Tue, 16 Feb 2010 13:43:19 +0000 |
On Tue, 2010-02-16 at 08:19 -0500, Yigal Hochberg wrote:
>
> 1. snmp agent protocol (BER functions + parsing snmp messages and
> responding
> to them).
> 2. access to ipstack mib-2 information. (how to get mib-2 related
> information maintined by the ipstack).
>
> Currently LWIP_SNMP contorls all code generated related to (1) and
> (2).
> I would like ot make each part independet, controlled by a spearate
> compile-time config.
I'm still not quite sure why you would ever need
#if defined(LWIP_SNMP) || defined(LWIP_SNMP_MIB2)
as in your previous example. Surely code in lwIP will either be part of
the SNMP agent protocol (and so controlled by LWIP_SNMP) or be the MIB-2
interface (and so controlled by LWIP_SNMP_MIB2) but not both (which
would require LWIP_SNMP || LWIP_SNMP_MIB2).
I assume it's the case that it doesn't make much sense to have LWIP_SNMP
defined without LWIP_SNMP_MIB2. If that's right, we should have a
compile time check that this dependency is met as with some of the other
options in src/core/init.c
Kieran
- [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Yigal Hochberg, 2010/02/15
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Kieran Mansley, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Yigal Hochberg, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Kieran Mansley, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration,
Kieran Mansley <=
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Mike Kleshov, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Kieran Mansley, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, address@hidden, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, Yigal Hochberg, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, address@hidden, 2010/02/16
- Re: [lwip-users] Lwip SNMP support: adding LWIP_IPSTACK_MIB2 Compile-Time configuration, address@hidden, 2010/02/16