sg
|
e22c815444
|
patch by Freddie Chopin: SNMP: const-correctness around snmp traps and enterprise
|
2015-02-14 15:11:44 +01:00 |
|
sg
|
e579e98469
|
minor coding style fix: tab -> spaces
|
2015-02-14 15:05:12 +01:00 |
|
Freddie Chopin
|
4ebeeaf1e0
|
msg_in.c, msg_in.c: add snmp_get_community() and snmp_set_community() accessors
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2015-02-14 14:49:42 +01:00 |
|
Freddie Chopin
|
2c9ceea3cf
|
msg_in.c, snmp_msg.h: convert snmp_community to a modifiable pointer
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2015-02-14 14:49:41 +01:00 |
|
Freddie Chopin
|
c289872ab7
|
msg_in.c, msg_out.c, snmp_msg.h: rename snmp_publiccommunity to snmp_community, update descriptions
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2015-02-14 14:49:39 +01:00 |
|
Freddie Chopin
|
9469bdc93e
|
msg_in.c, snmp_msg.h: don't hardcode size of community string
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2015-02-14 14:47:55 +01:00 |
|
Freddie Chopin
|
9b4564d7f3
|
snmp_trap_header_sum(): use strlen() to get the length of community string
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2015-02-14 14:46:51 +01:00 |
|
sg
|
e3e3200f95
|
fixed bug #22070 "MIB_OBJECT_WRITE_ONLY not implemented in SNMP"
|
2015-02-13 21:12:23 +01:00 |
|
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
|
8bb7602145
|
SNMP: fix "uninitialized variable" warning
|
2014-05-06 09:42:41 +02:00 |
|
Simon Goldschmidt
|
f9d80d5bd2
|
try to fix another warning from static code analysis
|
2014-04-30 22:11:49 +02:00 |
|
goldsimon
|
406874b6c2
|
snmp: added missing default cases (only used for trace output)
|
2014-04-30 13:50:18 +02:00 |
|
Simon Goldschmidt
|
c1dc1a20d6
|
fixed bug #40050 SNMP problem with MIB arrays > 255
|
2014-02-20 22:14:10 +01:00 |
|
Freddie Chopin
|
08b56e8180
|
SNMP: mib-2.system.sysObjectID is read-only, so make the object "static const" and modify just the pointer; snmp_get_sysobjid_ptr() and snmp_set_sysobjid() take a pointer to "const" object now
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2014-02-20 21:24:23 +01:00 |
|
Freddie Chopin
|
7a77917df6
|
SNMP: use MEMCPY() instead of ocstrncpy() and objectidncpy()
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2014-02-20 21:24:21 +01:00 |
|
Freddie Chopin
|
4e1320d480
|
SNMP: mib-2.system.sysDescr is read-only, so add const qualifiers to functions and pointers
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2014-01-14 21:51:39 +01:00 |
|
Freddie Chopin
|
e6202cfa97
|
SNMP: source of ocstrncpy() and objectidncpy() may be const
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
|
2014-01-14 21:51:29 +01:00 |
|
Simon Goldschmidt
|
a15b28a24e
|
SNMP: fixed typo: snmp_set_sysdesr -> snmp_set_sysdescr
|
2014-01-14 21:49:33 +01:00 |
|
goldsimon
|
b82bca7c99
|
fixed bug #36840 snmp_send_trap() NULL de-reference if traps configured but no interfaces available
|
2012-08-13 21:38:30 +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
|
93b5cd5ddd
|
Provide a default for SNMP_GET_SYSUPTIME() based on sys_now()
|
2011-06-26 16:50:28 +00:00 |
|
goldsimon
|
6865806b55
|
Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable.
|
2011-05-25 17:16:35 +00:00 |
|
goldsimon
|
d73262a0e5
|
Fixed compilation with TCP or UDP disabled.
|
2010-07-29 19:25:50 +00:00 |
|
goldsimon
|
d2c632fb18
|
patch #7145: Various typos in SNMP files
|
2010-04-14 19:13:35 +00:00 |
|
goldsimon
|
3803a0021d
|
patch #7130: remove meaningless const qualifiers
|
2010-03-27 16:25:35 +00:00 |
|
goldsimon
|
d0f1c552e2
|
Fixed bug #29256: SNMP Trap address was not correctly set
|
2010-03-19 20:49:13 +00:00 |
|
goldsimon
|
bcd4b76d31
|
Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains the actual application programmer's API
|
2010-02-21 11:35:21 +00:00 |
|
goldsimon
|
7c2054091d
|
Link status does not depend on LWIP_NETIF_LINK_CALLBACK (fixes bug #28899)
|
2010-02-15 19:53:46 +00:00 |
|
goldsimon
|
96e9689dbd
|
Use new macro ip_addr_copy where applicable
|
2010-02-14 12:42:49 +00:00 |
|
goldsimon
|
87c2d911c9
|
Removed invalid assert (always true)
|
2010-02-10 07:58:21 +00:00 |
|
goldsimon
|
90bed0c5ac
|
Added yet another IP-address-modifying define, ip_addr_set_any()
|
2010-02-08 17:24:08 +00: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
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +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
|
dbcce3a4be
|
bug #26523: Compiler Warnings
|
2010-01-23 17:48:36 +00:00 |
|
goldsimon
|
04f17c4709
|
Improved includes in snmp
|
2010-01-14 19:59:03 +00:00 |
|
goldsimon
|
46dc1c9bfb
|
Minor (null-pointer check for not-on-list-netif)
|
2009-12-01 19:59:36 +00:00 |
|
goldsimon
|
057c51ff6d
|
Use LWIP_UNUSED_ARG() instead of if(){}, fix unused arg warning if LWIP_ARP==0
|
2009-08-25 17:50:59 +00:00 |
|
goldsimon
|
41eecb67d2
|
fixed bug #25636: SNMPSET value is ignored for integer fields
|
2009-05-02 15:45:53 +00:00 |
|
goldsimon
|
14cb4eb735
|
fixed arguments of socket functions to match the standard; converted size argument of netconn_write to 'size_t' for that; fixed some warnings
|
2009-02-16 19:33:51 +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 |
|