Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idx