Lines Matching refs:iov
65 #include "iov.h"
153 tap_send(struct net_backend *be, const struct iovec *iov, int iovcnt)
155 return (writev(be->fd, iov, iovcnt));
189 tap_recv(struct net_backend *be, const struct iovec *iov, int iovcnt)
200 iov, iovcnt, 0);
208 ret = readv(be->fd, iov, iovcnt);
419 netbe_send(struct net_backend *be, const struct iovec *iov, int iovcnt)
422 return (be->send(be, iov, iovcnt));
438 netbe_recv(struct net_backend *be, const struct iovec *iov, int iovcnt)
441 return (be->recv(be, iov, iovcnt));
458 struct iovec iov;
460 iov.iov_base = dummybuf;
461 iov.iov_len = sizeof(dummybuf);
463 return netbe_recv(be, &iov, 1);