chrysn
|
dc60300078
tests: Add a test that explicitly sets the local address
|
1 rok pred |
chrysn
|
560a2285de
tests: Update to expect presence of UDP local address
|
1 rok pred |
chrysn
|
097b1941b0
UDP: Store local and use local address in metadata
|
1 rok pred |
Thibaut Vandervelden
|
434f7eb37f
ip: pass address by ref for get_source_address_ip
|
1 rok pred |
Thibaut Vandervelden
|
13864173e9
fix(socket): truncation when calling recv_slice
|
1 rok pred |
Thibaut Vandervelden
|
6466817a66
tests: remove mock and use rstest in more places
|
1 rok pred |
Dario Nieuwenhuis
|
3a8f133a21
Pass PacketMeta separately, not within IpPacket.
|
1 rok pred |
Dario Nieuwenhuis
|
efa7897987
Rename feature `packet-id` -> `packetmeta-id`.
|
1 rok pred |
Dario Nieuwenhuis
|
2e40ed0224
udp: use UdpMetadata for send/recv fns, add Into impl so you can still pass an IpEndpoint as before.
|
1 rok pred |
Dario Nieuwenhuis
|
409ad14da9
Rename PacketId to PacketMeta, make id field public.
|
1 rok pred |
datdenkikniet
|
78b4f39a10
Device-level packet metadata identifiers
|
1 rok pred |
Dario Nieuwenhuis
|
7d78370ded
iface: add support for sending to subnet-local broadcast addrs (like 192.168.1.255).
|
1 rok pred |
ssrlive
|
9b525ae6d2
add Error trait for some struct
|
2 rokov pred |
Dario Nieuwenhuis
|
0e1ba69ade
socket: remove all uses of crate::{Error, Result};
|
2 rokov pred |
Lachlan Sneff
|
e9929f486f
Simplify send_with functions
|
2 rokov pred |
Lachlan Sneff
|
4af0b4b932
Fix after rebasing
|
2 rokov pred |
Lachlan Sneff
|
d7e8278a06
Add send_with to udp, raw, and icmp sockets
|
2 rokov pred |
Dario Nieuwenhuis
|
629f0bce79
socket: make dispatch infallible, except for emit errors.
|
2 rokov pred |
Dario Nieuwenhuis
|
37a276bcf2
socket: Make process() infallible.
|
2 rokov pred |
Dario Nieuwenhuis
|
b7871e4e57
udp, icmp, raw: return own error enums for public API.
|
2 rokov pred |
Dario Nieuwenhuis
|
72a9ee46ce
socket: reorganize module structure, with one module per protocol.
|
2 rokov pred |
Dario Nieuwenhuis
|
5db57bcac5
Clippy fixes.
|
2 rokov pred |
Dario Nieuwenhuis
|
eb41d077e0
Remove IpAddress::Unspecified, assign src addr in sockets.
|
2 rokov pred |
Bryan Benson
|
8f5e400a86
Fix rustfmt - will squash.
|
3 rokov pred |
Bryan Benson
|
f290eda70f
Correct net_trace! bug in UdpSocket dispatch where the local endpoint was used instead of endpoint. Also changed other endpoint naming to add clarity that it is the remote endpoint.
|
3 rokov pred |
Thibaut Vandervelden
|
53c46d78a9
add fragmentation mechanism
|
3 rokov pred |
Dario Nieuwenhuis
|
5989896299
Remove IpRepr::Unspecified and lowering.
|
3 rokov pred |
Dario Nieuwenhuis
|
028b4466ff
wire: Rename ipv4 `protocol` to `next_header`.
|
3 rokov pred |
Dario Nieuwenhuis
|
0ebf896fff
socket: refactor Context to be just InterfaceInner.
|
3 rokov pred |
Dario Nieuwenhuis
|
ff47259603
socket: move meta from XxxSocket to SocketSetItem.
|
3 rokov pred |