Simon Goldschmidt
5ca72a6373
apps: use lwip function names, don't depend on LWIP_COMPAT_SOCKETS
8 years ago
goldsimon
719a95b04d
shell: check return values in shell_thread
8 years ago
goldsimon
0f153f7c76
shell.c now needs to have its help message split into 3 parts to keep strings below 509 chars
9 years ago
goldsimon
41fbc14d80
-Wconversion and other minor compilation fixes...
9 years ago
Joel Cunningham
4a04d203eb
Shell: guard gethostnm with LWIP_DNS
...
netconn_gethostbyname is only available if LWIP_DNS is enabled (thanks to Travis CI)
9 years ago
Joel Cunningham
950dd357e0
Shell: add gethostbyname command
...
This adds a 'gethostnm' shell command to aid in testing
netconn_gethostbyname()
9 years ago
goldsimon
058d98dbc3
Try to make gcc work without -Wno-address
9 years ago
Dirk Ziegelmeier
18415805ad
shell only works when TCP is enabled
9 years ago
goldsimon
32f4033dd2
apps/shell: fix that help_msg2 string has grown too long
9 years ago
Joel Cunningham
e2616fdba9
shell: print errno from if_indextoname()
...
This tests printing the errno value from if_indextoname() upon failure
9 years ago
Joel Cunningham
34d756238e
Update MSVC and shell for if.h rename
...
This updates shell.c and MSVC for if.h -> if_api.h rename
9 years ago
Dirk Ziegelmeier
9ac2c262b0
Rename some more index variables to idx
9 years ago
Joel Cunningham
5ce470dcfb
Add interface support to shell and VS project file
...
This commit adds interface API support to shell and adds the
interface files to th Visual Studio project
9 years ago
Axel Lin
4812e6d72b
apps/shell: Fix trivial typo
...
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: goldsimon <goldsimon@gmx.de>
10 years ago
sg
fa7bc05764
IP_HDRINCL -> LWIP_IP_HDRINCL
10 years ago
Dirk Ziegelmeier
5372f10afa
shell.c: Adapt to lwip_stats.memp from aggregation to pointer change
10 years ago
Dirk Ziegelmeier
4fc9108dd0
httpserver-netconn, shell, tcpecho, udpecho: Use new "socket-like" netconn API dual-stack implementation
10 years ago
Dirk Ziegelmeier
0c2ea887da
Implement new-style TCP dual-stack in httpserver-netconn, netio, shell, tcpecho and tcpecho_raw
10 years ago
Dirk Ziegelmeier
710da882fd
fixed compiler errors/warnings (mainly IPv6-only)
11 years ago
goldsimon
f9fe0c3c74
fixed some more compiler warnings
11 years ago
sg
44bb5fefc2
Adapt apps and win32 port to ip_addr_t changes (task #12722 : Improve IPv4/v6 address handling)
11 years ago
goldsimon
dc0cd64e63
Fix compilation warnings (due to undefined defines)
16 years ago
kieranm
0d1f02f931
Don't use local variable index as it clashes with global string.h define
16 years ago
goldsimon
bcf978f58d
fixed compiler warning: use size_t, not int
16 years ago
goldsimon
581b363d79
Make shell work with some or all stats disabled, too
16 years ago
goldsimon
64763950ca
Fixed invalid assertion in error()
16 years ago
goldsimon
bafc19addd
make some char-pointer-arrays const, add default cases on all switches
16 years ago
goldsimon
b83a115953
Fixed compilation warnings (missing casts, includes, etc.)
16 years ago
goldsimon
71c643ae61
shell_main: use netconn_recv_tcp_pbuf() instead of netconn_recv()
16 years ago
goldsimon
44374b26da
typo: 609 -> 509
16 years ago
goldsimon
56d3d5c39a
help_msg is split into 2 strings to prevent exceeding the C89 maximum length of 509 per string
16 years ago
goldsimon
c1c78c4c9e
Added guard to only compile if LWIP_NETCONN is enabled
16 years ago
goldsimon
a6828003d8
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
16 years ago
goldsimon
aa0ae95b4e
Adapted to changed inet.h/ip_addr.h/def.h
16 years ago
goldsimon
dbee3cf464
(Experimental) support for echoing typed characters (to see what you typed in telnet), doesn't really work reliably yet...
16 years ago
goldsimon
5af75e5b01
Portability: support "\n" or "\r\n" for newline to correctly print on win32 telnet
16 years ago
goldsimon
566a3ad2ca
Fix TCP handling: command doesn't have to be contained in a single packet but remote side has to enter \r or \n to finish a command, this supports the other end being a (hand-typed) telnet session
16 years ago
goldsimon
409e10ca8f
bug #26523 : Compiler Warnings
16 years ago
goldsimon
379e17565c
Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific)
16 years ago
goldsimon
4d999efb93
Removed unused include to errno.h (which breaks portability also -> should be placed in cc.h)
16 years ago
goldsimon
f4855e7575
Fixed compilation after changing netconn_recv/_accept
16 years ago
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.
18 years ago
kieranm
4e543d897a
Change LWIP_UDP to UDP_STATS from my earlier check in as per suggested
...
by Jonathan Larmour.
18 years ago
kieranm
8df3d8bdc0
Fix BUG22983: multiple fixes for unixsim
18 years ago
kieranm
cc36b3df63
Fix compilation of unixsim shell app after removal of MEM_SIZE_F in
...
patch#6414
18 years ago
goldsimon
8f1eaa5226
Fixed some warnings, added new includes, added new defines in lwipopts.h
19 years ago
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.
19 years ago
christiaans
67ff807e63
Fixed cold case bug #1748 , printing of mem_size_t and u16_t statistics.
20 years ago
christiaans
967f8aa38e
A few small build fixes for unixsim.
21 years ago
christiaans
ca90f6fce9
Some build fixes for OpenBSD.
21 years ago