Commit Graph

  • 5db6bb02d6 TCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif set) goldsimon 2012-03-25 17:12:02 +02:00
  • 679d3fd5b3 Add unit tests for DHCP Erik Ekman 2012-03-22 10:52:05 +01:00
  • fe7bbae8a7 added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files. goldsimon 2012-03-25 15:02:58 +02:00
  • d77b354377 fixed bug #35927: missing refragmentaion in ip_forward goldsimon 2012-03-22 19:35:04 +01:00
  • c622985fda Better fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is disabled. goldsimon 2012-03-25 15:12:42 +02:00
  • d910786034 added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files. goldsimon 2012-03-25 15:02:58 +02:00
  • 8dbf572ea5 Fixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1 goldsimon 2012-03-25 14:56:41 +02:00
  • f8af1a7443 fixed bug #35931: Name space pollution in api_msg.c and netifapi.c goldsimon 2012-03-25 14:41:27 +02:00
  • d95bcab053 fixed bug #35927: missing refragmentaion in ip_forward goldsimon 2012-03-22 19:35:04 +01:00
  • 2b4c10e705 Support single-packet queueing in ND6 (similar to ARP), when !LWIP_ND6_QUEUEING. Ivan Delamer 2012-03-22 11:14:49 -06:00
  • ac4c802089 Disable leftover ND6 queueing code when !LWIP_ND6_QUEUING. Ivan Delamer 2012-03-22 10:25:50 -06:00
  • c6e4b8f829 patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list goldsimon 2012-03-20 22:06:32 +01:00
  • ca30f4b02e patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list goldsimon 2012-03-20 22:02:22 +01:00
  • 52d41d19d3 Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip goldsimon 2012-03-12 16:43:23 +01:00
  • 0e7df4b193 Removed unnecessary global variable "subnetMask", which is only used in one function (GetMask) goldsimon 2012-03-12 16:42:18 +01:00
  • 2c9b3b35d1 patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system goldsimon 2012-03-12 16:39:52 +01:00
  • 21a1cf9c80 patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system STABLE-1_4_1-RC1 goldsimon 2012-03-12 16:37:44 +01:00
  • 773dcae2f9 Missing declarations in supporting IP_HDRINCL. Ivan Delamer 2012-03-02 09:35:42 -07:00
  • 22e7b674ed Check arguments in nd6, and some other minor fixes nearby. Ivan Delamer 2012-03-02 09:27:14 -07:00
  • 8c95422204 Early exit when checking if ip6 reassembled packet is valid. Ivan Delamer 2012-03-02 09:18:54 -07:00
  • 34531a8160 Check that pbuf_header succeeds in IPv6 reassembly. Ivan Delamer 2012-03-02 09:16:33 -07:00
  • 5c199483cd Support IP_HDRINCL in ip6_output() and ip6_output_hinted(), previously only supported in ip6_output_if(). Ivan Delamer 2012-03-02 09:06:57 -07:00
  • c52189557e Fixed error in calculating some IPv6 option header lengths. Ivan Delamer 2012-03-02 08:59:34 -07:00
  • bcabe63971 Set ip_data.current_netif earlier to allow ICMPv6 packets in ip6_fwd. Then set to "accepted" netif, not inp. Ivan Delamer 2012-03-02 08:53:51 -07:00
  • 193ccaa3b4 IGMP stats: added missing tab (by Gisle Vanem) goldsimon 2012-03-01 19:21:17 +01:00
  • c6605766e7 Fixed unused variable warnings produced with the last commit goldsimon 2012-03-01 19:10:52 +01:00
  • 4fca628d36 Speed up LWIP_TCPIP_CORE_LOCKING by directly calling functions in api_msg.c instead of calling via function pointer. goldsimon 2012-02-28 12:45:59 +01:00
  • 7f81c62bf0 fixed bug #35595: Impossible to send broadcast without a gateway (introduced when fixing bug# 33551) goldsimon 2012-02-23 10:14:27 +01:00
  • 6486c4b1d7 fixed bug #35595: Impossible to send broadcast without a gateway (introduced when fixing bug# 33551) goldsimon 2012-02-23 10:12:38 +01:00
  • 5deeaa652a Removed IPv6 code slipped in while cherry picking: MEMP_NUM_SYS_TIMEOUT default value must not depend on LWIP_IPV6, tcp unit tests failed, slipif assigned netif->output_ip6 goldsimon 2012-02-23 07:58:59 +01:00
  • 3db3811054 unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too goldsimon 2012-02-22 21:47:33 +01:00
  • f8bafcb298 Minor: cosmetic source code layout changes goldsimon 2012-02-22 21:35:04 +01:00
  • eb658da462 Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb. goldsimon 2012-02-22 21:34:22 +01:00
  • d8b2bc2788 Added lwipopts.h file for unit tests goldsimon 2012-02-16 13:11:04 +01:00
  • 07af231f2b fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak) goldsimon 2012-02-16 12:55:14 +01:00
  • 8d04da8c6e fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551) goldsimon 2012-02-16 12:30:52 +01:00
  • 6b37e7ec74 Patch by Stéphane Lesage: fixed bug #35536 SNMP: error too big response is malformed goldsimon 2012-02-16 08:01:54 +01:00
  • 8c5edcf564 fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1 goldsimon 2012-02-16 07:33:38 +01:00
  • 162432fe24 Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed goldsimon 2012-02-13 21:38:48 +01:00
  • 13791ccff3 Fixed unused local variable warning (patch #7711) goldsimon 2012-02-13 20:41:58 +01:00
  • fc7da615fb unit tests lwipopts.h: NO_SYS==1, disable netconn and sockets (not tests) -> lwipopts.h is now usable for unix unit test makefile, too goldsimon 2012-02-22 21:47:33 +01:00
  • 86766f4e20 Minor: cosmetic source code layout changes goldsimon 2012-02-22 21:35:04 +01:00
  • 8cb0b7d043 Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb. goldsimon 2012-02-22 21:34:22 +01:00
  • b6cdeeef8e Added lwipopts.h file for unit tests goldsimon 2012-02-16 13:11:04 +01:00
  • ac2175fa7d fixed pbuf leak when PPP session is aborted through pppSigHUP() (bug #35541: PPP Memory Leak) goldsimon 2012-02-16 12:55:14 +01:00
  • 5816bab6a2 fixed bug #35531: Impossible to send multicast without a gateway (introduced when fixing bug# 33551) goldsimon 2012-02-16 12:30:52 +01:00
  • d0d650aa67 Patch by Stéphane Lesage: fixed bug #35536 SNMP: error too big response is malformed goldsimon 2012-02-16 08:01:54 +01:00
  • 6d5ec9c998 fixed bug #35537: MEMP_NUM_* sanity checks should be disabled with MEMP_MEM_MALLOC==1 goldsimon 2012-02-16 07:33:38 +01:00
  • aecc5db1be Removed unused variable in ip_debug_print() goldsimon 2012-02-14 21:30:38 +01:00
  • fe08467e45 Removed unused variable in ip_debug_print() goldsimon 2012-02-14 21:29:14 +01:00
  • 26e03b81fe Fixed unused variable warning goldsimon 2012-02-14 19:41:46 +01:00
  • f6582fd229 Correctly calculate the default value of MEMP_NUM_SYS_TIMEOUT as needed goldsimon 2012-02-13 21:38:48 +01:00
  • 5e87126c38 Multiple compilation fixes: - use C style comments, not C++ style; - don't use #if with undefined parameter; goldsimon 2012-02-13 21:38:28 +01:00
  • c279692cfe Fixed unused local variable warning (patch #7711) goldsimon 2012-02-13 20:41:58 +01:00
  • d4b169a6de partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window) goldsimon 2012-02-12 14:14:19 +01:00
  • 61588f9d90 tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only) goldsimon 2012-02-12 14:04:59 +01:00
  • 7d0dab9d7d partly fixed bug #25882: TCP hangs on MSS > pcb->snd_wnd (by not creating segments bigger than half the window) goldsimon 2012-02-12 14:14:19 +01:00
  • 16555ad12e tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only) goldsimon 2012-02-12 14:04:59 +01:00
  • 63dbd8faed fixed bug #35435: No pcb state check before adding it to time-wait queue while closing goldsimon 2012-02-11 18:15:17 +01:00
  • 4d71f7270b fixed bug #35305: pcb may be freed too early on shutdown(WR) goldsimon 2012-01-22 11:18:36 +01:00
  • 593f75fc3b fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR)) goldsimon 2012-01-21 18:05:15 +01:00
  • bec8cf9f38 Fixed my last chagne to pbuf_copy goldsimon 2012-01-21 16:57:53 +01:00
  • b163197340 - fixed bug #35151: DHCP asserts on incoming option lengths; - fixed wrong CHANGELOG of the last commit goldsimon 2012-01-20 21:36:52 +01:00
  • be1dccd15e pbuf_copy(): moved the check for "p_to != NULL" to a better place. goldsimon 2012-01-20 21:21:10 +01:00
  • 83b46811f9 fixed bug #35291: NULL pointer in pbuf_copy goldsimon 2012-01-20 21:19:26 +01:00
  • 1d96195f47 implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061) goldsimon 2011-12-17 22:12:01 +01:00
  • 5546e46c60 Added option CHECKSUM_GEN_ICMP goldsimon 2012-01-16 09:40:15 +01:00
  • 9a95c2ff08 fixed bug #35435: No pcb state check before adding it to time-wait queue while closing goldsimon 2012-02-11 18:15:17 +01:00
  • 1d6347c9b0 Allow unicast NA messages without LLA option, in accordance to RFC2461 section 4.4, and as suggested by Phillip Toelke. Ivan Delamer 2012-01-27 14:54:39 -07:00
  • 13075460ea fixed bug #35305: pcb may be freed too early on shutdown(WR) goldsimon 2012-01-22 11:18:36 +01:00
  • 4c3dfb92b7 fixed bug #34636: FIN_WAIT_2 - Incorrect shutdown of TCP pcb: don't let PCBs time out from FIN_WAIT_2 if the RX side wasn't close (by either calling tcp_close or tcp_shutdown(RDWR)) goldsimon 2012-01-21 18:05:15 +01:00
  • fc2efaeb8c Fixed my last chagne to pbuf_copy goldsimon 2012-01-21 16:57:53 +01:00
  • b15e60243b - fixed bug #35151: DHCP asserts on incoming option lengths; - fixed wrong CHANGELOG of the last commit goldsimon 2012-01-20 21:36:52 +01:00
  • f2de3215c3 pbuf_copy(): moved the check for "p_to != NULL" to a better place. goldsimon 2012-01-20 21:21:10 +01:00
  • efbad07643 fixed bug #35291: NULL pointer in pbuf_copy goldsimon 2012-01-20 21:19:26 +01:00
  • 69d61eda01 Added option CHECKSUM_GEN_ICMP goldsimon 2012-01-16 09:40:15 +01:00
  • e9255d3714 Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip goldsimon 2012-01-12 15:40:41 +01:00
  • c8647c0396 implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW) (fixes bug #35061) goldsimon 2011-12-17 22:12:01 +01:00
  • 4bcb7accb8 Fixed some merge errors goldsimon 2011-12-15 06:19:25 +01:00
  • 5f4f07c193 Merged from trunk: fixed compilation of tcp_helper.c goldsimon 2011-12-14 22:10:39 +01:00
  • f76488a841 Merged from trunk: tcp_abandon: call tcp_rst before freeing the pcb to prevent copying addresses and ports to local variables goldsimon 2011-12-14 21:49:47 +01:00
  • ef0a44c62d Merged from trunk: use constants for 'offset' based on pbuf_layer instead of calculating it using fall-through goldsimon 2011-12-14 21:48:51 +01:00
  • d3ee77e7b1 Merged from trunk: use a define to set/reset netif->addr_hint to prevent too many #ifdef's in the code goldsimon 2011-12-14 21:48:06 +01:00
  • a91d8e7395 Merged from trunk: removed empty function autoip_init() (converted to an empty define) goldsimon 2011-12-14 21:46:47 +01:00
  • 8114627d6a Fixed typo in define check: LWIP_IPv6_FRAG -> LWIP_IPV6_FRAG goldsimon 2011-12-14 21:42:51 +01:00
  • 3306641708 bug #33634 ip_forward() have a faulty behaviour: Added pbuf flags to mark incoming packets as link-layer broadcast/multicast. Also added code to allow ip_forward() to forward non-broadcast packets to the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1). Simon Goldschmidt 2011-07-21 21:47:25 +02:00
  • 1ebd914cdc correctly prefix all functions with 'etharp_' (also static functions) Simon Goldschmidt 2011-07-21 21:16:04 +02:00
  • 56207f2505 fixed bug #31177: tcp timers can corrupt tcp_active_pcbs in some cases goldsimon 2011-11-25 18:36:52 +01:00
  • 4c8e4fa003 fix for bug #34684 was wrong (netif for arp table entries was only set/reset with SNMP enabled) goldsimon 2011-11-24 21:11:11 +01:00
  • c4f3b8818a fixed bug #34884: sys_msleep() body needs to be surrounded with '#ifndef sys_msleep' goldsimon 2011-11-23 20:58:19 +01:00
  • f0b0a3760c fixed bug #34684: Clear the arp table cache when netif is brought down goldsimon 2011-11-22 21:44:28 +01:00
  • b361533584 SEQ-comparing defines: cast parameters to u32_t for clarity goldsimon 2011-10-29 21:43:13 +02:00
  • 40a16289f7 Use pppRecvWakeup only if PPP_INPROC_OWNTHREAD is defined. Ivan Delamer 2011-10-28 16:22:54 -06:00
  • ec565c8a19 Conditional compilation in ppp.c according to PPP_ options. Ivan Delamer 2011-10-28 14:23:20 -06:00
  • 0b382a0d53 fixed bug #34638: Dead code in tcp_receive - pcb->dupacks goldsimon 2011-10-28 13:09:04 +02:00
  • 386a4b7079 - moved processing of refused_data to an own function (used from tcp_fasttmr and tcp_input); - improved readability of tcp_slowtmr by using defines to access keepalive variables goldsimon 2011-10-23 18:10:46 +02:00
  • 3585cc1a70 fixed bug #34429: possible memory corruption with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1 goldsimon 2011-10-23 17:31:03 +02:00
  • 4790ebf282 SLIP netif: add support for multiple input strategies (threaded, polling, RX from ISR) goldsimon 2011-10-21 22:25:44 +02:00
  • 4ffbcbf62e added missing valid/set_invalid defines for NO_SYS goldsimon 2011-10-21 19:47:37 +02:00
  • 76e74b6635 removed the need to disable ARP_QUEUEING when LWIP_ARP is disabled an TCP_QUEUE_OOSEQ when LWIP_TCP is disabled goldsimon 2011-10-21 13:24:33 +02:00