[LIBS] netstack: Add APIs for accessing gateway IP

Signed-off-by: Anup Patel <anup@brainfault.org>
[COMMANDS] Introduce ipconfig as separate command for network stack configuration

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge remote-tracking branch 'upstream/master' into dev_exynos4
[LIBS] netstack: Enabled send timeout and receive timeout features for lwIP

Signed-off-by: Anup Patel <anup@brainfault.org>
[LIBS] netstack: Increase number of messages in sys_mbox for lwIP

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge remote-tracking branch 'upstream/master' into dev_exynos4
[DRIVERS] net: Adding Dummy ethtool support. Ported from linux kernel 2.6.32.11

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge remote-tracking branch 'upstream/master' into dev_exynos4
[CORE] Increase thread stack size from 4k to 8k

The thread stack size of 4k is less and from threading perspective 8k seems to be more reasonable stack size.

Of-course, we can change the thread stack size from menuconfig.

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Fix vmm_workqueue_stop_work() for stopping an in-progress work

Signed-off-by: Anup Patel <anup@brainfault.org>
[COMMANDS] ping: Show min round-trip time as zero when destination not reachable

Signed-off-by: Anup Patel <anup@brainfault.org>
[LIBS] netstack: Improve netstack_send_echo() implementation for lwIP

Signed-off-by: Anup Patel <anup@brainfault.org>
[DAEMONS] Faster and more robust implementation of telnet daemon

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge remote-tracking branch 'upstream/master' into dev_exynos4
[LIBS] Add list_sort() API and also move sorting APIs to libs/common

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Move the built-in modules aggregation from array type to linked list.

For some architectures, linker adds a few bytes of padding after each
module linked in the module table. This breaks the current implementation
of built-in module table parsing and module initialization. This patch
now aggregates the list of modules into a linked list and then sorts
the linked list.

This is a revised patched with some beautification from Anup Patel.

Signed-off-by: Anup Patel <anup@brainfault.org>
Merge remote-tracking branch 'upstream/master' into dev_exynos4
[DAEMONS] telnetd: Fix crash on telnet client disconnect

Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] net: Implement zero-copy in lwip transmit path

We implement zero-copy in the transmit/output path of lwip by converting the
lwip pbuf chain to mbuf chain.

Freeing this mbuf external data needs to be done by calling pbuf_free on only
the first of the pbuf pointers. The rest of the extdata derived from the pbuf
chain use a M_EXT_DONTFREE flag to avoid any kind of extdata-free routine.

Signed-off-by: Anup Patel <anup@brainfault.org>
[DAEMONS] telnetd: Remove need for bottom-half by appropriatly placing tx flush calls

Signed-off-by: Anup Patel <anup@brainfault.org>