Some corrections.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Remove stream and rr test cases from nettes_tipc.c

Remove send_tipc_stream(), send_tipc_rr(),
recv_tipc_stream(), recv_tipc_rr() and scan_tipc_args()
from nettest_tipc.c and usages of these routines
in netsh.c and netserver.c.
Remove tipc response-, request- and results-structs from
nettest_tipc.h.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Move NETSERVER_TIPC_DEFAULT define.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
New routine sockaddr_from_id()

The routine fills in the sockaddr_tipc of the netserver
based on the tipc_portid given in the omni_response
from netserver.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
New routine sockaddr_from_type_inst().

The routine fills in the sockaddr_tipc of the netserver
based on the type (NETSERVER_TIPC_DEFAULT) and instance
(0) of the tipc node of netserver.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
New routine get_portid.

Returns the tipc_portid of the netserver node.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Memset of sockaddr_tipc

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Fix on the get_sockaddr_from_XXX routines.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Fix indentation and remove trailing white spaces.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Move get_tipc_addr_info() to nettest_tipc.c.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Steps for platform independence.

configure.ac:
 * Check_header. If linux/tipc.h exist, WANT_TIPC
   is set to 1.
nettest_omni.c:
 * New struct type omni_tipc_portid to use instead
   of tipc_portid.
 * All sockaddr_tipc in nettest_omni changed to
   sockaddr_storage.
nettest_tipc.c:
 * Two versions of each routine in nettest_tipc.c,
   depending on if WANT_TIPC is set or not.
 * Casts from sockaddr_storage to sockaddr_tipc in
   the (WANT_TIPC version) routines.
netperf.c:
 * Only perform tipc tests if WANT_TIPC is set.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Correcting get_portid().

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Add guards around TIPC specific code.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Remove old TIPC test code.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>
Remove trailing whitespace.

Signed-off-by: karin nilsson <karin.nilsson@ericsson.com>