[Top][All Lists]

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

[lwip-devel] [patch #9927] SNMP Manager support

From: Indan Zupancic
Subject: [lwip-devel] [patch #9927] SNMP Manager support
Date: Fri, 24 Apr 2020 11:27:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36


                 Summary: SNMP Manager support
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: indan
            Submitted on: Fri 24 Apr 2020 05:27:39 PM CEST
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



This patch adds SNMP v1/v2c/v3 manager support to lwIP.

Manager support and agent support can both be enabled at the same time.

This implementation is tested for v1, v2c and v3. Agent support is also fully
tested. Harrold's SNMP bugfix patches are required for proper operation.

No sample code is added to either snmp_netconn.c, nor snmp_raw.c. This is
because we want both agent and manager support handled in the same thread, but
not in lwIP's tcpip thread. We define SNMP_NETCONN to enable thread-safety,
but in our own thread code we use the raw API with either LOCK_TCPIP_CORE() or
via tcpip_callback(), depending on LWIP_TCPIP_CORE_LOCKING.

(There are some tiny unrelated changes in snmp_traps.c which we need for a
platform specific custom modification, because we use multiple interfaces and
can't use snmp_get_local_ip_for_dst. We would appreciate it if those were
merged too, to reduce our diff with upstream.)


File Attachments:

Date: Fri 24 Apr 2020 05:27:39 PM CEST  Name: mep_lwip_snmp_manager.patch 
Size: 57KiB   By: indan



Reply to this item at:


  Message sent via Savannah

reply via email to

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