Dario Nieuwenhuis
|
b65e1b64dc
Add `x_` prefix to all IP methods that collide with unstable core's.
|
6 mēneši atpakaļ |
Dario Nieuwenhuis
|
e6b9a9ca2a
wire: use core::net::Ipv4Addr as the ipv4 address type.
|
7 mēneši atpakaļ |
Liam Kinne
|
7604ea315b
Add clone trait to dhcp event
|
9 mēneši atpakaļ |
Dario Nieuwenhuis
|
3d3fea440e
Merge pull request #835 from parallelsystems/dhcp-max-renew-timeout
|
1 gadu atpakaļ |
Thibaut Vandervelden
|
7ce551db03
fix: fix typos (comments, structs, enums and docs)
|
1 gadu atpakaļ |
Jarred Allen
|
3755e86b89
Add `max_renew_timeout` field to DHCP `RetryConfig` struct
|
1 gadu atpakaļ |
Thibaut Vandervelden
|
6466817a66
tests: remove mock and use rstest in more places
|
1 gadu atpakaļ |
Thibaut Vandervelden
|
099f5f7c2a
Don't use Option for neighbor cache anymore
|
2 gadi atpakaļ |
Jarred Allen
|
61e7d44de3
Add support for rebinding to DHCP implementation
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
b73c943eee
iface: remove lifetimes.
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
0af56fac58
dhcpv4: use let-else to get eth addr.
|
2 gadi atpakaļ |
Paweł Jan Czochański
|
4fd767efed
Allow specifying different server/client DHCP ports
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
0e1ba69ade
socket: remove all uses of crate::{Error, Result};
|
2 gadi atpakaļ |
Jarred Allen
|
b88021e062
DHCP indicate new config if there's a packet buffer provided
|
2 gadi atpakaļ |
Jarred Allen
|
6a4c549a94
Fix failing tests
|
2 gadi atpakaļ |
Jarred Allen
|
58fb0cbc4e
Use renewal time from DHCP server ACK, if given
|
2 gadi atpakaļ |
datdenkikniet
|
ca4a98acc6
Make DhcpRepr use an Option<Vec<Ipv4Address>>
|
2 gadi atpakaļ |
Johannes Draaijer
|
03e830b886
DHCPv4: use a Vec to store DNS server addresses instead of an array of options
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
47ce69bb44
wire/dhcp: remove option enum, letting higher layers specify kind+data.
|
2 gadi atpakaļ |
lachlansneff-parallel
|
da59503d7f
Add additional DHCP configurability (try two) (#650)
|
2 gadi atpakaļ |
Johannes Draaijer
|
47253122b2
dhcpv4: add waker support
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
629f0bce79
socket: make dispatch infallible, except for emit errors.
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
37a276bcf2
socket: Make process() infallible.
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
72a9ee46ce
socket: reorganize module structure, with one module per protocol.
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
5db57bcac5
Clippy fixes.
|
2 gadi atpakaļ |
Dario Nieuwenhuis
|
028b4466ff
wire: Rename ipv4 `protocol` to `next_header`.
|
3 gadi atpakaļ |
Dario Nieuwenhuis
|
3644b94b82
rand: use simple PRNG owned by Interface, sockets access it through Context.
|
3 gadi atpakaļ |
Dario Nieuwenhuis
|
0ebf896fff
socket: refactor Context to be just InterfaceInner.
|
3 gadi atpakaļ |
Dario Nieuwenhuis
|
ff47259603
socket: move meta from XxxSocket to SocketSetItem.
|
3 gadi atpakaļ |
Dario Nieuwenhuis
|
21e3dad2b2
Fix clippys
|
3 gadi atpakaļ |