Dirk Ziegelmeier
0005b7c2d0
Revert my last change in sntp.c - allow usage of custom error values in err_t
2016-08-09 08:20:28 +02:00
Dirk Ziegelmeier
61dae47a71
Relete SNMP README and incorporate it's text in doxygen docs
2016-08-08 22:40:57 +02:00
Dirk Ziegelmeier
85ab39985a
Fix a few incorrect uses of err_t. Found by converting lwip error codes to an enum, but I'm not sure wether I want to commit the actual enum conversion.
2016-08-08 22:15:01 +02:00
Dirk Ziegelmeier
9fb9033815
Move MIB compiler to contrib, it's a better place for it
2016-07-28 14:33:15 +02:00
goldsimon
5bcaefddd4
lwiperf: improved documentation, removed unused enum members
2016-07-28 08:07:02 +02:00
sg
8ece46d5d2
snmp threadsync_data: "u8" -> "err" (typedef snmp_err_t is an enum, not u8_t)
2016-07-27 20:28:39 +02:00
Dirk Ziegelmeier
aece68639a
Integrate snmp_agent.txt in doxygen documentation, delete outdated file
2016-07-27 18:58:28 +02:00
Dirk Ziegelmeier
6b524367a3
Documentation review with Simon, minor changes
2016-07-27 08:05:38 +02:00
Dirk Ziegelmeier
1993b0257c
Document SNMP MIB2 functions
2016-07-27 06:37:26 +02:00
Dirk Ziegelmeier
c6831648e2
Document apps in doxygen module style, create more top-level categories to structure documentation
2016-07-26 19:30:05 +02:00
Dirk Ziegelmeier
40bc80b551
Fix compile of snmp_mib2_system.c after my last SNMP API change
2016-07-26 16:39:34 +02:00
Dirk Ziegelmeier
73ee4cbbf7
MIB compiler: Back to .NET 4.0 to maintain compatibility to VS2010
2016-07-26 12:59:28 +02:00
Dirk Ziegelmeier
f6468510c6
Adapt MIB compiler to changed function signature of my last commit. Done with patch #9044 : SNMP response for failed get operation.
2016-07-26 12:59:27 +02:00
Dirk Ziegelmeier
a62e4452a2
Work on patch #9044 : SNMP response for failed get operation
...
Inspired by Marco Veeneman. Change signature of get_value function to return s16_t, where values <0 indicate an error. This is mapped to SNMP_ERR_GENERROR.
2016-07-26 12:59:26 +02:00
goldsimon
ca71eea56f
httpd: reverted accidentally committed change (came in with de9054cb7a
when fixing memp things)
2016-07-26 07:29:59 +02:00
sg
de9054cb7a
memp: cleaned up MEMP_MEM_MALLOC:
...
- support memp stats when MEMP_MEM_MALLOC==1 (bug #48442 );
- hide MEMP_MEM_MALLOC in memp.c instead of messing up the header file;
- make MEMP_OVERFLOW_CHECK work when MEMP_MEM_MALLOC==1
2016-07-21 22:17:32 +02:00
Dirk Ziegelmeier
802a4f2a14
Fix compiling of snmp_mib2_ip.c when ARP is not enabled
2016-07-21 12:54:15 +02:00
Dirk Ziegelmeier
5d4c1432c2
Fix bug #48436 : Naming clash for timers.c (with FreeRTOS)
...
Rename timers.* to timeouts.*
2016-07-19 12:44:12 +02:00
Dirk Ziegelmeier
7037b340c1
Move etharp to core/ipv4, which is a more appropriate place for it
2016-07-19 09:29:51 +02:00
goldsimon
9a355502e1
snmp: fix compiling traps :-(
2016-07-08 10:56:24 +02:00
goldsimon
52da49cd81
snmp: changed name (snmp_length_outbound_varbind -> snmp_varbind_length)
2016-07-08 10:24:06 +02:00
goldsimon
e302b1bbd2
httpd: fixed using pools, fixed missing default value of LWIP_HTTPD_SSI_RAW, fixed typo
2016-07-08 10:06:35 +02:00
Marco Veeneman
dcd52510ce
Reduce code duplication in SNMP agent traps implementation.
...
See patch #9038 : SNMP Traps with varbinds, file #37748 by Marco Veeneman
2016-07-07 21:00:07 +02:00
goldsimon
7e3de89646
minor: coding style
2016-07-07 13:02:18 +02:00
Dirk Ziegelmeier
5a1b9bf808
SNMP traps quick fix: Do not return err_t as u16_t in snmp_varbind_len. This need further cleanup.
2016-07-05 08:48:59 +02:00
goldsimon
14ca418ac0
minor: coding style fixes
2016-07-05 07:36:51 +02:00
Dirk Ziegelmeier
cb5f7859fd
Apply patch #9038 : SNMP Traps with varbinds
...
Applied with modifications. Original patch from Marco Veeneman.
2016-07-04 21:11:20 +02:00
goldsimon
06782c699c
httpd: fixed persistent connections for files not containing HTTP header
2016-07-01 12:43:03 +02:00
Dirk Ziegelmeier
91b5d8ad1e
Patch by Marco Veeneman: Generic snmpv1 traps should be sent from .1.3.6.1.2.1.11 (iso.org.dod.internet.mgmt.mib-2.snmp).
2016-06-29 22:16:43 +02:00
Dirk Ziegelmeier
aecbefc728
Patch by Marco Veeneman: Tthe variable bindings field is missing in the trap message. Even if there are no varbinds attached to the trap, this field should still be present.
2016-06-29 22:14:37 +02:00
Dirk Ziegelmeier
a0e8c2dd8f
Revert commit e40175ef05
: Fix a few more CLANG alignment warnings - clang warns although the target struct is packed (and may therefore be unaligned) :-(
...
It was caused by a local problem on my PC, I forgot that I modified cc.h... :-( Sorry for that!
2016-06-28 21:54:48 +02:00
Dirk Ziegelmeier
500e748888
Fix [bug #48330 ] Memory leak in snmp_send_trap function
...
Forgot to free pbuf after sending it
2016-06-28 21:31:12 +02:00
Dirk Ziegelmeier
e40175ef05
Fix a few more CLANG alignment warnings - clang warns although the target struct is packed (and may therefore be unaligned) :-(
2016-06-27 20:54:17 +02:00
goldsimon
c164869f6d
snmp: use 'tcpip_callback' instead of '.._with_block'
2016-06-27 11:01:34 +02:00
Dirk Ziegelmeier
19e2b15c41
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)
2016-06-24 21:21:38 +02:00
Dirk Ziegelmeier
a929f418e7
Fix format string in httpd.c (clang)
2016-06-24 21:16:44 +02:00
Dirk Ziegelmeier
0116c3cd76
Fix "no newline at end of file" warnings (clang)
2016-06-24 21:16:12 +02:00
Dirk Ziegelmeier
1af40e7de2
SNMP doxygen updates
2016-06-22 21:11:59 +02:00
Dirk Ziegelmeier
8dc77ef558
doxygen updates - include IPv6 in documentation. Exclude include/netif/ppp/polarssl.
...
Convert TODO -> @todo
2016-06-22 20:18:23 +02:00
goldsimon
5d9f59daa4
httpd makefsdata: make http response server string configurable via command line, tiny fixes to usage and command interpretation
2016-06-10 13:35:38 +02:00
goldsimon
076f1ee89e
minor: coding style cleanup in snmp code
2016-06-09 14:28:04 +02:00
goldsimon
010b0e2972
snmp: don't assert-fail on zero-length OID
2016-06-09 11:47:15 +02:00
goldsimon
952da88b84
httpd: explicitly added 2 includes that came in through tcp.h by accident...
2016-05-31 16:18:14 +02:00
Dirk Ziegelmeier
6be7e221a5
Fix a few doxygen warnings
2016-05-24 22:29:18 +02:00
Dirk Ziegelmeier
451277e7f0
Include all lwIP files in doxygen documentation
2016-05-24 21:03:41 +02:00
Dirk Ziegelmeier
51f3cdfd5a
Fix UTF-8 encoding of sntp files (Frédéric Bernon)
2016-05-24 13:14:18 +02:00
Dirk Ziegelmeier
6c8c3fd48c
Fix more doxygen errors
2016-05-23 21:38:18 +02:00
Dirk Ziegelmeier
90a656ed78
Fix several doxygen errors all over the code
2016-05-23 21:18:16 +02:00
Dirk Ziegelmeier
ac0af0d7c7
Fix return value of sntp_getserver() call to return a pointer
2016-05-20 11:02:02 +02:00
Dirk Ziegelmeier
8e7b8a32f9
Rename LwipMibViewer to MibViewer since it does not depend on lwip specific code
2016-05-15 13:09:57 +02:00