lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #13732] Correctly split SNMP agent, MIB2 change trigg


From: Simon Goldschmidt
Subject: [lwip-devel] [task #13732] Correctly split SNMP agent, MIB2 change triggers and MIB2 implementation
Date: Thu, 03 Sep 2015 18:38:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36

URL:
  <http://savannah.nongnu.org/task/?13732>

                 Summary: Correctly split SNMP agent, MIB2 change triggers and
MIB2 implementation
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Do 03 Sep 2015 18:38:24 GMT
                Category: None
         Should Start On: Do 03 Sep 2015 00:00:00 GMT
   Should be Finished on: Do 03 Sep 2015 00:00:00 GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 0.00

    _______________________________________________________

Details:

The SNMP code is hard to read since it is not cleanly separated (and/or
named).

It consists of the SNMP agent (plus protocol parsing functions), mib2
structure and the integration of the snmp change triggers/callback functions
into the rest of the stack (and the netif drivers).

To clean this up, I'd change the MIB2 triggers to be more portable (i.e. to
integrate a different SNMP agent plus MIB2 into lwIP) and move the rest of
SNMP to a location outside of the core code (it's an application protocol,
after all, not a core component of an IP stack).

That new location would be a new directory next to 'core', 'api' and 'netif'.

Also, mib2 could share some of the counters with LWIP_STATS to prevent the two
drifting apart (and to reduce the code impact of calling multiple incrementing
functions throughout the stack).




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?13732>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]