Commit Graph

168 Commits

Author SHA1 Message Date
Erik Ekman
4ad9b0501c 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.
2012-03-25 17:24:34 +02:00
Simon Goldschmidt
5b1bd88115 unixif: fixed unused variable warning, replaced tabs with spaces 2012-03-01 19:15:38 +01:00
Simon Goldschmidt
600b8665a5 patch #7731 contrib: Add -fPIC to CFLAGS in unix/proj/lib (by Erik Ekman) 2012-03-01 18:59:22 +01:00
Simon Goldschmidt
cc786efa73 unixsim: change lwipopts.h to not break init.c sanity checks 2012-02-23 19:00:59 +01:00
Simon Goldschmidt
72e48fada0 unix unit test Makefile: use lwipopts.h from test/unit instead of using our own configuration. 2012-02-22 21:49:08 +01:00
Simon Goldschmidt
88b5a36be2 Added Makefile to run the unit tests under unix/linux 2012-02-14 21:55:20 +01:00
Simon Goldschmidt
48e301d329 Fixed unix makefiles by adding IPv6 source files to the binary 2012-02-14 21:43:21 +01:00
Simon Goldschmidt
907ea97876 Fixed warnings when assigning time_t to int/u32_t 2012-02-14 21:11:42 +01:00
Kieran Mansley
3a5de6effd Bug34596: remove LWIP_TIMEVAL_PRIVATE setting from unix project lwipopts.h 2011-11-01 12:57:57 +00:00
Kieran Mansley
0b90e53845 Bug34596: set LWIP_TIMEVAL_PRIVATE in unix port 2011-10-28 13:42:54 +01:00
goldsimon
eaf034149e Fixed bug #34582 missing limits.h for unix arch (needed for default value "INT_MAX" of RECV_BUFSIZE_DEFAULT) 2011-10-18 10:36:38 +02:00
Simon Goldschmidt
08119c678c Create link-local addresses in all unix projects if LWIP_IPV6==1 2011-09-02 21:53:12 +02:00
Simon Goldschmidt
bce6087f47 Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib 2011-08-24 22:53:49 +02:00
Simon Goldschmidt
1494ad3919 Added IPv6 support to unix tapif driver: patch by Dan Pomohaci, couldn't test it, yet :-( 2011-08-24 20:00:08 +02:00
Kieran Mansley
4ebfe86430 fix use of inet_chksum_pseudo in unixsim 2011-07-29 13:38:53 +01:00
Simon Goldschmidt
2f3fdb4c97 Tried to fix the unix port projects after adding IPv6 2011-07-28 21:55:53 +02:00
kieranm
9c86a78404 Set netif->flags appropriate for Ethernet device 2010-07-16 12:49:02 +00:00
kieranm
c932196e11 Remove definition of function that isn't used 2010-06-28 13:46:45 +00:00
goldsimon
4c42e56c7c Fix usage of memcpy (after moving from bcopy to memcpy in an attempt to write more portable code) 2010-03-31 08:07:07 +00:00
goldsimon
8d0e721c22 used memcpy instead of bcopy 2010-03-26 16:16:38 +00:00
goldsimon
12d42c5801 unixsim: enable more warnings and fix the newly found warnings in ports/unix 2010-03-26 14:20:39 +00:00
goldsimon
a416f2eb2c bug #29105: Review printf formatters: added X8_F to cc.h 2010-03-08 17:11:27 +00:00
goldsimon
65b36b5173 Adapted to changes in tcp.h / added tcp_impl.h 2010-02-21 11:35:37 +00:00
goldsimon
8bb9da48de -Werror to not overlook warnings 2010-02-21 11:26:40 +00:00
goldsimon
14d8d2b9e4 Fixed compilation of proj/lib 2010-02-21 11:26:15 +00:00
goldsimon
3e130e4f7f Fixed input thread handling: pass all supported packets to netif->input 2010-02-17 16:57:16 +00:00
goldsimon
44273aed6f minor: fixed source code layout 2010-02-17 16:55:36 +00:00
goldsimon
17026e30b1 unix ports: fixed usage of sys_sem_signal after changing sys layer 2010-02-17 16:52:30 +00:00
goldsimon
4c65d25eda Fixed compilation under cygwin 2010-02-14 12:44:20 +00:00
goldsimon
239240e336 Fixed compilation after change of sys layer 2010-02-14 12:44:04 +00:00
goldsimon
e1f2af00d7 Fix usage of stats 2010-02-13 17:34:20 +00:00
goldsimon
eda6db6ebc Adapted win32- and unix-port to changes in sys layer 2010-02-12 13:57:58 +00:00
goldsimon
540bac6fa3 Adapted contrib ports to loopif moved into netif.c 2010-02-09 16:07:46 +00:00
goldsimon
e70c0bd3f5 Fixed unix port after changing struct ip_addr to ip_addr_t 2010-02-09 13:19:01 +00:00
goldsimon
880ed2c01e Moved lwip_prvmib.c and private_mib.h from unix/proj/minimal to apps/snmp_private_mib and extended it for write support and usage with memory buffers instead of files to be used under non-posix OSes as an example 2010-02-02 19:39:25 +00:00
goldsimon
a1ca06cfcc Fixed unix port after recent changes 2010-01-30 14:16:47 +00:00
goldsimon
8b4184a38a Fix unixsim after moving app files 2010-01-20 20:55:10 +00:00
goldsimon
379e17565c Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific) 2010-01-20 19:12:26 +00:00
goldsimon
4d999efb93 Removed unused include to errno.h (which breaks portability also -> should be placed in cc.h) 2010-01-20 07:44:01 +00:00
goldsimon
f4855e7575 Fixed compilation after changing netconn_recv/_accept 2010-01-20 07:38:34 +00:00
goldsimon
d0c399570e Added LWIP_RAND() define 2010-01-10 11:12:07 +00:00
goldsimon
e59072922c MEMP_NUM_SYS_TIMEOUT needs to be 3 since now, timers are set up even for NO_SYS==1 2010-01-08 13:40:12 +00:00
goldsimon
2bb8f85116 Unix port: fixed compilation after moving timeout handling to timers.c; fixed some threading- and other issues with initialization 2010-01-07 10:21:13 +00:00
kieranm
5cceed389c Fix unix port warnings on 64 bit compile 2009-06-25 12:51:23 +00:00
goldsimon
105dc66785 Removed invalid brace 2009-04-18 16:21:17 +00:00
goldsimon
2bdd0c7ffc ports/unix/minimal: correct timer handling (ue defines, TCP fasttimer calls slowtimer); let mintapif use ethernet_input 2009-04-18 11:21:24 +00:00
kieranm
b5bb80bbc3 BUG #25695: replace calls to sys_sem_wait() with sys_arch_sem_wait()
in unix port
2009-04-17 10:30:30 +00:00
kieranm
5c39901bdc Match unix port definition of sys_now to lwIP core definition 2009-03-25 11:01:00 +00:00
kieranm
234cfd1dcf Fix name of sys_now() function (was called sys_unix_now()) in unix port 2008-11-19 13:38:10 +00:00
jifl
ba11c223fa 2008-09-30 David Woodhouse <dwmw2@infradead.org> :
* ports/unix/sys_arch.c, ports/unix/include/arch/cc.h,
        ports/unix/netif/tcpdump.c, ports/unix/proj/unixsim/simhost.c:
        Fix 64-bit issues in unix port.
        * ports/unix/include/arch/cc.h: silence warning about packed
        attribute on fields, since whole struct is packed.
        * ports/unix/proj/unixsim/apps/shell.c: Remove rexmit fields
        from stat data, in line with lwip stats changes.
2008-09-30 13:48:07 +00:00