Commit Graph

696 Commits

Author SHA1 Message Date
goldsimon a4ee79c04d Added sleep in main thread if it has nothing to do (PPPoS) 2009-12-07 14:58:51 +00:00
goldsimon 92a32dbce4 Using PPPoS on win32 blocked since read and write are used from 2 different threads and read blocked. 2009-12-07 14:56:17 +00:00
goldsimon 813b025f97 ppp_desc needs to be initialized with -1, not 0 2009-12-07 10:33:43 +00:00
goldsimon 99aab4ea68 Print out error code when sio_open fails 2009-12-07 10:32:46 +00:00
goldsimon 434227b6bd Fix compilation when using PPPoS only 2009-12-07 07:34:52 +00:00
goldsimon 9e977b7efc Default setting for PING_USE_SOCKETS was accidentally inverted 2009-12-06 10:01:48 +00:00
goldsimon 4dac3ab5f6 Fixed compiling httpd without user-specified memp-pool 2009-12-05 14:21:01 +00:00
goldsimon f744877247 Added configurable PPPoE support for MSVC port 2009-12-04 08:49:01 +00:00
goldsimon 2e84b2ba2b MSVC packetlib adapter: added the possibility to select adapter via GUID (instead of index, which can change); added some deallocations on error; printing adapter names when listing adapters 2009-12-04 08:18:07 +00:00
goldsimon c813c2f691 Make socket/raw api decision configurable 2009-12-04 08:12:36 +00:00
goldsimon 4d5a7418a4 Correctly use log levels 2009-11-22 13:15:29 +00:00
goldsimon 6935d26ced Init chargen if configured to 2009-11-20 16:21:18 +00:00
goldsimon ad8f9685bd Added chargen.h and use it from chargen.c 2009-11-20 16:18:19 +00:00
goldsimon 815c75c58f Removed accidentally committed test code 2009-11-15 13:17:33 +00:00
goldsimon 4ebe4ff176 Added a more complete SNTPv4 client that conforms to RFC 4330 and uses the raw api. 2009-11-15 12:52:01 +00:00
goldsimon 9e338b8ff2 Restructured http: made more robust, added logging, removed printf, commented, prepared for files that don't include HTTP response header 2009-11-01 21:16:46 +00:00
goldsimon c43d077828 Add support to files that don't include HTTP response header 2009-11-01 21:00:43 +00:00
goldsimon b9113fe615 Added documentation 2009-11-01 20:58:22 +00:00
goldsimon 1a265b5373 Update fsdata (generated by makefsdata) 2009-11-01 19:23:12 +00:00
goldsimon 268bb23f11 First parse subdirectories, then files (to get main directory to the front of the list) 2009-11-01 19:22:45 +00:00
goldsimon deec441987 Add comments, fix source code layout 2009-11-01 19:07:53 +00:00
goldsimon 77ab1cb406 Fix adapter range detection (last adapter could not be used) 2009-11-01 19:04:05 +00:00
goldsimon e4442f02da Added html source files for httpd 2009-11-01 18:30:06 +00:00
goldsimon 5131ebd938 Added support for makefsdata 2009-11-01 18:29:08 +00:00
goldsimon 1686fc793e Added makefsdata project 2009-11-01 18:27:45 +00:00
goldsimon e142aced6f Added makefsdata ported to C (by Jim Pettinato, extended by me) 2009-11-01 18:27:22 +00:00
goldsimon 06c14502a8 Use ip_ntoa instead of inet_ntoa, fix running with PPP_SUPPORT=1 (don't poll ethernetif - not initialized) 2009-08-25 14:56:31 +00:00
goldsimon 11ad41b049 Fix includes (don't include string.h -> included in all files where needed), fix LWIP_ERROR (expression was used as message) 2009-08-11 14:36:31 +00:00
goldsimon 700de50435 Build this file only if LWIP_SOCKET and LWIP_IGMP are enabled 2009-08-11 14:35:23 +00:00
goldsimon 6ce49364c5 Added many missing includes to <string.h> 2009-08-11 14:34:28 +00:00
goldsimon 726953e7f3 http_accept(): arg is not unused any more, thanks Bill 2009-07-28 18:08:42 +00:00
goldsimon 4a5c399e7d Fixed my last checkin that fixed bug #27117: "httpserver_raw sample does not call tcp_accepted()" accidentally called tcp_accepted() on the connection-pcb, not the listen-pcb 2009-07-28 17:38:30 +00:00
goldsimon 47521ce2bc fixed bug #27117: httpserver_raw sample does not call tcp_accepted() 2009-07-27 15:10:39 +00:00
kieranm 5cceed389c Fix unix port warnings on 64 bit compile 2009-06-25 12:51:23 +00:00
fbernon 40989aae68 netbios.c: change to enable SOF_BROADCAST option 2009-05-04 08:00:22 +00:00
goldsimon e0675d8b82 Adapted win32 port to changes in sys.h (for NO_SYS=1 only) 2009-04-27 20:14:04 +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
goldsimon ed8a2adfc7 bug #25798: CharGen example uses calloc and free directly 2009-04-15 19:59:01 +00:00
kieranm 5c39901bdc Match unix port definition of sys_now to lwIP core definition 2009-03-25 11:01:00 +00:00
goldsimon 0f06910f66 Fixed bug #25705 (memory leak in httpserver_raw when aborting connection) 2009-03-01 17:50:06 +00:00
goldsimon 15d75600bb Checked in patch #6760 (ping calculates incorrect checksum) - slightly modified 2009-03-01 17:20:53 +00:00
goldsimon 03534b658a Use size_t for mem_ptr_t to fix 64-bit-compatibily warnings 2009-02-18 20:45:35 +00:00
goldsimon ccb8913d65 Add casts where appropriate to fix conversion warnings 2009-02-18 20:43:32 +00:00
goldsimon b243b97543 Fix unused argument warning 2009-02-18 20:42:53 +00:00
goldsimon 9e4a33112b No need to allocate a PBUF_LINK for incoming packets, PBUF_RAW is enough 2009-02-18 16:57:07 +00:00
goldsimon 5f05529a22 pkdrv/if: fixed check for invalid adapter_num, added assert if netif can't be initialized 2008-11-24 17:34:18 +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