]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
19 years agoSource documentation added.
likewise [Mon, 12 Jul 2004 20:42:16 +0000 (20:42 +0000)]
Source documentation added.

19 years agoDependencies on C library memset() etc., so include <string.h>.
likewise [Mon, 5 Jul 2004 00:00:21 +0000 (00:00 +0000)]
Dependencies on C library memset() etc., so include <string.h>.

19 years agoUpdated with latest changes.
likewise [Sun, 4 Jul 2004 23:52:40 +0000 (23:52 +0000)]
Updated with latest changes.

19 years agoMentioned placement of closing curly brace (block end).
likewise [Sun, 4 Jul 2004 23:44:43 +0000 (23:44 +0000)]
Mentioned placement of closing curly brace (block end).

19 years agoDependencies on C library memset() etc., so include <string.h>.
likewise [Sun, 4 Jul 2004 23:43:38 +0000 (23:43 +0000)]
Dependencies on C library memset() etc., so include <string.h>.

19 years agoLWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaul...
likewise [Sun, 4 Jul 2004 23:43:02 +0000 (23:43 +0000)]
LWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaults to 1.
Dependencies on C library memset() etc., so include <string.h> and <errno.h>.

19 years agoLWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaul...
likewise [Sun, 4 Jul 2004 23:42:14 +0000 (23:42 +0000)]
LWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaults to 1.

19 years agoMade loop counters unsigned where possible.
likewise [Sun, 4 Jul 2004 23:40:44 +0000 (23:40 +0000)]
Made loop counters unsigned where possible.

19 years agoFixed compile errors.
likewise [Wed, 30 Jun 2004 22:14:03 +0000 (22:14 +0000)]
Fixed compile errors.

19 years agoStyle fixes.
likewise [Wed, 30 Jun 2004 18:42:54 +0000 (18:42 +0000)]
Style fixes.

19 years agoMake restarting() DHCP on on interface more robust by cleaning old state information.
likewise [Wed, 30 Jun 2004 18:42:33 +0000 (18:42 +0000)]
Make restarting() DHCP on on interface more robust by cleaning old state information.

19 years agoBug fix: etharp_output() should not free pbufs.
likewise [Wed, 30 Jun 2004 18:41:39 +0000 (18:41 +0000)]
Bug fix: etharp_output() should not free pbufs.
Bug was introduced in 1.60 and reported by Tim Newsham on 30-Jun-2004 on lwip-users.

19 years agoip_forward() returns netif on which packet was forwarded.
likewise [Wed, 30 Jun 2004 18:39:17 +0000 (18:39 +0000)]
ip_forward() returns netif on which packet was forwarded.

19 years agoAdded netif up/down basics.
likewise [Wed, 30 Jun 2004 18:38:07 +0000 (18:38 +0000)]
Added netif up/down basics.

20 years agoKieran Mansley - kjm25@cam.ac.uk - 30th May 2004
kieranm [Sun, 30 May 2004 14:04:30 +0000 (14:04 +0000)]
Kieran Mansley - kjm25@cam.ac.uk - 30th May 2004

* Fixed bug #9160 after discussion on mailing list
 - alters use of MEM_ALIGN_SIZE in pbuf_alloc when calling mem_malloc for a PBUF_RAM pbuf

20 years agoKieran Mansley - kjm25@cam.ac.uk - 26th May 2004
kieranm [Wed, 26 May 2004 10:04:15 +0000 (10:04 +0000)]
Kieran Mansley - kjm25@cam.ac.uk - 26th May 2004

 * Fixed bug 9076 (changes to pbuf tot_len and seg dataptr when trimming front edge of a received packet)

20 years agoFixed documentation for internal function.
likewise [Thu, 13 May 2004 00:28:38 +0000 (00:28 +0000)]
Fixed documentation for internal function.

20 years agoFixed #if ETHARP_QUEUEING to #if ARP_QUEUEING.
likewise [Fri, 7 May 2004 01:20:28 +0000 (01:20 +0000)]
Fixed #if ETHARP_QUEUEING to #if ARP_QUEUEING.

20 years agoOptimized search loop a bit. Conditional code for ETHARP_QUEUEING option.
likewise [Fri, 7 May 2004 01:06:56 +0000 (01:06 +0000)]
Optimized search loop a bit. Conditional code for ETHARP_QUEUEING option.

20 years agoRe-instantiated the pack directives. Nested structs do break individual field natural...
likewise [Thu, 6 May 2004 03:27:13 +0000 (03:27 +0000)]
Re-instantiated the pack directives. Nested structs do break individual field natural alignment on arm-gcc.

20 years agoFixed wrong argument to find_entry() in etharp_query().
likewise [Thu, 6 May 2004 02:55:53 +0000 (02:55 +0000)]
Fixed wrong argument to find_entry() in etharp_query().

20 years agoFixed ETH_EMPTY into ETHARP_STABLE_EMPTY.
likewise [Thu, 6 May 2004 02:54:06 +0000 (02:54 +0000)]
Fixed ETH_EMPTY into ETHARP_STABLE_EMPTY.

20 years agoDo not empty entries unless allowed to in find_entry().
likewise [Thu, 6 May 2004 02:51:15 +0000 (02:51 +0000)]
Do not empty entries unless allowed to in find_entry().

20 years agoMore fixes.
likewise [Thu, 6 May 2004 02:49:10 +0000 (02:49 +0000)]
More fixes.

20 years agoExported etharp_request().
likewise [Thu, 6 May 2004 02:43:47 +0000 (02:43 +0000)]
Exported etharp_request().

20 years agoFixed typos.
likewise [Thu, 6 May 2004 02:38:42 +0000 (02:38 +0000)]
Fixed typos.

20 years agoOptimized through re-use of common code. Results in 50 lines less and more modular...
likewise [Thu, 6 May 2004 02:35:27 +0000 (02:35 +0000)]
Optimized through re-use of common code. Results in 50 lines less and more modular code.
Work towards timed out and retries of ARP requests. Currently, one timed out ARP request.

20 years agoSimplified update_arp_entry().
likewise [Thu, 6 May 2004 00:14:39 +0000 (00:14 +0000)]
Simplified update_arp_entry().

20 years agoPrevent non-unicast addresses from polluting the ARP cache.
likewise [Wed, 5 May 2004 23:47:33 +0000 (23:47 +0000)]
Prevent non-unicast addresses from polluting the ARP cache.

20 years agoRemoved a closing bracket, left over after removing pack directives.
likewise [Wed, 5 May 2004 23:04:17 +0000 (23:04 +0000)]
Removed a closing bracket, left over after removing pack directives.

20 years agoRemoved all structure packing directives. Protocol header fields are naturally aligne...
likewise [Wed, 5 May 2004 19:16:51 +0000 (19:16 +0000)]
Removed all structure packing directives. Protocol header fields are naturally aligned by design.
(Earlier, the 14-byte ethernet header screwed this up, this had already been fixed by adding two pad bytes.)
Assumption is that compilers do not align with larger-than-sizeof(type) boundaries.
Pre-tag PRE_PACK_REMOVE. Post-tag POST_TAG_REMOVE.

20 years agoFix three bugs during tests.
likewise [Wed, 5 May 2004 18:33:01 +0000 (18:33 +0000)]
Fix three bugs during tests.

20 years agoAs etharp already sends packets from the queue asynchronously, also make it send...
likewise [Wed, 5 May 2004 18:28:42 +0000 (18:28 +0000)]
As etharp already sends packets from the queue asynchronously, also make it send packet submitted through etharp_output().
etharp_output() now returns err_t.
etharp_query() now sends a packet directly if the IP address is stable.

20 years agoetharp_*_input() return value (pbuf) removed; it has not been used since the packet...
likewise [Wed, 5 May 2004 15:59:12 +0000 (15:59 +0000)]
etharp_*_input() return value (pbuf) removed; it has not been used since the packet queue
implementation. Packets are always sent to the network interface on behalf of ARP.

20 years agoChanged PAD_ETH_SIZE into ETH_PAD_SIZE for consistency with de-facto lwIP naming...
likewise [Wed, 5 May 2004 15:09:13 +0000 (15:09 +0000)]
Changed PAD_ETH_SIZE into ETH_PAD_SIZE for consistency with de-facto lwIP naming convention.

20 years agoThe recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.
likewise [Wed, 5 May 2004 14:30:28 +0000 (14:30 +0000)]
The recv callback has u8_t return type. Fixed theraw_pcb struct to reflect this.

20 years agoRemember head of queue in pbuf_queue() iff PBUF_DEBUG to generate senseful debug...
likewise [Wed, 5 May 2004 14:28:41 +0000 (14:28 +0000)]
Remember head of queue in pbuf_queue() iff PBUF_DEBUG to generate senseful debug report.

20 years agoThe recv callback has u8_t return type. Fixed the raw_recv() prototype to reflect...
likewise [Wed, 5 May 2004 14:21:05 +0000 (14:21 +0000)]
The recv callback has u8_t return type. Fixed the raw_recv() prototype to reflect this.

20 years agoAdpated comments to match Doxygen/JavaDoc style.
likewise [Wed, 5 May 2004 14:12:28 +0000 (14:12 +0000)]
Adpated comments to match Doxygen/JavaDoc style.

20 years agoAdpated comments to match Doxygen/JavaDoc style.
likewise [Wed, 5 May 2004 13:28:44 +0000 (13:28 +0000)]
Adpated comments to match Doxygen/JavaDoc style.

20 years agoMade raw_input() more generic allowing multiple matches until someone eats the packet.
likewise [Wed, 5 May 2004 13:27:27 +0000 (13:27 +0000)]
Made raw_input() more generic allowing multiple matches until someone eats the packet.

20 years agoSome updates on "gratuitious ARP" from RFC3220. Cleanup of some code and comments.
likewise [Mon, 3 May 2004 17:50:11 +0000 (17:50 +0000)]
Some updates on "gratuitious ARP" from RFC3220. Cleanup of some code and comments.

20 years agoby default there's no eth padding to preserve preious beahviour
jani [Mon, 3 May 2004 09:42:58 +0000 (09:42 +0000)]
by default there's no eth padding to preserve preious beahviour

20 years agoFixed use of struct ip_addr in DHCP header.
likewise [Fri, 30 Apr 2004 01:00:21 +0000 (01:00 +0000)]
Fixed use of struct ip_addr in DHCP header.

20 years agoFixed hasty job prototype for pbuf_queue().
likewise [Fri, 30 Apr 2004 00:58:55 +0000 (00:58 +0000)]
Fixed hasty job prototype for pbuf_queue().

20 years agoAdded missing prototypes for pbuf_*queue().
likewise [Fri, 30 Apr 2004 00:57:20 +0000 (00:57 +0000)]
Added missing prototypes for pbuf_*queue().

20 years agoDHCP header used u32_t where struct ip_addr is more appropriate.
likewise [Fri, 30 Apr 2004 00:51:49 +0000 (00:51 +0000)]
DHCP header used u32_t where struct ip_addr is more appropriate.

20 years agoApplied cleaner new patch for bug #8708.
likewise [Fri, 30 Apr 2004 00:25:03 +0000 (00:25 +0000)]
Applied cleaner new patch for bug #8708.
Implemented multiple packets on the outgoing queue in etharp.c.
Removed etharp.c specific queueing functions.
Fixed generic pbuf.c queueing functions.

20 years agoUpdated list of fixes/changes to the code.
likewise [Thu, 29 Apr 2004 21:56:06 +0000 (21:56 +0000)]
Updated list of fixes/changes to the code.

20 years agoClean-up source comment documentation for Doxygen.
likewise [Thu, 29 Apr 2004 21:50:39 +0000 (21:50 +0000)]
Clean-up source comment documentation for Doxygen.

20 years agoFix buggy comment.
likewise [Thu, 29 Apr 2004 21:49:12 +0000 (21:49 +0000)]
Fix buggy comment.

20 years agoClean-up source comment documentation for Doxygen.
likewise [Thu, 29 Apr 2004 21:48:31 +0000 (21:48 +0000)]
Clean-up source comment documentation for Doxygen.

20 years agoUpdated documentation.
likewise [Wed, 28 Apr 2004 23:40:53 +0000 (23:40 +0000)]
Updated documentation.

20 years agoCorrected comparison by adding missing parentheses.
likewise [Wed, 28 Apr 2004 23:36:39 +0000 (23:36 +0000)]
Corrected comparison by adding missing parentheses.

20 years agoRemoved ETHARP_ALWAYS_INSERT.
likewise [Wed, 28 Apr 2004 23:20:18 +0000 (23:20 +0000)]
Removed ETHARP_ALWAYS_INSERT.

20 years agoRemoved ETHARP_ALWAYS_INSERT. Whitespace cleanup.
likewise [Wed, 28 Apr 2004 23:19:38 +0000 (23:19 +0000)]
Removed ETHARP_ALWAYS_INSERT. Whitespace cleanup.

20 years agoFixed a cast.
likewise [Wed, 28 Apr 2004 23:18:57 +0000 (23:18 +0000)]
Fixed a cast.

20 years agoRemoved old broadcast check macro.
likewise [Wed, 28 Apr 2004 23:18:20 +0000 (23:18 +0000)]
Removed old broadcast check macro.

20 years agoUpdated release procedure to match Savannah changes.
likewise [Wed, 28 Apr 2004 20:35:17 +0000 (20:35 +0000)]
Updated release procedure to match Savannah changes.

20 years agoPatch of bug #8708 applied which should fix header alignment issues on 32-bit processors.
likewise [Wed, 28 Apr 2004 00:26:35 +0000 (00:26 +0000)]
Patch of bug #8708 applied which should fix header alignment issues on 32-bit processors.
While this patch might need further clean-up, it is applied to make sure this gets attention.

20 years agoDocumented latest fixes in HEAD.
likewise [Fri, 23 Apr 2004 16:49:35 +0000 (16:49 +0000)]
Documented latest fixes in HEAD.

20 years agoFix in the ip_addr_isbroadcast() check.
likewise [Fri, 23 Apr 2004 16:45:06 +0000 (16:45 +0000)]
Fix in the ip_addr_isbroadcast() check.

20 years agoTwo trivial typo fixes.
likewise [Fri, 23 Apr 2004 15:24:36 +0000 (15:24 +0000)]
Two trivial typo fixes.

20 years agospelling fix from Tony Mountfield
jani [Thu, 22 Apr 2004 09:50:22 +0000 (09:50 +0000)]
spelling fix from Tony Mountfield

20 years agomore uptodate eth driver skeleton from Tony Mountfield
jani [Thu, 22 Apr 2004 09:47:47 +0000 (09:47 +0000)]
more uptodate eth driver skeleton from Tony Mountfield

20 years agoFixed #ifdef LWIP_DHCP to #if LWIP_DHCP.
likewise [Fri, 16 Apr 2004 22:36:48 +0000 (22:36 +0000)]
Fixed #ifdef LWIP_DHCP to #if LWIP_DHCP.

20 years agoFixed #ifdef LWIP_DHCP position. Fixed extranous comma in function arguments.
likewise [Fri, 16 Apr 2004 22:34:25 +0000 (22:34 +0000)]
Fixed #ifdef LWIP_DHCP position. Fixed extranous comma in function arguments.

20 years agoetharp_query(): Fixed the case where the packet that initiates the ARP request is...
likewise [Wed, 14 Apr 2004 19:12:10 +0000 (19:12 +0000)]
etharp_query(): Fixed the case where the packet that initiates the ARP request is not queued, and gets lost.
etharp_query(): Fixed the case where the packets destination address is already known.
As a result, we now always queue the packet and perform an ARP request, unless the entry is stable and no packet is submitted for transmission.

20 years agodo not export struct timeval to external users of socket.h to avoid conflicts
jani [Fri, 26 Mar 2004 13:21:35 +0000 (13:21 +0000)]
do not export struct timeval to external users of socket.h to avoid conflicts

20 years agofix recursive inclusion by forward defining struct netif
jani [Fri, 26 Mar 2004 13:21:10 +0000 (13:21 +0000)]
fix recursive inclusion by forward defining struct netif

20 years agowarnign fixe for stat_display
jani [Fri, 26 Mar 2004 13:11:35 +0000 (13:11 +0000)]
warnign fixe for stat_display

20 years agofix up stats_display which was added in previous commit
jani [Fri, 26 Mar 2004 12:47:57 +0000 (12:47 +0000)]
fix up stats_display which was added in previous commit

20 years agofix SO_REUSE ifdef fixes
jani [Fri, 26 Mar 2004 12:40:58 +0000 (12:40 +0000)]
fix SO_REUSE ifdef fixes

20 years agoKieran Mansley - kjm25@cam.ac.uk - 23rd March 2003
kieranm [Tue, 23 Mar 2004 19:33:53 +0000 (19:33 +0000)]
Kieran Mansley - kjm25@cam.ac.uk - 23rd March 2003
 - Changed all #ifdef SO_REUSE into #if SO_REUSE

20 years agoMade #ifdef's into #if's for SO_REUSE.
likewise [Tue, 23 Mar 2004 00:19:38 +0000 (00:19 +0000)]
Made #ifdef's into #if's for SO_REUSE.

20 years agoFix cyclic dependencies by careful re-ordering of #includes.
likewise [Fri, 12 Mar 2004 00:10:07 +0000 (00:10 +0000)]
Fix cyclic dependencies by careful re-ordering of #includes.
This is really nasty. Can we forward-declare pointers to structs?

20 years agoRemoved offending #include.
likewise [Thu, 11 Mar 2004 21:39:47 +0000 (21:39 +0000)]
Removed offending #include.

20 years agoDisabling ip_addr_isbroadcast() due to recursive header dependencies.
likewise [Thu, 11 Mar 2004 21:37:56 +0000 (21:37 +0000)]
Disabling ip_addr_isbroadcast() due to recursive header dependencies.
Currently, patch #2679 is broken, but will be neatly fixed once this is solved.

20 years agoAdded netif #include.
likewise [Thu, 11 Mar 2004 21:28:37 +0000 (21:28 +0000)]
Added netif #include.

20 years agoFix prototype.
likewise [Thu, 11 Mar 2004 21:25:28 +0000 (21:25 +0000)]
Fix prototype.

20 years agoReplaced ip_addr_isbroadcast() macro by function.
likewise [Thu, 11 Mar 2004 21:20:10 +0000 (21:20 +0000)]
Replaced ip_addr_isbroadcast() macro by function.
Overrides patch #2679, as this must be solved inside ip_addr_isbroadcast(), inspired by BSD.

20 years agoMissing newline at EOF. Gave compiler warning.
likewise [Thu, 11 Mar 2004 20:52:25 +0000 (20:52 +0000)]
Missing newline at EOF. Gave compiler warning.

20 years agoMake udp_disconnect() clear its remote address association.
likewise [Thu, 11 Mar 2004 20:45:09 +0000 (20:45 +0000)]
Make udp_disconnect() clear its remote address association.

20 years agoUsing udp_sendto() where appropriate.
likewise [Thu, 11 Mar 2004 20:25:35 +0000 (20:25 +0000)]
Using udp_sendto() where appropriate.

20 years agoFixed @return in udp_sendto() docs, @see in udp_send*() docs.
likewise [Thu, 11 Mar 2004 20:04:16 +0000 (20:04 +0000)]
Fixed @return in udp_sendto() docs, @see in udp_send*() docs.

20 years agoAdded udp_sendto() docs. Fixed udp_send() docs.
likewise [Thu, 11 Mar 2004 20:01:26 +0000 (20:01 +0000)]
Added udp_sendto() docs. Fixed udp_send() docs.

20 years agoFixed udp_sendto() -> instead of .
likewise [Thu, 11 Mar 2004 19:52:47 +0000 (19:52 +0000)]
Fixed udp_sendto() -> instead of .

20 years agoAdded udp_sendto().
likewise [Thu, 11 Mar 2004 19:41:22 +0000 (19:41 +0000)]
Added udp_sendto().

20 years agofix inet_ntoa prototype to be standard, and fix ppp code that used the non-standard...
jani [Wed, 10 Mar 2004 13:23:04 +0000 (13:23 +0000)]
fix inet_ntoa prototype to be standard, and fix ppp code that used the non-standard version

20 years agoKieran Mansley - kieranm@gtemail.net - 9th Mar 2004
kieranm [Tue, 9 Mar 2004 15:55:37 +0000 (15:55 +0000)]
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.

20 years agoonly include sys.h once. Noted by Tom Barker
jani [Tue, 9 Mar 2004 14:03:11 +0000 (14:03 +0000)]
only include sys.h once. Noted by Tom Barker

20 years agoKieran Mansley, kjm25@cam.ac.uk, 08th Mar 2004
kieranm [Mon, 8 Mar 2004 14:41:25 +0000 (14:41 +0000)]
Kieran Mansley, kjm25@cam.ac.uk, 08th Mar 2004
 - added a comment to tcp_recved() to clarify reasons for call to tcp_ack()

20 years agoMatched interface documentation for netif_add() API change in 1.28.2.5.
likewise [Thu, 4 Mar 2004 16:19:53 +0000 (16:19 +0000)]
Matched interface documentation for netif_add()  API change in 1.28.2.5.

20 years agoadd switch for MEMP_SANITY_CHECK defaulting to off
jani [Thu, 26 Feb 2004 10:43:09 +0000 (10:43 +0000)]
add switch for MEMP_SANITY_CHECK defaulting to off

20 years agoAdded replacement for ip_addr_isbroadcast() macro, code is dead for review and testin...
likewise [Tue, 24 Feb 2004 21:59:17 +0000 (21:59 +0000)]
Added replacement for ip_addr_isbroadcast() macro, code is dead for review and testing (#if 0).

20 years agoadd default option for LWIP_RAW
jani [Mon, 23 Feb 2004 14:28:03 +0000 (14:28 +0000)]
add default option for LWIP_RAW

20 years ago23/02/2003 - Kieran Mansley - kieranm@gtemail.net
kieranm [Mon, 23 Feb 2004 10:15:06 +0000 (10:15 +0000)]
23/02/2003 - Kieran Mansley - kieranm@gtemail.net
 * Applied patch #2679

 * Sets netif->flags at line 202 to NETIF_FLAG_POINTTOPOINT

20 years ago23/02/2003 - Kieran Mansley - kieranm@gtemail.net
kieranm [Mon, 23 Feb 2004 10:13:12 +0000 (10:13 +0000)]
23/02/2003 - Kieran Mansley - kieranm@gtemail.net
 * Applied patch #2679

 * Adds check to line 75 for NETIF_FLAG_BROADCAST

20 years ago23/02/2003 - Kieran Mansley - kieranm@gtemail.net
kieranm [Mon, 23 Feb 2004 10:11:55 +0000 (10:11 +0000)]
23/02/2003 - Kieran Mansley - kieranm@gtemail.net
 * Applied patch #2679

 * Adds check to line 314 for NETIF_FLAG_BROADCAST

20 years ago23/02/2003 - Kieran Mansley - kieranm@gtemail.net
kieranm [Mon, 23 Feb 2004 10:07:39 +0000 (10:07 +0000)]
23/02/2003 - Kieran Mansley - kieranm@gtemail.net
 * Applied patch #2679

 * Adds check to line 133 for NETIF_FLAG_BROADCAST