Commit Graph

425 Commits

Author SHA1 Message Date
likewise
3d90c062fd Added udp_sendto() docs. Fixed udp_send() docs. 2004-03-11 20:01:26 +00:00
likewise
fda71b1230 Fixed udp_sendto() -> instead of . 2004-03-11 19:52:47 +00:00
likewise
a916de3b66 Added udp_sendto(). 2004-03-11 19:41:22 +00:00
jani
30e5dfddb9 fix inet_ntoa prototype to be standard, and fix ppp code that used the non-standard version 2004-03-10 13:23:04 +00:00
kieranm
f9dea9d35b Kieran Mansley - kieranm@gtemail.net - 9th Mar 2004
- Added comment to tcp_write() to remind of the importance of call to
   tcp_output() to send any enqueued data.
2004-03-09 15:55:37 +00:00
jani
4ea55b1bbc only include sys.h once. Noted by Tom Barker 2004-03-09 14:03:11 +00:00
kieranm
caf3c16826 Kieran Mansley, kjm25@cam.ac.uk, 08th Mar 2004
- added a comment to tcp_recved() to clarify reasons for call to tcp_ack()
2004-03-08 14:41:25 +00:00
likewise
a6f1111469 Matched interface documentation for netif_add() API change in 1.28.2.5. 2004-03-04 16:19:53 +00:00
jani
33d0096b81 add switch for MEMP_SANITY_CHECK defaulting to off 2004-02-26 10:43:09 +00:00
likewise
ed4c5d88a3 Added replacement for ip_addr_isbroadcast() macro, code is dead for review and testing (#if 0). 2004-02-24 21:59:17 +00:00
jani
e85a892111 add default option for LWIP_RAW 2004-02-23 14:28:03 +00:00
kieranm
70cd10beae 23/02/2003 - Kieran Mansley - kieranm@gtemail.net
* Applied patch #2679

 * Sets netif->flags at line 202 to NETIF_FLAG_POINTTOPOINT
2004-02-23 10:15:06 +00:00
kieranm
3a784509df 23/02/2003 - Kieran Mansley - kieranm@gtemail.net
* Applied patch #2679

 * Adds check to line 75 for NETIF_FLAG_BROADCAST
2004-02-23 10:13:12 +00:00
kieranm
5c7189124c 23/02/2003 - Kieran Mansley - kieranm@gtemail.net
* Applied patch #2679

 * Adds check to line 314 for NETIF_FLAG_BROADCAST
2004-02-23 10:11:55 +00:00
kieranm
f81c2744cc 23/02/2003 - Kieran Mansley - kieranm@gtemail.net
* Applied patch #2679

 * Adds check to line 133 for NETIF_FLAG_BROADCAST
2004-02-23 10:07:39 +00:00
lukem
4bf3359574 Added ability to disable checksum generation and checking at compile-time 2004-02-20 01:46:03 +00:00
lukem
47984b0496 removed redundant redeclaration of tcp_active_pcbs (already defined by tcp.h) 2004-02-20 00:51:49 +00:00
lukem
3c339323ed added 8-byte alignment for 64-bit architectures 2004-02-20 00:45:47 +00:00
jani
7399722a88 indentation fix 2004-02-18 09:01:33 +00:00
likewise
7bfea6edb7 Applied Ian Wienand's patches (4-2-2004). Was partly applied earlier. 2004-02-16 21:33:42 +00:00
jani
f75da2c393 ip_lookup and udp_lookup not use remove declarations 2004-02-09 10:23:41 +00:00
likewise
475576ec20 Updated some copyright notices to include 2004 (a few were forgotten earlier). 2004-02-07 23:24:09 +00:00
likewise
e1c4bfad05 Merged from DEVEL, except for the API change in etharp.c. 2004-02-07 00:30:03 +00:00
likewise
1ed40e7983 Applied alias.diff by Ian Wienand on lwip-devel on February 4th 2004.
Using union to make explicit either tcp_listen_pcb or tcp_pcb.
2004-02-06 23:48:40 +00:00
likewise
035fcce9de Applied mem.diff by Ian Wienand on lwip-devel on February 4th 2004.
Stops some warnings.
2004-02-06 23:44:59 +00:00
likewise
19eed5ff8a Applied dhcp.diff by Ian Wienand on lwip-devel on February 4th 2004.
DHCP tries to build even if LWIP_DHCP is turned off.
2004-02-06 23:43:44 +00:00
likewise
7129d4797c Merged ARP fixes from STABLE. Should have made those fixes in HEAD first. 2004-02-06 22:28:37 +00:00
likewise
1b96391cdf Merged from DEVEL to main. Two TCP fixes and two NULL reference fixes. 2004-01-20 13:23:52 +00:00
uid67528
eed8ea5bc1 Merged from DEVEL. etharp prepared for queueing feature. DHCP fix. 2003-12-28 02:38:51 +00:00
likewise
a646b5374f Merge from DEVEL. Assert used field not available without callback API. 2003-11-18 01:52:24 +00:00
likewise
fa9b1ba947 Merge from DEVEL. Includes important UDP fix for bug #6601. 2003-11-18 01:40:08 +00:00
likewise
3c71c378bc An overriden merge from DEVEL to main was needed as small changes had been made to main. 2003-11-14 14:56:30 +00:00
likewise
e4a6d199fe Merged from DEVEL into main tree. 2003-11-14 13:17:23 +00:00
likewise
bdfdc2bb83 Made hton/ntoh argument name in prototypes match those in functions. 2003-07-07 09:11:17 +00:00
marcbou
351e590e01 Merged from DEVEL. 2003-06-27 20:46:11 +00:00
marcbou
ec1c2a714e merged from DEVEL. 2003-06-19 11:35:26 +00:00
marcbou
55f64f13c7 Important bug fixes and improvements. 2003-06-19 11:31:25 +00:00
marcbou
bbc33080e7 Merged from DEVEL. 2003-06-19 11:15:39 +00:00
marcbou
506a57392c Merged from DEVEL 2003-06-19 11:08:57 +00:00
marcbou
f0e0e72e4d Patch #1623: Add missing pbuf_free() call after pbuf_chain() in slipif_input() 2003-06-19 10:30:13 +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
likewise
af384440f8 Applied patch #1597 2003-06-11 21:22:58 +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
734400cafa Only free the queued packets if there are any. 2003-06-09 20:28:10 +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
likewise
08703f46f8 Several additional documentation fixes. 2003-06-04 08:58:51 +00:00
jani
ea08652416 fixed sio_read_abort prototype 2003-06-02 11:30:47 +00:00
jani
26d9b28f77 sio and PPP updates from Marc 2003-06-02 11:12:56 +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
ff63557d39 Cleanups in PPP: C++ comments removed, make it compile for unixsim too. Does not work yet only compiles 2003-05-30 08:49:34 +00:00
jani
31776e23fe add PPP stack from Marc. Work in progress 2003-05-27 14:37:56 +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
24a9063721 add sio_read and sio_write to beused by PPP 2003-05-06 12:20:57 +00:00
jani
840953c0e3 empty lightweight protection macros defined not only for no_sys 2003-05-06 12:19:53 +00:00
jani
398bf575d9 C++ comments cleanup 2003-05-06 12:15:08 +00:00
jani
8bfe344923 fix format warning 2003-05-06 12:13:34 +00:00
jani
c3fa5819fd simplify MEM_ALIGN_SIZE macro 2003-05-06 11:24:42 +00:00
likewise
7e73e4728d Made pbuf flags unsigned. Added "incoming broadcast" flag. 2003-05-03 09:44:09 +00:00
likewise
03bc7c868b Major stylo search/replace for "One space between keyword and opening bracket." 2003-05-01 13:24:01 +00:00
jani
4c3f44b0d2 add PPP_DEBUG option and align all options to teh same colums using spaces and no tabs.closes patch #1306 too 2003-05-01 09:36:08 +00:00
likewise
b031be753a Patch #1308. Disabled, as one issue in dhcp.c (file field overloading) needs fix. 2003-05-01 09:03:20 +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
084c45d3db Added dummy parameters for the empty macros snmp_add_ifinoctets and
snmp_add_ifoutoctets in order to avoid compiler warnings.
2003-04-27 09:51:59 +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
12bb78a425 Either first or last packet can be queued through ARP_QUEUE_FIRST option. 2003-04-22 15:09:56 +00:00
likewise
042b2a39d9 Either first or last packet can be queued. Fixed (err_t)NULL return value in etharp_query(). 2003-04-22 15:08:47 +00:00
jani
1204e461c8 add definitions for PF_UNSPEC and IPPROTO_IP 2003-04-22 13:37:14 +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
a1efd95d0f hexadecimal notation for NETIF_FLAGS_ 2003-04-15 12:44:15 +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
a8976fd367 Again accepted NULL to indicate IP_ADDR_ANY. 2003-04-15 09:16:39 +00:00
likewise
11e0cf6f40 Added NETIF_FLAG_LINK_UP. Not used yet. 2003-04-14 12:29:45 +00:00