goldsimon
|
79ecf2edb7
|
SNMP: added missing casts to int for printf arguments
|
2014-11-03 09:23:50 +01:00 |
|
Simon Goldschmidt
|
33237419c1
|
Parts of patch #8397 Typos corrected in comments and text outputs
|
2014-09-18 21:15:13 +02:00 |
|
goldsimon
|
e8f49f1b95
|
update CHANGELOG and fix coding style (fixed bug #39355 SNMP Memory Leak in case of error)
|
2014-09-03 08:10:07 +02:00 |
|
Fatih Aşıcı
|
0a8c53575c
|
snmp: Fix a memory leak
Check the value of vbi->ident before replacing it with vbo->ident.
|
2014-09-03 08:01:25 +02:00 |
|
goldsimon
|
406874b6c2
|
snmp: added missing default cases (only used for trace output)
|
2014-04-30 13:50:18 +02:00 |
|
goldsimon
|
d0d650aa67
|
Patch by Stéphane Lesage:
fixed bug #35536 SNMP: error too big response is malformed
|
2012-02-16 08:01:54 +01:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
21e3cde95c
|
Added missing casts (bug #28659)
|
2010-01-28 12:05:14 +00:00 |
|
goldsimon
|
853e33bdb4
|
snmp_recv: don't peek the UDP header, p->tot_len does the same; no need for the extra checks at the beginning; don't use so many if/else but if/return instead to make the code more readable
|
2010-01-27 17:36:37 +00:00 |
|
goldsimon
|
606fed8896
|
Use memp pools for snmp instead of the heap; added 4 new pools.
|
2010-01-26 20:28:24 +00:00 |
|
goldsimon
|
96338314f1
|
Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get)
|
2010-01-25 17:44:07 +00:00 |
|
goldsimon
|
ef31aa12e2
|
Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords, added comments, added init-define for private MIB
|
2010-01-24 17:16:37 +00:00 |
|
goldsimon
|
9dd6c28523
|
bug #26523: Compiler Warnings
|
2010-01-24 14:35:28 +00:00 |
|
goldsimon
|
04f17c4709
|
Improved includes in snmp
|
2010-01-14 19:59:03 +00:00 |
|
goldsimon
|
41eecb67d2
|
fixed bug #25636: SNMPSET value is ignored for integer fields
|
2009-05-02 15:45:53 +00:00 |
|
goldsimon
|
edf72a7dfb
|
fixed one small warning (compared u16_t to <= 0)
|
2008-08-26 19:57:20 +00:00 |
|
fbernon
|
caa1834b70
|
Minor changes in lwip folder: fix some warnings.
|
2008-01-05 00:13:33 +00:00 |
|
goldsimon
|
199648ff37
|
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!
|
2007-10-09 19:59:56 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
2007-09-07 23:01:59 +00:00 |
|
fbernon
|
ac1149156d
|
several-files: replace some #include "arch/cc.h" by "lwip/arch.h", or simply remove it as long as "lwip/opt.h" is included before (this one include "lwip/debug.h" which already include "lwip/arch.h"). Like that, default defines are provided by "lwip/arch.h" if they are not defined in cc.h, in the same spirit than "lwip/opt.h" for lwipopts.h.
|
2007-09-06 16:43:43 +00:00 |
|
fbernon
|
c1f89c5640
|
Move some build time checkings inside init.c for task #7142 "Sanity check user-configurable values".
|
2007-09-05 13:19:25 +00:00 |
|
fbernon
|
c899097802
|
Remove warning in snmp/msg_in.c
|
2007-05-19 10:19:14 +00:00 |
|
goldsimon
|
e9abfa6602
|
Removed PBUF_STATS and related code from opt.h & msg_in.c
|
2007-05-16 14:15:54 +00:00 |
|
goldsimon
|
f6bdd2cae4
|
Introduced #define LWIP_UNUSED_ARG(x) use this for and architecture-independent form to tell the compiler you intentionally are not using this variable. Can be overriden in cc.h.
|
2007-04-04 19:54:22 +00:00 |
|
goldsimon
|
4aee4c1ac7
|
Free pbuf if pbuf_header() fails
|
2007-03-26 19:27:11 +00:00 |
|
fbernon
|
e54cd23ecb
|
stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in your lwipopts.h. More, unused counters are not defined in the stats structs, and not display by stats_display(). Note that some options (SYS_STATS and RAW_STATS) are defined but never used. Fix msg_in.c with the correct #if test for a stat display.
|
2007-03-22 16:36:45 +00:00 |
|
kieranm
|
7294cb080b
|
* Fix all uses of pbuf_header to check the return value. In some
cases just assert if it fails as I'm not sure how to fix them, but
this is no worse than before when they would carry on regardless
of the failure.
|
2007-03-21 12:55:00 +00:00 |
|
goldsimon
|
5eabd4591a
|
SNMP UDP ports can be configured at compile time
|
2007-03-08 10:32:29 +00:00 |
|
christiaans
|
a3d912a801
|
Fixed uninitalized variable warnings (using gcc 4.1.1)
|
2006-11-27 15:37:44 +00:00 |
|
christiaans
|
5e44122552
|
Trimmed whitespace at line ends.
|
2006-11-17 11:05:26 +00:00 |
|
christiaans
|
bc182cab7c
|
Removed EXPERIMENTAL status.
|
2006-10-13 12:00:35 +00:00 |
|
christiaans
|
f7881e58bb
|
Improved message parse robustness. Rejecting 'error requests'. Removed invalid genError return on varbindlist parse error, changed badValue into noSuchName error for non-writeable objects.
|
2006-10-04 09:15:23 +00:00 |
|
christiaans
|
cfb082a20b
|
Added external mibnode panic closure functions, tobe called for error responses.
|
2006-10-02 10:13:04 +00:00 |
|
christiaans
|
c851a19ab2
|
Added en->get_value_a() call for zero size get_value replies, e.g. for closing external transactions.
|
2006-09-28 11:46:24 +00:00 |
|
christiaans
|
473e567047
|
Added en->set_value_a() call for closing external transactions.
|
2006-09-27 15:11:30 +00:00 |
|
christiaans
|
64dab92c6b
|
Redesign of snmp_msg_event() fsm, added SNMP SET to fsm.
|
2006-09-27 07:25:16 +00:00 |
|
christiaans
|
d0f279ece4
|
Set TODO_SNMP_MSG_EVENT to 1. Moved some more code from snmp_recv() to snmp_event_service().
|
2006-09-22 08:05:17 +00:00 |
|
christiaans
|
eabfb233b8
|
Moved SNMP_CONCURRENT_REQUESTS to opt.h, babysteps for external MIB nodes.
|
2006-09-20 13:33:50 +00:00 |
|
christiaans
|
960e724ad3
|
Improved mib node struct for external object access and moved get_object_def() calls to the message processing bit.
|
2006-09-14 15:08:54 +00:00 |
|
christiaans
|
320ea29861
|
Added some lines for SET command.
|
2006-09-12 10:03:46 +00:00 |
|
christiaans
|
a88d054d05
|
Improved TRAP interfacing. Varbinds maybe allocated at (external) trap source as wel. Added trap destination settings.
|
2006-09-07 14:17:03 +00:00 |
|
christiaans
|
41ff80e5d3
|
First getnext succes, values are returned insead of NULLs, empty tables are skipped. Limitation: a single varbind per request, so 'snmptable' will fail.
|
2006-09-06 10:14:07 +00:00 |
|
christiaans
|
3cc7a406f4
|
Pacified GCC warnings and fixed double mem_free() while returning nosuchname err.
|
2006-08-21 11:51:19 +00:00 |
|
christiaans
|
7d1728f05a
|
Started with getnext and ensure zero length identifiers are accepted.
|
2006-08-17 14:14:58 +00:00 |
|
christiaans
|
8559f3e583
|
MIB-2 object values near to completion, just committing for keeping the flame alive.
|
2006-08-11 14:16:36 +00:00 |
|
christiaans
|
d8922d0410
|
Added minimalistic SNMP GET functionality.
|
2006-07-14 12:54:38 +00:00 |
|
christiaans
|
7a5cb21056
|
Fixed (experi)mental typo.
|
2006-07-07 11:33:36 +00:00 |
|
christiaans
|
333c3f18c0
|
Initial commit. Expirimental code, please note this is not yet fully functional.
|
2006-07-07 09:49:31 +00:00 |
|