Branch: refs/heads/master Home: https://github.com/fabbione/kronosnet Commit: 5a42363000ff098fbe429c280516c93a78ae132b https://github.com/fabbione/kronosnet/commit/5a42363000ff098fbe429c280516c93... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2015-09-15 (Tue, 15 Sep 2015)
Changed paths: M libknet/handle.c M libknet/libknet.h M libknet/ping_test.c
Log Message: ----------- [commodity] add knet_send/knet_recv api calls
based on readv/writev man page, it is highly discouraged to mix different kind of write/read operations on a given fd (for example a read with a writev).
since not many finds using iovec that pleasent, those 2 functions do wrap the more common buff/buff_len calls into iovec implementations.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com