jani
21a4b68fec
Use #if not #ifdef for all STATS options. They are turned on off by defining them to 1 or 0. Make use of XXX_STATS_INC macros for udp, ip, tcp, ip_frag, link and icmp. Add IPFRAG_STATS option
2003-10-28 11:44:43 +00:00
jani
1157b0982b
change ifdefs to ifs for SYS_LIGHTWEIGHT_PROT.Reported by Andreas Becker
2003-10-22 10:46:24 +00:00
jani
889555ab15
remove deprecated and commented out pbuf_ref_chain() function
2003-10-22 08:28:57 +00:00
jani
ceb956140e
only set pbuf pool flag once at pool init not at every allocation. Correct some comments
2003-10-21 07:12:15 +00:00
jani
fbc0ce9214
close comment.it does not build otherwise
2003-10-08 10:01:40 +00:00
likewise
4152bdf0c0
Clearified comment. Removed TODO in comment.
2003-10-06 14:54:23 +00:00
kieranm
8668c2f254
Initialise snd_wl1 to seqno - 1 to force window update. Causes bug for uni-directional traffic.
2003-09-23 08:33:16 +00:00
kieranm
dff08f9739
Applied patch #1912 , but had to make changes to get it to compile
2003-09-22 09:38:09 +00:00
kieranm
1163a1c3ce
Changes from Patch #1871 (more Raw IP functionality)
2003-09-10 17:14:27 +00:00
jani
a046c795a3
minor compiler warning fixes
2003-09-02 11:56:40 +00:00
kieranm
5b73921be3
Handle UDPLITE as well as UDP
2003-08-21 10:47:46 +00:00
kieranm
cca1607ab5
Applied patch #1399 to implement socket options
2003-08-21 09:59:21 +00:00
kieranm
0d4190b909
Added patch #1756 (with a couple of modifications) to provide raw IP functionality
2003-08-20 16:46:16 +00:00
jani
2f35d6e307
Add isascii and friends macros in inet.c so there's no dependency on ctype.h
2003-07-25 13:06:37 +00:00
marcbou
f8dd991949
change #if 0's to #ifdef LWIP_UDP_TODO for temporary convenience..
2003-06-27 19:45:19 +00:00
jani
cee4f976a8
define and detect ECE (ECN echo) and CWR (congestion window reduced) flags. Behaviour not affected.Based on patch #1600 by arbon
2003-06-23 22:33:56 +00:00
jani
092bcca5f7
C comment style for this line.Again :)
2003-06-23 22:21:51 +00:00
marcbou
77eea999d9
Applied Patch #1326 (TCP: readability, debugging, performance fixes by floriZ)
...
with various improvements and adaptations.
2003-06-19 14:26:21 +00:00
marcbou
cea3ff9d38
Change TCP_TMR_INTERVAL from 100 to 250ms.
...
tcp_fasttmr() and tcp_slowtmr() call frequencies should remain unchanged,
but system load will be reduced. Closes patch #1495 . Please email me
if you see any issues with this. Non-standard TCP timer definitions in
contrib/ports/v2pro/lwipopts.h might need adjustment as a consequence
of this change.
2003-06-19 12:45:32 +00:00
marcbou
6657b656f5
Eliminated memp_mallocp() and memp_freep() in favour of memp_malloc()
...
and memp_free() respectively. Protection is always used, except while
zeroing out memory ;-). Closes patch #1184 . If you see any issues
with this change please email me.
2003-06-19 12:32:24 +00:00
marcbou
98bd3028f2
pbuf_dechain() needed by PPP.
2003-06-19 11:34:02 +00:00
likewise
a9cd9d185c
Patch #1625 . Check ipaddr != NULL, also in ip_addr_debug_print() macro.
2003-06-19 10:33:58 +00:00
likewise
cea2c0bbc4
Fixed a string literal being wrongly split over two lines.
2003-06-12 07:18:57 +00:00
likewise
93dfcdce93
Fixes wrongly cast LWIP_DEBUGF arguments (patch #1596 and more).
2003-06-11 22:34:51 +00:00
likewise
ba786dc49b
Applied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
...
(printf expects integers on the var args stack)
2003-06-11 22:11:42 +00:00
kieranm
8014551908
Changed DEBUGF to LWIP_DEBUGF
2003-06-10 10:45:29 +00:00
likewise
c699921ff0
Fixed a multi-line comment.
2003-06-09 21:32:55 +00:00
likewise
df99ce9d98
Replaced all tabs with two spaces (regardless of indentation is correct).
2003-06-09 21:14:47 +00:00
likewise
829744dfe6
More precise comments on address change.
2003-06-09 21:08:55 +00:00
likewise
b306cab8be
Additional documentation on the subtle difference of a 'pbuf chain' and a 'packet queue'.
2003-06-06 08:34:37 +00:00
likewise
031a4cbdd8
Increased number of debug messages to see pbuf chain actions.
2003-06-05 14:15:46 +00:00
likewise
326b8ff728
Fixed a memory leak when only a part of a PBUF_POOL chain could be allocated.
2003-06-04 19:09:11 +00:00
likewise
9ed2b7e03c
pbuf_alloc() forgot to set tot_len field for PBUF_POOL pbufs.
2003-06-04 09:06:22 +00:00
jani
2bfd55fd69
sys_msleep and sys_jiffies used by PPP code.From Marc
2003-06-02 11:10:20 +00:00
jani
39a6db4097
inet_ntoa and inet_aton from Marc
2003-06-02 11:09:01 +00:00
jani
6719f10034
put LWIP_MAX and LWIP_MIN macros in def.h and use these instead of locally declaring them in .c files
2003-05-27 13:44:08 +00:00
jani
b0273c9209
fix warning
2003-05-27 13:40:54 +00:00
likewise
4ae13c6c26
Set UDP_FLAGS_CONNECTED in udp_connect().
2003-05-20 11:23:59 +00:00
likewise
cf7054dff2
Merging some fixes that had been committed into STABLE.
2003-05-20 09:49:04 +00:00
likewise
b8eeee5528
dhcp_recv() left dangling dhcp->p pointer in case of unexpected message.
...
This could result in pbuf_free() assertion (ref count 0) or crashes.
2003-05-20 09:04:10 +00:00
likewise
30d5b11628
Cleanup of some formatting and comments.
2003-05-20 08:16:29 +00:00
jani
cd65d36822
patches 1492, 1493 and 1494 from Marc
2003-05-19 14:41:54 +00:00
likewise
cda867d52b
Applied patches posted by Marc Boucher on lwip-users May 18th 2003.
2003-05-18 22:29:10 +00:00
jani
398bf575d9
C++ comments cleanup
2003-05-06 12:15:08 +00:00
likewise
03bc7c868b
Major stylo search/replace for "One space between keyword and opening bracket."
2003-05-01 13:24:01 +00:00
likewise
6e9c995fc8
Fixed packet header debug formatters.
2003-05-01 08:37:24 +00:00
likewise
6ee1644db7
Patch #1183 applied. This drops short ICMP packets.
2003-05-01 08:29:54 +00:00
likewise
7cb64f2a43
Patch #1183 applied. This drops short UDP/TCP packets.
2003-05-01 08:03:51 +00:00
likewise
6c907ce8d1
Patch #1308 . Still disabled, as it needs to make sure no file field is not overloaded.
2003-05-01 08:00:41 +00:00
likewise
a0eb47d561
Implemented packet (de)queueing. Unused, etharp.c must be adapted next.
2003-05-01 07:48:01 +00:00