Skip to main content

Module udp_driver

Module udp_driver 

Source
Expand description

Component to initialize the userland UDP driver.

This provides one Component, UDPDriverComponent. This component initializes a userspace UDP driver that allows apps to use the UDP stack.

§Usage

kernel::create_typed_capability!(udp_driver_cap, UdpDriverCap: kernel::capabilities::UdpDriverCapability);
let udp_driver = UDPDriverComponent::new(
    board_kernel,
    udp_send_mux,
    udp_recv_mux,
    udp_port_table,
    local_ip_ifaces,
    PAYLOAD_LEN,
    udp_driver_cap,
)
.finalize(components::udp_driver_component_static!(AlarmType, UdpDriverCap));

Structs§

UDPDriverComponent

Type Aliases§

UDPDriverComponentType