Type Alias simics_api_sys::ieee_802_3_phy_v2_interface_t

source ·
pub type ieee_802_3_phy_v2_interface_t = ieee_802_3_phy_v2_interface;

Aliased Type§

struct ieee_802_3_phy_v2_interface_t {
    pub send_frame: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut dbuffer, _: i32) -> i32>,
    pub check_tx_bandwidth: Option<unsafe extern "C" fn(_: *mut conf_object) -> i32>,
    pub add_mac: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t)>,
    pub del_mac: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t)>,
    pub add_mac_mask: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t, _: byte_string_t)>,
    pub del_mac_mask: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t, _: byte_string_t)>,
    pub set_promiscous_mode: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32)>,
}

Fields§

§send_frame: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut dbuffer, _: i32) -> i32>§check_tx_bandwidth: Option<unsafe extern "C" fn(_: *mut conf_object) -> i32>§add_mac: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t)>§del_mac: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t)>§add_mac_mask: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t, _: byte_string_t)>§del_mac_mask: Option<unsafe extern "C" fn(_: *mut conf_object, _: byte_string_t, _: byte_string_t)>§set_promiscous_mode: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32)>