Historial de Commits

Autor SHA1 Mensaje Fecha
  whitequark 86c59fe344 Factor out storage::PacketBuffer from socket::UdpSocket. hace 7 años
  Philipp Oppermann 58e534a2fb Use separate metadata and payload buffers for UDP sockets. hace 7 años
  Dan Robertson c418b60b5d Use time types in socket hace 7 años
  Philipp Oppermann c2d18ec071 Return specific sockets from `new` functions instead of `Socket`. hace 7 años
  Dan Robertson 507d2fe0ea Add the proto-ipv4 feature. hace 7 años
  Dan Robertson deccd469fe Use hop limit instead of ttl hace 7 años
  whitequark 7937011424 Extract socket handle into a new SocketMeta structure. hace 7 años
  Dan Robertson ef4af850e0 Add ICMP sockets hace 7 años
  whitequark 0091191cce Rework TcpSocket::{send,recv} to remove need for precomputing size. hace 7 años
  whitequark 284db0099f Small adjustments to TTL code; style, docs, and tests. NFCI. hace 7 años
  Dan Robertson fea462837d Implement set_ttl for Tcp and Udp sockets hace 7 años
  whitequark 8ee2f7bff5 Style fixes. hace 7 años
  whitequark 100b57aa66 Replace "socket debug identifiers" with just socket handles. hace 7 años
  whitequark 14355e15d0 RingBuffer::{empty,full}→is_{empty,full}. hace 7 años
  Egor Karavaev 44cf21b91b Factor out UdpSocket::accepts. hace 7 años
  whitequark fb05226a62 Refactor the "continuous" ring buffer interface. hace 7 años
  whitequark 39464a53fc Compute soft deadline in poll() and use nonblocking sockets. hace 7 años
  whitequark 43a547fb0c Factor out packet parsing from Socket::process. hace 7 años
  whitequark 3974dc780f Get rid of unused arguments in Socket::{process,dispatch}. hace 7 años
  whitequark ab0eccd213 Get rid of IpPayload and indirection in Socket::dispatch. hace 7 años
  whitequark 917f89e14b Use FnOnce, not FnMut, in Socket::dispatch() functions. hace 7 años
  whitequark 5e448db950 Remove IpEndpoint::accepts. hace 7 años
  whitequark 7533542ba8 Fix warnings. hace 7 años
  whitequark 265e6f6cb7 Add UdpSocket::is_open, similar to TcpSocket::is_open in function. hace 7 años
  whitequark 0482afc2d8 Simplify signature of UdpSocket::send_slice. hace 7 años
  whitequark a1910baa91 Put the debug_id field first in sockets. hace 7 años
  whitequark 492fe3e4b1 Rework and test UDP sockets. hace 7 años
  whitequark 5bf64586cd Get rid of Result<_, ()>. hace 7 años
  whitequark 1a11e4db5a Remove useless redundant tests. hace 7 años
  whitequark 6bb9200c06 Annotate all simple getters with #[inline]. hace 7 años