diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2019-04-16 14:39:50 +0200 |
---|---|---|
committer | Jordan Augé <jordan.auge+fdio@cisco.com> | 2019-04-16 15:37:53 +0200 |
commit | 3ed2badca49b8c7e636d8f8c40f532a7d3a7ba29 (patch) | |
tree | f865fe39515b3a496bfeee7ad8ef73916104caf4 /hicn-light/src/hicn/io/ioOperations.c | |
parent | c365689250216861fd7727203ee6ba1049ad5778 (diff) |
[HICN-177] Provide helpers to send, receive and process control messages
Change-Id: I5f7270568eaf24858346edebc638cf51e28cc5ad
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/io/ioOperations.c')
-rw-r--r-- | hicn-light/src/hicn/io/ioOperations.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hicn-light/src/hicn/io/ioOperations.c b/hicn-light/src/hicn/io/ioOperations.c index 53adc47c5..a9b763448 100644 --- a/hicn-light/src/hicn/io/ioOperations.c +++ b/hicn-light/src/hicn/io/ioOperations.c @@ -28,12 +28,11 @@ bool ioOperations_Send(IoOperations *ops, const Address *nexthop, return ops->send(ops, nexthop, message); } -bool ioOperations_SendCommandResponse(IoOperations *ops, - struct iovec *message) { - return ops->sendCommandResponse(ops, message); +bool ioOperations_SendIOVBuffer(IoOperations *ops, struct iovec *message, + size_t size) { + return ops->sendIOVBuffer(ops, message, size); } - const Address *ioOperations_GetRemoteAddress(const IoOperations *ops) { return ops->getRemoteAddress(ops); } |