Commit Graph

  • 527d18a526 2007-02-28 Kieran Mansley (based on patch from Simon Goldschmidt) * api_lib.c, tcpip.c, memp.c, memp.h: make API msg structs allocated on the stack and remove the API msg type from memp kieranm 2007-02-28 14:15:43 +00:00
  • 5ace5976a1 * pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved outside the region of the pbuf by pbuf_header() kieranm 2007-02-28 13:45:35 +00:00
  • c52ac01fbc sockets.c: Fix BUG#19161 - ensure milliseconds timeout is non-zero when supplied timeout is also non-zero kieranm 2007-02-28 12:52:44 +00:00
  • f4f2bfe379 Ensure the size of each pbuf in the pool meets alignment constraints jifl 2007-02-27 16:50:05 +00:00
  • 75beb3bd35 Fix incorrect comparison in get_socket(). Spotted by Frederic Bernon. jifl 2007-02-26 20:16:38 +00:00
  • 1d22294974 * sockets.h, sockets.c: Move socket initialization to new lwip_socket_init() function. jifl 2007-02-26 20:01:04 +00:00
  • de665f7cf9 2007-02-26 Jonathan Larmour (based on patch from Simon Goldschmidt) * api_lib.c: Use memcpy in netbuf_copy_partial. jifl 2007-02-26 19:49:49 +00:00
  • 205520c620 Fix the fix for GETSHORT and GETLONG bug #19052, needs to be tested by some PPP user. christiaans 2007-02-14 08:08:35 +00:00
  • 3551b2a2a1 Release 1.2.0. likewise 2006-12-05 10:09:17 +00:00
  • 11f2e8d1a6 Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc(). christiaans 2006-12-04 08:24:25 +00:00
  • a91374a916 Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc(). christiaans 2006-12-01 15:38:56 +00:00
  • 36e6c26545 Included xid to some DEBUGFs. christiaans 2006-12-01 13:52:07 +00:00
  • 9a68f74857 Fixed false triggers of request_timeout. christiaans 2006-11-30 16:25:43 +00:00
  • b96c15890c Disabled alignment fix. Stepping back, #17922 fix fails on my target, DHCP won't start, I don't understand. christiaans 2006-11-28 13:29:05 +00:00
  • 5a6b26d69e In netif_add() fixed clearing of ip_addr, netmask, gw and flags. christiaans 2006-11-28 13:12:15 +00:00
  • a3d912a801 Fixed uninitalized variable warnings (using gcc 4.1.1) christiaans 2006-11-27 15:37:44 +00:00
  • b4f1deaa46 Accepted patch #5493 IP frag/reass config item tweak. christiaans 2006-11-27 14:48:21 +00:00
  • 976bce4c7f Changed heap to use naturally aligned start address and added near-fit case to #17922 fix. christiaans 2006-11-27 14:23:24 +00:00
  • 77e0f77850 Added snmp_send_trap() parameter, caller must pass enterprise id for enterprise secific traps. christiaans 2006-11-27 08:43:10 +00:00
  • a885cbf8ed Removed mem_dump() reference. christiaans 2006-11-22 09:56:39 +00:00
  • b6af5d9bda Initial attempt at fixing bug #17922, calling for reviewers. This seems to work for me, more or less, but it looks like it breaks TCP. christiaans 2006-11-22 08:27:38 +00:00
  • b72677c3ce Added missing NULL return checks for snmp_mib_lrn_alloc() and trimmed whitespace at line ends. christiaans 2006-11-17 11:07:25 +00:00
  • 5e44122552 Trimmed whitespace at line ends. christiaans 2006-11-17 11:05:26 +00:00
  • d4b6471d39 Replaced tabs with space. christiaans 2006-11-17 10:51:13 +00:00
  • fe1bea9538 Added netif_set_up and call protection for NULL function pointers. Bug #16602 and #17777. christiaans 2006-11-02 12:25:57 +00:00
  • 2f41e2b0ec Made ip_id static again, fixing bug #18065. This is required when outputting IP fragments. christiaans 2006-11-01 09:33:14 +00:00
  • bd86f95512 Cold case #9191 fixes for NC30 compiler for the M16 mcu, reported by Bjorn Sundman. christiaans 2006-10-25 07:51:17 +00:00
  • 5fcf6418cf Added warning about using mem_malloc in sys_arch.c, cold case bug #1913 . christiaans 2006-10-24 09:10:26 +00:00
  • 4e583dab2e Again, fixed decoding of negative integers in snmp_asn1_dec_s32t(), tnx to though testing by Sander. christiaans 2006-10-13 13:45:06 +00:00
  • bc182cab7c Removed EXPERIMENTAL status. christiaans 2006-10-13 12:00:35 +00:00
  • f6f6f11838 Fixed decoding of negative integers in snmp_asn1_dec_s32t(), removed EXPERIMENTAL status. christiaans 2006-10-13 11:59:45 +00:00
  • b5f4672155 Partially accepted patch #5449 for ANSI C compatibility / build fixes. Fixed bug #17574 corrected UDP-Lite protocol identifier. christiaans 2006-10-11 12:04:04 +00:00
  • 729da3c873 Fixed Nagle algorithm as reported by Bob Grice. christiaans 2006-10-10 07:48:27 +00:00
  • 8a31c6f807 Only mentioning SNMP development additions instead of changes, since we're in pre-alpha. christiaans 2006-10-06 10:44:24 +00:00
  • 2539b5cf61 Fixed up mib_external_node support, snmpwalk works for external objects. christiaans 2006-10-06 08:41:24 +00:00
  • 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. christiaans 2006-10-04 09:15:23 +00:00
  • 25ed4e9d16 Fixed clearing of head and tail pointers in snmp_mib_node_delete(). christiaans 2006-10-03 10:41:48 +00:00
  • 7eddf93b36 Added missing snmp_delete_arpidx_tree() in find_entry where entry state was set to ETHARP_STATE_EMPTY. christiaans 2006-10-03 10:39:37 +00:00
  • cfb082a20b Added external mibnode panic closure functions, tobe called for error responses. christiaans 2006-10-02 10:13:04 +00:00
  • e440590c37 Fixed snmp_mib_node_insert() to return 2, for node present (not inserted). Also solves invalid rootnode count for this case. christiaans 2006-09-29 13:34:38 +00:00
  • c851a19ab2 Added en->get_value_a() call for zero size get_value replies, e.g. for closing external transactions. christiaans 2006-09-28 11:46:24 +00:00
  • c2f9d7dee0 Fixed encoding of object sub identifiers with trailing zero. christiaans 2006-09-28 11:43:49 +00:00
  • 473e567047 Added en->set_value_a() call for closing external transactions. christiaans 2006-09-27 15:11:30 +00:00
  • 64dab92c6b Redesign of snmp_msg_event() fsm, added SNMP SET to fsm. christiaans 2006-09-27 07:25:16 +00:00
  • f576755b13 Added snmp_msg_event_loop() prototype. christiaans 2006-09-22 08:09:08 +00:00
  • d0f279ece4 Set TODO_SNMP_MSG_EVENT to 1. Moved some more code from snmp_recv() to snmp_event_service(). christiaans 2006-09-22 08:05:17 +00:00
  • a5532ffd4d Added one strategic LWIP_DEBUGF to snmp_send_response(). christiaans 2006-09-22 08:03:16 +00:00
  • cb412134dd Added newlines to LWIP_DEBUGFs. christiaans 2006-09-22 08:00:56 +00:00
  • d079aae0e0 Fixed NULL dereferencing for zero length raw data. christiaans 2006-09-22 07:59:44 +00:00
  • eabfb233b8 Moved SNMP_CONCURRENT_REQUESTS to opt.h, babysteps for external MIB nodes. christiaans 2006-09-20 13:33:50 +00:00
  • 960e724ad3 Improved mib node struct for external object access and moved get_object_def() calls to the message processing bit. christiaans 2006-09-14 15:08:54 +00:00
  • 82c46f957a Fixed double iterator bug in send_trap(), multiple trap destinations work ok now. christiaans 2006-09-12 12:46:36 +00:00
  • 320ea29861 Added some lines for SET command. christiaans 2006-09-12 10:03:46 +00:00
  • c5e99ada63 Fixed sysObjectID length to copy private IDs with unkown lengths properly. christiaans 2006-09-08 09:22:28 +00:00
  • c5bd3f5e3b Documented TRAP destination setup. christiaans 2006-09-07 14:46:41 +00:00
  • a88d054d05 Improved TRAP interfacing. Varbinds maybe allocated at (external) trap source as wel. Added trap destination settings. christiaans 2006-09-07 14:17:03 +00:00
  • 6576802287 Fixed compilation for LWIP_SNMP 0. christiaans 2006-09-07 07:39:49 +00:00
  • 693316c83f Corrected snmp_delete_arpidx_tree() to be called in the expired state, not only maxage. christiaans 2006-09-06 13:01:47 +00:00
  • 41ff80e5d3 First getnext succes, values are returned insead of NULLs, empty tables are skipped. Limitation: a single varbind per request, so 'snmptable' will fail. christiaans 2006-09-06 10:14:07 +00:00
  • 56c5fdbeaf Added newlines in debug output, small optimalisations, more work on 'getnext', fixed 'get' on udp table. christiaans 2006-09-04 09:22:48 +00:00
  • 130d39cc03 Changed index structs to mib_list_node structs to place the table index trees directly in the mib tree. christiaans 2006-09-01 07:14:50 +00:00
  • 1485edf8e1 Added index tree node structs and functions, e.g. to be used for ARP table indexes. christiaans 2006-08-29 11:28:28 +00:00
  • 514ee867a6 Pacified GCC warnings and elaborated getnext to work on scalars, tables don't work yet. christiaans 2006-08-21 11:52:58 +00:00
  • 3cc7a406f4 Pacified GCC warnings and fixed double mem_free() while returning nosuchname err. christiaans 2006-08-21 11:51:19 +00:00
  • c3f82acf7a Pacified GCC warnings. christiaans 2006-08-21 11:50:03 +00:00
  • cdb7557d88 Added SNMP counters. christiaans 2006-08-18 10:18:42 +00:00
  • 2dcbd016e6 Added tree expansion func protos for getnext. christiaans 2006-08-17 14:16:30 +00:00
  • 7d1728f05a Started with getnext and ensure zero length identifiers are accepted. christiaans 2006-08-17 14:14:58 +00:00
  • 4b5c14470a Fixed htons into htonl for trap desctination ip. christiaans 2006-08-17 14:11:45 +00:00
  • f198b11f27 Accepting zero length identifiers e.g. for getnext operation. Uncommon but valid. christiaans 2006-08-17 14:09:57 +00:00
  • 7d16087789 Fixed bug #17200, added check for broadcast destinations for PCBs bound to a unicast address. christiaans 2006-08-17 09:40:15 +00:00
  • d734cd986c Moved noleafs_get_object_def() and noleafs_get_value() protos from mib2.c to snmp_structs.h christiaans 2006-08-15 07:28:43 +00:00
  • 8559f3e583 MIB-2 object values near to completion, just committing for keeping the flame alive. christiaans 2006-08-11 14:16:36 +00:00
  • d0b81d3b20 Corrected comment typo. christiaans 2006-08-11 14:13:39 +00:00
  • 43bf9a8e46 Added SNMP counters, moved some defines. christiaans 2006-08-11 14:12:05 +00:00
  • 19f57bf810 Exported udp_pcbs in udp.h (for SNMP agent). christiaans 2006-08-11 14:09:48 +00:00
  • 469012b544 Added etharp_find_addr(), finds eth/IP address pair by interface ptr and IP address. christiaans 2006-08-08 15:10:42 +00:00
  • 9b11c4670d Corrected returned object id for interfaces.ifTable.ifEntry.ifSpecific to zeroDotZero (0.0). christiaans 2006-08-07 11:35:32 +00:00
  • 7eeaf8eaa5 Corrected object identifier codec for object ids not starting with .iso.dod (e.g. zeroDotZero (0.0)). christiaans 2006-08-07 11:32:44 +00:00
  • a82e02ef15 Partial fix for bug #15926, flushing TCP output in do_close(). christiaans 2006-08-07 10:00:44 +00:00
  • d8922d0410 Added minimalistic SNMP GET functionality. christiaans 2006-07-14 12:54:38 +00:00
  • 5c628d2a61 Added netif SNMP init. christiaans 2006-07-14 11:17:00 +00:00
  • 54bb20b486 Added SNMP statistics to struct netif and changed SNMP macro glue. christiaans 2006-07-14 09:58:02 +00:00
  • 57a6eaae7b Added SNMP debug options. christiaans 2006-07-10 12:41:25 +00:00
  • 7a5cb21056 Fixed (experi)mental typo. christiaans 2006-07-07 11:33:36 +00:00
  • 333c3f18c0 Initial commit. Expirimental code, please note this is not yet fully functional. christiaans 2006-07-07 09:49:31 +00:00
  • 6b2979027e Add preliminairy documentation for the SNMP agent. christiaans 2006-07-07 08:03:04 +00:00
  • 12f9adbdd3 Added ip_frag_init() prototype. christiaans 2006-07-04 08:24:55 +00:00
  • a5cab96ff3 Added ip_frag_init() and some LWIP_DEBUGFs. christiaans 2006-07-04 08:24:17 +00:00
  • dd060ceed3 Added ip_frag_init() to ip_init(). christiaans 2006-07-04 08:23:33 +00:00
  • c89b085e5b Mentioned some recent cold case fixes. christiaans 2006-06-27 10:39:06 +00:00
  • 63140ca7f8 Applied patch for cold case bug #11135. christiaans 2006-06-27 10:33:52 +00:00
  • cbe83f32b6 Honoured Pedro Alves namespace request, following lwip style struct naming. christiaans 2006-06-22 11:22:47 +00:00
  • 3bffb0a181 Added struct obj_id and a few system group access funcs. christiaans 2006-06-22 09:33:10 +00:00
  • 09dc9c89a8 Added mib-2 snmp group statistics prototypes. christiaans 2006-06-19 13:04:11 +00:00
  • 09707a3e81 Prepared some SNMP options. christiaans 2006-06-19 13:03:09 +00:00
  • d821277430 Fixed cold case bug #1748, printing of mem_size_t and u16_t statistics. christiaans 2006-06-15 07:10:04 +00:00
  • 1f01634029 Applied patch #5146 to handle allocation failures in accept() by Kevin Lawson. christiaans 2006-06-14 08:02:35 +00:00
  • dd314e1bdf Fix incorrect calculation of dhcp->dns_count. Comment out unused static dhcp_get_option_short() to avoid warning. curtmcd 2006-06-08 00:16:56 +00:00
  • 1dae102359 Fix debug print, remove reference to TCP_COARSE_TIMEOUT curtmcd 2006-05-31 21:23:26 +00:00