pub fn construct_frame(
dst: MacAddress,
src: MacAddress,
ethertype: u16,
payload: &[u8],
) -> Vec<u8>Expand description
Construct an Ethernet frame from components.
Builds a complete frame with header and payload, suitable for transmission via a network device.