]> git.proxmox.com Git - mirror_kronosnet.git/log
mirror_kronosnet.git
11 years agolibknet: remove that horrid dst_cache update and mask it around link_enabled
Fabio M. Di Nitto [Sun, 14 Oct 2012 04:30:13 +0000 (06:30 +0200)]
libknet: remove that horrid dst_cache update and mask it around link_enabled

makes the API a bit more readable.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix 3des key size
Fabio M. Di Nitto [Sat, 13 Oct 2012 18:22:34 +0000 (20:22 +0200)]
libknet: fix 3des key size

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add support for 3des nss crypto
Fabio M. Di Nitto [Sat, 13 Oct 2012 10:10:00 +0000 (12:10 +0200)]
libknet: add support for 3des nss crypto

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add support for nss aes128 and aes192
Fabio M. Di Nitto [Sat, 13 Oct 2012 08:40:51 +0000 (10:40 +0200)]
libknet: add support for nss aes128 and aes192

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoUpdate TODO list
Fabio M. Di Nitto [Sat, 13 Oct 2012 06:53:44 +0000 (08:53 +0200)]
Update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: move crypto to fully modular system
Fabio M. Di Nitto [Fri, 12 Oct 2012 17:49:02 +0000 (19:49 +0200)]
libknet: move crypto to fully modular system

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: start implementing generic crypto vs nsscrypto framework
Fabio M. Di Nitto [Fri, 12 Oct 2012 16:48:09 +0000 (18:48 +0200)]
libknet: start implementing generic crypto vs nsscrypto framework

it will save us some time later if we decide to plug something else

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agocrypto: rework the API and make it a separate init call
Fabio M. Di Nitto [Fri, 12 Oct 2012 14:46:05 +0000 (16:46 +0200)]
crypto: rework the API and make it a separate init call

this also saves us a few memcpy around when not using crypto

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: make host add a O(1) operation
Fabio M. Di Nitto [Sun, 7 Oct 2012 14:14:35 +0000 (16:14 +0200)]
libknet: make host add a O(1) operation

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: keep host ordered by insert
Fabio M. Di Nitto [Sat, 6 Oct 2012 13:06:49 +0000 (15:06 +0200)]
libknet: keep host ordered by insert

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: drop trailing space when saving config
Fabio M. Di Nitto [Sat, 6 Oct 2012 13:06:24 +0000 (15:06 +0200)]
kronosnetd: drop trailing space when saving config

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix memmove offset and make it simpler
Fabio M. Di Nitto [Sat, 6 Oct 2012 09:00:25 +0000 (11:00 +0200)]
libknet: fix memmove offset and make it simpler

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: first cut for RR support per packet
Fabio M. Di Nitto [Sat, 6 Oct 2012 08:21:48 +0000 (10:21 +0200)]
libknet: first cut for RR support per packet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add handling of link priority for active passive
Fabio M. Di Nitto [Fri, 5 Oct 2012 14:38:40 +0000 (16:38 +0200)]
libknet: add handling of link priority for active passive

also update the TODO list

(this commit has not been tested)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate TODO list based on rekey brainstorm
Fabio M. Di Nitto [Fri, 5 Oct 2012 13:23:28 +0000 (15:23 +0200)]
update TODO list based on rekey brainstorm

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: use fixed mac addresses to reduce arp work
Fabio M. Di Nitto [Wed, 3 Oct 2012 11:11:03 +0000 (13:11 +0200)]
kronosnetd: use fixed mac addresses to reduce arp work

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: export function to allow dst cache update on link removal
Fabio M. Di Nitto [Wed, 3 Oct 2012 09:29:27 +0000 (11:29 +0200)]
libknet: export function to allow dst cache update on link removal

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate TODO list
Fabio M. Di Nitto [Wed, 3 Oct 2012 09:06:12 +0000 (11:06 +0200)]
update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolink policy handler: add first cut of code to have a switching policy engine
Fabio M. Di Nitto [Wed, 3 Oct 2012 08:58:00 +0000 (10:58 +0200)]
link policy handler: add first cut of code to have a switching policy engine

for now only ACTIVE and PASSIVE are supported. RR needs dst_cache_update/lookup.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: rename var to be more explicit
Fabio M. Di Nitto [Tue, 2 Oct 2012 12:35:08 +0000 (14:35 +0200)]
libknet: rename var to be more explicit

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix endianess and memory alignment issues
Fabio M. Di Nitto [Tue, 2 Oct 2012 11:12:21 +0000 (13:12 +0200)]
libknet: fix endianess and memory alignment issues

also check for some return codes

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: drop warning check for enum-compare
Fabio M. Di Nitto [Tue, 2 Oct 2012 10:58:18 +0000 (12:58 +0200)]
build: drop warning check for enum-compare

in some older versions of gcc, the flag is supported only for C++,
our flag test succeed, but we fail to build.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add unicast switching support
Fabio M. Di Nitto [Mon, 1 Oct 2012 06:45:10 +0000 (08:45 +0200)]
libknet: add unicast switching support

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate TODO with some ideas for improvements
Fabio M. Di Nitto [Sun, 30 Sep 2012 05:54:19 +0000 (07:54 +0200)]
update TODO with some ideas for improvements

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: LIBQB -> libqb
Fabio M. Di Nitto [Sat, 29 Sep 2012 15:14:34 +0000 (17:14 +0200)]
build: LIBQB -> libqb

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: rename fields in knet_link to be more meaningful
Fabio M. Di Nitto [Sat, 29 Sep 2012 13:12:54 +0000 (15:12 +0200)]
libknet: rename fields in knet_link to be more meaningful

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: rename i,j,k to some proper vars and make code a bit more readable
Fabio M. Di Nitto [Sat, 29 Sep 2012 09:52:30 +0000 (11:52 +0200)]
libknet: rename i,j,k to some proper vars and make code a bit more readable

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: make ready for unicast handling and fix unlocking if crypto fails
Fabio M. Di Nitto [Sat, 29 Sep 2012 05:05:54 +0000 (07:05 +0200)]
libknet: make ready for unicast handling and fix unlocking if crypto fails

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoupdate TODO list
Fabio M. Di Nitto [Sat, 29 Sep 2012 04:43:28 +0000 (06:43 +0200)]
update TODO list

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: packet inspector first cut
Fabio M. Di Nitto [Fri, 28 Sep 2012 19:05:13 +0000 (21:05 +0200)]
libknet: packet inspector first cut

add packet destination filter API and provide an example
for ethernet packet inspector.

also start to plug the inspector into the transmitting end of
libknet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: implement basic ring buffer for bcast packets
Fabio M. Di Nitto [Fri, 28 Sep 2012 11:43:40 +0000 (13:43 +0200)]
libknet: implement basic ring buffer for bcast packets

fix KNET_FRAME_SIZE handling around

don't try to send messages to links that are not ready

gather host info for all incoming pkcts (data/ping) since there
is no point to go crazy figuring it out

add basic ring buffer functions based on playground implementation
(still missing reset of the buffer)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: fix data initialization
Fabio M. Di Nitto [Fri, 28 Sep 2012 10:14:01 +0000 (12:14 +0200)]
kronosnetd: fix data initialization

we can't memset knet_link because khost_add does some initialization
there that we overwrite otherwise.

drop incorrect clean up path. knet_links are not malloc'ed but statically
allocated.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: remove spurios debugging messages
Fabio M. Di Nitto [Thu, 27 Sep 2012 19:06:02 +0000 (21:06 +0200)]
kronosnetd: remove spurios debugging messages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add seq_num to sender host
Fabio M. Di Nitto [Thu, 27 Sep 2012 19:00:18 +0000 (21:00 +0200)]
libknet: add seq_num to sender host

bcast for packets that needs to be sent to all nodes
ucast for direct packets

the difference is necessary to avoid unncessary re-encryption
of packets. This will make more sense once packet inspector
is in place, but basically seq_num are per host and not all
packets will go everywhere, creating undesirable holes in the
packet_ring_buffer, that in turns, in a non-encrypted network
could lead to some annoyance.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: change packet definitions to include seq_num for data packets
Fabio M. Di Nitto [Thu, 27 Sep 2012 18:41:27 +0000 (20:41 +0200)]
libknet: change packet definitions to include seq_num for data packets

this is required for pckt deduplication

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: node_id have to match knet size for packet inspector to work
Fabio M. Di Nitto [Thu, 27 Sep 2012 18:35:22 +0000 (20:35 +0200)]
kronosnetd: node_id have to match knet size for packet inspector to work

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add notes on packet inspector
Fabio M. Di Nitto [Wed, 26 Sep 2012 14:08:12 +0000 (16:08 +0200)]
libknet: add notes on packet inspector

and where it should hook for notifications

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agobuild: fix out of tree build
Fabio M. Di Nitto [Wed, 26 Sep 2012 13:47:50 +0000 (15:47 +0200)]
build: fix out of tree build

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agoclean up some hardcoded values and export them via header correctly
Fabio M. Di Nitto [Wed, 26 Sep 2012 11:25:40 +0000 (13:25 +0200)]
clean up some hardcoded values and export them via header correctly

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add support for encryption keys
Fabio M. Di Nitto [Wed, 26 Sep 2012 11:14:11 +0000 (13:14 +0200)]
kronosnetd: add support for encryption keys

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agokronosnetd: add knet-keygen
Fabio M. Di Nitto [Wed, 26 Sep 2012 07:52:04 +0000 (09:52 +0200)]
kronosnetd: add knet-keygen

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agofix a few int vs ssize_t bits around
Fabio M. Di Nitto [Tue, 25 Sep 2012 07:07:42 +0000 (09:07 +0200)]
fix a few int vs ssize_t bits around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agovty: add partial crypto/hash support
Fabio M. Di Nitto [Tue, 25 Sep 2012 04:26:10 +0000 (06:26 +0200)]
vty: add partial crypto/hash support

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: fix nss types and add crypto/hash support to ping_test
Fabio M. Di Nitto [Tue, 25 Sep 2012 03:22:00 +0000 (05:22 +0200)]
libknet: fix nss types and add crypto/hash support to ping_test

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: plug nss for good into threads
Fabio M. Di Nitto [Mon, 24 Sep 2012 19:48:37 +0000 (21:48 +0200)]
libknet: plug nss for good into threads

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: crypto simplify even more the code path and data storage
Fabio M. Di Nitto [Mon, 24 Sep 2012 18:44:00 +0000 (20:44 +0200)]
libknet: crypto simplify even more the code path and data storage

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add macro for debugging of nsscrypto and simplify more code around
Fabio M. Di Nitto [Mon, 24 Sep 2012 18:21:45 +0000 (20:21 +0200)]
libknet: add macro for debugging of nsscrypto and simplify more code around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: more crypto cleanup and allocate crypto buffers when necessary
Fabio M. Di Nitto [Mon, 24 Sep 2012 18:01:56 +0000 (20:01 +0200)]
libknet: more crypto cleanup and allocate crypto buffers when necessary

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: add a few comments
Fabio M. Di Nitto [Mon, 24 Sep 2012 15:20:13 +0000 (17:20 +0200)]
libknet: add a few comments

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
11 years agolibknet: more nss crypto work
Fabio M. Di Nitto [Mon, 24 Sep 2012 15:04:07 +0000 (17:04 +0200)]
libknet: more nss crypto work

make crypto_init/fini work.

make libknet shared (necessary for correct linking with nss).

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: start plugging in crypto support
Fabio M. Di Nitto [Fri, 21 Sep 2012 08:27:26 +0000 (10:27 +0200)]
libknet: start plugging in crypto support

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: make tap to links and links to tap full duplex
Fabio M. Di Nitto [Thu, 20 Sep 2012 10:29:15 +0000 (12:29 +0200)]
libknet: make tap to links and links to tap full duplex

this cuts down by 40% latency on ping test

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agoping_test: clarify unit measure...
Fabio M. Di Nitto [Thu, 20 Sep 2012 08:49:00 +0000 (10:49 +0200)]
ping_test: clarify unit measure...

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibknet: add totemcrypto.c|h from corosync (pristine)
Fabio M. Di Nitto [Mon, 17 Sep 2012 19:39:56 +0000 (21:39 +0200)]
libknet: add totemcrypto.c|h from corosync (pristine)

permission to copy and change licence to GPLv2+ has been granted
in writing by current authors of the code.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolet's be more realistic on what we can do here
Fabio M. Di Nitto [Mon, 17 Sep 2012 17:42:21 +0000 (19:42 +0200)]
let's be more realistic on what we can do here

libvty is not going to happen. Too complex and it's not the goal
for this project. For now, let's move it back into the daemon.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agologging: add logging support for syslog/stderr/logfile
Fabio M. Di Nitto [Sun, 16 Sep 2012 07:10:16 +0000 (09:10 +0200)]
logging: add logging support for syslog/stderr/logfile

hook into libqb for logging facilities.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agobuild: cleanup escaping in exporting vars
Fabio M. Di Nitto [Sun, 16 Sep 2012 06:04:32 +0000 (08:04 +0200)]
build: cleanup escaping in exporting vars

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agodrop generic utils.(c|h) and start implementing proper logging
Fabio M. Di Nitto [Sat, 15 Sep 2012 19:51:59 +0000 (21:51 +0200)]
drop generic utils.(c|h) and start implementing proper logging

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agologging: add concept of logfile and fix fprintf output
Fabio M. Di Nitto [Sat, 15 Sep 2012 11:34:22 +0000 (13:34 +0200)]
logging: add concept of logfile and fix fprintf output

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agobuild: depends on nss and libqb
Fabio M. Di Nitto [Sat, 15 Sep 2012 10:25:35 +0000 (12:25 +0200)]
build: depends on nss and libqb

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agobuild: move daemon in its own dir
Fabio M. Di Nitto [Sat, 15 Sep 2012 04:25:47 +0000 (06:25 +0200)]
build: move daemon in its own dir

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibtap: remove external header (useless really)
Fabio M. Di Nitto [Sat, 15 Sep 2012 04:10:05 +0000 (06:10 +0200)]
libtap: remove external header (useless really)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agolibtap: mark library 1.0.0
Fabio M. Di Nitto [Fri, 14 Sep 2012 19:05:41 +0000 (21:05 +0200)]
libtap: mark library 1.0.0

drop fPIC (managed correctly by libtool)

and make it 1.0.0 (number vs version)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
12 years agobuild: fix some minor bits around
Fabio M. Di Nitto [Fri, 14 Sep 2012 18:37:31 +0000 (20:37 +0200)]
build: fix some minor bits around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agomain: print errors on stderr before daemonizing
Fabio M. Di Nitto [Wed, 23 Mar 2011 09:00:00 +0000 (10:00 +0100)]
main: print errors on stderr before daemonizing

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agotestsuite: decouple from utils.c
Fabio M. Di Nitto [Wed, 23 Mar 2011 08:49:39 +0000 (09:49 +0100)]
testsuite: decouple from utils.c

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: decouple test suite from utils.h
Fabio M. Di Nitto [Wed, 23 Mar 2011 08:36:49 +0000 (09:36 +0100)]
libtap: decouple test suite from utils.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agocfg: drop util.h
Fabio M. Di Nitto [Wed, 23 Mar 2011 08:04:33 +0000 (09:04 +0100)]
cfg: drop util.h

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agovty: add missing include and fix build
Fabio M. Di Nitto [Wed, 23 Mar 2011 05:10:43 +0000 (06:10 +0100)]
vty: add missing include and fix build

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agodecouple cloexec calls from utils
Fabio M. Di Nitto [Wed, 23 Mar 2011 05:08:38 +0000 (06:08 +0100)]
decouple cloexec calls from utils

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agotest: rename test to match what it really does
Fabio M. Di Nitto [Wed, 23 Mar 2011 04:57:13 +0000 (05:57 +0100)]
test: rename test to match what it really does

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agomove netutils in libvty/ since vty is the only user
Fabio M. Di Nitto [Wed, 23 Mar 2011 04:42:02 +0000 (05:42 +0100)]
move netutils in libvty/ since vty is the only user

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoRevert "libknet: add missing include"
Fabio M. Di Nitto [Wed, 23 Mar 2011 04:37:04 +0000 (05:37 +0100)]
Revert "libknet: add missing include"

This reverts commit c5edcc14952da3e9914f1ff8df98413ab4728c2c.

13 years agologging: fix utils_syslog handling
Fabio M. Di Nitto [Wed, 23 Mar 2011 04:30:22 +0000 (05:30 +0100)]
logging: fix utils_syslog handling

set default to syslog to 0 again and enable it only in kronosnetd,
otherwise all test suite would log to syslog too.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoutils: remove timespec_diff that's relevant only to libknet
Fabio M. Di Nitto [Wed, 23 Mar 2011 04:18:50 +0000 (05:18 +0100)]
utils: remove timespec_diff that's relevant only to libknet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibknet: add missing include
Fabio M. Di Nitto [Wed, 23 Mar 2011 03:37:05 +0000 (04:37 +0100)]
libknet: add missing include

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoutils: drop concept of STATIC vs static
Fabio M. Di Nitto [Wed, 23 Mar 2011 03:31:03 +0000 (04:31 +0100)]
utils: drop concept of STATIC vs static

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agovty: make more functions static
Fabio M. Di Nitto [Wed, 23 Mar 2011 03:18:15 +0000 (04:18 +0100)]
vty: make more functions static

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agologging: enable syslog by default
Fabio M. Di Nitto [Tue, 22 Mar 2011 13:36:51 +0000 (14:36 +0100)]
logging: enable syslog by default

also inject log_debug into syslog if configured

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agomain: move defaults into its own function
Fabio M. Di Nitto [Tue, 22 Mar 2011 12:43:08 +0000 (13:43 +0100)]
main: move defaults into its own function

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoMove vty into its own dir for future "librarification"
Fabio M. Di Nitto [Tue, 22 Mar 2011 11:55:43 +0000 (12:55 +0100)]
Move vty into its own dir for future "librarification"

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoMove libtap doc to the next release
Fabio M. Di Nitto [Tue, 22 Mar 2011 11:39:44 +0000 (12:39 +0100)]
Move libtap doc to the next release

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agofix file permission
Fabio M. Di Nitto [Tue, 22 Mar 2011 11:35:31 +0000 (12:35 +0100)]
fix file permission

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoAdd some extra warnings at build time
Fabio M. Di Nitto [Wed, 9 Mar 2011 07:28:40 +0000 (08:28 +0100)]
Add some extra warnings at build time

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoUpdate TODO: API renames are done
Fabio M. Di Nitto [Mon, 24 Jan 2011 19:09:30 +0000 (20:09 +0100)]
Update TODO: API renames are done

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agobuild: use libtap vs libtap_test
Fabio M. Di Nitto [Mon, 24 Jan 2011 19:08:15 +0000 (20:08 +0100)]
build: use libtap vs libtap_test

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: embed test suite in the library
Fabio M. Di Nitto [Wed, 19 Jan 2011 13:13:16 +0000 (14:13 +0100)]
libtap: embed test suite in the library

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: move tests in libtap/
Fabio M. Di Nitto [Wed, 19 Jan 2011 13:00:29 +0000 (14:00 +0100)]
libtap: move tests in libtap/

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoupdate TODO for libtap
Fabio M. Di Nitto [Wed, 19 Jan 2011 12:48:24 +0000 (13:48 +0100)]
update TODO for libtap

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: fix linking and set exported symbols
Fabio M. Di Nitto [Tue, 18 Jan 2011 15:14:16 +0000 (16:14 +0100)]
libtap: fix linking and set exported symbols

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agomain: remove oom_adj
Fabio M. Di Nitto [Wed, 5 Jan 2011 08:02:10 +0000 (09:02 +0100)]
main: remove oom_adj

kernel ABI will change, not really worth the troubles for now

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: align API calls to correct names
Fabio M. Di Nitto [Mon, 3 Jan 2011 15:06:16 +0000 (16:06 +0100)]
libtap: align API calls to correct names

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: improve error reporting for up/down operations
Fabio M. Di Nitto [Mon, 3 Jan 2011 11:18:20 +0000 (12:18 +0100)]
libtap: improve error reporting for up/down operations

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibtap: propagate errors from CLI calls to upper layers
Fabio M. Di Nitto [Thu, 23 Dec 2010 07:47:49 +0000 (08:47 +0100)]
libtap: propagate errors from CLI calls to upper layers

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agolibknet: use naming convention for static functions
Federico Simoncelli [Wed, 22 Dec 2010 16:14:35 +0000 (17:14 +0100)]
libknet: use naming convention for static functions

Signed-off-by: Federico Simoncelli <federico.simoncelli@gmail.com>
13 years agomisc: more file renaming
Federico Simoncelli [Wed, 22 Dec 2010 15:40:03 +0000 (16:40 +0100)]
misc: more file renaming

Signed-off-by: Federico Simoncelli <federico.simoncelli@gmail.com>
13 years agolibknet: split code into multiple files
Federico Simoncelli [Wed, 22 Dec 2010 15:14:24 +0000 (16:14 +0100)]
libknet: split code into multiple files

Signed-off-by: Federico Simoncelli <federico.simoncelli@gmail.com>
13 years agolibknet: update naming convention, rename header files
Federico Simoncelli [Wed, 22 Dec 2010 14:34:56 +0000 (15:34 +0100)]
libknet: update naming convention, rename header files

Signed-off-by: Federico Simoncelli <federico.simoncelli@gmail.com>
13 years agolibtap: first pass to remove calls to log_*
Fabio M. Di Nitto [Wed, 22 Dec 2010 05:34:37 +0000 (06:34 +0100)]
libtap: first pass to remove calls to log_*

use internal error buffer instead across the non public API.

pass2 will export it to users.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
13 years agoknet: move knet code to its own library
Federico Simoncelli [Tue, 21 Dec 2010 16:30:26 +0000 (17:30 +0100)]
knet: move knet code to its own library

Signed-off-by: Federico Simoncelli <federico.simoncelli@gmail.com>