]> git.proxmox.com Git - mirror_kronosnet.git/log
mirror_kronosnet.git
10 years ago[nss] fix calculation for crypto header to include SALT_SIZE
Fabio M. Di Nitto [Fri, 29 Aug 2014 11:08:56 +0000 (13:08 +0200)]
[nss] fix calculation for crypto header to include SALT_SIZE

and propagate block size up in the layers to allow PMTUd thread
to round buffers and do crypted PMTUd packets.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[link] add rudimentary PMTUD support.
Fabio M. Di Nitto [Thu, 28 Aug 2014 15:14:47 +0000 (17:14 +0200)]
[link] add rudimentary PMTUD support.

1) It won't work with crypto enable yet
2) values are not really used yet for anything
3) no API calls implemented yet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[listener] check setsockopts return codes
Fabio M. Di Nitto [Mon, 11 Aug 2014 17:39:56 +0000 (19:39 +0200)]
[listener] check setsockopts return codes

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[nss] make sure that any crypto config requires a proper hashing value
Fabio M. Di Nitto [Wed, 23 Jul 2014 12:05:21 +0000 (14:05 +0200)]
[nss] make sure that any crypto config requires a proper hashing value

this is mandatory to avoid some collision checks when random junk
is received over the network socket

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[libtap] check for error buffers only when necessary
Fabio M. Di Nitto [Mon, 21 Jul 2014 14:46:35 +0000 (16:46 +0200)]
[libtap] check for error buffers only when necessary

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[build] fix pkg-config files to link correctly
Fabio M. Di Nitto [Mon, 21 Jul 2014 09:39:17 +0000 (11:39 +0200)]
[build] fix pkg-config files to link correctly

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[build] libtap requires sys/types.h for size_t definition
Fabio M. Di Nitto [Mon, 21 Jul 2014 09:38:57 +0000 (11:38 +0200)]
[build] libtap requires sys/types.h for size_t definition

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years ago[build] cleanup after test-driver
Fabio M. Di Nitto [Sun, 20 Jul 2014 10:40:43 +0000 (12:40 +0200)]
[build] cleanup after test-driver

update .gitignore and make maintainer-clean target

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
10 years agoThis fixes build on F20 with gcc 4.8.2
Michele Baldessari [Sat, 16 Nov 2013 13:26:57 +0000 (14:26 +0100)]
This fixes build on F20 with gcc 4.8.2

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate slides
Fabio M. Di Nitto [Sat, 31 Aug 2013 04:16:02 +0000 (06:16 +0200)]
Update slides

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add extra error checking
Fabio M. Di Nitto [Sat, 15 Jun 2013 04:25:43 +0000 (06:25 +0200)]
libknet: add extra error checking

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add support for pong_count
Fabio M. Di Nitto [Mon, 10 Jun 2013 07:02:49 +0000 (09:02 +0200)]
kronosnetd: add support for pong_count

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolink: add pong count handling to avoid excessive flapping of traffic
Fabio M. Di Nitto [Mon, 10 Jun 2013 06:29:56 +0000 (08:29 +0200)]
link: add pong count handling to avoid excessive flapping of traffic

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agocleanup TODO list
Fabio M. Di Nitto [Sun, 9 Jun 2013 13:41:34 +0000 (15:41 +0200)]
cleanup TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agocrypto: track size of crypto overhead data
Fabio M. Di Nitto [Sun, 9 Jun 2013 13:40:22 +0000 (15:40 +0200)]
crypto: track size of crypto overhead data

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: comment out un-used onwire data for now
Fabio M. Di Nitto [Sun, 9 Jun 2013 09:02:02 +0000 (11:02 +0200)]
libknet: comment out un-used onwire data for now

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 11 Mar 2013 11:51:46 +0000 (12:51 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: fix install target
Fabio M. Di Nitto [Sun, 10 Mar 2013 05:45:35 +0000 (06:45 +0100)]
build: fix install target

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolistener: fix more unistd.h breakage
Fabio M. Di Nitto [Sun, 10 Mar 2013 05:26:58 +0000 (06:26 +0100)]
listener: fix more unistd.h breakage

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoEvery set should have a get...
Fabio M. Di Nitto [Fri, 1 Feb 2013 10:31:01 +0000 (11:31 +0100)]
Every set should have a get...

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agocleanup a few bits around logging and interal API
Fabio M. Di Nitto [Fri, 1 Feb 2013 10:24:03 +0000 (11:24 +0100)]
cleanup a few bits around logging and interal API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: keep host list cached in knet handle
Fabio M. Di Nitto [Wed, 30 Jan 2013 04:53:16 +0000 (05:53 +0100)]
libknet: keep host list cached in knet handle

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Wed, 30 Jan 2013 04:38:36 +0000 (05:38 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add link api call to get list of configured links
Fabio M. Di Nitto [Tue, 29 Jan 2013 14:17:10 +0000 (15:17 +0100)]
libknet: add link api call to get list of configured links

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFinish to cleanup current logging API
Fabio M. Di Nitto [Tue, 29 Jan 2013 12:28:09 +0000 (13:28 +0100)]
Finish to cleanup current logging API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agologging: start documenting API and other bits
Fabio M. Di Nitto [Tue, 29 Jan 2013 11:49:05 +0000 (12:49 +0100)]
logging: start documenting API and other bits

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agologging: fix formatting
Fabio M. Di Nitto [Tue, 29 Jan 2013 11:24:51 +0000 (12:24 +0100)]
logging: fix formatting

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix README pam section
Fabio M. Di Nitto [Tue, 29 Jan 2013 10:25:49 +0000 (11:25 +0100)]
fix README pam section

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix ping_test to deal with EINVAL return codes
Fabio M. Di Nitto [Tue, 29 Jan 2013 10:18:08 +0000 (11:18 +0100)]
Fix ping_test to deal with EINVAL return codes

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 29 Jan 2013 10:02:14 +0000 (11:02 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix knet_link_get_status and document it
Fabio M. Di Nitto [Tue, 29 Jan 2013 10:00:42 +0000 (11:00 +0100)]
libknet: fix knet_link_get_status and document it

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: deal with proper error codes from knet_link_get calls
Fabio M. Di Nitto [Tue, 29 Jan 2013 09:59:55 +0000 (10:59 +0100)]
kronosnetd: deal with proper error codes from knet_link_get calls

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix set/get_priority and document them
Fabio M. Di Nitto [Tue, 29 Jan 2013 08:29:57 +0000 (09:29 +0100)]
libknet: fix set/get_priority and document them

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix set/get_timeout and document them
Fabio M. Di Nitto [Tue, 29 Jan 2013 08:07:39 +0000 (09:07 +0100)]
libknet: fix set/get_timeout and document them

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoAdd knet_link_get_enable call
Fabio M. Di Nitto [Tue, 29 Jan 2013 07:45:54 +0000 (08:45 +0100)]
Add knet_link_get_enable call

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoping_test: some more fixes
Fabio M. Di Nitto [Tue, 29 Jan 2013 07:37:47 +0000 (08:37 +0100)]
ping_test: some more fixes

how the hell did this thing ever worked? needs a rewrite

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolink: fix return code when exit path is clean
Fabio M. Di Nitto [Tue, 29 Jan 2013 07:37:05 +0000 (08:37 +0100)]
link: fix return code when exit path is clean

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix \n logging
Fabio M. Di Nitto [Mon, 28 Jan 2013 12:59:28 +0000 (13:59 +0100)]
fix \n logging

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolistener: rename link to lnk to avoid conflict with unistd.h
Fabio M. Di Nitto [Mon, 28 Jan 2013 10:45:55 +0000 (11:45 +0100)]
listener: rename link to lnk to avoid conflict with unistd.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoping_test: fix argc corruption and make output configurable
Fabio M. Di Nitto [Mon, 28 Jan 2013 06:03:04 +0000 (07:03 +0100)]
ping_test: fix argc corruption and make output configurable

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agothreads: make one error more specific
Fabio M. Di Nitto [Mon, 28 Jan 2013 05:59:39 +0000 (06:59 +0100)]
threads: make one error more specific

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: rework knet_link_enable into knet_link_set_enable
Fabio M. Di Nitto [Mon, 28 Jan 2013 04:52:24 +0000 (05:52 +0100)]
libknet: rework knet_link_enable into knet_link_set_enable

make it thread safe and fix all return codes (ret vs errno)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Sun, 27 Jan 2013 15:39:47 +0000 (16:39 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolink: protect set/get config from doing damages
Fabio M. Di Nitto [Sun, 20 Jan 2013 05:16:23 +0000 (06:16 +0100)]
link: protect set/get config from doing damages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolink: rename configured to enabled
Fabio M. Di Nitto [Sun, 20 Jan 2013 05:05:57 +0000 (06:05 +0100)]
link: rename configured to enabled

we need configured internally for other stuff

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: cleanup knet_link_set/get_config
Fabio M. Di Nitto [Fri, 11 Jan 2013 14:03:16 +0000 (15:03 +0100)]
libknet: cleanup knet_link_set/get_config

this also allows to kill the madness around dynamic ip management
and saves enother bytes in the ping header

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix make dist/clean
Fabio M. Di Nitto [Fri, 11 Jan 2013 04:45:43 +0000 (05:45 +0100)]
Fix make dist/clean

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix typo
Fabio M. Di Nitto [Thu, 10 Jan 2013 14:35:01 +0000 (15:35 +0100)]
Fix typo

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agodebian: fix a few bits around and resync with rpm packaging
Fabio M. Di Nitto [Thu, 10 Jan 2013 13:43:28 +0000 (14:43 +0100)]
debian: fix a few bits around and resync with rpm packaging

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 10 Jan 2013 13:02:48 +0000 (14:02 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 10 Jan 2013 09:04:33 +0000 (10:04 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agosystemd: allow kronosnetd to set real time scheduler
Fabio M. Di Nitto [Tue, 8 Jan 2013 14:21:23 +0000 (15:21 +0100)]
systemd: allow kronosnetd to set real time scheduler

see also https://bugzilla.redhat.com/show_bug.cgi?id=893015

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 8 Jan 2013 13:06:07 +0000 (14:06 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agologging: move string to the beginning of msg
Fabio M. Di Nitto [Tue, 8 Jan 2013 08:08:14 +0000 (09:08 +0100)]
logging: move string to the beginning of msg

this allow (to some extents) to print log messages directly to
stdout and/or stderr without extra parsing.

NOTE:
- messages are sent from differnet threads and there for they are less readable
  when they arrive all together
- there is no printing of message level and subsystem

for simple coding/debugging purposes this is useful, but otherwise
look at how ping_test.c or kronosnetd create a logpipe and read
sequencial messages from there.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 8 Jan 2013 06:50:25 +0000 (07:50 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agorewrite TODO list to be more useful
Fabio M. Di Nitto [Tue, 8 Jan 2013 06:06:30 +0000 (07:06 +0100)]
rewrite TODO list to be more useful

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix HMAC key init
Fabio M. Di Nitto [Mon, 7 Jan 2013 09:17:18 +0000 (10:17 +0100)]
libknet: fix HMAC key init

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agostart cleaning TODO list and make it more useful
Fabio M. Di Nitto [Sun, 6 Jan 2013 08:39:13 +0000 (09:39 +0100)]
start cleaning TODO list and make it more useful

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoSort TODO list
Fabio M. Di Nitto [Sun, 6 Jan 2013 08:31:32 +0000 (09:31 +0100)]
Sort TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Wed, 2 Jan 2013 13:26:40 +0000 (14:26 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Tue, 1 Jan 2013 14:16:21 +0000 (15:16 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agopam: use password-auth on systems like fedora that ship it
Fabio M. Di Nitto [Mon, 31 Dec 2012 16:10:20 +0000 (17:10 +0100)]
pam: use password-auth on systems like fedora that ship it

or passwd as a fallback (debian and others)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agorpm: fix integration with systemd (missing sysconfig file) and pam/groupadd
Fabio M. Di Nitto [Mon, 31 Dec 2012 16:00:09 +0000 (17:00 +0100)]
rpm: fix integration with systemd (missing sysconfig file) and pam/groupadd

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agorpm: fix systemd integration with spec file
Fabio M. Di Nitto [Mon, 31 Dec 2012 08:31:38 +0000 (09:31 +0100)]
rpm: fix systemd integration with spec file

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: fix integration with fedora pam
Fabio M. Di Nitto [Tue, 25 Dec 2012 11:00:32 +0000 (12:00 +0100)]
kronosnetd: fix integration with fedora pam

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Mon, 24 Dec 2012 16:26:04 +0000 (17:26 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoDowngrade error from set scheduler to warning
Fabio M. Di Nitto [Mon, 24 Dec 2012 15:54:07 +0000 (16:54 +0100)]
Downgrade error from set scheduler to warning

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix build dependencies for parallel build
Fabio M. Di Nitto [Mon, 24 Dec 2012 15:32:53 +0000 (16:32 +0100)]
Fix build dependencies for parallel build

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoAdd missing header to final tarball
Fabio M. Di Nitto [Mon, 24 Dec 2012 15:29:09 +0000 (16:29 +0100)]
Add missing header to final tarball

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoStart documenting knet_link_* api
Fabio M. Di Nitto [Fri, 21 Dec 2012 14:17:46 +0000 (15:17 +0100)]
Start documenting knet_link_* api

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 20 Dec 2012 19:32:17 +0000 (20:32 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix crash when multiple links are sharing the same listener
Fabio M. Di Nitto [Thu, 20 Dec 2012 19:16:59 +0000 (20:16 +0100)]
fix crash when multiple links are sharing the same listener

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix shutdown race conditions between locks/threads/signals
Fabio M. Di Nitto [Thu, 20 Dec 2012 16:05:40 +0000 (17:05 +0100)]
Fix shutdown race conditions between locks/threads/signals

that in turns make knet_handle_free thread safe

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix log subsystem on _dst_cache_update
Fabio M. Di Nitto [Thu, 20 Dec 2012 14:42:16 +0000 (15:42 +0100)]
Fix log subsystem on _dst_cache_update

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_(get|set)_policy behave as documented
Fabio M. Di Nitto [Thu, 20 Dec 2012 14:40:06 +0000 (15:40 +0100)]
make knet_host_(get|set)_policy behave as documented

also fix _dst_cache_update to return errno and use host_id

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Thu, 20 Dec 2012 14:04:13 +0000 (15:04 +0100)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_get_host_list work as documented in the API
Fabio M. Di Nitto [Thu, 20 Dec 2012 14:03:10 +0000 (15:03 +0100)]
make knet_host_get_host_list work as documented in the API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_get_id_by_host_name work as documented in the API
Fabio M. Di Nitto [Thu, 20 Dec 2012 13:18:32 +0000 (14:18 +0100)]
make knet_host_get_id_by_host_name work as documented in the API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_get_name_by_host_id work as documented in the API
Fabio M. Di Nitto [Thu, 20 Dec 2012 10:30:33 +0000 (11:30 +0100)]
make knet_host_get_name_by_host_id work as documented in the API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoFix pthread error to errno relation
Fabio M. Di Nitto [Thu, 20 Dec 2012 09:48:01 +0000 (10:48 +0100)]
Fix pthread error to errno relation

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_set_name comply with documented API
Fabio M. Di Nitto [Thu, 20 Dec 2012 09:32:20 +0000 (10:32 +0100)]
make knet_host_set_name comply with documented API

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_remove comply with documented API
Fabio M. Di Nitto [Thu, 20 Dec 2012 08:46:13 +0000 (09:46 +0100)]
make knet_host_remove comply with documented API

also fix a bunch of other bits

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomake knet_host_add comply with documented API
Fabio M. Di Nitto [Thu, 20 Dec 2012 08:04:13 +0000 (09:04 +0100)]
make knet_host_add comply with documented API

also continue renaming node_id to host_id as we go

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agohandle: fix errno return value
Fabio M. Di Nitto [Thu, 20 Dec 2012 07:53:16 +0000 (08:53 +0100)]
handle: fix errno return value

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMake knet_handle_* call compliant to documented API
Fabio M. Di Nitto [Wed, 19 Dec 2012 19:45:25 +0000 (20:45 +0100)]
Make knet_handle_* call compliant to documented API

allow knet_handle_crypto to be invoked at runtime

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: make knet_handle_new / knet_handle_free do what the API says they should
Fabio M. Di Nitto [Wed, 19 Dec 2012 17:20:01 +0000 (18:20 +0100)]
libknet: make knet_handle_new / knet_handle_free do what the API says they should

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove timespec_diff to threads.h (only user)
Fabio M. Di Nitto [Wed, 19 Dec 2012 14:16:05 +0000 (15:16 +0100)]
move timespec_diff to threads.h (only user)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMake define name clear
Fabio M. Di Nitto [Wed, 19 Dec 2012 14:14:52 +0000 (15:14 +0100)]
Make define name clear

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoCleanup internal headers
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:58:28 +0000 (14:58 +0100)]
Cleanup internal headers

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove _dst_cache_update to host function set
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:37:49 +0000 (14:37 +0100)]
Move _dst_cache_update to host function set

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoand maybe add the threads.* files to git might help.. just a tiny little bit
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:28:38 +0000 (14:28 +0100)]
and maybe add the threads.* files to git might help.. just a tiny little bit

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove all threads code into threads.{c,h}
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:25:17 +0000 (14:25 +0100)]
Move all threads code into threads.{c,h}

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove all link related code to link.{c,h}
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:18:17 +0000 (14:18 +0100)]
Move all link related code to link.{c,h}

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoMove listener function definitions in listener.h
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:09:20 +0000 (14:09 +0100)]
Move listener function definitions in listener.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove logging code/definitions to logging.{c,h}
Fabio M. Di Nitto [Wed, 19 Dec 2012 13:05:46 +0000 (14:05 +0100)]
move logging code/definitions to logging.{c,h}

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove host.c function definitions into host.h
Fabio M. Di Nitto [Wed, 19 Dec 2012 12:57:44 +0000 (13:57 +0100)]
move host.c function definitions into host.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agomove some definitions out of internals.h into common.h
Fabio M. Di Nitto [Wed, 19 Dec 2012 12:48:23 +0000 (13:48 +0100)]
move some definitions out of internals.h into common.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoStart renaming node_id to host_id
Fabio M. Di Nitto [Wed, 19 Dec 2012 12:43:20 +0000 (13:43 +0100)]
Start renaming node_id to host_id

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoDocument knet_handle_crypto
Fabio M. Di Nitto [Wed, 19 Dec 2012 10:16:05 +0000 (11:16 +0100)]
Document knet_handle_crypto

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agodocument a couple of more knet_handle_* calls
Fabio M. Di Nitto [Wed, 19 Dec 2012 09:38:40 +0000 (10:38 +0100)]
document a couple of more knet_handle_* calls

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>