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
anderscarlman
0ef3b9b3c5
Re-added code for checking tail-parameter for NULL in
...
pbuf_chain() to provide for better backward compatibility.
2003-04-26 20:32:23 +00:00
likewise
9bc16878ea
Fixed tabs into spaces. Fixed other stylos.
2003-04-16 07:39:48 +00:00
jani
7662015de6
obsolete PCB handling only active when TCP is enabled
2003-04-15 14:58:35 +00:00
jani
e4775d4162
alignment fix from Marc Boucher
2003-04-15 14:56:03 +00:00
likewise
ed14a32224
Stylo.
2003-04-15 14:40:55 +00:00
likewise
4ecb01f4fd
Changed netif name formatting from %s to %c%c.
2003-04-15 14:32:13 +00:00
likewise
ac2b4c2174
Debug levels set on some serious debug messages.
2003-04-15 12:43:15 +00:00
likewise
9ef5a61b1e
Prevent compiler warning on unused function arguments.
2003-04-15 12:41:52 +00:00
likewise
b68c91c973
Debug message shows requested pbuf type (of ROM/REF) upon memory allocation failure.
2003-04-15 12:38:48 +00:00
likewise
710ac00024
dhcp_inform() did not set and unset netif->dhcp. always generated assert failure.
2003-04-15 12:37:06 +00:00
likewise
a96a12ed1f
Prevent warnings about unused function arguments.
2003-04-15 11:27:52 +00:00
likewise
f9538c9395
Disabled pbuf_dechain() as it not currently in use. Fixed comment position.
2003-04-14 11:37:12 +00:00
likewise
445a64d933
Stronger debugging/assertion.
2003-04-14 11:36:17 +00:00
anderscarlman
d1940302bb
Removed the lines setting dhcp->msg_in and dhcp->options_in to NULL, since this is done implicitly through dhcp_free_reply().
2003-04-12 15:40:43 +00:00
davidhaas
3defc437c6
Got rid of pbuf_pool_alloc_cache and pbuf_pool_free_cache. Also got rid of
...
pbuf_refresh(). This has sped up pbuf pool operations.
2003-04-11 14:39:15 +00:00
likewise
40f10b69f7
All debug messages now show actual config _after_ setting netif config.
2003-04-11 14:02:48 +00:00
likewise
4c5117101d
Fixed debug message for PBUF_REF/ROM allocation failure.
2003-04-11 12:56:13 +00:00
likewise
f6a8994521
ip_addr_any and _broadcast are type-declared as being const.
2003-04-11 08:10:17 +00:00
davidhaas
50f47f18c1
Fix memory leaks.
...
When pbufs are chained, the second pbuf must be freed, if no higher level
application refers to it any longer.
2003-04-09 20:28:15 +00:00
davidhaas
18a215e6a8
Made memory stats more accurate (real amount and max amount of memory used).
...
Also fixed a protection bug which occurred when memory allocation failed.
2003-04-09 20:19:27 +00:00
likewise
1254b42e66
Enabled code to abort/replace TCP pcbs upon netif address change.
2003-04-09 15:17:57 +00:00
likewise
a389b630ac
Added (non-active) code handling pcbs upon changing IP address.
2003-04-08 12:19:02 +00:00
likewise
a4a7a7a47e
TCP data can be safely referenced as PBUF_ROM instead of PBUF_REF.
2003-04-07 21:28:16 +00:00
likewise
12fc0239c2
Fixed bug #3112 (faulty behaviour calling tcp_listen() when already listening)
2003-04-06 20:35:50 +00:00
likewise
0418edb7b6
Added debugging to verify correct result of udp_bind() / udp_connect().
2003-04-04 08:14:49 +00:00
likewise
2e233cb35b
Fixed stylo.
2003-04-04 08:14:04 +00:00
likewise
6d3149714f
Print debug message before actually changing netif IP address config.
2003-04-03 12:09:39 +00:00
likewise
9ea10ce05d
In pbuf_take(): Got rid of variable 'f'. Fixed stylo (typo in style). Renamed 'top' to 'head'.
2003-04-03 08:50:57 +00:00
davidhaas
21d17e41fd
Fixed last change to pbuf_take. There were two calls to pbuf_free in a row.
2003-04-01 15:54:25 +00:00
likewise
af8f280811
Fixed ip_addr_set() to deal with IP_ADDR_ANY. Added "ip_addr.h" include.
2003-04-01 15:00:26 +00:00
likewise
7abb278b60
Added assertion checking against dupes in pcb active list. Added comments.
2003-04-01 14:52:41 +00:00
likewise
a22e66f5ee
IP_ADDR_ANY is now a pointer to { 0UL } (see IP_ADDR_BROADCAST).
2003-04-01 14:49:37 +00:00
likewise
1a72feb128
etharp_query() has error return type now. Matched dhcp.c with this change.
...
Added debug messages in other places.
2003-04-01 14:02:50 +00:00
likewise
a28af1be11
Fixed another assert. Removed another redundant assignment.
2003-04-01 12:28:45 +00:00
likewise
b04ac8f3be
Lots of comments added. Removed redundant assignment. Moved assertion.
2003-04-01 12:17:55 +00:00
likewise
5f35f4bb3b
Reverted back to David Haas' patch of pbuf_chain() from 1.34.
2003-04-01 09:35:20 +00:00
likewise
4c3512c0a2
Replaced pbuf.c 1.34 pbuf_take() change by simpler alternative.
2003-03-31 23:28:54 +00:00
davidhaas
09ca7a181b
In keeping with pbuf->ref always having the count of the number of pointers
...
to the particular buffer (and the last rewrite of pbuf_free), changed most
pbuf_ref_chain() calls back to pbuf_ref(). I think this was causing some pbuf
leaks.
2003-03-31 22:09:39 +00:00
davidhaas
82a32be1d6
Fixed issue in pbuf_take(): old pbuf of type PBUF_REF was being referenced
...
after being freed. Also, it was not being freed if it had been the first
buffer in chain. It still needs to be freed then.
2003-03-31 21:32:30 +00:00
davidhaas
9f3511231a
Fix pbuf_chain() to update tot_len of last buffer in first chain properly.
...
Previous code skipped it.
Made comments in pbuf_header() more general (header can be increased or
decreased).
2003-03-31 20:45:08 +00:00
likewise
6da25968e0
pbuf_header() now only moves payload pointer upwards for PBUF_ROM/REF.
2003-03-31 18:48:52 +00:00
likewise
a70f478ef1
Fixed pbuf_dechain() assertion. Removed old documentation from pbuf.h.
2003-03-31 11:39:48 +00:00
likewise
6c147709b6
Documentation changes. Added missing trailing newlines to debug messages.
2003-03-31 10:32:35 +00:00
kieranm
8636ac26cf
Fixed bug in mem_realloc (check alignment of size)
2003-03-31 09:36:18 +00:00