Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
7 жил өмнө |
whitequark
|
7c6cd6b9a3
Dump malformed ingress packets at DEBUG log level.
|
7 жил өмнө |
Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 жил өмнө |
whitequark
|
067fb2ddc9
Fix a typo.
|
7 жил өмнө |
whitequark
|
b0fc1d9542
Explain the return value of poll().
|
7 жил өмнө |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 жил өмнө |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 жил өмнө |
whitequark
|
d16e0bd212
Formatting. NFC.
|
7 жил өмнө |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 жил өмнө |
Steffen Butzer
|
9b1b0b4bde
phy: introduce hardware based checksum settings, rename DeviceLimits
|
7 жил өмнө |
whitequark
|
cedf66a733
Enforce some lints.
|
7 жил өмнө |
whitequark
|
a983c629b9
Allow disabling any of: raw, TCP or UDP sockets.
|
7 жил өмнө |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 жил өмнө |
whitequark
|
546b3670ef
Revert "Keep dispatching packets from a socket as long as there are any."
|
7 жил өмнө |
whitequark
|
51b2f18d11
Keep dispatching packets from a socket as long as there are any.
|
7 жил өмнө |
Egor Karavaev
|
a2c66fdd88
Factor out TcpSocket::accepts.
|
7 жил өмнө |
Egor Karavaev
|
44cf21b91b
Factor out UdpSocket::accepts.
|
7 жил өмнө |
Egor Karavaev
|
5303501173
Factor out RawSocket::accepts.
|
7 жил өмнө |
whitequark
|
6ebcddd077
According to RFC 1122, unsupported IP options MUST be ignored.
|
7 жил өмнө |
whitequark
|
3fff475c8f
An unaddressable egress packet should not be a reportable error.
|
7 жил өмнө |
whitequark
|
017210ea28
Exhaustion of transmit buffers should not be a reportable error.
|
7 жил өмнө |
whitequark
|
b92708596a
Move the TCP receive window clamping hack downwards in stack.
|
7 жил өмнө |
whitequark
|
1ece71a774
Return from EthernetInterface::poll() on errors, don't swallow them.
|
7 жил өмнө |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 жил өмнө |
whitequark
|
2354e0b29d
Clarify a function name.
|
7 жил өмнө |
whitequark
|
8ae9b21b64
Break up the EthernetInterface::dispatch macro atrocity into functions.
|
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
|
ad9fa282e6
Unify EthernetInterface::{send_response,emit} transmit paths.
|
7 жил өмнө |