44 Commits (085c1594de4d69b50d26f0881526ac3d1c181aed)

Author SHA1 Message Date
Erik Ekman 63038e0305 Restore DHCP relay test packet numbers 12 years ago
Simon Goldschmidt dbd125c714 Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards) 12 years ago
Simon Goldschmidt a80c4d147c Unit test patch by Erik Ekman: use macro to store correct testcase name 12 years ago
Erik Ekman ad66b2bf13 Don't mark arrays as const since they are modified by the test 12 years ago
Simon Goldschmidt 751deac9d1 Another fix to window scaling: support queueing more than 64 KByte in ooseq data 12 years ago
Simon Goldschmidt d237ec7e78 Changed C++ comments to C style 13 years ago
Henrik Persson 7e9f000d0b Segfault in dhcp_parse_reply if no end marker 14 years ago
goldsimon d690775ca1 Added unit test that pbuf_copy returns a correct error code for pbuf queues ending with a zero-length pbuf. 14 years ago
goldsimon 84d8760561 dhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so that CHECKSUM_CHECK_UDP==0 is not necessary 14 years ago
goldsimon e1225cec5f new dhcp unit test: fix compilation for strict C, made local functions static, made some variables and parameters const 14 years ago
goldsimon 5db6bb02d6 TCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif set) 14 years ago
Erik Ekman 679d3fd5b3 Add unit tests for DHCP 14 years ago
goldsimon 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 14 years ago
goldsimon 86766f4e20 Minor: cosmetic source code layout changes 14 years ago
goldsimon 8cb0b7d043 Fixed unit tests: adapted lwipopts.h and fixed test_tcp_new_counters_pcb() after adding snd_wnd_max to struct tcp_pcb. 14 years ago
goldsimon b6cdeeef8e Added lwipopts.h file for unit tests 14 years ago
Simon Goldschmidt 0333e81616 fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window 15 years ago
Simon Goldschmidt ab51f3bec0 added unit test cases for seqno wraparound on fast-rexmit and rto-rexmit (unsent/unacked lists must be correctly sorted) 15 years ago
Simon Goldschmidt ce98df59f1 Added unit test case for persist timer / zero window probes 15 years ago
Simon Goldschmidt 07c610e068 Implemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h), added unit test for this new feature 15 years ago
Simon Goldschmidt 7524f9006e added unit tests for data-after-FIN 15 years ago
Simon Goldschmidt bcfe3dacc6 fixed unit tests (one TCP test failed, removed comma at the end of array initializers) 15 years ago
Simon Goldschmidt 17a5ba08e4 unit tests: correctly handle small PBUF_POOL_BUFSIZE settings, prevent NULL-pointer-deref. (ooseq test is still not running correctly...) 15 years ago
Simon Goldschmidt c9e1d6cca8 adapted unit tests to changes after adding IPv6 support 15 years ago
goldsimon 33a587d97e Added a test for fast-rexmit 15 years ago
goldsimon 791505ab6e Fixed tcp unit tests after introducing ip_addr_p_t and letting tcp_input check for broadcasts by using current_iphdr_dest. 15 years ago
goldsimon 88e1719d8e Fixed etharp unit test after changing struct etharp_hdr 15 years ago
goldsimon da3d84d1dc Fix compilation if ETHARP_SUPPORT_STATIC_ENTRIES==0 16 years ago
goldsimon cf0b831971 Fixed bug #29080: Correctly handle remote side overrunning our rcv_wnd in ooseq case. 16 years ago
goldsimon 5fd410db4b Added support for static ARP table entries (added option ETHARP_SUPPORT_STATIC_ENTRIES) (+ added test); refactored the etharp code a bit 16 years ago
goldsimon bcd4b76d31 Moved stack-internal parts of tcp.h to tcp_impl.h, tcp.h now only contains the actual application programmer's API 16 years ago
goldsimon 52970c2459 Renamed mem_realloc() to mem_trim() to prevent confusion with realloc() 16 years ago
goldsimon 3f8e6c423c Fixed unit tests after changing struct ip_addr to ip_addr_t 16 years ago
goldsimon f5d4f3d83c For wrong configurations, let the test fail instead of the compiler 16 years ago
goldsimon dbcce3a4be bug #26523: Compiler Warnings 16 years ago
goldsimon e0c5c4de88 Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it 16 years ago
goldsimon 9a0dac5885 Removed unused test function 16 years ago
goldsimon c9e0652526 Remove C++-style comments 16 years ago
goldsimon bf261f4f13 Another fix for bug #28241 (ooseq processing) and adapted corresponding unit test 16 years ago
goldsimon feca27d69e Slightly modified the out-of-sequence-FIN test: receive packets with FIN & data and with FIN alone 17 years ago
goldsimon fbef894674 tcp_set_state: fail on unimplemented state 17 years ago
goldsimon 2e4bb8b3b7 Added explicit check for number of segments and seqno/len of each segment on pcb->ooseq 17 years ago
goldsimon c5d2e536cf Worked on tcp_oos unit tests, nearly all TCP_QUEUE_OOS code is covered now 17 years ago
goldsimon 902ad897b8 Initial check-in of some unit tests 17 years ago