capsules_extra::test

Module udp

Source
Expand description

Capsule used for testing in-kernel port binding, sending, and receiving.

This capsule takes in a src port on which to receive/send from and a dst port to send to. It binds to the src port and sends packets to the dst port. Any UDP packets received on the src port are printed to the console, along with the address/port combo they were sent from. Example use of this capsule can be found in udp_lowpan_test.rs in the Imix board directory.

Structs§

Constants§