History log of /seL4-camkes-master/projects/lwip/src/apps/snmp/snmp_core.c
Revision Date Author Comments
# 653313cb 12-Jan-2018 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met

Add LWIP_ASSERT_CORE_LOCKED() to several more places


# 7eb46286 05-Nov-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix follow-up to [bug #52315] Minor typo in output of MIB compiler
LWIP_SNMP_OBJ_ID_LEN -> SNMP_MAX_OBJ_ID_LEN


# 3ed24085 17-Sep-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Reformat SNMP code using astylerc


# f3c86095 06-Jul-2017 goldsimon <goldsimon@gmx.de>

-Wconversion (still far from finished) and other minor compilation fixes...


# 40df1474 28-Mar-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Advertise SNMPv3 support


# 593b211d 02-Mar-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

A few more SNMPv3 cleanups


# 0065cd91 01-Mar-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Several Win32 compile fixes in SNMP code


# 3b8bb580 01-Mar-2017 Marco <marco.veeneman@schleifenbauer.eu>

Add framework MIB and USM mib if SNMPv3 is enabled.


# d8135f9a 28-Feb-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix bug #50427: SNMP: ifIndex should use netif_get_index()
We have netif_get_index(netif) now


# f6e27940 08-Oct-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Make lwIP compile with clang -Wdocumentation -> several documentation fixes


# 633696c1 27-Sep-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Implement consistent IPx_ADDR_ANYx macro naming between IPv4 and IPv6
- rename IP4_ADDR_ANY to IP4_ADDR_ANY4
- IP4_ADDR_ANY (= IP_ADDR_ANY) is now IPv4 any address in ip_addr_t format


# 14fb48cd 19-Aug-2016 goldsimon <goldsimon@gmx.de>

minor: whitespace cleanups


# 61dae47a 08-Aug-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Relete SNMP README and incorporate it's text in doxygen docs


# 9fb90338 28-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Move MIB compiler to contrib, it's a better place for it


# aece6863 27-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Integrate snmp_agent.txt in doxygen documentation, delete outdated file


# 6b524367 27-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Documentation review with Simon, minor changes


# c6831648 26-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Document apps in doxygen module style, create more top-level categories to structure documentation


# 14ca418a 04-Jul-2016 goldsimon <goldsimon@gmx.de>

minor: coding style fixes


# 19e2b15c 24-Jun-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix alignment warnings in snmp agent - we know these structs are aligned according to requirements when they are casted because they have been instantiated as the target type (clang)


# 1af40e7d 22-Jun-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP doxygen updates


# 076f1ee8 09-Jun-2016 goldsimon <goldsimon@gmx.de>

minor: coding style cleanup in snmp code


# 010b0e29 09-Jun-2016 goldsimon <goldsimon@gmx.de>

snmp: don't assert-fail on zero-length OID


# 90a656ed 23-May-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix several doxygen errors all over the code


# ab2c6554 06-Apr-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Avoid divisions / module in SNMP code on stupid compilers

Signed-off-by: goldsimon <goldsimon@gmx.de>


# 37788558 23-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Move MIB2 interfaces subtree to separate file to get snmp_mib2.c smaller


# 814577fc 04-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

snmp: Fix snmp_oid_to_ip for IPADDR_ANY_TYPE ips


# 2289673a 28-Feb-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Implement support for IP_ANY_TYPE in SNMP


# 24bc77a9 16-Feb-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Found some struct instances that can be const


# 0a67c06b 20-Jan-2016 Joel Cunningham <joel.cunningham@me.com>

Fix type on snmp_set_test_ok to be snmp_err_t

This function was returning values from snmp_err_t but wasn't
upgraded to using the typedef after commit babce70

This resulted in compilation failure on MSVC 2013


# c2ba9129 13-Jan-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Fix InetAddress octet string encoding (length was missing)


# 76094b8c 05-Jan-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: SMEMCPY should only be used when size is known at compile time


# 0a222a2f 03-Jan-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Fix shadowing warning pointed out by Erik Ekman


# 44617bfa 04-Jan-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix compile of SNMP on MSVC


# 7412a0e7 02-Jan-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Move common MIB code into snmp_core.c helper functions


# dfaa979b 31-Dec-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Start working on udpEndpointTable


# 611966de 29-Dec-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Cleanup snmp IP helper functions, add IPv6 support


# 4341df40 28-Dec-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP: Fix compile when IPV4 is not enabled


# fdd98879 25-Dec-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

C-Style comments only, please


# 7b946fa9 26-Dec-2015 Dirk Ziegelmeier <dirk@ziegelmeier.net>

SNMP agent rewrite

- SNMPv2c support
- Greatly reduced RAM usage, no memory pools any more
- API cleanup
- MIB2 is separated from SNMP stack
- Support for multiple MIBs (snmp_set_mibs call) - e.g. for private MIB
- Improved MIB2 implementation (tcpConnTable etc.)
- Redesigned simple and generic API for MIB implementation
- Comfortable node types for scalar arrays and tables
- Counter64, bit and truthvalue datatype support
- Callbacks for SNMP writes
- Runs on two APIs: RAW and netconn
- Async API is gone - the stack now supports netconn API instead,
so blocking operations can be done in MIB calls.
SNMP runs in a worker thread when netconn API is used.
- Simplified thread sync support for MIBs - useful when MIBs
need to access variables shared with other threads without locking
(used in MIB2 to access lwIP stats from lwIP thread)

Currently in work:
- Traps rewrite
- MIB compiler