Branch: refs/heads/master
Home:
https://github.com/fabbione/kronosnet
Commit: 762c00987bc444990b10c46ce7b7db419ae400e1
https://github.com/fabbione/kronosnet/commit/762c00987bc444990b10c46ce7b7db…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-01-16 (Mon, 16 Jan 2017)
Changed paths:
M Makefile.am
R common/Makefile.am
R common/netutils.c
R common/netutils.h
R common/netutils_test.c
M configure.ac
M kronosnetd/Makefile.am
M kronosnetd/vty.c
M kronosnetd/vty_cli_cmds.c
M libknet/Makefile.am
M libknet/libknet.h
M libknet/link.c
A libknet/netutils.c
A libknet/netutils.h
M libknet/tests/Makefile.am
M libknet/tests/api-check.mk
A libknet/tests/api_knet_addrtostr.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_sync.c
A libknet/tests/api_knet_strtoaddr.c
M libknet/tests/knet_bench.c
M libknet/threads_send_recv.c
M libknet/transport_common.c
M libknet/transport_sctp.c
M libknet/transports.h
Log Message:
-----------
[api] add commodity functions to convert to/from strings/sockaddress
functions are nothing more than wrappers for getnameinfo and getaddrinfo
with some sanity checks, but exposing them around saves lots of
maintanance of duplicate code across different stuff.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>