Commit Graph

4464 Commits

Author SHA1 Message Date
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
likewise
1d341bae31 Initial commit of C16x/ST10 arch files and CS8900a Ethernet driver. 2002-11-29 10:59:34 +00:00
likewise
0ed4fd6741 Documented ( *output)() and ( *linkoutput)() better for upcoming ARP changes. 2002-11-28 15:03:07 +00:00
likewise
6fc6acf295 Fixed typo: ETHARP_DEGUG 2002-11-28 14:55:10 +00:00
likewise
bda378bb9f All ARP queueing code is now conditionally compiled-in. 2002-11-28 09:26:18 +00:00
likewise
4619bbc3ea Changed dhcp_init() to NULL the client_list (on re-inits). 2002-11-25 22:36:25 +00:00
likewise
c73606309f Fixed argument type compiler warnings of the bcopy() call using type casting. 2002-11-24 22:27:10 +00:00
jani
0442c1e228 new file ip_frag for IP SAR.reassembly code moved from ip.c and fixed 2002-11-22 15:46:50 +00:00
jani
b0500b7b5a add ip frag switches defaulting to on and increase pbuf pool size for unix demo 2002-11-22 15:35:33 +00:00
jani
38581aad65 include slipif in the objects and widlcard ipv4 so it will include everything in there 2002-11-22 15:24:34 +00:00
jani
53148943bd add new header file 2002-11-22 13:18:01 +00:00
jani
cfab6dc28b initialize tapif's mtu to 1500 2002-11-22 12:53:05 +00:00
jani
a57c91404f add MTU (maximum transmission unit) field to struct netif 2002-11-22 12:52:04 +00:00
jani
8210edfeea fix pbuf_alloc for layer PBUF_LINK 2002-11-22 08:32:31 +00:00
likewise
c9bd32d12b Added SNMP call-outs for monitoring of default SNMP status items for TCP/IP. 2002-11-21 10:32:19 +00:00
likewise
dfe1ab7438 Added debug messages for corner cases of TCP states. 2002-11-21 10:29:51 +00:00
jani
e26a3e347b change tapif 'MTU' to be 1500 just like the linux tap's MTU 2002-11-19 10:20:19 +00:00
likewise
29f5968c23 Conditionally have ARP queue outgoing pbufs. 2002-11-18 10:30:02 +00:00
likewise
1b798ed6d3 Added PBUF_REF (payload external, copied on queueing). 2002-11-18 09:51:48 +00:00
jani
dbac2ff0b3 Move etharp packed structures to the header file. 2002-11-18 08:41:31 +00:00
jani
f2fbcdf00a typo fixes.The unterminated comment already got two bugreports so it was time. 2002-11-18 07:36:29 +00:00
jani
b8972f5701 forgot to delete 'return' in the last commit 2002-11-18 06:51:53 +00:00
jani
8b9a303e21 pack the fields in dhcp_msg.This way DHCP works on non-byte aligned archs too. 2002-11-15 15:12:49 +00:00
jani
6ef24c4e48 make it call etharp_output_sent() in tapif_output.This is to prevent the recently
discovered memory leak.
2002-11-15 15:08:21 +00:00
jani
428293a69b make lwip_write() use lwip_send() and avoid code duplication.return copylen
in lwip_recvfrom since it has already been chosen as the minimum
of len and buflen.
2002-11-15 15:05:06 +00:00
likewise
1dd7e81df7 DHCP cleanup redux (patch #654). 2002-11-15 12:44:50 +00:00
likewise
4beff6c2cf ETHARP_SNOOP_UPDATES made externally configurable. 2002-11-15 12:41:59 +00:00
jani
58d748a8ad take out the msvc pragmas that cancel each other.leave only one pair around 3 structs. 2002-11-15 12:32:47 +00:00
adamdunkels
43a06e8e37 The code that increased the retransmission time was commented out for some reason. This has been fixed. Also removed some old, out-commented, code. 2002-11-15 09:40:05 +00:00
jani
8f2284d5c7 reclaimed fields have been unused for a while.remove them. 2002-11-14 12:21:55 +00:00
jani
131eed412a Fix function names in DEBUGF stataments.Remove reference to "reclaimed" field in stat. 2002-11-14 12:20:37 +00:00
jani
330647dad8 Add SLIP_DEBUG 2002-11-14 10:52:03 +00:00
jani
ecf0f56d33 Fix bug which eats pbufs if SLIP_END comes at a pbuf boundary.Also cleaned up and commented the code. 2002-11-14 08:03:25 +00:00