send_as_ethernet_frame_to_dst

Function send_as_ethernet_frame_to_dst 

Source
pub fn send_as_ethernet_frame_to_dst<S, BC, CC>(
    core_ctx: &mut CC,
    bindings_ctx: &mut BC,
    device_id: &CC::DeviceId,
    dst_mac: Mac,
    body: S,
    ether_type: EtherType,
    meta: BC::TxMetadata,
) -> Result<(), SendFrameError<S>>
Expand description

Send an Ethernet frame body directly to dst_mac with ether_type.