| 1352 | } |
| 1353 | |
| 1354 | nvlist_t * |
| 1355 | nvlist_xfer(int sock, nvlist_t *nvl, int flags) |
| 1356 | { |
| 1357 | |
| 1358 | if (nvlist_send(sock, nvl) < 0) { |
| 1359 | nvlist_destroy(nvl); |
| 1360 | return (NULL); |
| 1361 | } |
| 1362 | nvlist_destroy(nvl); |
| 1363 | return (nvlist_recv(sock, flags)); |
| 1364 | } |
| 1365 | #endif |
| 1366 | |
| 1367 | nvpair_t * |
nothing calls this directly
no test coverage detected