Dario Nieuwenhuis

Results 200 comments of Dario Nieuwenhuis

zero-length slice literals (`&mut []`) don't need to be allocated "anywhere" so they can be used as defaults.

- I don't think Ipv4Repr / IpRepr should have the fragmentation fields. It's handled at the lowest level in Interface, so all the higher layers (socket, etc) only deal with...

small conflict with #679, FTFY bors r+

Interesting! Another issue is: even if we add a timeout, UdpSocket only tries to send the packet at the front of the queue. If that's unaddressable, it'll clog up the...

> it provides the property that packets sent on a socket emerge (at least, from the network stack) in the order they were sent it shouldn't matter if packets for...

Yeah, the SocketMeta NeighborState "silencing" assumes each socket only talks to one peer, which is not true for non-tcp sockets. I also ran into this for the WIP DnsSocket.

RSTs are sent by Interface when no socket matches. If it's unadressable it gets dropped, but that shouldn't happen because the incoming packet would've filled the neighbor cache.

On many ARM chips the bottleneck is the actual flash write speed (copying from RAM to flash), not the copy from host to target RAM, given a decent probe (ie...

the flash algo can be flashing buffer A to flash, while the probe is writing data to buffer B. This is what double-buffering does.