diff --git a/libknet/man/Makefile.am b/libknet/man/Makefile.am index 51b81b9b..f01fd13c 100644 --- a/libknet/man/Makefile.am +++ b/libknet/man/Makefile.am @@ -1,83 +1,82 @@ # # Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. # # Authors: Fabio M. Di Nitto # Federico Simoncelli # # This software licensed under GPL-2.0+, LGPL-2.0+ # MAINTAINERCLEANFILES = Makefile.in include $(top_srcdir)/build-aux/check.mk dist_man_MANS = \ knet_addrtostr.3 \ knet_handle_add_datafd.3 \ knet_handle_clear_stats.3 \ knet_handle_compress.3 \ knet_handle_crypto.3 \ knet_handle_enable_filter.3 \ knet_handle_enable_pmtud_notify.3 \ knet_handle_enable_sock_notify.3 \ knet_handle_free.3 \ knet_handle_get_channel.3 \ knet_get_compress_list.3 \ knet_get_crypto_list.3 \ knet_handle_get_datafd.3 \ knet_handle_get_stats.3 \ knet_get_transport_id_by_name.3 \ knet_get_transport_list.3 \ knet_get_transport_name_by_id.3 \ knet_handle_get_transport_reconnect_interval.3 \ knet_handle_new.3 \ knet_handle_pmtud_get.3 \ knet_handle_pmtud_getfreq.3 \ knet_handle_pmtud_setfreq.3 \ knet_handle_remove_datafd.3 \ knet_handle_setfwd.3 \ knet_handle_set_transport_reconnect_interval.3 \ knet_host_add.3 \ knet_host_enable_status_change_notify.3 \ knet_host_get_host_list.3 \ knet_host_get_id_by_host_name.3 \ knet_host_get_name_by_host_id.3 \ knet_host_get_policy.3 \ knet_host_get_status.3 \ knet_host_remove.3 \ knet_host_set_name.3 \ knet_host_set_policy.3 \ knet_link_clear_config.3 \ knet_link_get_config.3 \ knet_link_get_enable.3 \ knet_link_get_link_list.3 \ knet_link_get_ping_timers.3 \ knet_link_get_pong_count.3 \ knet_link_get_priority.3 \ knet_link_get_status.3 \ knet_link_set_config.3 \ knet_link_set_enable.3 \ knet_link_set_ping_timers.3 \ knet_link_set_pong_count.3 \ knet_link_set_priority.3 \ knet_log_get_loglevel.3 \ knet_log_get_loglevel_id.3 \ knet_log_get_loglevel_name.3 \ knet_log_get_subsystem_id.3 \ knet_log_get_subsystem_name.3 \ knet_log_set_loglevel.3 \ knet_recv.3 \ knet_send.3 \ knet_send_sync.3 \ - knet_strtoaddr.3 \ - libknet.h.3 + knet_strtoaddr.3 -update-man-pages: doxyfile.stamp +$(MANS): doxyfile.stamp -doxyfile.stamp: Doxyfile +doxyfile.stamp: Doxyfile $(abs_srcdir)/../libknet.h $(top_builddir)/build-aux/doxyxml $(DOXYGEN) Doxyfile $(top_builddir)/build-aux/doxyxml -m -P -o $(abs_builddir) -s 3 -p @PACKAGE_NAME@ -H "Kronosnet Programmer's Manual" -d $(abs_builddir)/xml/ libknet_8h.xml touch doxyfile.stamp clean-local: - rm -rf doxyfile.stamp xml + rm -rf doxyfile.stamp xml *.3 diff --git a/libknet/man/knet_addrtostr.3 b/libknet/man/knet_addrtostr.3 deleted file mode 100644 index 2427d3b3..00000000 --- a/libknet/man/knet_addrtostr.3 +++ /dev/null @@ -1,42 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_addrtostr 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_addrtostr \- Convert an address to a host name. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_addrtostr\fP( - \fBconst struct sockaddr_storage *\fP\fIss\fP, - \fBsocklen_t \fP\fIsslen\fP, - \fBchar *\fP\fIaddr_buf\fP, - \fBsize_t \fP\fIaddr_buf_size\fP, - \fBchar *\fP\fIport_buf\fP, - \fBsize_t \fP\fIport_buf_size\fP -); -.fi -.SH DESCRIPTION -.PP -knet_addrtostr -.PP -ss - sockaddr_storage to convert -.PP -sslen - len of the sockaddr_storage -.PP -host - IPaddr/hostname where to store data (recommended size: KNET_MAX_HOST_LEN) -.PP -port - port buffer where to store data (recommended size: KNET_MAX_PORT_LEN) -.SH RETURN VALUE -.PP -knet_strtoaddr returns same error codes as getnameinfo -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_get_compress_list.3 b/libknet/man/knet_get_compress_list.3 deleted file mode 100644 index c393debd..00000000 --- a/libknet/man/knet_get_compress_list.3 +++ /dev/null @@ -1,50 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_get_compress_list 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_get_compress_list \- Get a list of support compression types. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_get_compress_list\fP( - \fBstruct knet_compress_info *\fP\fIcompress_list\fP, - \fBsize_t *\fP\fIcompress_list_entries\fP -); -.fi -.SH DESCRIPTION -.PP -knet_get_compress_list -.PP -compress_list - array of struct knet_compress_info * If NULL then only the number of structs is returned in compress_list_entries to allow the caller to allocate sufficient space. libknet does not allow more than 256 compress methods at the moment. it is safe to allocate 256 structs to avoid calling knet_get_compress_list twice. -.PP -compress_list_entries - returns the number of structs in compress_list -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_compress_info { - const char *\fIname\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_get_compress_list returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_get_crypto_list.3 b/libknet/man/knet_get_crypto_list.3 deleted file mode 100644 index bfa1065f..00000000 --- a/libknet/man/knet_get_crypto_list.3 +++ /dev/null @@ -1,50 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_get_crypto_list 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_get_crypto_list \- Get a list of supported crypto libraries. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_get_crypto_list\fP( - \fBstruct knet_crypto_info *\fP\fIcrypto_list\fP, - \fBsize_t *\fP\fIcrypto_list_entries\fP -); -.fi -.SH DESCRIPTION -.PP -knet_get_crypto_list -.PP -crypto_list - array of struct knet_crypto_info * If NULL then only the number of structs is returned in crypto_list_entries to allow the caller to allocate sufficient space. libknet does not allow more than 256 crypto methods at the moment. it is safe to allocate 256 structs to avoid calling knet_get_crypto_list twice. -.PP -crypto_list_entries - returns the number of structs in crypto_list -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_crypto_info { - const char *\fIname\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_get_crypto_list returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_get_transport_id_by_name.3 b/libknet/man/knet_get_transport_id_by_name.3 deleted file mode 100644 index 520c65e1..00000000 --- a/libknet/man/knet_get_transport_id_by_name.3 +++ /dev/null @@ -1,39 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_get_transport_id_by_name 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_get_transport_id_by_name \- Get a transport ID from its name. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBuint8_t knet_get_transport_id_by_name\fP( - \fBconst char *\fP\fIname\fP -); -.fi -.SH DESCRIPTION -.PP -knet_get_transport_id_by_name -.PP -name - transport name (UDP/SCTP/etc) -.SH RETURN VALUE -.PP -knet_get_transport_name_by_id returns: -.TP -.B KNET_MAX_TRANSPORTS -on error and errno is set accordingly - -.TP -.B KNET_TRANSPORT_xxx -on success. - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_get_transport_list.3 b/libknet/man/knet_get_transport_list.3 deleted file mode 100644 index 45d4a921..00000000 --- a/libknet/man/knet_get_transport_list.3 +++ /dev/null @@ -1,51 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_get_transport_list 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_get_transport_list \- Get a list of the transports support by this build of knet. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_get_transport_list\fP( - \fBstruct knet_transport_info *\fP\fItransport_list\fP, - \fBsize_t *\fP\fItransport_list_entries\fP -); -.fi -.SH DESCRIPTION -.PP -knet_get_transport_list -.PP -transport_list - an array of struct transport_info that must be at least of size struct transport_info * KNET_MAX_TRANSPORTS -.PP -transport_list_entries - pointer to a size_t where to store how many transports are available in this build of libknet. -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_transport_info { - const char *\fIname\fP; - uint8_t \fIid\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_get_transport_list returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_get_transport_name_by_id.3 b/libknet/man/knet_get_transport_name_by_id.3 deleted file mode 100644 index ba5f2b2c..00000000 --- a/libknet/man/knet_get_transport_name_by_id.3 +++ /dev/null @@ -1,39 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_get_transport_name_by_id 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_get_transport_name_by_id \- Get a transport name from its ID number. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBconst char * knet_get_transport_name_by_id\fP( - \fBuint8_t \fP\fItransport\fP -); -.fi -.SH DESCRIPTION -.PP -knet_get_transport_name_by_id -.PP -transport - one of the KNET_TRANSPORT_xxx constants -.SH RETURN VALUE -.PP -knet_get_transport_name_by_id returns: -.TP -.B pointer -to the name on success or - -.TP -.B NULL -on error and errno is set. - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_add_datafd.3 b/libknet/man/knet_handle_add_datafd.3 deleted file mode 100644 index 358d0561..00000000 --- a/libknet/man/knet_handle_add_datafd.3 +++ /dev/null @@ -1,61 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_add_datafd 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_add_datafd \- Install a file descriptor for communication. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_add_datafd\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBint *\fP\fIdatafd\fP, - \fBint8_t *\fP\fIchannel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_add_datafd -.PP -IMPORTANT: In order to add datafd to knet, knet_handle_enable_sock_notify MUST be set and be able to handle both errors (-1) and 0 bytes read / write from the provided datafd. On read error (< 0) from datafd, the socket is automatically removed from polling to avoid spinning on dead sockets. It is safe to call knet_handle_remove_datafd even on sockets that have been removed. -.PP -knet_h - pointer to knet_handle_t -.PP -*datafd - read/write file descriptor. knet will read data here to send to the other hosts and will write data received from the network. Each data packet can be of max size KNET_MAX_PACKET_SIZE! Applications using knet_send/knet_recv will receive a proper error if the packet size is not within boundaries. Applications using their own functions to write to the datafd should NOT write more than KNET_MAX_PACKET_SIZE. -.PP -Please refer to handle.c on how to set up a socketpair. -.PP -datafd can be 0, and knet_handle_add_datafd will create a properly populated socket pair the same way as ping_test, or a value higher than 0. A negative number will return an error. On exit knet_handle_free will take care to cleanup the socketpair only if they have been created by knet_handle_add_datafd. -.PP -It is possible to pass either sockets or normal fds. User provided datafd will be marked as non-blocking and close-on-exit. -.PP -*channel - This value has the same effect of VLAN tagging. A negative value will auto-allocate a channel. Setting a value between 0 and 31 will try to allocate that specific channel (unless already in use). -.PP -It is possible to add up to 32 datafds but be aware that each one of them must have a receiving end on the other host. -.PP -Example: hostA channel 0 will be delivered to datafd on hostB channel 0 hostA channel 1 to hostB channel 1. -.PP -Each channel must have a unique file descriptor. -.PP -If your application could have 2 channels on one host and one channel on another host, then you can use dst_host_filter to manipulate channel values on TX and RX. -.SH RETURN VALUE -.PP -knet_handle_add_datafd returns -.TP -.B 0 -on success, *datafd will be populated with a socket if the original value was 0 or if a specific fd was set, the value is untouched. *channel will be populated with a channel number if the original value was negative or the value is untouched if a specific channel was requested. - -.TP -.B -1 -on error and errno is set. *datafd and *channel are untouched or empty. - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_clear_stats.3 b/libknet/man/knet_handle_clear_stats.3 deleted file mode 100644 index c148a56b..00000000 --- a/libknet/man/knet_handle_clear_stats.3 +++ /dev/null @@ -1,36 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_clear_stats 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_clear_stats \- Clear knet stats, link and/or handle. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_clear_stats\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBint \fP\fIclear_option\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_clear_stats -.PP -knet_h - pointer to knet_handle_t -.PP -clear_option - Which stats to clear, must be one of -.PP -KNET_CLEARSTATS_HANDLE_ONLY or KNET_CLEARSTATS_HANDLE_AND_LINK -.SH RETURN VALUE -.PP -0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_compress.3 b/libknet/man/knet_handle_compress.3 deleted file mode 100644 index 179d95fd..00000000 --- a/libknet/man/knet_handle_compress.3 +++ /dev/null @@ -1,58 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_compress 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_compress \- Set up packet compression. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_compress\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBstruct knet_handle_compress_cfg *\fP\fIknet_handle_compress_cfg\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_compress -.PP -knet_h - pointer to knet_handle_t -.PP -knet_handle_compress_cfg - pointer to a knet_handle_compress_cfg structure -.PP -compress_model should contain the mode name. Currently only "zlib" and "lz4" are supported. Setting to "none" will disable compression. -.PP -compress_threshold tells the transmission thread to NOT compress any packets that are smaller than the value indicated. Default 100 bytes. Set to 0 to reset to the default. Set to 1 to compress everything. Max accepted value is KNET_MAX_PACKET_SIZE. -.PP -compress_level some compression libraries allow tuning of compression parameters. For example zlib value ranges from 0 to 9 where 0 is no compression and 9 is max compression. This value is passed pristine to the compression library. zlib: 0 (no compression), 1 (minimal) .. 9 (max compression). lz4: 1 (max compression)... 9 (fastest compression). lz4hc: 1 (min compression) ... LZ4HC_MAX_CLEVEL (16) or LZ4HC_CLEVEL_MAX (12) depends on the installed version of lz4hc. libknet can detects the max value and will print an appropriate warning. lzo2: accepts only some specific values depending on the requested algorithm: 1 : lzo1x_1_compress (default) 11 : lzo1x_1_11_compress 12 : lzo1x_1_12_compress 15 : lzo1x_1_15_compress 999: lzo1x_999_compress every other values will use default lzma: 0 (minimal) .. 9 (max compression) bzip2: 1 (minimal) .. 9 (max compression) Please refer to the library man pages on how to be set this value, as it is passed unmodified to the compression algorithm where supported. -.PP -knet does NOT implement the compression algorithm directly. it relies on external libraries for this functionality. Please read the libraries man pages to figure out which algorithm/compression level is best for the data you are planning to transmit. -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_compress_cfg { - char \fIcompress_model\fP; - uint32_t \fIcompress_threshold\fP; - int \fIcompress_level\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_handle_compress returns 0 on success -1 on error and errno is set. EINVAL means that either the model or the level are not supported. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_crypto.3 b/libknet/man/knet_handle_crypto.3 deleted file mode 100644 index 302a0d84..00000000 --- a/libknet/man/knet_handle_crypto.3 +++ /dev/null @@ -1,76 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_crypto 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_crypto \- set up packet cryptographic signing & encryption -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_crypto\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBstruct knet_handle_crypto_cfg *\fP\fIknet_handle_crypto_cfg\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_crypto -.PP -knet_h - pointer to knet_handle_t -.PP -knet_handle_crypto_cfg - pointer to a knet_handle_crypto_cfg structure -.PP -crypto_model should contain the model name. Currently only "openssl" and "nss" are supported. Setting to "none" will disable crypto. -.PP -crypto_cipher_type should contain the cipher algo name. It can be set to "none" to disable encryption. Currently supported by "nss" model: "3des", "aes128", "aes192" and "aes256". "openssl" model supports more modes and it strictly depends on the openssl build. See: EVP_get_cipherbyname openssl API call for details. -.PP -crypto_hash_type should contain the hashing algo name. It can be set to "none" to disable hashing. Currently supported by "nss" model: "md5", "sha1", "sha256", "sha384" and "sha512". "openssl" model supports more modes and it strictly depends on the openssl build. See: EVP_get_digestbyname openssl API call for details. -.PP -private_key will contain the private shared key. It has to be at least KNET_MIN_KEY_LEN long. -.PP -private_key_len length of the provided private_key. -.PP -it is safe to call knet_handle_crypto multiple times at runtime. The last config will be used. IMPORTANT: a call to knet_handle_crypto can fail due to: 1) failure to obtain locking 2) errors to initializing the crypto level. This can happen even in subsequent calls to knet_handle_crypto. A failure in crypto init, might leave your traffic unencrypted! It's best to stop data forwarding (see knet_handle_setfwd(3)), change crypto config, start forward again. -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_crypto_cfg { - char \fIcrypto_model\fP; - char \fIcrypto_cipher_type\fP; - char \fIcrypto_hash_type\fP; - unsigned char \fIprivate_key\fP; - unsigned int \fIprivate_key_len\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_handle_crypto returns: -.TP -.B 0 -on success - -.TP -.B -1 -on error and errno is set. - -.TP -.B -2 -on crypto subsystem initialization error. No errno is provided at the moment (yet). - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_enable_filter.3 b/libknet/man/knet_handle_enable_filter.3 deleted file mode 100644 index c0f8516f..00000000 --- a/libknet/man/knet_handle_enable_filter.3 +++ /dev/null @@ -1,41 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_enable_filter 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_enable_filter \- install a filter to route packets -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_enable_filter\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBvoid *\fP\fIdst_host_filter_fn_private_data\fP, - \fBint(*)(void *private_data, const unsigned char *outdata, ssize_t outdata_len, uint8_t tx_rx, knet_node_id_t this_host_id, knet_node_id_t src_host_id, int8_t *channel, knet_node_id_t *dst_host_ids, size_t *dst_host_ids_entries) \fP\fIdst_host_filter_fn\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_enable_filter -.PP -knet_h - pointer to knet_handle_t -.PP -dst_host_filter_fn_private_data void pointer to data that can be used to identify the callback. -.PP -dst_host_filter_fn - is a callback function that is invoked every time a packet hits datafd (see knet_handle_new(3)). the function allows users to tell libknet where the packet has to be delivered. -.PP -const unsigned char *outdata - is a pointer to the current packet ssize_t outdata_len - length of the above data uint8_t tx_rx - filter is called on tx or rx (KNET_NOTIFY_TX, KNET_NOTIFY_RX) knet_node_id_t this_host_id - host_id processing the packet knet_node_id_t src_host_id - host_id that generated the packet knet_node_id_t *dst_host_ids - array of KNET_MAX_HOST knet_node_id_t where to store the destinations size_t *dst_host_ids_entries - number of hosts to send the message -.PP -dst_host_filter_fn should return -1 on error, packet is discarded. 0 packet is unicast and should be sent to dst_host_ids and there are dst_host_ids_entries in the buffer. 1 packet is broadcast/multicast and is sent all hosts. contents of dst_host_ids and dst_host_ids_entries are ignored. (see also kronosnetd/etherfilter.* for an example that filters based on ether protocol) -.SH RETURN VALUE -.PP -knet_handle_enable_filter returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_enable_pmtud_notify.3 b/libknet/man/knet_handle_enable_pmtud_notify.3 deleted file mode 100644 index 11f1082b..00000000 --- a/libknet/man/knet_handle_enable_pmtud_notify.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_enable_pmtud_notify 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_enable_pmtud_notify \- install a callback to receive PMTUd changes -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_enable_pmtud_notify\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBvoid *\fP\fIpmtud_notify_fn_private_data\fP, - \fBvoid(*)(void *private_data, unsigned int data_mtu) \fP\fIpmtud_notify_fn\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_enable_pmtud_notify -.PP -knet_h - pointer to knet_handle_t -.PP -pmtud_notify_fn_private_data void pointer to data that can be used to identify the callback. -.PP -pmtud_notify_fn is a callback function that is invoked every time a path MTU size change is detected. The function allows libknet to notify the user of data MTU, that's the max value that can be send onwire without fragmentation. The data MTU will always be lower than real link MTU because it accounts for protocol overhead, knet packet header and (if configured) crypto overhead, This function MUST NEVER block or add substantial delays. -.SH RETURN VALUE -.PP -knet_handle_enable_pmtud_notify returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_enable_sock_notify.3 b/libknet/man/knet_handle_enable_sock_notify.3 deleted file mode 100644 index 74a829a1..00000000 --- a/libknet/man/knet_handle_enable_sock_notify.3 +++ /dev/null @@ -1,35 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_enable_sock_notify 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_enable_sock_notify \- Register a callback to receive socket events. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_enable_sock_notify\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBvoid *\fP\fIsock_notify_fn_private_data\fP, - \fBvoid(*)(void *private_data, int datafd, int8_t channel, uint8_t tx_rx, int error, int errorno) \fP\fIsock_notify_fn\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_enable_sock_notify knet_h - pointer to knet_handle_t -.PP -sock_notify_fn_private_data void pointer to data that can be used to identify the callback. -.PP -sock_notify_fn A callback function that is invoked every time a socket in the datafd pool will report an error (-1) or an end of read (0) (see socket.7). This function MUST NEVER block or add substantial delays. The callback is invoked in an internal unlocked area to allow calls to knet_handle_add_datafd/knet_handle_remove_datafd to swap/replace the bad fd. if both err and errno are 0, it means that the socket has received a 0 byte packet (EOF?). The callback function must either remove the fd from knet (by calling knet_handle_remove_fd()) or dup a new fd in its place. Failure to do this can cause problems. -.SH RETURN VALUE -.PP -knet_handle_enable_sock_notify returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_free.3 b/libknet/man/knet_handle_free.3 deleted file mode 100644 index b2b27ce1..00000000 --- a/libknet/man/knet_handle_free.3 +++ /dev/null @@ -1,29 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_free 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_free \- Destroy a knet handle, free all resources. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_free\fP( - \fBknet_handle_t \fP\fIknet_h\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_free knet_h - pointer to knet_handle_t -.SH RETURN VALUE -.PP -knet_handle_free returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_get_channel.3 b/libknet/man/knet_handle_get_channel.3 deleted file mode 100644 index 28ad7a87..00000000 --- a/libknet/man/knet_handle_get_channel.3 +++ /dev/null @@ -1,43 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_get_channel 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_get_channel \- Get the channel associated with a file descriptor. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_get_channel\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBconst int \fP\fIdatafd\fP, - \fBint8_t *\fP\fIchannel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_get_channel knet_h - pointer to knet_handle_t -.PP -datafd - get the channel associated to this datafd -.PP -*channel - will contain the result -.SH RETURN VALUE -.PP -knet_handle_get_channel returns -.TP -.B 0 -on success and *channel will contain the result - -.TP -.B -1 -on error and errno is set. and *channel content is meaningless - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_get_datafd.3 b/libknet/man/knet_handle_get_datafd.3 deleted file mode 100644 index dbda74e3..00000000 --- a/libknet/man/knet_handle_get_datafd.3 +++ /dev/null @@ -1,43 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_get_datafd 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_get_datafd \- Get the file descriptor associated with a channel. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_get_datafd\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBconst int8_t \fP\fIchannel\fP, - \fBint *\fP\fIdatafd\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_get_datafd knet_h - pointer to knet_handle_t -.PP -channel - get the datafd associated to this channel -.PP -*datafd - will contain the result -.SH RETURN VALUE -.PP -knet_handle_get_datafd returns -.TP -.B 0 -on success and *datafd will contain the results - -.TP -.B -1 -on error and errno is set. and *datafd content is meaningless - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_get_stats.3 b/libknet/man/knet_handle_get_stats.3 deleted file mode 100644 index e329c7dd..00000000 --- a/libknet/man/knet_handle_get_stats.3 +++ /dev/null @@ -1,73 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_get_stats 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_get_stats \- Get statistics for compression & crypto. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_get_stats\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBstruct knet_handle_stats *\fP\fIstats\fP, - \fBsize_t \fP\fIstruct_size\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_get_stats -.PP -knet_h - pointer to knet_handle_t -.PP -knet_handle_stats pointer to a knet_handle_stats structure -.PP -struct_size size of knet_handle_stats structure to allow for backwards compatibility. libknet will only copy this much data into the stats structure so that older callers will not get overflowed if new fields are added. -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_stats { - size_t \fIsize\fP; - uint64_t \fItx_uncompressed_packets\fP; - uint64_t \fItx_compressed_packets\fP; - uint64_t \fItx_compressed_original_bytes\fP; - uint64_t \fItx_compressed_size_bytes\fP; - uint64_t \fItx_compress_time_ave\fP; - uint64_t \fItx_compress_time_min\fP; - uint64_t \fItx_compress_time_max\fP; - uint64_t \fIrx_compressed_packets\fP; - uint64_t \fIrx_compressed_original_bytes\fP; - uint64_t \fIrx_compressed_size_bytes\fP; - uint64_t \fIrx_compress_time_ave\fP; - uint64_t \fIrx_compress_time_min\fP; - uint64_t \fIrx_compress_time_max\fP; - uint64_t \fItx_crypt_packets\fP; - uint64_t \fItx_crypt_byte_overhead\fP; - uint64_t \fItx_crypt_time_ave\fP; - uint64_t \fItx_crypt_time_min\fP; - uint64_t \fItx_crypt_time_max\fP; - uint64_t \fIrx_crypt_packets\fP; - uint64_t \fIrx_crypt_time_ave\fP; - uint64_t \fIrx_crypt_time_min\fP; - uint64_t \fIrx_crypt_time_max\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_get_transport_reconnect_interval.3 b/libknet/man/knet_handle_get_transport_reconnect_interval.3 deleted file mode 100644 index 44f4fc13..00000000 --- a/libknet/man/knet_handle_get_transport_reconnect_interval.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_get_transport_reconnect_interval 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_get_transport_reconnect_interval \- Get the interval between transport attempts to reconnect a failed link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_get_transport_reconnect_interval\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBuint32_t *\fP\fImsecs\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_get_transport_reconnect_interval -.PP -knet_h - pointer to knet_handle_t -.PP -msecs - milliseconds -.SH RETURN VALUE -.PP -knet_handle_get_transport_reconnect_interval returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_new.3 b/libknet/man/knet_handle_new.3 deleted file mode 100644 index 89fdc9f9..00000000 --- a/libknet/man/knet_handle_new.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_new 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_new \- create a new instance of a knet handle -.SH SYNOPSIS -.nf -.B #include -.sp -\fBknet_handle_t knet_handle_new\fP( - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBint \fP\fIlog_fd\fP, - \fBuint8_t \fP\fIdefault_log_level\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_new -.PP -host_id - Each host in a knet is identified with a unique ID. when creating a new handle local host_id must be specified (0 to UINT16T_MAX are all valid). It is the user's responsibility to check that the value is unique, or bad things might happen. -.PP -log_fd - Write file descriptor. If set to a value > 0, it will be used to write log packets from libknet to the application. Setting to 0 will disable logging from libknet. It is possible to enable logging at any given time (see logging API). Make sure to either read from this filedescriptor properly and/or mark it O_NONBLOCK, otherwise if the fd becomes full, libknet could block. -.PP -default_log_level - If logfd is specified, it will initialize all subsystems to log at default_log_level value. (see logging API) -.SH RETURN VALUE -.PP -on success, a new knet_handle_t is returned. on failure, NULL is returned and errno is set. knet-specific errno values: ENAMETOOLONG - socket buffers couldn't be set big enough ERANGE - buffer size readback returned unexpected type -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_pmtud_get.3 b/libknet/man/knet_handle_pmtud_get.3 deleted file mode 100644 index 99a70c73..00000000 --- a/libknet/man/knet_handle_pmtud_get.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_pmtud_get 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_pmtud_get \- Get the current data MTU. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_pmtud_get\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBunsigned int *\fP\fIdata_mtu\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_pmtud_get -.PP -knet_h - pointer to knet_handle_t -.PP -data_mtu - pointer where to store data_mtu -.SH RETURN VALUE -.PP -knet_handle_pmtud_get returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_pmtud_getfreq.3 b/libknet/man/knet_handle_pmtud_getfreq.3 deleted file mode 100644 index 2682512c..00000000 --- a/libknet/man/knet_handle_pmtud_getfreq.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_pmtud_getfreq 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_pmtud_getfreq \- Get the interval between PMTUd scans. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_pmtud_getfreq\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBunsigned int *\fP\fIinterval\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_pmtud_getfreq -.PP -knet_h - pointer to knet_handle_t -.PP -interval - pointer where to store the current interval value -.SH RETURN VALUE -.PP -knet_handle_pmtud_setfreq returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_pmtud_setfreq.3 b/libknet/man/knet_handle_pmtud_setfreq.3 deleted file mode 100644 index f34fe92e..00000000 --- a/libknet/man/knet_handle_pmtud_setfreq.3 +++ /dev/null @@ -1,36 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_pmtud_setfreq 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_pmtud_setfreq \- Set the interval between PMTUd scans. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_pmtud_setfreq\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBunsigned int \fP\fIinterval\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_pmtud_setfreq -.PP -knet_h - pointer to knet_handle_t -.PP -interval - define the interval in seconds between PMTUd scans range from 1 to 86400 (24h) -.PP -default interval is 60. -.SH RETURN VALUE -.PP -knet_handle_pmtud_setfreq returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_remove_datafd.3 b/libknet/man/knet_handle_remove_datafd.3 deleted file mode 100644 index f5be2a6a..00000000 --- a/libknet/man/knet_handle_remove_datafd.3 +++ /dev/null @@ -1,32 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_remove_datafd 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_remove_datafd \- Remove a file descriptor from knet. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_remove_datafd\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBint \fP\fIdatafd\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_remove_datafd knet_h - pointer to knet_handle_t -.PP -datafd - file descriptor to remove. NOTE that if the socket/fd was created by knet_handle_add_datafd, the socket will be closed by libknet. -.SH RETURN VALUE -.PP -knet_handle_remove_datafd returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_set_transport_reconnect_interval.3 b/libknet/man/knet_handle_set_transport_reconnect_interval.3 deleted file mode 100644 index a9e62007..00000000 --- a/libknet/man/knet_handle_set_transport_reconnect_interval.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_set_transport_reconnect_interval 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_set_transport_reconnect_interval \- Set the interval between transport attempts to reconnect a failed link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_set_transport_reconnect_interval\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBuint32_t \fP\fImsecs\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_set_transport_reconnect_interval -.PP -knet_h - pointer to knet_handle_t -.PP -msecs - milliseconds -.SH RETURN VALUE -.PP -knet_handle_set_transport_reconnect_interval returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_handle_setfwd.3 b/libknet/man/knet_handle_setfwd.3 deleted file mode 100644 index d3037b24..00000000 --- a/libknet/man/knet_handle_setfwd.3 +++ /dev/null @@ -1,36 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_handle_setfwd 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_handle_setfwd \- Start packet forwarding. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_handle_setfwd\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBunsigned int \fP\fIenabled\fP -); -.fi -.SH DESCRIPTION -.PP -knet_handle_setfwd -.PP -knet_h - pointer to knet_handle_t -.PP -enable - set to 1 to allow data forwarding, 0 to disable data forwarding. -.PP -By default data forwarding is off and no traffic will pass through knet until it is set on. -.SH RETURN VALUE -.PP -knet_handle_setfwd returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_add.3 b/libknet/man/knet_host_add.3 deleted file mode 100644 index 159dcf13..00000000 --- a/libknet/man/knet_host_add.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_add 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_add \- Add a new host ID to knet. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_add\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_add -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - each host in a knet is identified with a unique ID (see also knet_handle_new(3)) -.SH RETURN VALUE -.PP -knet_host_add returns: 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_enable_status_change_notify.3 b/libknet/man/knet_host_enable_status_change_notify.3 deleted file mode 100644 index 5a1fa56a..00000000 --- a/libknet/man/knet_host_enable_status_change_notify.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_enable_status_change_notify 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_enable_status_change_notify \- Install a callback to get host status change events. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_enable_status_change_notify\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBvoid *\fP\fIhost_status_change_notify_fn_private_data\fP, - \fBvoid(*)(void *private_data, knet_node_id_t host_id, uint8_t reachable, uint8_t remote, uint8_t external) \fP\fIhost_status_change_notify_fn\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_enable_status_change_notify -.PP -knet_h - pointer to knet_handle_t -.PP -host_status_change_notify_fn_private_data - void pointer to data that can be used to identify the callback -.PP -external, 0 if the host_id is configured locally or 1 if it has been added from remote nodes config. NOTE: dynamic topology is NOT currently implemented, but this is ready for future and can avoid an API/ABI breakage later on. This function MUST NEVER block or add substantial delays. -.SH RETURN VALUE -.PP -knet_host_status_change_notify returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_get_host_list.3 b/libknet/man/knet_host_get_host_list.3 deleted file mode 100644 index 7bf6c3b1..00000000 --- a/libknet/man/knet_host_get_host_list.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_get_host_list 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_get_host_list \- Get a list of hosts known to knet. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_get_host_list\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t *\fP\fIhost_ids\fP, - \fBsize_t *\fP\fIhost_ids_entries\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_get_host_list -.PP -knet_h - pointer to knet_handle_t -.PP -host_ids - array of at lest KNET_MAX_HOST size -.PP -host_ids_entries - number of entries writted in host_ids -.SH RETURN VALUE -.PP -knet_host_get_host_list returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_get_id_by_host_name.3 b/libknet/man/knet_host_get_id_by_host_name.3 deleted file mode 100644 index e4cbe0f9..00000000 --- a/libknet/man/knet_host_get_id_by_host_name.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_get_id_by_host_name 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_get_id_by_host_name \- Get the ID of a host given its name. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_get_id_by_host_name\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBconst char *\fP\fIname\fP, - \fBknet_node_id_t *\fP\fIhost_id\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_get_id_by_host_name -.PP -knet_h - pointer to knet_handle_t -.PP -name - name to lookup, max len KNET_MAX_HOST_LEN -.PP -host_id - where to store the result -.SH RETURN VALUE -.PP -knet_host_get_id_by_host_name returns: 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_get_name_by_host_id.3 b/libknet/man/knet_host_get_name_by_host_id.3 deleted file mode 100644 index cb373536..00000000 --- a/libknet/man/knet_host_get_name_by_host_id.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_get_name_by_host_id 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_get_name_by_host_id \- Get the name of a host given its ID. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_get_name_by_host_id\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBchar *\fP\fIname\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_get_name_by_host_id -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -name - pointer to a preallocated buffer of at least size KNET_MAX_HOST_LEN where the current host name will be stored (as set by knet_host_set_name or default by knet_host_add) -.SH RETURN VALUE -.PP -knet_host_get_name_by_host_id returns: 0 on success -1 on error and errno is set (name is left untouched) -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_get_policy.3 b/libknet/man/knet_host_get_policy.3 deleted file mode 100644 index 859d1e38..00000000 --- a/libknet/man/knet_host_get_policy.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_get_policy 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_get_policy \- Get the switching policy for a host's links. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_get_policy\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t *\fP\fIpolicy\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_get_policy -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -policy - will contain the current configured switching policy. Default is passive when creating a new host. -.SH RETURN VALUE -.PP -knet_host_get_policy returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_get_status.3 b/libknet/man/knet_host_get_status.3 deleted file mode 100644 index 40e78830..00000000 --- a/libknet/man/knet_host_get_status.3 +++ /dev/null @@ -1,53 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_get_status 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_get_status \- Get the status of a host. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_get_status\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBstruct knet_host_status *\fP\fIstatus\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_status_get -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -status - pointer to knet_host_status struct -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_host_status { - uint8_t \fIreachable\fP; - uint8_t \fIremote\fP; - uint8_t \fIexternal\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_handle_pmtud_get returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_remove.3 b/libknet/man/knet_host_remove.3 deleted file mode 100644 index d5cc8686..00000000 --- a/libknet/man/knet_host_remove.3 +++ /dev/null @@ -1,34 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_remove 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_remove \- Remove a host ID from knet. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_remove\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_remove -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - each host in a knet is identified with a unique ID (see also knet_handle_new(3)) -.SH RETURN VALUE -.PP -knet_host_remove returns: 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_set_name.3 b/libknet/man/knet_host_set_name.3 deleted file mode 100644 index 374a3eef..00000000 --- a/libknet/man/knet_host_set_name.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_set_name 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_set_name \- Set the name of a knet host. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_set_name\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBconst char *\fP\fIname\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_set_name -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -name - this name will be used for pretty logging and eventually search for hosts (see also knet_handle_host_get_name(2) and knet_handle_host_get_id(3)). Only up to KNET_MAX_HOST_LEN - 1 bytes will be accepted and name has to be unique for each host. -.SH RETURN VALUE -.PP -knet_host_set_name returns: 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_host_set_policy.3 b/libknet/man/knet_host_set_policy.3 deleted file mode 100644 index c6be0838..00000000 --- a/libknet/man/knet_host_set_policy.3 +++ /dev/null @@ -1,41 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_host_set_policy 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_host_set_policy \- Set the switching policy for a host's links. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_host_set_policy\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIpolicy\fP -); -.fi -.SH DESCRIPTION -.PP -knet_host_set_policy -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -policy - there are currently 3 kind of simple switching policies based on link configuration. KNET_LINK_POLICY_PASSIVE - the active link with the lowest priority will be used. if one or more active links share the same priority, the one with lowest link_id will be used. -.PP -KNET_LINK_POLICY_ACTIVE - all active links will be used simultaneously to send traffic. link priority is ignored. -.PP -KNET_LINK_POLICY_RR - round-robin policy, every packet will be send on a different active link. -.SH RETURN VALUE -.PP -knet_host_set_policy returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_clear_config.3 b/libknet/man/knet_link_clear_config.3 deleted file mode 100644 index 095138cc..00000000 --- a/libknet/man/knet_link_clear_config.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_clear_config 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_clear_config \- Clear link information and disconnect the link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_clear_config\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_clear_config -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.SH RETURN VALUE -.PP -knet_link_clear_config returns 0 on success. -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_config.3 b/libknet/man/knet_link_get_config.3 deleted file mode 100644 index 03f6c75c..00000000 --- a/libknet/man/knet_link_get_config.3 +++ /dev/null @@ -1,52 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_config 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_config \- Get the link configutation information. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_config\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t *\fP\fItransport\fP, - \fBstruct sockaddr_storage *\fP\fIsrc_addr\fP, - \fBstruct sockaddr_storage *\fP\fIdst_addr\fP, - \fBuint8_t *\fP\fIdynamic\fP, - \fBuint64_t *\fP\fIflags\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_config -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -transport - see knet_link_set_config(3) -.PP -src_addr - sockaddr_storage that can be either IPv4 or IPv6 -.PP -dst_addr - sockaddr_storage that can be either IPv4 or IPv6 -.PP -dynamic - 0 if dst_addr is static or 1 if dst_addr is dynamic. In case of 1, dst_addr can be NULL and it will be left untouched. -.PP -flags - KNET_LINK_FLAG_* -.SH RETURN VALUE -.PP -knet_link_get_config returns 0 on success. -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_enable.3 b/libknet/man/knet_link_get_enable.3 deleted file mode 100644 index aa85587b..00000000 --- a/libknet/man/knet_link_get_enable.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_enable 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_enable \- Find out whether a link is enabled or not. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_enable\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBunsigned int *\fP\fIenabled\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_enable -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -enabled - 0 disable the link, 1 enable the link -.SH RETURN VALUE -.PP -knet_link_get_enable returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_link_list.3 b/libknet/man/knet_link_get_link_list.3 deleted file mode 100644 index d4945a90..00000000 --- a/libknet/man/knet_link_get_link_list.3 +++ /dev/null @@ -1,38 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_link_list 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_link_list \- Get a list of links connecting a host. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_link_list\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t *\fP\fIlink_ids\fP, - \fBsize_t *\fP\fIlink_ids_entries\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_link_list -.PP -knet_h - pointer to knet_handle_t -.PP -link_ids - array of at lest KNET_MAX_LINK size with the list of configured links for a certain host. -.PP -link_ids_entries - number of entries contained in link_ids -.SH RETURN VALUE -.PP -knet_link_get_link_list returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_ping_timers.3 b/libknet/man/knet_link_get_ping_timers.3 deleted file mode 100644 index 8526adca..00000000 --- a/libknet/man/knet_link_get_ping_timers.3 +++ /dev/null @@ -1,46 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_ping_timers 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_ping_timers \- Get the ping timers for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_ping_timers\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBtime_t *\fP\fIinterval\fP, - \fBtime_t *\fP\fItimeout\fP, - \fBunsigned int *\fP\fIprecision\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_ping_timers -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -interval - ping interval -.PP -timeout - if no pong is received within this time, the link is declared dead -.PP -precision - how many values of latency are used to calculate the average link latency (see also knet_link_get_status(3)) -.SH RETURN VALUE -.PP -knet_link_get_ping_timers returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_pong_count.3 b/libknet/man/knet_link_get_pong_count.3 deleted file mode 100644 index 98a0d473..00000000 --- a/libknet/man/knet_link_get_pong_count.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_pong_count 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_pong_count \- Get the pong count for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_pong_count\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t *\fP\fIpong_count\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_pong_count -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -pong_count - how many valid ping/pongs before a link is marked UP. default: 5, value should be > 0 -.SH RETURN VALUE -.PP -knet_link_get_pong_count returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_priority.3 b/libknet/man/knet_link_get_priority.3 deleted file mode 100644 index b58f46b3..00000000 --- a/libknet/man/knet_link_get_priority.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_priority 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_priority \- Get the priority for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_priority\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t *\fP\fIpriority\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_priority -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -priority - gather the switching priority for this link see also knet_host_set_policy -.SH RETURN VALUE -.PP -knet_link_get_priority returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_get_status.3 b/libknet/man/knet_link_get_status.3 deleted file mode 100644 index 31c85409..00000000 --- a/libknet/man/knet_link_get_status.3 +++ /dev/null @@ -1,69 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_get_status 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_get_status \- Get the status (and statistics) for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_get_status\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBstruct knet_link_status *\fP\fIstatus\fP, - \fBsize_t \fP\fIstruct_size\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_get_status -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -status - pointer to knet_link_status struct -.PP -struct_size - max size of knet_link_status - allows library to add fields without ABI change. Returned structure will be truncated to this length and .size member indicates the full size. -.SH STRUCTURES -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_link_status { - size_t \fIsize\fP; - char \fIsrc_ipaddr\fP; - char \fIsrc_port\fP; - char \fIdst_ipaddr\fP; - char \fIdst_port\fP; - uint8_t \fIenabled\fP; - uint8_t \fIconnected\fP; - uint8_t \fIdynconnected\fP; - unsigned long long \fIlatency\fP; - struct timespec \fIpong_last\fP; - unsigned int \fImtu\fP; - unsigned int \fIproto_overhead\fP; - struct knet_link_stats \fIstats\fP; -}; -\fP -.fi -.RE -.SH RETURN VALUE -.PP -knet_link_get_status returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_set_config.3 b/libknet/man/knet_link_set_config.3 deleted file mode 100644 index d32cacb2..00000000 --- a/libknet/man/knet_link_set_config.3 +++ /dev/null @@ -1,49 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_set_config 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_set_config \- Configure the link to a host. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_set_config\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t \fP\fItransport\fP, - \fBstruct sockaddr_storage *\fP\fIsrc_addr\fP, - \fBstruct sockaddr_storage *\fP\fIdst_addr\fP, - \fBuint64_t \fP\fIflags\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_set_config -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -transport - one of the KNET_TRANSPORT_xxx constants -.PP -src_addr - sockaddr_storage that can be either IPv4 or IPv6 -.PP -dst_addr - sockaddr_storage that can be either IPv4 or IPv6 this can be null if we don't know the incoming IP address/port and the link will remain quiet till the node on the other end will initiate a connection -.PP -flags - KNET_LINK_FLAG_* -.SH RETURN VALUE -.PP -knet_link_set_config returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_set_enable.3 b/libknet/man/knet_link_set_enable.3 deleted file mode 100644 index ce1442cd..00000000 --- a/libknet/man/knet_link_set_enable.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_set_enable 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_set_enable \- Enable traffic on a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_set_enable\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBunsigned int \fP\fIenabled\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_set_enable -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -enabled - 0 disable the link, 1 enable the link -.SH RETURN VALUE -.PP -knet_link_set_enable returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_set_ping_timers.3 b/libknet/man/knet_link_set_ping_timers.3 deleted file mode 100644 index 4ddb1d10..00000000 --- a/libknet/man/knet_link_set_ping_timers.3 +++ /dev/null @@ -1,46 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_set_ping_timers 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_set_ping_timers \- Set the ping timers for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_set_ping_timers\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBtime_t \fP\fIinterval\fP, - \fBtime_t \fP\fItimeout\fP, - \fBunsigned int \fP\fIprecision\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_set_ping_timers -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -interval - specify the ping interval in milliseconds. -.PP -timeout - if no pong is received within this time, the link is declared dead, in milliseconds. NOTE: in future it will be possible to set timeout to 0 for an autocalculated timeout based on interval, pong_count and latency. The API already accept 0 as value and it will return ENOSYS / -1. Once the automatic calculation feature will be implemented, this call will only return EINVAL for incorrect values. -.PP -precision - how many values of latency are used to calculate the average link latency (see also knet_link_get_status(3)) -.SH RETURN VALUE -.PP -knet_link_set_ping_timers returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_set_pong_count.3 b/libknet/man/knet_link_set_pong_count.3 deleted file mode 100644 index 97ff90c8..00000000 --- a/libknet/man/knet_link_set_pong_count.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_set_pong_count 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_set_pong_count \- Set the pong count for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_set_pong_count\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t \fP\fIpong_count\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_set_pong_count -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -pong_count - how many valid ping/pongs before a link is marked UP. default: 5, value should be > 0 -.SH RETURN VALUE -.PP -knet_link_set_pong_count returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_link_set_priority.3 b/libknet/man/knet_link_set_priority.3 deleted file mode 100644 index 8e014e74..00000000 --- a/libknet/man/knet_link_set_priority.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_link_set_priority 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_link_set_priority \- Set the priority for a link. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_link_set_priority\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBknet_node_id_t \fP\fIhost_id\fP, - \fBuint8_t \fP\fIlink_id\fP, - \fBuint8_t \fP\fIpriority\fP -); -.fi -.SH DESCRIPTION -.PP -knet_link_set_priority -.PP -knet_h - pointer to knet_handle_t -.PP -host_id - see knet_host_add(3) -.PP -link_id - see knet_link_set_config(3) -.PP -priority - specify the switching priority for this link see also knet_host_set_policy -.SH RETURN VALUE -.PP -knet_link_set_priority returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_get_loglevel.3 b/libknet/man/knet_log_get_loglevel.3 deleted file mode 100644 index d23bdbb7..00000000 --- a/libknet/man/knet_log_get_loglevel.3 +++ /dev/null @@ -1,37 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_get_loglevel 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_get_loglevel \- Get the logging level for a subsystem. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_log_get_loglevel\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBuint8_t \fP\fIsubsystem\fP, - \fBuint8_t *\fP\fIlevel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_get_log_level -.PP -knet_h - same as above -.PP -subsystem - same as above -.PP -level - same as above -.SH RETURN VALUE -.PP -knet_log_get_loglevel returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_get_loglevel_id.3 b/libknet/man/knet_log_get_loglevel_id.3 deleted file mode 100644 index 8b01bbfb..00000000 --- a/libknet/man/knet_log_get_loglevel_id.3 +++ /dev/null @@ -1,29 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_get_loglevel_id 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_get_loglevel_id \- Get a logging level ID from its name. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBuint8_t knet_log_get_loglevel_id\fP( - \fBconst char *\fP\fIname\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_get_loglevel_id -.SH RETURN VALUE -.PP -returns internal log level ID or KNET_LOG_ERR for invalid names -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_get_loglevel_name.3 b/libknet/man/knet_log_get_loglevel_name.3 deleted file mode 100644 index 4ec4a05a..00000000 --- a/libknet/man/knet_log_get_loglevel_name.3 +++ /dev/null @@ -1,29 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_get_loglevel_name 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_get_loglevel_name \- Get a logging level name from its numeric ID. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBconst char * knet_log_get_loglevel_name\fP( - \fBuint8_t \fP\fIlevel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_get_loglevel_name -.SH RETURN VALUE -.PP -returns internal name of the log level or "ERROR" for unknown values -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_get_subsystem_id.3 b/libknet/man/knet_log_get_subsystem_id.3 deleted file mode 100644 index 7427a2f8..00000000 --- a/libknet/man/knet_log_get_subsystem_id.3 +++ /dev/null @@ -1,29 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_get_subsystem_id 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_get_subsystem_id \- Get a logging system ID from its name. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBuint8_t knet_log_get_subsystem_id\fP( - \fBconst char *\fP\fIname\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_get_subsystem_id -.SH RETURN VALUE -.PP -returns internal ID of the subsystem or KNET_SUB_COMMON -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_get_subsystem_name.3 b/libknet/man/knet_log_get_subsystem_name.3 deleted file mode 100644 index 7f12e496..00000000 --- a/libknet/man/knet_log_get_subsystem_name.3 +++ /dev/null @@ -1,29 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_get_subsystem_name 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_get_subsystem_name \- Get a logging system name from its numeric ID. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBconst char * knet_log_get_subsystem_name\fP( - \fBuint8_t \fP\fIsubsystem\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_get_subsystem_name -.SH RETURN VALUE -.PP -returns internal name of the subsystem or "common" -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_log_set_loglevel.3 b/libknet/man/knet_log_set_loglevel.3 deleted file mode 100644 index d235c771..00000000 --- a/libknet/man/knet_log_set_loglevel.3 +++ /dev/null @@ -1,39 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_log_set_loglevel 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_log_set_loglevel \- Set the logging level for a subsystem. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_log_set_loglevel\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBuint8_t \fP\fIsubsystem\fP, - \fBuint8_t \fP\fIlevel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_log_set_log_level -.PP -knet_h - same as above -.PP -subsystem - same as above -.PP -level - same as above -.PP -knet_log_set_loglevel allows fine control of log levels by subsystem. See also knet_handle_new for defaults. -.SH RETURN VALUE -.PP -knet_log_set_loglevel returns 0 on success -1 on error and errno is set. -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_recv.3 b/libknet/man/knet_recv.3 deleted file mode 100644 index 09e2fb74..00000000 --- a/libknet/man/knet_recv.3 +++ /dev/null @@ -1,38 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_recv 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_recv \- Receive data from knet nodes. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBssize_t knet_recv\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBchar *\fP\fIbuff\fP, - \fBconst size_t \fP\fIbuff_len\fP, - \fBconst int8_t \fP\fIchannel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_recv knet_h - pointer to knet_handle_t -.PP -buff - pointer to buffer to store the received data -.PP -buff_len - buffer length -.PP -channel - channel number -.SH RETURN VALUE -.PP -knet_recv is a commodity function to wrap iovec operations around a socket. It returns a call to readv(2). -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_send.3 b/libknet/man/knet_send.3 deleted file mode 100644 index 72b37039..00000000 --- a/libknet/man/knet_send.3 +++ /dev/null @@ -1,38 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_send 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_send \- Send data to knet nodes. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBssize_t knet_send\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBconst char *\fP\fIbuff\fP, - \fBconst size_t \fP\fIbuff_len\fP, - \fBconst int8_t \fP\fIchannel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_send knet_h - pointer to knet_handle_t -.PP -buff - pointer to the buffer of data to send -.PP -buff_len - length of data to send -.PP -channel - channel number -.SH RETURN VALUE -.PP -knet_send is a commodity function to wrap iovec operations around a socket. It returns a call to writev(2). -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_send_sync.3 b/libknet/man/knet_send_sync.3 deleted file mode 100644 index da3da8e1..00000000 --- a/libknet/man/knet_send_sync.3 +++ /dev/null @@ -1,74 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_send_sync 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_send_sync \- Synchronously send data to knet nodes. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_send_sync\fP( - \fBknet_handle_t \fP\fIknet_h\fP, - \fBconst char *\fP\fIbuff\fP, - \fBconst size_t \fP\fIbuff_len\fP, - \fBconst int8_t \fP\fIchannel\fP -); -.fi -.SH DESCRIPTION -.PP -knet_send_sync -.PP -knet_h - pointer to knet_handle_t -.PP -buff - pointer to the buffer of data to send -.PP -buff_len - length of data to send -.PP -channel - data channel to use (see knet_handle_add_datafd(3)) -.PP -All knet RX/TX operations are async for performance reasons. There are applications that might need a sync version of data transmission and receive errors in case of failure to deliver to another host. knet_send_sync bypasses the whole TX async layer and delivers data directly to the link layer, and returns errors accordingly. knet_send_sync sends only one packet to one host at a time. It does NOT support multiple destinations or multicast packets. Decision is still based on dst_host_filter_fn. -.SH RETURN VALUE -.PP -knet_send_sync returns 0 on success and -1 on error. In addition to normal sendmmsg errors, knet_send_sync can fail due to: -.TP -.B ECANCELED -- data forward is disabled - -.TP -.B EFAULT -- dst_host_filter fatal error - -.TP -.B EINVAL -- dst_host_filter did not provide dst_host_ids_entries on unicast pckts - -.TP -.B E2BIG -- dst_host_filter did return more than one dst_host_ids_entries on unicast pckts - -.TP -.B ENOMSG -- received unknown message type - -.TP -.B EHOSTDOWN -- unicast pckt cannot be delivered because dest host is not connected yet - -.TP -.B ECHILD -- crypto failed - -.TP -.B EAGAIN -- sendmmsg was unable to send all messages and there was no progress during retry - -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/knet_strtoaddr.3 b/libknet/man/knet_strtoaddr.3 deleted file mode 100644 index e4a75347..00000000 --- a/libknet/man/knet_strtoaddr.3 +++ /dev/null @@ -1,40 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH knet_strtoaddr 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -knet_strtoaddr \- Convert a hostname string to an address. -.SH SYNOPSIS -.nf -.B #include -.sp -\fBint knet_strtoaddr\fP( - \fBconst char *\fP\fIhost\fP, - \fBconst char *\fP\fIport\fP, - \fBstruct sockaddr_storage *\fP\fIss\fP, - \fBsocklen_t \fP\fIsslen\fP -); -.fi -.SH DESCRIPTION -.PP -knet_strtoaddr -.PP -host - IPaddr/hostname to convert be aware only the first IP address will be returned in case a hostname resolves to multiple IP -.PP -port - port to connect to -.PP -ss - sockaddr_storage where to store the converted data -.PP -sslen - len of the sockaddr_storage -.SH RETURN VALUE -.PP -knet_strtoaddr returns same error codes as getaddrinfo -.SH SEE ALSO -.PP -.nh -.ad l -\fIlibknet.h\fP(3), \fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. diff --git a/libknet/man/libknet.h.3 b/libknet/man/libknet.h.3 deleted file mode 100644 index 7691ae72..00000000 --- a/libknet/man/libknet.h.3 +++ /dev/null @@ -1,241 +0,0 @@ -.\" File automatically generated by doxy2man0.2 -.\" Generation date: Mon Jan 8 2018 -.TH libknet.h 3 2018-01-08 "kronosnet" "Kronosnet Programmer's Manual" -.SH "NAME" -libknet.h \- kronosnet API include file -.SH SYNOPSIS -.nf -.B #include -.fi -.SH DESCRIPTION -.PP -Kronosnet is an advanced VPN system for High Availability applications. -.PP -.sp -.RS -.nf -\fB -int knet_addrtostr(const struct sockaddr_storage *, socklen_t, char *, size_t, char *, size_t); -int knet_get_compress_list(struct knet_compress_info *, size_t *); -int knet_get_crypto_list(struct knet_crypto_info *, size_t *); -uint8_t knet_get_transport_id_by_name(const char *); -int knet_get_transport_list(struct knet_transport_info *, size_t *); -const char *knet_get_transport_name_by_id(uint8_t); -int knet_handle_add_datafd(knet_handle_t, int *, int8_t *); -int knet_handle_clear_stats(knet_handle_t, int); -int knet_handle_compress(knet_handle_t, struct knet_handle_compress_cfg *); -int knet_handle_crypto(knet_handle_t, struct knet_handle_crypto_cfg *); -int knet_handle_enable_filter(knet_handle_t, void *, int(*)(void *private_data, const unsigned char *outdata, ssize_t outdata_len, uint8_t tx_rx, knet_node_id_t this_host_id, knet_node_id_t src_host_id, int8_t *channel, knet_node_id_t *dst_host_ids, size_t *dst_host_ids_entries)); -int knet_handle_enable_pmtud_notify(knet_handle_t, void *, void(*)(void *private_data, unsigned int data_mtu)); -int knet_handle_enable_sock_notify(knet_handle_t, void *, void(*)(void *private_data, int datafd, int8_t channel, uint8_t tx_rx, int error, int errorno)); -int knet_handle_free(knet_handle_t); -int knet_handle_get_channel(knet_handle_t, const int, int8_t *); -int knet_handle_get_datafd(knet_handle_t, const int8_t, int *); -int knet_handle_get_stats(knet_handle_t, struct knet_handle_stats *, size_t); -int knet_handle_get_transport_reconnect_interval(knet_handle_t, uint32_t *); -knet_handle_t knet_handle_new(knet_node_id_t, int, uint8_t); -int knet_handle_pmtud_get(knet_handle_t, unsigned int *); -int knet_handle_pmtud_getfreq(knet_handle_t, unsigned int *); -int knet_handle_pmtud_setfreq(knet_handle_t, unsigned int); -int knet_handle_remove_datafd(knet_handle_t, int); -int knet_handle_set_transport_reconnect_interval(knet_handle_t, uint32_t); -int knet_handle_setfwd(knet_handle_t, unsigned int); -int knet_host_add(knet_handle_t, knet_node_id_t); -int knet_host_enable_status_change_notify(knet_handle_t, void *, void(*)(void *private_data, knet_node_id_t host_id, uint8_t reachable, uint8_t remote, uint8_t external)); -int knet_host_get_host_list(knet_handle_t, knet_node_id_t *, size_t *); -int knet_host_get_id_by_host_name(knet_handle_t, const char *, knet_node_id_t *); -int knet_host_get_name_by_host_id(knet_handle_t, knet_node_id_t, char *); -int knet_host_get_policy(knet_handle_t, knet_node_id_t, uint8_t *); -int knet_host_get_status(knet_handle_t, knet_node_id_t, struct knet_host_status *); -int knet_host_remove(knet_handle_t, knet_node_id_t); -int knet_host_set_name(knet_handle_t, knet_node_id_t, const char *); -int knet_host_set_policy(knet_handle_t, knet_node_id_t, uint8_t); -int knet_link_clear_config(knet_handle_t, knet_node_id_t, uint8_t); -int knet_link_get_config(knet_handle_t, knet_node_id_t, uint8_t, uint8_t *, struct sockaddr_storage *, struct sockaddr_storage *, uint8_t *, uint64_t *); -int knet_link_get_enable(knet_handle_t, knet_node_id_t, uint8_t, unsigned int *); -int knet_link_get_link_list(knet_handle_t, knet_node_id_t, uint8_t *, size_t *); -int knet_link_get_ping_timers(knet_handle_t, knet_node_id_t, uint8_t, time_t *, time_t *, unsigned int *); -int knet_link_get_pong_count(knet_handle_t, knet_node_id_t, uint8_t, uint8_t *); -int knet_link_get_priority(knet_handle_t, knet_node_id_t, uint8_t, uint8_t *); -int knet_link_get_status(knet_handle_t, knet_node_id_t, uint8_t, struct knet_link_status *, size_t); -int knet_link_set_config(knet_handle_t, knet_node_id_t, uint8_t, uint8_t, struct sockaddr_storage *, struct sockaddr_storage *, uint64_t); -int knet_link_set_enable(knet_handle_t, knet_node_id_t, uint8_t, unsigned int); -int knet_link_set_ping_timers(knet_handle_t, knet_node_id_t, uint8_t, time_t, time_t, unsigned int); -int knet_link_set_pong_count(knet_handle_t, knet_node_id_t, uint8_t, uint8_t); -int knet_link_set_priority(knet_handle_t, knet_node_id_t, uint8_t, uint8_t); -int knet_log_get_loglevel(knet_handle_t, uint8_t, uint8_t *); -uint8_t knet_log_get_loglevel_id(const char *); -const char *knet_log_get_loglevel_name(uint8_t); -uint8_t knet_log_get_subsystem_id(const char *); -const char *knet_log_get_subsystem_name(uint8_t); -int knet_log_set_loglevel(knet_handle_t, uint8_t, uint8_t); -ssize_t knet_recv(knet_handle_t, char *, const size_t, const int8_t); -ssize_t knet_send(knet_handle_t, const char *, const size_t, const int8_t); -int knet_send_sync(knet_handle_t, const char *, const size_t, const int8_t); -int knet_strtoaddr(const char *, const char *, struct sockaddr_storage *, socklen_t); -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_compress_cfg { - char \fIcompress_model\fP; - uint32_t \fIcompress_threshold\fP; - int \fIcompress_level\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_stats { - size_t \fIsize\fP; - uint64_t \fItx_uncompressed_packets\fP; - uint64_t \fItx_compressed_packets\fP; - uint64_t \fItx_compressed_original_bytes\fP; - uint64_t \fItx_compressed_size_bytes\fP; - uint64_t \fItx_compress_time_ave\fP; - uint64_t \fItx_compress_time_min\fP; - uint64_t \fItx_compress_time_max\fP; - uint64_t \fIrx_compressed_packets\fP; - uint64_t \fIrx_compressed_original_bytes\fP; - uint64_t \fIrx_compressed_size_bytes\fP; - uint64_t \fIrx_compress_time_ave\fP; - uint64_t \fIrx_compress_time_min\fP; - uint64_t \fIrx_compress_time_max\fP; - uint64_t \fItx_crypt_packets\fP; - uint64_t \fItx_crypt_byte_overhead\fP; - uint64_t \fItx_crypt_time_ave\fP; - uint64_t \fItx_crypt_time_min\fP; - uint64_t \fItx_crypt_time_max\fP; - uint64_t \fIrx_crypt_packets\fP; - uint64_t \fIrx_crypt_time_ave\fP; - uint64_t \fIrx_crypt_time_min\fP; - uint64_t \fIrx_crypt_time_max\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_crypto_info { - const char *\fIname\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_compress_info { - const char *\fIname\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_handle_crypto_cfg { - char \fIcrypto_model\fP; - char \fIcrypto_cipher_type\fP; - char \fIcrypto_hash_type\fP; - unsigned char \fIprivate_key\fP; - unsigned int \fIprivate_key_len\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_host_status { - uint8_t \fIreachable\fP; - uint8_t \fIremote\fP; - uint8_t \fIexternal\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_transport_info { - const char *\fIname\fP; - uint8_t \fIid\fP; - uint8_t \fIproperties\fP; - char \fIpad\fP; -}; -\fP -.fi -.RE -.SS "" -.PP -.sp -.sp -.RS -.nf -\fB -struct knet_link_status { - size_t \fIsize\fP; - char \fIsrc_ipaddr\fP; - char \fIsrc_port\fP; - char \fIdst_ipaddr\fP; - char \fIdst_port\fP; - uint8_t \fIenabled\fP; - uint8_t \fIconnected\fP; - uint8_t \fIdynconnected\fP; - unsigned long long \fIlatency\fP; - struct timespec \fIpong_last\fP; - unsigned int \fImtu\fP; - unsigned int \fIproto_overhead\fP; - struct knet_link_stats \fIstats\fP; -}; -\fP -.fi -.RE -.SH SEE ALSO -.PP -.nh -.ad l -\fIknet_addrtostr\fP(3), \fIknet_get_compress_list\fP(3), \fIknet_get_crypto_list\fP(3), \fIknet_get_transport_id_by_name\fP(3), \fIknet_get_transport_list\fP(3), \fIknet_get_transport_name_by_id\fP(3), \fIknet_handle_add_datafd\fP(3), \fIknet_handle_clear_stats\fP(3), \fIknet_handle_compress\fP(3), \fIknet_handle_crypto\fP(3), \fIknet_handle_enable_filter\fP(3), \fIknet_handle_enable_pmtud_notify\fP(3), \fIknet_handle_enable_sock_notify\fP(3), \fIknet_handle_free\fP(3), \fIknet_handle_get_channel\fP(3), \fIknet_handle_get_datafd\fP(3), \fIknet_handle_get_stats\fP(3), \fIknet_handle_get_transport_reconnect_interval\fP(3), \fIknet_handle_new\fP(3), \fIknet_handle_pmtud_get\fP(3), \fIknet_handle_pmtud_getfreq\fP(3), \fIknet_handle_pmtud_setfreq\fP(3), \fIknet_handle_remove_datafd\fP(3), \fIknet_handle_set_transport_reconnect_interval\fP(3), \fIknet_handle_setfwd\fP(3), \fIknet_host_add\fP(3), \fIknet_host_enable_status_change_notify\fP(3), \fIknet_host_get_host_list\fP(3), \fIknet_host_get_id_by_host_name\fP(3), \fIknet_host_get_name_by_host_id\fP(3), \fIknet_host_get_policy\fP(3), \fIknet_host_get_status\fP(3), \fIknet_host_remove\fP(3), \fIknet_host_set_name\fP(3), \fIknet_host_set_policy\fP(3), \fIknet_link_clear_config\fP(3), \fIknet_link_get_config\fP(3), \fIknet_link_get_enable\fP(3), \fIknet_link_get_link_list\fP(3), \fIknet_link_get_ping_timers\fP(3), \fIknet_link_get_pong_count\fP(3), \fIknet_link_get_priority\fP(3), \fIknet_link_get_status\fP(3), \fIknet_link_set_config\fP(3), \fIknet_link_set_enable\fP(3), \fIknet_link_set_ping_timers\fP(3), \fIknet_link_set_pong_count\fP(3), \fIknet_link_set_priority\fP(3), \fIknet_log_get_loglevel\fP(3), \fIknet_log_get_loglevel_id\fP(3), \fIknet_log_get_loglevel_name\fP(3), \fIknet_log_get_subsystem_id\fP(3), \fIknet_log_get_subsystem_name\fP(3), \fIknet_log_set_loglevel\fP(3), \fIknet_recv\fP(3), \fIknet_send\fP(3), \fIknet_send_sync\fP(3), \fIknet_strtoaddr\fP(3) -.ad -.hy -.SH COPYRIGHT -.PP -Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved.