⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

send

Function send 

Source
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.