Commit Graph

  • d8531a2407 Cleanup NETCONNTYPE_ISIPV6 macro Dirk Ziegelmeier 2016-02-22 13:55:27 +01:00
  • c805843e64 Change signature of ip_output, ip_output_if, ip_output_if_src, ip_output_hinted, ip_route, ip_netif_get_local_ip, ip_route_get_local_ip and tcp_eff_send_mss not to take an isipv6 parameter. Use the IP version of the destination address instead. Dirk Ziegelmeier 2016-02-22 13:38:40 +01:00
  • 880f1008d6 Together with Simon: Eliminate last instances of isipv6 member in pcbs; Don't allow NULL pointers (IPv4 ANY) in connect() and sendto() functions as destinations since this does not make sense. Dirk Ziegelmeier 2016-02-22 13:03:51 +01:00
  • be9cd800b0 Review with Simon: Init TCP/UDP/RAW PCBs with correct IP types in _new functions to make my changes work correct Dirk Ziegelmeier 2016-02-22 11:16:13 +01:00
  • 0106cf7ae0 Review with Simon: Remove dead code (since 2003) Dirk Ziegelmeier 2016-02-22 10:18:19 +01:00
  • 50303eea23 Reduce PCB_ISIPV6 macro usage some more Dirk Ziegelmeier 2016-02-21 19:59:08 +01:00
  • 339e82d7aa Eliminate IP_PCB_IPVER_EQ macro Dirk Ziegelmeier 2016-02-21 19:45:51 +01:00
  • 5a25652c21 Eliminate IP_PCB_IPVER_INPUT_MATCH macro Dirk Ziegelmeier 2016-02-21 19:21:36 +01:00
  • 8f675c37fc Reduce usage of PCB IP version flag in UDP code. Maybe we can figure out a good way for dual-stack UDP when we manage to remove the flag (nearly) entirely from the code. Dirk Ziegelmeier 2016-02-20 20:54:58 +01:00
  • 5809b01388 Reduce usage of PCB IP version flag in raw and tcp code. Maybe we can figure out a good way for dual-stack UDP when we manage to remove the flag (nearly) entirely from the code. Dirk Ziegelmeier 2016-02-20 20:40:04 +01:00
  • f104d68569 PPP: Init SNMP members of PPP netifs Dirk Ziegelmeier 2016-02-19 23:51:18 +01:00
  • 10edba936b Fix tcp pcb access after it was freed in tcp.c - found by Coverity Dirk Ziegelmeier 2016-02-19 23:28:09 +01:00
  • bbb5e99f25 Fix netconn access after it was freed in lwiperf - found by Coverity Dirk Ziegelmeier 2016-02-19 23:26:06 +01:00
  • ea94549cb2 Optimize lwip_selscan() Joel Cunningham 2016-02-17 16:33:35 -06:00
  • 9a97a80efc Fixed bug #47154 lwip_netconn_do_writemore doesn't clear conn->write_offset on fatal/routing error. sg 2016-02-18 19:46:20 +01:00
  • e4cac595c2 Check TCP_SNDLOWAT for too high value (near u16_t overflow) - fixes bug #46948 goldsimon 2016-02-18 09:36:55 +01:00
  • cf3d7def33 Let MIB compiler generate const structs, too (see last commit) Dirk Ziegelmeier 2016-02-17 08:14:16 +01:00
  • 24bc77a935 Found some struct instances that can be const Dirk Ziegelmeier 2016-02-16 22:31:59 +01:00
  • 9dd1c81d41 Update lwip_selscan documentation Joel Cunningham 2016-02-12 15:00:41 -06:00
  • cddd3b552a etharp.c: Make MAX_AGE of an ARP entry configurable Dirk Ziegelmeier 2016-02-11 09:38:17 +01:00
  • 5aa5563622 snmp_msg.c: Fix unchecked return value. Found by Coverity. Dirk Ziegelmeier 2016-02-10 21:57:57 +01:00
  • 09b850cc6f snmp_threadsync.c: Fix ignored return value of mutex/semaphore creation. Found by Coverity. Dirk Ziegelmeier 2016-02-10 21:55:50 +01:00
  • 273d609bac mem.c: Fix unintended sign extension (found by Coverity) sign_extension: Suspicious implicit sign extension: count with type unsigned short (16 bits, unsigned) is promoted in count * size to type int (32 bits, signed), then sign-extended to type unsigned long (64 bits, unsigned). If count * size is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. Dirk Ziegelmeier 2016-02-10 21:21:08 +01:00
  • 288b4564e4 DNS: Fix potential array out of bounds access. Variable nanswers may contain bogus values. (found by Coverity) Dirk Ziegelmeier 2016-02-10 20:41:31 +01:00
  • 78a36df901 Netconn: Fix potential NULL pointer dereference (found by Coverity) Dirk Ziegelmeier 2016-02-10 20:39:12 +01:00
  • 1c1587eef6 ICMP: Fix responses were always sent to default netif because of uninitialized source IP (found by Coverity) Dirk Ziegelmeier 2016-02-10 20:35:58 +01:00
  • 11b810721a ICMP: Fix unused value in icmp_input (found by Coverity) Dirk Ziegelmeier 2016-02-10 20:34:44 +01:00
  • e5eba61cf0 SNMP: Correctly name a global variable Dirk Ziegelmeier 2016-02-10 20:32:50 +01:00
  • 54a2c13b2e SNMP: Fix compile in dual-stack configuration Dirk Ziegelmeier 2016-02-06 00:21:06 +01:00
  • b2410e428a SNMP: Remove comment about traps in README Dirk Ziegelmeier 2016-02-04 16:22:43 +01:00
  • 208f24a20c SNMP: Add some comments in thread sync code Dirk Ziegelmeier 2016-02-04 16:20:46 +01:00
  • 8cd33a5e41 SNMP: Implement basic SNMPv1 traps; Remove IPv6 support in RAW API again until there is a clean solution for dual-stack UDP Dirk Ziegelmeier 2016-02-04 16:19:59 +01:00
  • 905a434179 snmp_pbuf_stream: Reduce code duplication. Most is already implemented in lwIP pbuf framework. Dirk Ziegelmeier 2016-02-03 08:39:41 +01:00
  • 222155d7e2 pbuf: Make pbuf_skip function public, so it can be used in SNMP code Dirk Ziegelmeier 2016-02-03 08:37:04 +01:00
  • 28549e35fe SNMP: Update threadsync not to use mem_malloc - memory can be instantiated statically since it is only needed once per threadsync instance Dirk Ziegelmeier 2016-02-02 22:31:59 +01:00
  • 8f6cfa8769 Private mempools: Add missing include for LWIP_MEM_ALIGN_SIZE in memp_priv.h Dirk Ziegelmeier 2016-02-02 22:28:21 +01:00
  • f411a34af5 stats: Add proper #if guard to prevent unused-variable warning for memp_names Axel Lin 2016-01-30 08:02:32 +08:00
  • 1de8d432d4 httpd: fix sending of data from send_headers Philipp Toelke 2016-01-13 09:44:54 +01:00
  • 515a4cad73 Clear addr_hint pointer after calling ip_output_if() in tcp_zero_window_probe() Axel Lin 2015-11-22 16:42:30 +08:00
  • 4beacc4ca0 PPP, VJ, fixed TCP retransmission Sylvain Rochet 2016-01-24 20:07:54 +01:00
  • 9c7231ee75 PPP, VJ, move pbuf length check so all TYPE_IP return value are within the same code block Sylvain Rochet 2016-01-24 19:36:19 +01:00
  • e31902dc4c PPP, prepare for chained compressors (e.g. VJ+MPPE) requiring packet copy Sylvain Rochet 2016-01-24 17:48:57 +01:00
  • 53853a25b0 PPP, report full packet size in VJ debug output Sylvain Rochet 2016-01-24 02:16:03 +01:00
  • 858bce7b4e PPP, VJ, code cleaning Sylvain Rochet 2016-01-24 01:29:15 +01:00
  • 77d355560f PPP, VJ, fix header offset calculation on LP64/ILP64 systems Sylvain Rochet 2016-01-24 01:02:23 +01:00
  • 733758a909 tcp: fixed TCPH_UNSET_FLAG macro Sylvain Rochet 2016-01-24 00:42:52 +01:00
  • 90df2111b7 SNMP: Add missing closing braces in #ifdef __cplusplus case Dirk Ziegelmeier 2016-01-22 13:28:11 +01:00
  • 31732631fc PPP: CCP: add error debug messages for dropped packets due to missing transmit or receive CCP method Stephan Linz 2016-01-20 21:55:37 +01:00
  • c4d78e6422 PPP, PPPoL2TP, fix double free of L2TP pcb in pppol2tp_create error path Sylvain Rochet 2016-01-20 21:12:37 +01:00
  • 52463fa25b PPP, PPPoS, fix dereference of uninitialised pppos->in_head pointer Wayne Uroda 2016-01-20 20:50:08 +01:00
  • 96373f6959 Define LWIP_CHKSUM_COPY_ALGORITHM when port provides LWIP_CHKSUM_COPY macro Joel Cunningham 2016-01-20 11:34:25 -06:00
  • 0a67c06b51 Fix type on snmp_set_test_ok to be snmp_err_t Joel Cunningham 2016-01-20 11:18:35 -06:00
  • babce70c95 SNMP: Convert SNMP error #defines to an enum and fix type mismatches discovered by conversion; Convert SNMP_NEXT_OID_STATUS to an enum Dirk Ziegelmeier 2016-01-20 10:53:59 +01:00
  • 4cf509989f SNMP: Fix variable naming in snmp_pbuf_stream Dirk Ziegelmeier 2016-01-20 10:53:15 +01:00
  • 6185bf6f61 PPP: CCP: don't drop output packets if CCP negotiated that we don't compress on our side Sylvain Rochet 2016-01-19 23:51:47 +01:00
  • 2c31beb6e7 IPv4: fix some meaningless debug messages Stephan Linz 2016-01-18 21:03:00 +01:00
  • 9f3270afaf PPP: fix typo in debug message Stephan Linz 2016-01-18 21:09:14 +01:00
  • fe2cfe2dba raw: Fix build error Axel Lin 2016-01-18 22:46:35 +08:00
  • 1ee574944c PPP, Documentation, fixed mistake about pppos_input_sys Sylvain Rochet 2016-01-18 12:44:08 +01:00
  • 80375e68dd ip_frag: fix compiler warnings, unused variable Stephan Linz 2016-01-18 09:32:23 +01:00
  • 289d1dd7f3 slipif: fix several compiler warnings Stephan Linz 2016-01-18 09:27:07 +01:00
  • f2c7e9c939 raw: Remove unnecessary #if guard around PCB_ISIPV6() calls Axel Lin 2016-01-16 09:41:42 +08:00
  • dc36dbac27 SNMP MIB2: Add unsupported snmpSilentDrops and snmpProxyDrops objects Dirk Ziegelmeier 2016-01-15 11:46:35 +01:00
  • d9534325cf SNTP: Add function to get operating mode Dirk Ziegelmeier 2016-01-15 11:41:12 +01:00
  • c221361874 stats: Move memp_names table out of stats_init/stats_display_memp functions Axel Lin 2016-01-14 15:18:57 +08:00
  • 70ebeda7ed memp: Simplify implementation of memp_overflow_check_all Axel Lin 2016-01-15 18:30:21 +08:00
  • 11faa8149e Fix blocking close with LWIP_SO_SNDTIMEO Joel Cunningham 2015-12-17 09:57:12 -06:00
  • 70487a43d4 Apply patch #8854: dns: Simplify #ifdef guard around dns_gethostbyname_addrtype from Axel Lin + Minor compile fix from me Patch makes the code a tiny bit less lightweight (add a parameter in dns_gethostbyname which is then not used in dns_gethostbyname_addrtype) but it makes the code more readable. Dirk Ziegelmeier 2016-01-13 19:52:08 +01:00
  • a93ae2558f tcp_rexmit_rto: Remove superfluous #if TCP_OVERSIZE guard Axel Lin 2016-01-13 20:46:08 +08:00
  • c2ba9129ad SNMP: Fix InetAddress octet string encoding (length was missing) Dirk Ziegelmeier 2016-01-13 13:04:37 +01:00
  • c2a74b767b udp_bind: Omit checking for the same port if no port specified Axel Lin 2016-01-13 08:32:40 +08:00
  • 123c8dbd6a Fix bug #46837 Don't send dhcp_release message in dhcp_release function Dirk Ziegelmeier 2016-01-13 08:54:54 +01:00
  • 40ff62fa60 SNMP MIB Compiler: Update project settings, fix wrong output path in SharpSnmpLib Dirk Ziegelmeier 2016-01-12 08:40:12 +01:00
  • 84397ef013 SNMP MIB Compiler: Treat read-create nodes as read-only Dirk Ziegelmeier 2016-01-11 20:28:01 +01:00
  • a2b7cec17b SNMP MIB Compiler: Add example command line to compile UDP-MIB Dirk Ziegelmeier 2016-01-11 20:15:17 +01:00
  • e80e7a10d4 SNMP MIB Compiler: Resolve MIB files in a case-insensitive way Dirk Ziegelmeier 2016-01-11 20:14:54 +01:00
  • 8c4d1909f4 SNMP MIB Compiler: Deal with multiple OID assignments in a MIB file Dirk Ziegelmeier 2016-01-11 19:45:57 +01:00
  • bb8ecd7e08 SNMP: Add some basic MIBs Dirk Ziegelmeier 2016-01-11 19:45:25 +01:00
  • a7e1c730b2 Add .userprefs file to .gitignore Dirk Ziegelmeier 2016-01-11 19:23:09 +01:00
  • 6f1fc6c403 Add .gitignore (currently including SNMP MIB compiler binaries) Dirk Ziegelmeier 2016-01-11 19:21:06 +01:00
  • 9f3aab6a62 tcp_out: Use LWIP_DBG_LEVEL_SERIOUS instead of hard coded number Axel Lin 2016-01-11 19:53:19 +08:00
  • 44256740bd SNMP MIB Viewer: Adapt to changes in SNMP framework that were required to compile UDP-MIB and TCP-MIB Dirk Ziegelmeier 2016-01-11 12:25:47 +01:00
  • 156ad0dbf5 udp_bind: Fix the logic to check both pcbs have REUSEADDR set Axel Lin 2016-01-11 10:44:29 +08:00
  • 5056d375f2 tcp_bind/tcp_connect: Omit checking for the same port if no port specified Axel Lin 2016-01-10 18:28:07 +08:00
  • b68e801975 MIB compiler: Eliminate the need for a cast Dirk Ziegelmeier 2016-01-11 10:32:33 +01:00
  • 987f0e3016 Update SNMP README - add correct SharpSnmpLib reference Dirk Ziegelmeier 2016-01-11 10:26:37 +01:00
  • 713deba83f SNMP MIB compiler: Add ability to generate UDP-MIB and TCP-MIB Dirk Ziegelmeier 2016-01-11 10:24:31 +01:00
  • b9d0d80946 SNMP: Add more MIB compiler info Dirk Ziegelmeier 2016-01-09 14:35:51 +01:00
  • 84cd489d24 SNMP: Add MIB compiler (code generator) Dirk Ziegelmeier 2016-01-09 12:39:48 +01:00
  • 708beb4874 udp_bind: Allocate a random port earlier to correctly detect port conflict Axel Lin 2016-01-09 12:11:12 +08:00
  • 4e8574bd23 SNMP: Table API cleanup Dirk Ziegelmeier 2016-01-07 09:53:25 +01:00
  • fbdfba2509 SNMP: Found the correct cause of a memory leak Dirk Ziegelmeier 2016-01-07 09:52:13 +01:00
  • e033866651 Merge branch 'master' of ssh://git.sv.gnu.org:/srv/git/lwip Dirk Ziegelmeier 2016-01-05 10:00:21 +01:00
  • 76094b8c7e SNMP: SMEMCPY should only be used when size is known at compile time Dirk Ziegelmeier 2016-01-05 09:59:42 +01:00
  • e336f877c2 Merge branch 'master' of ssh://git.sv.gnu.org:/srv/git/lwip Dirk Ziegelmeier 2016-01-04 21:27:39 +01:00
  • 7f699b36ff Update some MIB2 comments Dirk Ziegelmeier 2016-01-04 21:27:24 +01:00
  • e041b9a51c SNMP: Fix shadowing warning in another file. Pointed out by Erik Ekman. Dirk Ziegelmeier 2016-01-04 13:30:02 +01:00
  • 0a222a2ff7 SNMP: Fix shadowing warning pointed out by Erik Ekman Dirk Ziegelmeier 2016-01-04 12:31:09 +01:00
  • 031de097db Trivial comment fix for lwip_netconn_do_disconnect() Axel Lin 2015-12-12 12:28:37 +08:00
  • d4361fc7d7 snmp_traps.c: #if 0 ... #endif around C++ style comments does not work - remove the code completely for now Dirk Ziegelmeier 2016-01-04 11:41:17 +01:00