Commit Graph

544 Commits

Author SHA1 Message Date
fbernon
f2e2f7bf05 Minor changes: remove tabs 2007-12-14 21:52:55 +00:00
goldsimon
95e5598039 support multiple interfaces 2007-12-04 21:17:38 +00:00
fbernon
e7fb399b3c PPP support for win32 port (need to add some files). 2007-12-03 22:10:46 +00:00
goldsimon
d0fee92fe2 Changed pktif.c/pktdrv.c implementation to remove global variables -> more than one adapter can be used (needed to test DHCP on multiple adapters); added DHCP support; initialize loopif before ethernetif (little bit faster since netif_list starts with ethernetif) 2007-12-03 20:34:18 +00:00
goldsimon
cc72279627 Added lwippools.h for an example of MEM_USE_POOLS 2007-12-03 20:32:22 +00:00
goldsimon
5f52fc424f Removed redundant Win95/WinNT code, added comments, added defines for constants 2007-12-03 19:42:33 +00:00
fbernon
907c0967d0 Minor changes: remove tabs 2007-12-02 23:48:41 +00:00
fbernon
45a22d7a2a Minor changes: coding style and typo 2007-12-02 17:47:43 +00:00
fbernon
25215b3303 Minor changes: coding style and add some "lpAdapter" checkings. 2007-12-02 17:47:05 +00:00
goldsimon
4c51f02bcf low_level_input: allow multicast traffic, filter out feedback packets (with src MAC == my MAC - limitation in winpcap); use LINK_STATS_INC instead of #if LINK_STATS 2007-12-02 15:30:46 +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
fbernon
bf55cf26f1 Minor changes: don't presume the netif_default is always initialized in some apps (avoid crashs). 2007-11-30 16:39:16 +00:00
goldsimon
9dff15fa76 using LWIP_DIR instead of LWIP_SRC environment variable 2007-11-26 19:17:20 +00:00
fbernon
99b5faef56 Replace C++ comments from win32 port 2007-11-25 14:48:38 +00:00
goldsimon
8f1eaa5226 Fixed some warnings, added new includes, added new defines in lwipopts.h 2007-11-25 14:09:16 +00:00
fbernon
10fedbc940 Minor changes (regroup code in ping_prepare_echo). 2007-11-25 00:57:51 +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
15bed9a352 if using with LWIP_SOCKET=0, may not create a new thread as that leads to concurrent access to the core -> use sys_timeout instead!!!
send additional data in ping (some hosts don't answer ping packets without additional data), set ICMP code to 0
2007-11-24 15:00:00 +00:00
fbernon
b0df562291 Update win32/msvc6 port projects. 2007-11-23 22:47:58 +00:00
fbernon
1ee141d2f9 Update win32 readme.txt 2007-11-23 21:58:46 +00:00
fbernon
47ec9486c2 Update win32/msvc8 port paths 2007-11-23 21:41:43 +00:00
fbernon
8243283528 Add win32 port (for msvc6, msvc8, and others) 2007-11-23 21:06:07 +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
goldsimon
b7dfb0e754 Added the new inet_chkusm.c/.h files, included moved inet.c 2007-11-16 19:38:51 +00:00
goldsimon
7c45800d48 changed dns callback function name parameter to be const char* 2007-11-16 19:35:31 +00:00
goldsimon
7d838ce7de include the new inet_chksum.h 2007-11-16 19:35:03 +00:00
fbernon
191d815ab1 Minor change for DNS client in msvc6 port. 2007-11-14 23:37:22 +00:00
fbernon
8105013eb0 netbios.c, ping.c, sntp.c: minor changes: add comments, add some parameters, some coding style... 2007-11-13 00:58:51 +00:00
goldsimon
61d74ecaaf Change header files layout in the project 2007-11-10 18:17:09 +00:00
goldsimon
ea4d3a873c Added comment that slipif, ppp & pppoe are not supported by this port. 2007-11-10 18:16:40 +00:00
fbernon
5478eaae3c Add macro and others definitions to enable to tune ping sender. 2007-11-07 20:52:32 +00:00
fbernon
65feb67dbb Integrate SNTP client in msvc6 port. 2007-11-06 22:47:30 +00:00
fbernon
62910e4248 SNTP client with socket API. Need more settings. 2007-11-06 22:44:11 +00:00
fbernon
f2aaab0d86 Drop receive packets in LWIP_SOCKET=1 case if they're not a echo reply, and use SO_RCVTIMEO option to avoid to wait forever. 2007-11-06 19:36:07 +00:00
fbernon
69b8ef3788 Add comment to "ping" sample. 2007-11-04 22:07:42 +00:00
fbernon
6126163ef6 Add ping sample from unix ports to reuse it in any ports. 2007-11-04 21:52:57 +00:00
goldsimon
f949381963 Define PACK_STRUCT_USE_INCLUDES to support packing (netbios app doesn't work without) 2007-10-28 14:19:46 +00:00
goldsimon
eb0ff133ad Use the api function netconn_err() instead of directly dereferencing the struct netconn. 2007-10-28 14:17:49 +00:00
fbernon
6042cd8598 netbios.c: enable to redefine in lwipopts.h the NETBIOS_LWIP_NAME 2007-10-21 19:08:02 +00:00
goldsimon
664faf3b58 NO_SYS=0 initialization: need to wait (using a semaphore) for initialization to finish before calling update_adapter()! 2007-10-21 13:14:53 +00:00
goldsimon
530171e23e Using PBUF_RAM instead of PBUF_REF and stack-memory to be safer (and faster with ARP queueing). 2007-10-21 12:46:35 +00:00
goldsimon
9e8b944c7f Forgot one flag in response (AUTHORATIVE) - doesn't work without! 2007-10-21 12:44:29 +00:00
goldsimon
dd75189919 Added (and using) defines for flags & ttl, checking NETBIOS_LWIP_NAME vs NETBIOS_NAME_LEN, added file description. 2007-10-21 12:27:33 +00:00
fbernon
cfbf1497d2 msvc6 test: add some comments, remove mcast_init (will be put later in contrib/apps when I got something more useful), add a test_init function which is called in the "right" context. 2007-10-20 12:22:36 +00:00
fbernon
c0c75ff1eb Add netbios sample in apps library in msvc6 port 2007-10-19 08:02:06 +00:00
fbernon
033842282b Add netbios name service sample in msvc6 port 2007-10-18 23:09:58 +00:00
fbernon
a8e70b3c20 Add netbios name service sample 2007-10-18 23:09:13 +00:00
fbernon
b9647ba1b1 Minor change (use DHCP_COARSE_TIMER_MSECS) 2007-10-15 21:32:28 +00:00
fbernon
f0794fa1b2 Use a timers_table to simplify NO_SYS=1 case in msvc6 port. 2007-10-12 21:36:18 +00:00
fbernon
96b7a28798 Minor changes (comments) 2007-10-07 09:21:21 +00:00