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
kieranm
05a91a4725
Change type of members of struct stats_mem to "mem_size_t" (Bug #1694 )
2002-11-13 21:55:38 +00:00
kieranm
4b9e035a9f
Initialize err in tcp_slowtmr to prevent compiler warning.
2002-11-13 21:54:22 +00:00
kieranm
f975754ad9
Initialize err in do_close to prevent compiler warning.
2002-11-13 21:53:36 +00:00
likewise
d31ef42acf
ARP entries can now be updated (but not added) on any ARP traffic. Set #define ETHARP_SNOOP_UPDATES 1 to enable.
2002-11-13 09:10:19 +00:00
likewise
f9129c4dcd
Implemented conditional insertion of ARP entries to update_arp_entry using ARP_INSERT_FLAG.
2002-11-13 08:56:11 +00:00
adamdunkels
1f1e6eb5a1
Fixed a few C style issues to make it compatible with the rest of lwIP.
2002-11-13 08:11:52 +00:00
likewise
2382792792
Fixes all issues that showed up after the first commit.
2002-11-11 15:36:31 +00:00
likewise
8cdeaa5148
Hardware address bytes made unsigned char instead of char, consistent with other sources.
2002-11-11 15:35:18 +00:00
likewise
10bf9ef2ef
ip_output() no longer frees pbuf in case no route could be found.
2002-11-11 14:49:17 +00:00
likewise
bca526b634
Workaround for compile error on TCP_REG. This workaround is disabled by default.
2002-11-11 14:47:26 +00:00
likewise
9b76f5bf53
Fixes all issues that showed up after the first commit.
2002-11-11 14:40:03 +00:00
likewise
e41134bbbe
Note about ethernetif.c not up-to-date with etharp.c API. Fixed typo.
2002-11-11 14:37:30 +00:00
likewise
b9353eaf12
Changed static etharp_query() to support queueing packets. This fix missed in last commit.
2002-11-11 14:34:12 +00:00
likewise
3e62b75529
memp_alloc() now zeroes allocated memory (for robustness). Callers must NOT assume this.
2002-11-11 14:31:00 +00:00
likewise
ad55cb6733
Added pbuf_ref_chain() which increases ref count of all pbufs in a chain.
2002-11-11 11:22:49 +00:00
likewise
6c977ad6ed
Surrounded all #include's for packed structs with #ifdef's.
2002-11-08 22:50:49 +00:00
likewise
2b53babf99
Fixed numerous bugs. Re-used etharp_query() in etharp_output(). Added comments and JavaDoc documentation.
2002-11-08 22:14:24 +00:00
likewise
8077dd838c
Added DHCP client by Leon Woestenberg
2002-11-08 15:57:23 +00:00
proff_fs
c22eaf5f52
Added MSVC6 port.
2002-11-08 12:57:58 +00:00
proff_fs
f1c0bbc62b
Added includeds for bpstruct and epstruct.
...
Ports should update from using PACK_STRUCT_BEGIN and PACK_STRUCT_END to use these includes.
Maybe there should be an PACK_STRUCT_USE_INCLUDES ifdef around these, for ports for which PACK_STRUCT_BEGIN and PACK_STRUCT_END works nicely.
2002-11-08 12:54:43 +00:00
likewise
e988d2ee0b
find_arp_entry() returned 0 instead of ARP_TABLE_SIZE if full pending cache (bug #1625 ).
2002-11-06 11:43:21 +00:00
likewise
72e3d22271
To prevent compiler warnings, added UL to some bit mask constants.
2002-11-06 10:00:32 +00:00
cborrelli
585b250540
added v2pro description; added include/ dir description
2002-11-05 23:27:08 +00:00
cborrelli
a582ccfce8
initial version for Xilinx Virtex-II Pro port
2002-11-05 23:14:33 +00:00
cborrelli
6c979fed40
added ifndef around the TCP_TMR defines so that the user can define these values in the lwipopts.h file if needed; this change will not be seen outside the stack unless the user wants to change the default values.
2002-11-05 18:36:32 +00:00
likewise
bb06293b30
Fixed NULL pointer bug ( #1493 ). Fix for memory leak bug ( #1601 ), etharp_output_sent(). Added etharp_query for DHCP.
2002-11-04 14:56:24 +00:00
adamdunkels
50111c8689
Added #ifdefs around each debug output switch so that those can be defined in lwipopts.h instead.
2002-11-03 13:08:23 +00:00
adamdunkels
6028e2c420
Added a 404 error page.
2002-11-03 13:02:35 +00:00
adamdunkels
d6986a757a
Added a 404 error page. The web server crashed without it.
2002-11-03 13:02:12 +00:00
adamdunkels
01cccf4aee
Reformatted the code to make it consistent with the rest of lwIP.
2002-11-02 20:40:06 +00:00
adamdunkels
4e4da8e019
Added short descriptions of the generic network interface code.
2002-11-02 20:38:49 +00:00
kieranm
2a3d00f1ed
New example project demonstrates how to use lwIP as a shared library
2002-10-25 15:31:01 +00:00
kieranm
8b5fcad039
Added check on entire sequence number of received packet being less than the rcv_nxt variable.
...
(see http://www.sics.se/mailing-lists/lwip.html/msg01409.html )
2002-10-24 13:34:36 +00:00
adamdunkels
aa69784495
Replaced a += (combined addition and assignment) with an explicit assignment and addition to avoid compiler warnings.
2002-10-24 13:20:42 +00:00
kieranm
4933bfaaa0
Fixed bug in duplicate ack handling
...
(see http://www.sics.se/mailing-lists/lwip.html/msg01460.html )
Solution adds check on right window edge when duplicate ack received, if it is different it is not a duplicate.
2002-10-24 13:14:52 +00:00
adamdunkels
ef6b7099ba
Removed the old lwIP homepage from the example web server filesystem and replaced it with a simple web page with short information about the lwIP project. Previously the web pages in the example web server was a large portion of the final .tar.gz file.
2002-10-24 13:11:51 +00:00
adamdunkels
1be416fe0e
Added unsigned qualifier to the struct members to avoid compiler warnings.
2002-10-24 13:09:45 +00:00
adamdunkels
524bab33ba
Added unsigned qualifier to the output to avoid compiler warnings for the produced fsdata.c file. Added a final newline to the output to avoid warnings.
2002-10-24 13:09:11 +00:00