]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
pes-rpp/rpp-lwip.git
4 years agoUse FreeRTOS heap instead of LwIP heap master personal/nejedjak/master personal/sojka/for-master
Jakub [Sun, 1 Sep 2019 18:51:04 +0000 (20:51 +0200)]
Use FreeRTOS heap instead of LwIP heap

To better memory division on system with low RAM memory is
used 1 shared heap. To external mode is necessary to
allocate a lot of memory. This approach work better with
shared heap.

4 years agoSet STATIC_IP_ADDRESS to 1
Jakub [Sun, 1 Sep 2019 18:40:29 +0000 (20:40 +0200)]
Set STATIC_IP_ADDRESS to 1

The RPP dont support DHCP to use dynamical address.
Comments of define is updated to reflect actual status.

4 years agoEnable LWIP socket funkcionality
Jakub Nejedlý [Mon, 19 Aug 2019 14:50:49 +0000 (16:50 +0200)]
Enable LWIP socket funkcionality

Socket functionality is used in test_sw.
Commands - ping and iperf.

4 years agoFIQ and protection control
Jakub Nejedlý [Mon, 19 Aug 2019 14:38:50 +0000 (16:38 +0200)]
FIQ and protection control

The file sys_arch.c was modified to dislable FIQs. FIQs have to be quit due
errors in rpp_eth_recv_raw_thr(). Error was caused by malfunctioning semaphore
when receiving data.

[MS: I don't understand the description above, but the code seems to work with
this change.]

9 years agolwip: Update configuration tms570_emac
Rostislav Lisovy [Mon, 5 Jan 2015 16:30:07 +0000 (17:30 +0100)]
lwip: Update configuration

* Enable DHCP
* Disable static IP
* Increase PBUF_POOL size
* Increase HEAP size

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
9 years agolwip: Remove pbufFreed semaphore
Rostislav Lisovy [Mon, 5 Jan 2015 16:28:59 +0000 (17:28 +0100)]
lwip: Remove pbufFreed semaphore

The idea was to be blocked on this semaphore if there is not
enough PBUFs to be allocated. This however does not work.
Remove it.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
9 years agoData type casting added to fix warnings
Michal Horn [Mon, 20 Oct 2014 12:57:37 +0000 (14:57 +0200)]
Data type casting added to fix warnings

FreeRTOS before the 8.0.0 version have a xTaskCreate function
with task name parameter of type const signed char*. So the name has
to be casted to this type to avoid warnings.

There is used a macro for it, because we might want to use different
versions of the FreeRTOS, which have different data type for the name
parameter.

Look for the FREERTOS_TASK_NAME definition in os/os.h file.

This commit refs: #1021

Signed-off-by: Michal Horn <hornmich@fel.cvut.cz>
9 years agoRemove inline from non-static functions
Michal Sojka [Tue, 19 Aug 2014 17:13:05 +0000 (19:13 +0200)]
Remove inline from non-static functions

It seems that the compiler/CCS is somehow buggy when it sees non-static
inline functions, because the build is successful on desktop computers
but not buildbot's server. This change solves the buildbot failure. The
error message was:

Building target: rpp-test-sw.out
Invoking: ARM Linker
"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --gcc --diag_warning=225 --display_error_number --enum_type=packed -z -m"rpp-test-sw.map" -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib" -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/include" --reread_libs --warn_sections --display_error_number --rom_model --be32 -o "rpp-test-sw.out"  "./cmdproc/src/i2str.obj" "./cmdproc/src/cmdproc_utils.obj" "./cmdproc/src/cmdproc_run.obj" "./cmdproc/src/cmdproc_io_tisci.obj" "./cmdproc/src/cmdproc_io_std_line.obj" "./cmdproc/src/cmdproc_io_line.obj" "./cmdproc/src/cmdproc_io.obj" "./cmdproc/src/cmdproc_freertos_tms570.obj" "./cmdproc/src/cmdproc.obj" "./commands/main.obj" "./commands/cmd_vbat.obj" "./commands/cmd_spi.obj" "./commands/cmd_sdram.obj" "./commands/cmd_port.obj" "./commands/cmd_pin.obj" "./commands/cmd_netstats.obj" "./commands/cmd_nc.obj" "./commands/cmd_motor_example.obj" "./commands/cmd_lout.obj" "./commands/cmd_lin.obj" "./commands/cmd_hout.obj" "./commands/cmd_hbr.obj" "./commands/cmd_fray.obj" "./commands/cmd_fr_basic_test.obj" "./commands/cmd_emac.obj" "./commands/cmd_din.obj" "./commands/cmd_dac.obj" "./commands/cmd_can.obj" "./commands/cmd_adc.obj" "./commands/cmd.obj" -l"/home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp/TMS570LS313xFlashLnk.cmd" -l"/home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib" -l"rtsv7R4_T_be_v3D16_eabi.lib"
<Linking>

 undefined        first referenced
  symbol              in file
 ---------        ----------------
 sys_mutex_lock   /home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib<mem.obj>
 sys_mutex_unlock /home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib<mem.obj>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "rpp-test-sw.out" not built

10 years agosupport print for lwip statistics does not depend on LWIP_DEBUG define anymore
Jan Dolezal [Mon, 7 Oct 2013 11:46:01 +0000 (13:46 +0200)]
support print for lwip statistics does not depend on LWIP_DEBUG define anymore

10 years agosys version turned on
Jan Dolezal [Tue, 10 Sep 2013 16:07:27 +0000 (18:07 +0200)]
sys version turned on

10 years agolwip debug print functions
Jan Dolezal [Fri, 23 Aug 2013 12:31:14 +0000 (14:31 +0200)]
lwip debug print functions

10 years agomutex protection fixed; some not well working tries to make !NO_SYS version working
Jan Dolezal [Fri, 23 Aug 2013 08:10:44 +0000 (10:10 +0200)]
mutex protection fixed; some not well working tries to make !NO_SYS version working

10 years agobearable parameters set
Jan Dolezal [Tue, 13 Aug 2013 17:07:26 +0000 (19:07 +0200)]
bearable parameters set

10 years agoarch protect changed from interrupt to mutex
Jan Dolezal [Mon, 12 Aug 2013 13:00:00 +0000 (15:00 +0200)]
arch protect changed from interrupt to mutex

10 years agoreceive timeouts options added to lwipopts.h
Jan Dolezal [Mon, 12 Aug 2013 11:33:45 +0000 (13:33 +0200)]
receive timeouts options added to lwipopts.h

10 years agoDisable debugging messages
Michal Sojka [Thu, 8 Aug 2013 15:13:01 +0000 (17:13 +0200)]
Disable debugging messages

10 years agochanges for TMS570
Jan Dolezal [Thu, 8 Aug 2013 13:56:09 +0000 (15:56 +0200)]
changes for TMS570

10 years agoHALCoGen+LwIP Demo for TMS570 (BE) - only files coppied
Jan Dolezal [Mon, 29 Jul 2013 15:47:56 +0000 (17:47 +0200)]
HALCoGen+LwIP Demo for TMS570 (BE) - only files coppied

10 years agoarch dependent files for FreeRTOS
Jan Dolezal [Mon, 29 Jul 2013 12:29:55 +0000 (14:29 +0200)]
arch dependent files for FreeRTOS

10 years agopartially fixed bug #37585: IPv6 compatibility (in socket structs)
Simon Goldschmidt [Sat, 29 Jun 2013 19:47:22 +0000 (21:47 +0200)]
partially fixed bug #37585: IPv6 compatibility (in socket structs)

10 years agobug #37585/task #12600: fixed struct in6_addr.s6_addr to conform to spec
Simon Goldschmidt [Sat, 29 Jun 2013 19:16:59 +0000 (21:16 +0200)]
bug #37585/task #12600: fixed struct in6_addr.s6_addr to conform to spec

10 years ago- removed include instead of commenting it out;
Simon Goldschmidt [Wed, 19 Jun 2013 20:26:29 +0000 (22:26 +0200)]
- removed include instead of commenting it out;
- CHANGELOG should contain worthy entries only, a complete log of all source code changes can be found in git (I'm not saying this has always been observed, but I'd like to keep the list of changes as short as possible for anyone to read if interested)

10 years agopatch #8030: fixed spelling of "received"
Simon Goldschmidt [Wed, 19 Jun 2013 20:23:05 +0000 (22:23 +0200)]
patch #8030: fixed spelling of "received"

10 years agopicked up the wrong commit date in CHANGELOG, fixed
Sylvain Rochet [Fri, 26 Apr 2013 17:59:05 +0000 (19:59 +0200)]
picked up the wrong commit date in CHANGELOG, fixed

10 years agoreverted dhcp.c from DOS (CRLF) to UNIX (LF) format
Sylvain Rochet [Fri, 26 Apr 2013 17:52:42 +0000 (19:52 +0200)]
reverted dhcp.c from DOS (CRLF) to UNIX (LF) format

10 years agocleared compilation warning, C++ style comments are not allowed in ISO C90
Sylvain Rochet [Fri, 26 Apr 2013 17:48:57 +0000 (19:48 +0200)]
cleared compilation warning, C++ style comments are not allowed in ISO C90

10 years agopatch #8008 Fix a potential null pointer dereference in assert
Simon Goldschmidt [Wed, 24 Apr 2013 20:28:22 +0000 (22:28 +0200)]
patch #8008 Fix a potential null pointer dereference in assert

10 years agofixed possible division by zero
Simon Goldschmidt [Wed, 24 Apr 2013 20:20:12 +0000 (22:20 +0200)]
fixed possible division by zero

10 years agofixed bug #38526 Coverity: Recursive Header Inclusion in ip6.h
Simon Goldschmidt [Wed, 24 Apr 2013 19:58:57 +0000 (21:58 +0200)]
fixed bug #38526 Coverity: Recursive Header Inclusion in ip6.h

10 years agoFixed bug #38586
Simon Goldschmidt [Wed, 24 Apr 2013 19:38:01 +0000 (21:38 +0200)]
Fixed bug #38586

10 years agofixed bug #38701 (wrong comment on tcp_pcb::snd_queuelen
Simon Goldschmidt [Wed, 24 Apr 2013 19:28:56 +0000 (21:28 +0200)]
fixed bug #38701 (wrong comment on tcp_pcb::snd_queuelen

10 years agoRemoved the demand to post trivial patches to lwip-users, things keep getting lost...
Simon Goldschmidt [Wed, 24 Apr 2013 18:55:45 +0000 (20:55 +0200)]
Removed the demand to post trivial patches to lwip-users, things keep getting lost there.

11 years agoImproved/fixed comments about timeout.
goldsimon [Thu, 24 Jan 2013 08:02:19 +0000 (09:02 +0100)]
Improved/fixed comments about timeout.

11 years agofixed bug #37665 ip_canforward operates on address in wrong byte order
Simon Goldschmidt [Tue, 15 Jan 2013 20:10:32 +0000 (21:10 +0100)]
fixed bug #37665 ip_canforward operates on address in wrong byte order

11 years agofixed bug #38097 pbuf_free_ooseq() warning
Simon Goldschmidt [Tue, 15 Jan 2013 20:07:01 +0000 (21:07 +0100)]
fixed bug #38097 pbuf_free_ooseq() warning

11 years agofixed more unused variables
Simon Goldschmidt [Mon, 14 Jan 2013 20:06:13 +0000 (21:06 +0100)]
fixed more unused variables

11 years agoFixed bug #37893 Unused variables in tcp_out (and in udp.c/.h)
Simon Goldschmidt [Mon, 14 Jan 2013 19:46:41 +0000 (20:46 +0100)]
Fixed bug #37893 Unused variables in tcp_out (and in udp.c/.h)

11 years agoAdded additional sanity check that all headers (without IP- or TCP options) fit into...
Simon Goldschmidt [Mon, 14 Jan 2013 17:05:18 +0000 (18:05 +0100)]
Added additional sanity check that all headers (without IP- or TCP options) fit into the first pbuf.

11 years agofixed bug #37705 Possible memory corruption in DNS query
Simon Goldschmidt [Mon, 14 Jan 2013 17:04:04 +0000 (18:04 +0100)]
fixed bug #37705 Possible memory corruption in DNS query

11 years agofixed bug #37705 Possible memory corruption in DNS query
Simon Goldschmidt [Mon, 14 Jan 2013 17:03:23 +0000 (18:03 +0100)]
fixed bug #37705 Possible memory corruption in DNS query

11 years agofixed bug #38066 Raw pcbs can alter packet without eating it: added assertion to...
Simon Goldschmidt [Fri, 11 Jan 2013 20:59:26 +0000 (21:59 +0100)]
fixed bug #38066 Raw pcbs can alter packet without eating it: added assertion to check that p->payload is unchanged

11 years agoChanged C++ comments to C style
Simon Goldschmidt [Fri, 11 Jan 2013 20:27:45 +0000 (21:27 +0100)]
Changed C++ comments to C style

11 years agoFix bug #37959: ip6_debug_print prints plen, nexth, hoplim in wrong
Ivan Delamer [Wed, 19 Dec 2012 23:38:44 +0000 (16:38 -0700)]
Fix bug #37959: ip6_debug_print prints plen, nexth, hoplim in wrong
byte order

11 years agoFixed typo in debug formatting in ip6.c
"Grant Erickson" [Fri, 14 Dec 2012 23:08:24 +0000 (16:08 -0700)]
Fixed typo in debug formatting in ip6.c

11 years agofixed bug #37405 'err_tcp()' uses already freed 'netconn' object
goldsimon [Wed, 26 Sep 2012 19:50:42 +0000 (21:50 +0200)]
fixed bug #37405 'err_tcp()' uses already freed 'netconn' object

11 years agoAdded brackets, completed CHANGELOG
goldsimon [Wed, 26 Sep 2012 19:30:01 +0000 (21:30 +0200)]
Added brackets, completed CHANGELOG

11 years agoFix corner case with dhcp timeouts
Henrik Persson [Wed, 5 Sep 2012 12:16:45 +0000 (14:16 +0200)]
Fix corner case with dhcp timeouts

If t1 >= t2 timeout then only t2 timer should be scheduled. This can happen
when a sub 1 minute lease is received.

11 years agoAdded brackets, completed CHANGELOG
goldsimon [Wed, 26 Sep 2012 19:21:26 +0000 (21:21 +0200)]
Added brackets, completed CHANGELOG

11 years agoSegfault in dhcp_parse_reply if no end marker
Henrik Persson [Thu, 30 Aug 2012 11:57:33 +0000 (13:57 +0200)]
Segfault in dhcp_parse_reply if no end marker

If no endmarker is present in a dhcp reply a null pointer is potentially
dereferenced.

Add fix and test case as proof of concept.

11 years agofixed bug #37166: memp_sanity check loops itself
goldsimon [Wed, 22 Aug 2012 19:59:02 +0000 (21:59 +0200)]
fixed bug #37166: memp_sanity check loops itself

11 years agoFixed typo in previous commit.
Ivan Delamer [Fri, 17 Aug 2012 17:24:18 +0000 (11:24 -0600)]
Fixed typo in previous commit.

Change-Id: I97f85f4593509911829cfbbb6e309eecedd5465b

11 years agoAdd a "NULL" output function for ipv6 by default, to avoid NULL
Ivan Delamer [Fri, 17 Aug 2012 16:56:14 +0000 (10:56 -0600)]
Add a "NULL" output function for ipv6 by default, to avoid NULL
dereferencing in case of non-IPv6-enabled netifs (e.g. PPP).

Change-Id: I45f08ca89bfa0b8d61962f7052b11cc81a5e3cd1

11 years agofixed bug #36645: Calling dhcp_release before dhcp_start dereferences NULL
goldsimon [Mon, 13 Aug 2012 19:50:15 +0000 (21:50 +0200)]
fixed bug #36645: Calling dhcp_release before dhcp_start dereferences NULL

11 years agofixed bug #36840 snmp_send_trap() NULL de-reference if traps configured but no interf...
goldsimon [Mon, 13 Aug 2012 19:38:30 +0000 (21:38 +0200)]
fixed bug #36840 snmp_send_trap() NULL de-reference if traps configured but no interfaces available

11 years agoFixed bug #36899 DNS TTL 0 is cached for a long time
goldsimon [Mon, 13 Aug 2012 19:32:44 +0000 (21:32 +0200)]
Fixed bug #36899 DNS TTL 0 is cached for a long time

11 years agofixed bug #37052: "netconn_alloc: undefined netconn_type" assertion skipped
goldsimon [Mon, 13 Aug 2012 19:17:17 +0000 (21:17 +0200)]
fixed bug #37052: "netconn_alloc: undefined netconn_type" assertion skipped

11 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Mon, 13 Aug 2012 18:57:55 +0000 (20:57 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

11 years agoSanity-check the size of netif->hwaddr
goldsimon [Mon, 13 Aug 2012 18:57:19 +0000 (20:57 +0200)]
Sanity-check the size of netif->hwaddr

11 years agoFix bug #36857: tcp_listen_dual_with_backlog() only works with ANY
James Smith [Tue, 24 Jul 2012 16:34:09 +0000 (10:34 -0600)]
Fix bug #36857: tcp_listen_dual_with_backlog() only works with ANY
address

Change-Id: I092a4c9978d88040214fc44a4c4b353be618d76c

11 years agoAllow setting/getting socket option IPV6_V6ONLY for stream sockets
Ivan Delamer [Tue, 3 Jul 2012 20:39:25 +0000 (14:39 -0600)]
Allow setting/getting socket option IPV6_V6ONLY for stream sockets
only, as datagram sockets do not support dual IP versions yet.

Change-Id: I2d89bdaa06b19dc0c553c7be6ac6e9a71d3ce8a5

11 years agoApplied patch by James Smith to implement IPV6_V6ONLY support in
James Smith [Tue, 3 Jul 2012 19:16:04 +0000 (13:16 -0600)]
Applied patch by James Smith to implement IPV6_V6ONLY support in
sockets and netconns.

Change-Id: I2ecd8e218703114890b2d678cc1ccf997a16f5e3

11 years agofixed bug #36412: memp.c does not compile when MEMP_OVERFLOW_CHECK > zero and MEMP_SE...
goldsimon [Fri, 11 May 2012 20:56:53 +0000 (22:56 +0200)]
fixed bug #36412: memp.c does not compile when MEMP_OVERFLOW_CHECK > zero and MEMP_SEPARATE_POOLS == 1

11 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Fri, 11 May 2012 20:37:30 +0000 (22:37 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

11 years agofixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was a debug-check issue...
goldsimon [Tue, 8 May 2012 05:42:32 +0000 (07:42 +0200)]
fixed bug: #36380 unsent_oversize mismatch in 1.4.1RC1 (this was a debug-check issue only)

11 years agoAdded a readme.txt about the PPP code.
goldsimon [Mon, 7 May 2012 20:12:01 +0000 (22:12 +0200)]
Added a readme.txt about the PPP code.

11 years agoAdded missing name (patch by)
goldsimon [Sat, 5 May 2012 07:28:24 +0000 (09:28 +0200)]
Added missing name (patch by)

11 years agoIn ip6_input(), do not accept link-local packets on netifs other than
Ivan Delamer [Sat, 5 May 2012 00:25:22 +0000 (18:25 -0600)]
In ip6_input(), do not accept link-local packets on netifs other than
inp.

Change-Id: I7f3c779e69292bc078890e0acdc37112559644ce

11 years agoFixed #define that was commited by mistake.
Ivan Delamer [Sat, 5 May 2012 00:19:40 +0000 (18:19 -0600)]
Fixed #define that was commited by mistake.

Change-Id: Ic44560284e932b2d7c503155085160647ac82bb8

11 years agoIn ip6_input(), accept solicited node packets that match the receiving
Ivan Delamer [Sat, 5 May 2012 00:11:47 +0000 (18:11 -0600)]
In ip6_input(), accept solicited node packets that match the receiving
netif addresses, when multicast is disabled.

Change-Id: I3f59258ee605a820f0a525b696b1dede0d53948f

11 years agofixes bug #36389: Use IPv6 Src Address of Echo Response as Destination
Ivan Delamer [Fri, 4 May 2012 23:43:54 +0000 (17:43 -0600)]
fixes bug #36389: Use IPv6 Src Address of Echo Response as Destination
Address in Echo Response

11 years agoFix bug #36391 - inet6_addr_to_ip6addr()
Ivan Delamer [Fri, 4 May 2012 23:33:06 +0000 (17:33 -0600)]
Fix bug #36391 - inet6_addr_to_ip6addr()

Change-Id: I2ab73901a8552e3c247d95985f6ce5d6ef7d4599

11 years agopatch by Sylvain Rochet: fixed bug #36283 (PPP struct used on header size computation...
goldsimon [Thu, 3 May 2012 18:39:43 +0000 (20:39 +0200)]
patch by Sylvain Rochet: fixed bug #36283 (PPP struct used on header size computation and not packed)

11 years agodhcp: check array bounds before accessing it (bug #36170)
goldsimon [Thu, 3 May 2012 18:21:50 +0000 (20:21 +0200)]
dhcp: check array bounds before accessing it (bug #36170)

11 years agoAdded unit test that pbuf_copy returns a correct error code for pbuf queues ending...
goldsimon [Thu, 3 May 2012 18:11:23 +0000 (20:11 +0200)]
Added unit test that pbuf_copy returns a correct error code for pbuf queues ending with a zero-length pbuf.

11 years agofixed bug #36388 (PPP: checksum-only in last pbuf leads to pbuf with zero length)
goldsimon [Thu, 3 May 2012 17:45:22 +0000 (19:45 +0200)]
fixed bug #36388 (PPP: checksum-only in last pbuf leads to pbuf with zero length)

12 years agofixed the fix for bug #35945 (SYN packet should provide the recv MSS not the send...
goldsimon [Wed, 28 Mar 2012 09:06:52 +0000 (11:06 +0200)]
fixed the fix for bug #35945 (SYN packet should provide the recv MSS not the send MSS) if TCP_CALCULATE_EFF_SEND_MSS==0

12 years agofixed bug #35756 header length calculation problem in ppp/vj.c - removed unused/inval...
goldsimon [Tue, 27 Mar 2012 18:42:46 +0000 (20:42 +0200)]
fixed bug #35756 header length calculation problem in ppp/vj.c - removed unused/invalid defines TCPH_OFFSET(_SET).

12 years agofixed bug #35945: SYN packet should provide the recv MSS not the send MSS
goldsimon [Tue, 27 Mar 2012 18:18:23 +0000 (20:18 +0200)]
fixed bug #35945: SYN packet should provide the recv MSS not the send MSS

12 years agoudp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0
goldsimon [Sun, 25 Mar 2012 15:20:22 +0000 (17:20 +0200)]
udp_input: fixed unreachable code warning for CHECKSUM_CHECK_UDP==0

12 years agotcp_abort/tcp_abandon: don't send RST if pcb->state is CLOSED
goldsimon [Sun, 25 Mar 2012 15:19:46 +0000 (17:19 +0200)]
tcp_abort/tcp_abandon: don't send RST if pcb->state is CLOSED

12 years agodhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so...
goldsimon [Sun, 25 Mar 2012 15:18:58 +0000 (17:18 +0200)]
dhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so that CHECKSUM_CHECK_UDP==0 is not necessary

12 years agonew dhcp unit test: fix compilation for strict C, made local functions static, made...
goldsimon [Sun, 25 Mar 2012 15:15:56 +0000 (17:15 +0200)]
new dhcp unit test: fix compilation for strict C, made local functions static, made some variables and parameters const

12 years agoTCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif...
goldsimon [Sun, 25 Mar 2012 15:12:02 +0000 (17:12 +0200)]
TCP unit tests: fix that ip.rterr stats are increased (some unit tests had no netif set)

12 years agoAdd unit tests for DHCP
Erik Ekman [Thu, 22 Mar 2012 09:52:05 +0000 (10:52 +0100)]
Add unit tests for DHCP

Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.

12 years agoBetter fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is...
goldsimon [Sun, 25 Mar 2012 13:12:42 +0000 (15:12 +0200)]
Better fix for bug #35927 (missing refragmentaion in ip_forward) when IP_FRAG is disabled.

12 years agoadded posix-compatibility include files posix/netdb.h and posix/sys/socket.h which...
goldsimon [Sun, 25 Mar 2012 13:02:58 +0000 (15:02 +0200)]
added posix-compatibility include files posix/netdb.h and posix/sys/socket.h which are a simple wrapper to the correct lwIP include files.

12 years agoFixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_T...
goldsimon [Sun, 25 Mar 2012 12:56:41 +0000 (14:56 +0200)]
Fixed bug #35817: do_connect() invalidly signals op_completed for UDP/RAW with LWIP_TCPIP_CORE_LOCKING==1

12 years agofixed bug #35931: Name space pollution in api_msg.c and netifapi.c
goldsimon [Sun, 25 Mar 2012 12:41:27 +0000 (14:41 +0200)]
fixed bug #35931: Name space pollution in api_msg.c and netifapi.c

12 years agofixed bug #35927: missing refragmentaion in ip_forward
goldsimon [Thu, 22 Mar 2012 18:35:04 +0000 (19:35 +0100)]
fixed bug #35927: missing refragmentaion in ip_forward

12 years agoSupport single-packet queueing in ND6 (similar to ARP), when
Ivan Delamer [Thu, 22 Mar 2012 17:14:49 +0000 (11:14 -0600)]
Support single-packet queueing in ND6 (similar to ARP), when
!LWIP_ND6_QUEUEING.

12 years agoDisable leftover ND6 queueing code when !LWIP_ND6_QUEUING.
Ivan Delamer [Thu, 22 Mar 2012 16:25:50 +0000 (10:25 -0600)]
Disable leftover ND6 queueing code when !LWIP_ND6_QUEUING.

12 years agopatch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list
goldsimon [Tue, 20 Mar 2012 21:06:32 +0000 (22:06 +0100)]
patch by Mason: fixed bug #35907: lwip_gethostbyname_r returns an invalid h_addr_list

12 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/lwip
goldsimon [Mon, 12 Mar 2012 15:43:23 +0000 (16:43 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip

12 years agoRemoved unnecessary global variable "subnetMask", which is only used in one function...
goldsimon [Mon, 12 Mar 2012 15:42:18 +0000 (16:42 +0100)]
Removed unnecessary global variable "subnetMask", which is only used in one function (GetMask)

12 years agopatch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big...
goldsimon [Mon, 12 Mar 2012 15:39:52 +0000 (16:39 +0100)]
patch by Bostjan Meglic: fixed bug #35809: PPP GetMask(): Compiler warning on big endian, possible bug on little endian system

12 years agoMissing declarations in supporting IP_HDRINCL.
Ivan Delamer [Fri, 2 Mar 2012 16:35:42 +0000 (09:35 -0700)]
Missing declarations in supporting IP_HDRINCL.

12 years agoCheck arguments in nd6, and some other minor fixes nearby.
Ivan Delamer [Fri, 2 Mar 2012 16:27:14 +0000 (09:27 -0700)]
Check arguments in nd6, and some other minor fixes nearby.

12 years agoEarly exit when checking if ip6 reassembled packet is valid.
Ivan Delamer [Fri, 2 Mar 2012 16:18:54 +0000 (09:18 -0700)]
Early exit when checking if ip6 reassembled packet is valid.

12 years agoCheck that pbuf_header succeeds in IPv6 reassembly.
Ivan Delamer [Fri, 2 Mar 2012 16:16:33 +0000 (09:16 -0700)]
Check that pbuf_header succeeds in IPv6 reassembly.

12 years agoSupport IP_HDRINCL in ip6_output() and ip6_output_hinted(),
Ivan Delamer [Fri, 2 Mar 2012 16:06:57 +0000 (09:06 -0700)]
Support IP_HDRINCL in ip6_output() and ip6_output_hinted(),
previously only supported in ip6_output_if().