pub unsafe extern "C" fn krun_set_net_mac(
ctx_id: u32,
c_mac: *mut u8,
) -> i32Expand description
Sets the MAC address for the virtio-net device when using the passt backend.
Arguments: “ctx_id” - the configuration context ID. “mac” - MAC address as an array of 6 uint8_t entries.
Returns: Zero on success or a negative error number on failure.