net-snk: use socket descriptor in the network stack

With module layer cleanup, and a fixed socket() call, start using the
fd across the network stack.

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
net-snk: Avoid type clash for stdin & stdout

Now that we are using the libc stdio

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
net-snk: Sanitize our .lds file

No need to have a single giant section, break it back up, add
some missing bits, and make sure .opd is separate so that objdump
and gdb can properly reconstitute the dot symbols.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
net-snk: Remove custom printf version

In favor of the libc one

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
net-snk: Make call_client_interface() a bit more ABI compliant

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
net-snk: llfw startup is using the wrong offset to handler

It's loading from handler + 0x160 instead of 0x60. Not a big problem
in practice but should be fixed.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>