pub fn send(
dest: IpAddress,
protocol: IpProtocol,
data: &[u8],
) -> Result<(), KernelError>Expand description
Send IP packet
Constructs an IPv4 header, wraps the payload in an Ethernet frame, and transmits via the appropriate network device.