58 struct simple_udp_connection;
60 typedef void (* simple_udp_callback)(
struct simple_udp_connection *c,
65 const uint8_t *data, uint16_t datalen);
67 struct simple_udp_connection {
68 struct simple_udp_connection *
next;
70 uint16_t remote_port, local_port;
71 simple_udp_callback receive_callback;
73 struct process *client_process;
80 simple_udp_callback receive_callback);
83 const void *data, uint16_t datalen);
86 const void *data, uint16_t datalen,
89 void simple_udp_init(
void);