Commit History

Author SHA1 Message Date
  Michal Podhradsky 917f259bae Log and print poll errors instead of crashing the server 6 years ago
  Dan Robertson 602724b285 Fix server example 6 years ago
  Dan Robertson 72ef278471 Add Address Resolution for IPv6 6 years ago
  whitequark cd893e6ab6 fn PacketMetadata::empty() → const PacketMetadata::EMPTY. 6 years ago
  whitequark 86c59fe344 Factor out storage::PacketBuffer from socket::UdpSocket. 6 years ago
  Philipp Oppermann 58e534a2fb Use separate metadata and payload buffers for UDP sockets. 6 years ago
  Dan Robertson c418b60b5d Use time types in socket 6 years ago
  Dan Robertson 8e74fce11d Update examples to use time types 6 years ago
  whitequark 3868dcdb14 Split `poll_at`/`poll_delay` out of `poll`. 7 years ago
  Dan Robertson ad56bacb56 Replace EthernetInterface::new with EthernetInterfaceBuilder. 7 years ago
  whitequark 34c3a8c905 Rewrite the ARP cache to allow for flood protection and expiration. 7 years ago
  Philipp Oppermann 4ae84ab36a Store plain DeviceT instead of Managed<_> in EthernetInterface 7 years ago
  whitequark 0091191cce Rework TcpSocket::{send,recv} to remove need for precomputing size. 7 years ago
  Egor Karavaev 096ce02ac4 Implement a SocketRef smart pointer to detect state changes. 7 years ago
  whitequark d88ef3c8d3 Drop the pretense that anyone cares about non-IP over Ethernet. 7 years ago
  Egor Karavaev 331dc10780 Add support for IPv4 default gateway. 7 years ago
  whitequark 6f5ae33501 Add a keep-alive and timeout demo to the examples. 7 years ago
  whitequark b7b4877a85 Fix an embarassing relative/absolute time mismatch in examples. 7 years ago
  whitequark 49ed4ae5f3 Add a TCP data source endpoint to the server example. 7 years ago
  whitequark 39464a53fc Compute soft deadline in poll() and use nonblocking sockets. 7 years ago
  whitequark 7533542ba8 Fix warnings. 7 years ago
  whitequark 6bc6cc7af7 Implement fmt::Write for TcpSocket. 7 years ago
  whitequark 265e6f6cb7 Add UdpSocket::is_open, similar to TcpSocket::is_open in function. 7 years ago
  whitequark 492fe3e4b1 Rework and test UDP sockets. 7 years ago
  whitequark 53a3875452 Rework error handling in TcpSocket::connect. 7 years ago
  whitequark c799bfc398 Add --pcap option to all our examples. 7 years ago
  whitequark 961b12ce93 Add a sinkhole to the server example. 7 years ago
  whitequark be9d0a202d Don't block forever in TapInterface. 7 years ago
  whitequark a0f2c62ac9 Add a TCP client example. 7 years ago
  whitequark b88204c607 Factor out common code from examples. 7 years ago