renet/src/iface
Dario Nieuwenhuis f8cc1eacbe socket: remove SocketRef.
The intent was to run custom code after the user is done modifying the socket,
for example to update a (not yet existing) port->socket map in SocketSet. However
this wouldn't work, since the SocketRef would have to borrow the SocketSet at
the same time as the Socket to be able to notify the SocketSet.

I believe such indexing can be achieved by setting a "dirty" bit *before* giving
the socket to the user, then on poll() reindexing all dirty sockets. This could
even be faster: if user gets a socket multiple times between polls, it'd be reindexed
only once.
2021-11-03 23:32:32 +01:00
..
interface.rs socket: remove SocketRef. 2021-11-03 23:32:32 +01:00
mod.rs Add support for 802.15.4 and 6LoWPAN 2021-10-21 01:25:12 +02:00
neighbor.rs arp: flush neighbor cache after IP update 2021-10-31 11:42:18 +08:00
route.rs rustfmt 2021-06-27 09:31:59 +02:00