Function dlpi_open

Source
pub unsafe extern "C" fn dlpi_open(
    linkname: *const c_char,
    dhp: *mut *mut dlpi_handle_t,
    flags: c_uint,
) -> i32
Expand description

Creates an instance of the DLPI version 2 link named by linnkname.

Associates with it a dynamically-allocated dlpi_handle_t, which is returend to the caller upon success. This handle is used in other DLPI function calls for sending and receiving traffic and otherwise managing a DLPI link.