Commit Graph

5496 Commits

Author SHA1 Message Date
jani
3e6202f614 do not set rtime too many times to 0.it's enough to do it in tcp_output_segment 2003-01-14 08:37:01 +00:00
jani
a993e962f5 fix compiler warnings in DEBUGF 2003-01-14 08:22:05 +00:00
likewise
1ad5537c9b Fixed some typo's in the comments. 2003-01-13 13:22:09 +00:00
likewise
ea0dc429a7 Added #include <string.h> for memset()/memcpy(). 2003-01-13 13:14:45 +00:00
jani
8d7f09fa92 remove global ctime.Each entry's ctime is now absolute.This avoids wrapping and also solves naming clash reported on the list 2003-01-13 09:38:21 +00:00
jani
02a6a8a809 etharp_output_sent no longer exists 2003-01-11 15:10:12 +00:00
jani
2bba9bcd9f make rtime field u16_t like rto otherwise it won't catch rto if that goes beyond 255.When that happens there's trouble already since 255 ticks is over 2 minutes but still... 2003-01-10 15:46:58 +00:00
jani
4eebbdea0d print correct pcb->rtime value in debug statament.it does not directly depend on tcp_ticks 2003-01-10 15:41:02 +00:00
jani
4a2d03a517 seqno is u32_t so use %lu instead of %ld when printing it 2003-01-10 15:36:47 +00:00
jani
5212afdd8f remove already commented out function : memp_realloc 2003-01-10 09:42:27 +00:00
jani
e196108931 fix debug messages in tcp_slowtmr to reflect the correct name of this function 2003-01-10 09:41:24 +00:00
likewise
a5e9b73703 Made hardware address length definable (was 6 bytes for Ethernet). 2003-01-08 16:06:02 +00:00
likewise
5e13d495f0 Merged patch #927 which fixes "needs modifiable lvalue" compile error in TCP_REG. 2003-01-08 15:37:20 +00:00
likewise
a528a2323e More debugging in checksum routines. 2003-01-08 15:36:25 +00:00
likewise
c786f238ef Output snd_buf size in debug message in tcp_enqueue(). 2003-01-08 14:35:02 +00:00
adamdunkels
d04f7aa4bc Added comments to the tcp_enqueue() function. 2003-01-08 14:11:24 +00:00
likewise
ced453a72b Moved ETHARP_ALWAYS_INSERT switch to lwipopts.h 2003-01-08 11:03:54 +00:00
likewise
0f3e8c19e8 Added check if ARP_QUEUEING is 1 for a queueing related debug statement. 2003-01-08 10:49:16 +00:00
likewise
cc4df7100d Updated lwIP module copyright years to include 2003. Committers must check theirs. 2003-01-08 10:09:39 +00:00
likewise
0bd02a5f7a Removed etharp_output_sent() as etharp.c no longer returns ARP packets to the driver. 2003-01-08 09:24:06 +00:00
likewise
b311ab0d53 Allocate PBUF_RAW instead of PBUF_LINK type pbufs. Fixes bug #1890 for this driver. 2003-01-08 09:09:35 +00:00
jani
b6b905412e Patch #928 from Marc 2003-01-07 12:50:34 +00:00
jani
2c2fec1b0e remove bcopy & bzero from archs 2002-12-19 10:37:07 +00:00
jani
f946abd86b Simplify pbuf allocation for TCP packets in two places by replacing pbuf_alloc + pbuf_header
with an equivalent pbuf_alloc.When we know we'll have to adjust the payload for the TCP header
just alloc it like that from the start.
2002-12-19 09:50:53 +00:00
jani
156d2c866f sizeof(u8_t) is 1 at temperatures > 0 K 2002-12-19 09:04:58 +00:00
jani
ef68392388 renamed (hopefully everywhere) stats to lwip_stats.closes bug #1901 2002-12-18 12:49:01 +00:00
jani
51006824f9 remove tcpdump.c 2002-12-18 12:26:14 +00:00
kieranm
9eebc135ce Removed dummy variable from "struct mem" and handled all MEM_ALIGNMENT cases
Fixes bug #1912
2002-12-18 12:01:24 +00:00
kieranm
af0d6bc881 Removed tcpdump.c from Makefile - it seems to have disappeared 2002-12-18 12:00:14 +00:00
kieranm
771fb0f2cd Removed "static" from declaration of netif in ip_forward and ip_output
(Bug #1909)
2002-12-18 11:53:26 +00:00
jani
3984e521ad Move tcpdump.h to unix arch.BTW: as with tcpdump.c no CVS history is lost here. 2002-12-18 10:51:33 +00:00
jani
95c1bca3f1 Moved tcpdump to unix arch since it's specific to that. 2002-12-18 10:48:51 +00:00
jani
4c1069c38b use memset and memcpy instead of bzero and bcopy throughout lwIP core code.Archs need to update.Bug #1899 2002-12-18 10:40:01 +00:00
jani
219266b7de replace bcopy and bzero with memcpy memset in tapif.Alloc PBUF_RAW instead of PBUF_LINK on input now that the meaning of PBUF_LINK has changed. 2002-12-18 10:36:43 +00:00
jani
f037bfad1e check for NO_SYS consistently using #if.Closes bug #1910 2002-12-18 10:03:33 +00:00
jani
c0a8ef6f6f Use C style comments.In debug stataments cast various struct pointers to void* to
avoid printf warnings.misc warnings in etharp.
2002-12-17 09:41:16 +00:00
jani
a071cbf86c Allocate PBUF_POOL_BUFSIZE at once not harcoded 128.Init MTU for slip - 1500 for
now needs a SLIP_MTU in opts (later).Add prototypes for low level sio callbacks.
2002-12-17 09:39:10 +00:00
jani
6dd350348d fix 'conflicting type for strncmp' warning on linux by including string.h 2002-12-17 09:36:50 +00:00
likewise
5472d94b73 Added comment to ip_input() packet filter. 2002-12-11 00:21:12 +00:00
kieranm
40abd14884 Make tmr in tcp_pcb u32_t to ensure it wraps at the same time as tcp_ticks (Bug #1838) 2002-12-05 09:52:59 +00:00
kieranm
cac01f7a89 Fixed compiler warnings when ARP_QUEUEING is not defined. 2002-12-05 09:41:52 +00:00
kieranm
7ea512e7fa Added #include <stdlib.h> to ensure abort() is known 2002-12-05 09:41:04 +00:00
kieranm
8bd53b5be8 Added netbuf_copy_partial declaration 2002-12-05 09:40:19 +00:00
kieranm
96610c9c20 Fixed compiler warning - DEBUGF statement with too many arguments 2002-12-05 09:38:25 +00:00
kieranm
6972e81ac0 Zero pcb->acked if ack does not acknowledge new data
- prevents the sent function being called multiple times when no new data has been acknowledged
2002-12-03 10:45:47 +00:00
likewise
ac46dbacfa Fixed wrong assertion condition. 2002-12-02 16:08:09 +00:00
likewise
ea3b0fc477 Fixed missing end-of-comment. 2002-12-02 13:11:04 +00:00
likewise
99dfbfeef0 Clarified debug messages where the timers are set. 2002-12-02 12:23:37 +00:00
likewise
dcce504ade First attempt to stylize and document DHCP sources. 2002-12-01 19:49:45 +00:00
likewise
dfa0369678 More complete ARP protocol implementation. 2002-11-29 16:02:11 +00:00