Commit Graph

187 Commits

Author SHA1 Message Date
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
goldsimon
0eaad1ca9b Removed some warnings in unix port 2008-07-16 20:37:56 +00:00
jifl
579c7a3df4 sys_jiffies(): set sec and usec correctly from gettimeofday(), and avoid sec overflow 2008-06-19 15:31:12 +00:00
kieranm
4e543d897a Change LWIP_UDP to UDP_STATS from my earlier check in as per suggested
by Jonathan Larmour.
2008-05-30 12:26:31 +00:00
kieranm
8df3d8bdc0 Fix BUG22983: multiple fixes for unixsim 2008-05-30 11:58:40 +00:00
kieranm
d959889ab5 Fix BUG23230: unlock mutex if sys_mbox_trypost() finds a full mail box 2008-05-30 11:41:51 +00:00
kieranm
43c61c1317 BUG23408: avoid deadlock by splitting mail semaphore into "not_empty"
and "not_full"
2008-05-30 11:28:28 +00:00
kieranm
cc36b3df63 Fix compilation of unixsim shell app after removal of MEM_SIZE_F in
patch#6414
2008-03-23 13:46:03 +00:00
kieranm
e021174865 Bring unix sys_arch.c up to current CVS HEAD API 2008-01-17 11:51:09 +00:00
kieranm
bddf652073 Update unix port to 1.3.0 before release 2008-01-15 13:10:51 +00:00
jifl
18a8963351 * lwipopts.h: Reflect IP_OPTIONS -> IP_OPTIONS_ALLOWED name change. 2008-01-09 10:16:57 +00:00
goldsimon
ea3f796c6c Make unix port buildable with changes to sockets.h (include sys/time.h in cc.h only and define LWIP_TIMEVAL_PRIVATE to 0 in lwipopts.h to use unix struct timeval instead of defining an own struct) 2007-12-02 15:26:35 +00:00
goldsimon
8f1eaa5226 Fixed some warnings, added new includes, added new defines in lwipopts.h 2007-11-25 14:09:16 +00:00
goldsimon
557ffae7ea Added new files netdb.h and netdb.c to unix & win32 ports 2007-11-24 16:18:21 +00:00
goldsimon
797387c936 Added the new inet_chkusm.c file, included moved inet.c. Hope this works as I have no possibility to check it... 2007-11-16 19:41:33 +00:00
jifl
6f9aed6e0b Add new src/api/netbuf.c file to makefiles 2007-09-21 13:25:06 +00:00
fbernon
24c826defe Remove deprecated options from contrib for "task #7142 : Sanity check user-configurable values". 2007-09-07 23:28:54 +00:00
fbernon
f1f5c7dd80 Update for new sys_thread_new parameters (see task #7252 : "Create sys_thread_new_ex()" ). Some @todo are integrate to do some suggestions to port maintainers. 2007-09-05 16:48:11 +00:00
marcbou
5a8adb3d94 ethbroadcast now a shared global provided by etharp. 2007-08-16 20:52:59 +00:00
goldsimon
dac9674c0d set netif->output to etharp_output by default to save a function call & removed all the xxx_output() functions that directly called etharp_output(). 2007-06-08 22:52:59 +00:00
fbernon
ecff69c8da Contrib module update with new debug defines names 2007-04-05 09:21:12 +00:00
kieranm
4662fd52fc Don't call lwip_sockets_init() in unix port "minimal" project as it
doesn't use the sockets API
2007-03-21 15:33:33 +00:00
jifl
86ced46a3d Update ports with newly required call to lwip_socket_init(). 2007-02-26 20:09:23 +00:00
christiaans
a606ea14a9 Exterminate warnings. Changed 64 bit arith into 32 bit and output fmt from decimal to hex. 2006-10-25 07:43:46 +00:00
christiaans
8cef35e840 Added lwip_prvmib.c, an example for a simple private SNMP MIB implementation. 2006-10-06 09:59:46 +00:00
christiaans
85c4b51b50 Initial commit. 2006-10-06 09:57:00 +00:00
christiaans
dbda178e6b Updated author contact details. 2006-09-27 11:00:42 +00:00
christiaans
e0206839e3 Added getopt as in unixsim and elaborated SNMP init sequence. 2006-09-12 07:11:22 +00:00
christiaans
13337a460f Enabled SNMP debugging, new region of interest. 2006-08-29 11:21:24 +00:00
christiaans
922405d4e9 Enabled LWIP_SNMP for development in the 'minimal' example. 2006-08-21 10:21:54 +00:00
christiaans
13313485b2 Added stddef include for NULL macro for linux build. 2006-07-03 08:02:43 +00:00
christiaans
14ec6680d2 Fixed missing malloc return value checks. 2006-07-03 07:23:05 +00:00
christiaans
8facfb725a Added cmd line options for setting ip, netmask and gateway. 2006-07-03 07:21:43 +00:00
christiaans
3ee29c973e Changed broken select() timeout based timers into setitimer() timers. 2006-07-03 07:16:48 +00:00
christiaans
67ff807e63 Fixed cold case bug #1748, printing of mem_size_t and u16_t statistics. 2006-06-15 07:09:57 +00:00
christiaans
e89130bd80 Fixed inet_aton() struct in_addr warning and silenced debug output when not selected by --debug. 2006-05-26 07:28:31 +00:00
christiaans
1fb9e9d885 Disabled ARP table update on ingress IP packets. 2006-05-05 13:35:17 +00:00
christiaans
3cc467e481 Added command line options for debug and ping output. 2006-04-19 07:30:02 +00:00
christiaans
bce92dd2f6 Fixed LWIP_STATS defined test to value test. 2006-04-19 07:19:38 +00:00
christiaans
8bb26656a1 Added -pedantic switch. 2006-03-15 11:40:18 +00:00
christiaans
ac8a138cd5 Added IP fragmentation and etharp_tmr service. 2006-03-02 16:28:49 +00:00
christiaans
6f7ff08674 Added hint for linux device node. 2006-02-28 13:13:15 +00:00
christiaans
ca3b54ecb7 Undo of previous commit. Timers should be fixed in seq API instead. 2006-02-28 08:27:55 +00:00
christiaans
f01fa48eec Removed tabs, added netconn_close(). 2006-02-28 08:23:22 +00:00
christiaans
171676162e Added tcp_tmr() and ip_reass_tmr(). Timers are required for correct operation. 2006-02-13 08:22:34 +00:00
christiaans
05b95f0d2a Fixed missing MTU setting in netif initialisation. Related to bug #15659. 2006-02-10 08:17:41 +00:00
christiaans
e32c8ca65f Fixed packet buffer length to eth header plus payload. 2006-02-08 08:03:42 +00:00
christiaans
9700fe9b69 Removed comma at enumeration tail, avoiding warnings. 2005-12-20 12:54:19 +00:00
christiaans
b89160f34e Introduced cc.h formatters. 2005-11-25 12:04:21 +00:00
christiaans
d95d7cd960 Made util.h depend on openbsd, to fix linux build. 2005-11-08 12:36:17 +00:00
christiaans
967f8aa38e A few small build fixes for unixsim. 2005-11-08 12:00:45 +00:00
christiaans
8b6c9a5035 Fixed pbuf leak, improved echo_send() throughput. 2005-10-31 08:21:39 +00:00
christiaans
43e9947345 Disabled debug output, renamed executable. 2005-10-31 08:20:15 +00:00
christiaans
d81bc3571d Rewrite using raw API, not stable yet. 2005-10-27 07:15:32 +00:00
christiaans
60022e1687 Increased availability by removing TCP active-close show-stopper. Leaving pbuf memory leak in for now. 2005-10-12 11:03:58 +00:00
christiaans
ca90f6fce9 Some build fixes for OpenBSD. 2005-10-10 07:25:35 +00:00
kieranm
e2e13d3e30 Updated STATS definitions to follow convention of "#if" rather than
"#ifdef"
2005-06-29 20:39:49 +00:00
kieranm
a2b51bf5f1 Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Pass a "struct netif" to netif_add - API has changed at some point and this file not updated.
2004-08-10 14:08:17 +00:00
kieranm
9bae01c0b6 Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Add unixif.c and list.c to Makefile so simrouter and simnode will compile
2004-08-10 14:07:16 +00:00
kieranm
dd1265444f Kieran Mansley, kieranm@gtemail.net, 10th Aug 2004
- Comment out #includes of netnet/in.h and arpa/inet.h to avoid reported redefinitions
2004-08-10 14:06:19 +00:00
kieranm
ce67f2094f Kieran Mansley - kjm25@cam.ac.uk - 29th July 2004
* Fixed DEBUG statement that could attempt to dereference a NULL pointer in sys_arch_mbox_fetch()
2004-07-29 09:37:46 +00:00
likewise
c2c5ae818a Made compliant with API changes in CVS HEAD. 2004-05-05 18:47:22 +00:00
likewise
5acf6d24d5 Made compliant with API changes in CVS HEAD. 2004-05-05 18:47:21 +00:00
likewise
80bf73178b Added missing newline at end of file. 2004-05-03 17:59:35 +00:00
likewise
33f6e1f9ce Added missing rototype for echo.c function in new header file echo.h. 2004-04-29 21:52:25 +00:00
likewise
a038205c64 Removed ETHARP_ALWAYS_INSERT. 2004-04-28 23:24:43 +00:00
likewise
22797a10a5 Added raw.c to Makefile 2004-03-11 19:53:36 +00:00
jani
d510a9d4de update simhost so it builds. inet_ntoa and netif_add changed 2004-03-10 13:26:34 +00:00
jani
97f1b8d8f1 add raw pcbs to statistics 2003-12-03 12:36:20 +00:00
jani
373dd95fc5 make simrouter match new netif_add prototype 2003-11-24 15:34:29 +00:00
jani
69a46d6e39 followup to unixlib and msvc updated wrt netif_add.declare a var not just the struct 2003-11-24 08:58:08 +00:00
jani
ae4801c910 unixlib and msvc updated wrt netif_add 2003-11-24 08:54:46 +00:00
jani
8c1d3a4f9f update unixsim to new netif_add 2003-11-24 08:26:26 +00:00
jani
2cd6a0e106 update minimal to new netif_add 2003-11-24 08:24:55 +00:00
jani
fd5e3abadb fix stats defs 2003-11-24 08:11:32 +00:00
jani
005622e17a set hw_addr_len in mintapif 2003-11-24 08:06:49 +00:00
likewise
85a773067b Added dhcp.c to the Makefile 2003-11-17 23:44:54 +00:00
jani
af5cf38bea do not define all STAT opts they default to 1 if LWIP_STATS is 1 2003-10-28 11:42:10 +00:00
jani
52c01f0a10 fix compilation when LWIP_STATS is 0 2003-10-28 10:28:02 +00:00
likewise
0227d13f35 Made compilable with 0.6.4. 2003-10-02 22:47:25 +00:00
kieranm
46f5dc4176 Fixed bug #4988 (change return type of mintapif_init) 2003-09-20 15:08:38 +00:00
kieranm
e0d4e1737d Changes from Patch #1871 (more Raw IP functionality) 2003-09-10 17:17:52 +00:00