| 871 | } |
| 872 | |
| 873 | int32_t proxy_link_req_send(int32_t sd, int32_t op, struct iovec *iov, |
| 874 | int32_t count) |
| 875 | { |
| 876 | proxy_link_req_t *req; |
| 877 | |
| 878 | req = iov[0].iov_base; |
| 879 | |
| 880 | req->header_len = iov[0].iov_len; |
| 881 | req->op = op; |
| 882 | req->data_len = iov_length(iov + 1, count - 1); |
| 883 | |
| 884 | return proxy_link_send(sd, iov, count); |
| 885 | } |
| 886 | |
| 887 | int32_t proxy_link_req_recv(int32_t sd, struct iovec *iov, int32_t count) |
| 888 | { |
no test coverage detected