Implement IPv4 address configuration on Linux
This involved refactoring the crate structure to share code between macOS and Linux. The new methods have not yet been implemented on macOS, but they have todo!() placeholders.
This commit is contained in:
parent
45499da9c2
commit
1378eb7eb3
15 changed files with 361 additions and 208 deletions
|
|
@ -5,6 +5,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
fehler = "1.0"
|
||||
nix = { version = "0.25", features = ["ioctl"] }
|
||||
socket2 = "0.4"
|
||||
tokio = { version = "1.21", features = [] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue