提交历史

作者 SHA1 备注 提交日期
  whitequark 14355e15d0 RingBuffer::{empty,full}→is_{empty,full}. 7 年之前
  Egor Karavaev 44cf21b91b Factor out UdpSocket::accepts. 7 年之前
  whitequark fb05226a62 Refactor the "continuous" ring buffer interface. 7 年之前
  whitequark 39464a53fc Compute soft deadline in poll() and use nonblocking sockets. 7 年之前
  whitequark 43a547fb0c Factor out packet parsing from Socket::process. 7 年之前
  whitequark 3974dc780f Get rid of unused arguments in Socket::{process,dispatch}. 7 年之前
  whitequark ab0eccd213 Get rid of IpPayload and indirection in Socket::dispatch. 7 年之前
  whitequark 917f89e14b Use FnOnce, not FnMut, in Socket::dispatch() functions. 7 年之前
  whitequark 5e448db950 Remove IpEndpoint::accepts. 7 年之前
  whitequark 7533542ba8 Fix warnings. 7 年之前
  whitequark 265e6f6cb7 Add UdpSocket::is_open, similar to TcpSocket::is_open in function. 7 年之前
  whitequark 0482afc2d8 Simplify signature of UdpSocket::send_slice. 7 年之前
  whitequark a1910baa91 Put the debug_id field first in sockets. 7 年之前
  whitequark 492fe3e4b1 Rework and test UDP sockets. 7 年之前
  whitequark 5bf64586cd Get rid of Result<_, ()>. 7 年之前
  whitequark 1a11e4db5a Remove useless redundant tests. 7 年之前
  whitequark 6bb9200c06 Annotate all simple getters with #[inline]. 7 年之前
  whitequark 5dfc861e38 Remove *Socket::{process,dispatch} from public interface. 8 年之前
  whitequark a15bc8105e In {Tcp,Udp}Socket::process, make protocol check an assertion. 8 年之前
  whitequark 1c1489e5fb try! → ? 8 年之前
  whitequark 735def7e1b Do not attempt to validate length of packets being emitted. 8 年之前
  Egor Karavaev 441881609c Factor out the `RingBuffer` container. 8 年之前
  whitequark 7381e7f98b fn Device::mtu() -> usize → Device::limits() -> DeviceLimits 8 年之前
  whitequark 7af6ddfa0c Send the TCP MSS option. 8 年之前
  whitequark 16826628fe Distinguish sockets by debug identifiers (socket set indexes). 8 年之前
  whitequark 41f9426380 Calculate IP payload length from the total length field. 8 年之前
  whitequark 830f9d9ad5 Update TcpSocket::{can,may}_{send,recv} APIs. 8 年之前
  whitequark 0dedbaf597 impl Debug for SocketSet. 8 年之前
  whitequark 8bff18cfdd Rework the user-facing error handling in UDP sockets. 8 年之前
  whitequark d5638f469f Return the amount of bytes sent from UdpSocket::send_slice. 8 年之前