Commit History

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