Dirk Ziegelmeier
fbdfba2509
SNMP: Found the correct cause of a memory leak
2016-01-07 09:52:13 +01:00
Dirk Ziegelmeier
e033866651
Merge branch 'master' of ssh://git.sv.gnu.org:/srv/git/lwip
2016-01-05 10:00:21 +01:00
Dirk Ziegelmeier
76094b8c7e
SNMP: SMEMCPY should only be used when size is known at compile time
2016-01-05 09:59:42 +01:00
Dirk Ziegelmeier
e336f877c2
Merge branch 'master' of ssh://git.sv.gnu.org:/srv/git/lwip
2016-01-04 21:27:39 +01:00
Dirk Ziegelmeier
7f699b36ff
Update some MIB2 comments
2016-01-04 21:27:24 +01:00
Dirk Ziegelmeier
e041b9a51c
SNMP: Fix shadowing warning in another file. Pointed out by Erik Ekman.
2016-01-04 13:30:02 +01:00
Dirk Ziegelmeier
0a222a2ff7
SNMP: Fix shadowing warning pointed out by Erik Ekman
2016-01-04 12:31:09 +01:00
Dirk Ziegelmeier
d4361fc7d7
snmp_traps.c: #if 0 ... #endif around C++ style comments does not work - remove the code completely for now
2016-01-04 11:41:17 +01:00
Dirk Ziegelmeier
44617bfa9b
Fix compile of SNMP on MSVC
2016-01-04 11:26:36 +01:00
Dirk Ziegelmeier
6352106aaa
Fix C++ style comment in snmp_asn1.h
2016-01-04 11:05:44 +01:00
Dirk Ziegelmeier
7412a0e74e
SNMP: Move common MIB code into snmp_core.c helper functions
2016-01-02 21:29:01 +01:00
Dirk Ziegelmeier
19d17adcfb
SNMP MIB2: Implement tcpConnectionTable
2016-01-02 20:55:14 +01:00
Dirk Ziegelmeier
e1e7a704e1
SNMP MIB2: Implement tcpListenerTable
2016-01-02 20:06:53 +01:00
Dirk Ziegelmeier
19dd6c391f
SNMP MIB2: Update UDP endpoint table variable names
2016-01-01 23:09:54 +01:00
Dirk Ziegelmeier
c5cab4e719
SNMP RAW API: Listen on IPV6 UDP port, too
2016-01-01 22:59:00 +01:00
Dirk Ziegelmeier
b48f6d1405
Add comment about udpEnpointTable non-accessible columns
2016-01-01 22:00:39 +01:00
Dirk Ziegelmeier
c466f8824f
SNMP: Finish implementing UDP-MIB. Add unsupported udpHCInDatagrams and udpHCOutDatagrams items.
2016-01-01 21:58:51 +01:00
Dirk Ziegelmeier
2b16cd93bf
SNMP: Another release_instance call bugfix in SNMP Get/GetNext requests
2016-01-01 20:58:02 +01:00
Dirk Ziegelmeier
0c39165701
SNMP: Two bugfixes in SNMP GET requests
2016-01-01 20:44:16 +01:00
Dirk Ziegelmeier
9d1234d83a
Add some comments and OID checks to udpEndpointTable
2015-12-31 16:19:26 +01:00
Dirk Ziegelmeier
dfaa979b99
Start working on udpEndpointTable
2015-12-31 16:13:45 +01:00
Dirk Ziegelmeier
611966de63
SNMP: Cleanup snmp IP helper functions, add IPv6 support
2015-12-29 22:06:23 +01:00
Dirk Ziegelmeier
4341df4094
SNMP: Fix compile when IPV4 is not enabled
2015-12-28 22:28:01 +01:00
Dirk Ziegelmeier
83f8ec1397
Some SNMP MIB2 code layout cleanups
2015-12-28 21:37:17 +01:00
Dirk Ziegelmeier
fdd98879bf
C-Style comments only, please
2015-12-26 12:17:07 +01:00
Dirk Ziegelmeier
5e34b8736a
Minor SNMP compile and comment fix
2015-12-26 12:02:16 +01:00
Dirk Ziegelmeier
7b946fa9b1
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
2015-12-26 11:43:29 +01:00
Dirk Ziegelmeier
0c06f09d6d
makefsdata.c: Adapt to new header include location
2015-12-09 12:48:02 +01:00
Dirk Ziegelmeier
b8e94ec066
lwiperf: TX buffer can be static
2015-11-18 07:52:04 +01:00
Dirk Ziegelmeier
e15872982e
Add iperf to apps;
...
Fix compile of lwiperf.c
2015-11-18 07:46:39 +01:00
Dirk Ziegelmeier
c69dede728
Move httpd from contrib to main git repository
2015-11-16 12:27:24 +01:00
Dirk Ziegelmeier
cacbd596c9
Move some prototypes from snmp_msg.h to snmp.h because they are used by user code
2015-11-14 19:50:57 +01:00
Dirk Ziegelmeier
6203737093
Rename snmp_mib2.h to snmp.h so source compatibility for user netif implementations is preserved
2015-11-12 21:25:42 +01:00
Dirk Ziegelmeier
5f642eb3e3
Completely decouple SNMP stack from lwIP core by using private memory pools;
...
Move SNMP stack to apps;
API breaking change: Users need to call snmp_init() now!
2015-11-12 21:21:14 +01:00
sg
a7ee681515
netbios -> netbiosns, added netbiosns_opts.h, added netbiosns_set_name() and netbiosns_stop()
2015-10-08 22:13:00 +02:00
sg
b02bcde8e0
added netbios name server from contrib (-> netbiosns)
2015-10-08 22:05:55 +02:00
sg
bef5ccda0b
removed spaces at line ending, fixed include guard
2015-10-08 21:46:43 +02:00
sg
a2cd2ae5a8
lwiperf: fixed const-cast warning
2015-10-08 21:22:35 +02:00
sg
698e20a990
Added lwiperf, a simple ipv4/tcp iperf peer
2015-10-08 21:14:14 +02:00
sg
22957a8082
added sntp_opts.h (all options for the sntp app), added FILES to describe the include folder
2015-10-07 22:24:32 +02:00
sg
8dfd5e82cb
first 'app': added SNTP client from contrib (unmodified from 196cbae376dfd484b4833503dd43057b4c3462fa, 28.08.2015)
2015-10-07 22:16:48 +02:00