Thibaut Vandervelden
|
533f103a95
pass the now time when creating the iface
|
1 year ago |
Thibaut Vandervelden
|
099f5f7c2a
Don't use Option for neighbor cache anymore
|
1 year ago |
Dario Nieuwenhuis
|
5740b76574
iface: remove builder.
|
1 year ago |
Dario Nieuwenhuis
|
c015cc358e
iface: use owned frag buffer, remove frag from builder.
|
1 year ago |
Dario Nieuwenhuis
|
050731b519
iface: remove all uses of crate::{Error, Result};
|
1 year ago |
Dario Nieuwenhuis
|
af115a5769
packet assembler: simplify data structure and api.
|
1 year ago |
Dario Nieuwenhuis
|
4eb49b808a
iface: use heapless LinearMap for neighbor cache.
|
1 year ago |
Davide Della Giustina
|
4ddb96b1b2
Increased max number of IPs from 4 to 5 because some test use 5
|
1 year ago |
Davide Della Giustina
|
aec718a08f
Fix clippy and rustfmt errors
|
1 year ago |
Davide Della Giustina
|
8cf7625cc2
ip_addrs field of an interface is now a heapless::Vec (one test still failing)
|
1 year ago |
Thibaut Vandervelden
|
fe26f462dd
Better names for buffers (#653)
|
2 years ago |
Thibaut Vandervelden
|
297d90b0ff
IPv4 fragmentation (outgoing)
|
2 years ago |
Thibaut Vandervelden
|
3065959c70
Reassemble incomming IPv4 packets.
|
2 years ago |
Dario Nieuwenhuis
|
9e18ca127e
socket_set: add get_mut, make get immutable.
|
2 years ago |
Dario Nieuwenhuis
|
d703a66d1d
iface: borrow the device instead of owning it.
|
2 years ago |
Dario Nieuwenhuis
|
b71ffcb6cc
iface: borrow the SocketSet instead of owning.
|
2 years ago |
Dario Nieuwenhuis
|
72a9ee46ce
socket: reorganize module structure, with one module per protocol.
|
2 years ago |
Dario Nieuwenhuis
|
9a2093e39e
Remove braces that were previously needed to workaround SocketRef borrow issues.
|
3 years ago |
Dario Nieuwenhuis
|
ef213fa772
socket: remove SocketRef.
|
3 years ago |
Dario Nieuwenhuis
|
bde881d2f9
iface: own the SocketSet instead of borrowing it
|
3 years ago |
Thibaut Vandervelden
|
3d782f19cd
Add support for 802.15.4 and 6LoWPAN
|
3 years ago |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 years ago |
Dario Nieuwenhuis
|
b869449b31
Add support for TUN interfaces.
|
3 years ago |
Dario Nieuwenhuis
|
d352e151f6
Add support for IP mediums.
|
4 years ago |
Alex Crawford
|
1cbc38d0ea
Clean up examples
|
3 years ago |
Alex Crawford
|
323dfe2ab6
Use is_empty instead of length comparison
|
3 years ago |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
3 years ago |
Alex Crawford
|
ccf6915186
Remove explicit calls to as_ref/as_mut
|
3 years ago |
Dario Nieuwenhuis
|
a3d6c1a0de
Fix crash in server example due to returning length bigger than received buffer.
|
4 years ago |
whitequark
|
185a0ca781
examples: remove the remaining panics on poll error.
|
6 years ago |