net: add functions to get current Eth and IP config

This commit is contained in:
Dario Nieuwenhuis
2022-05-02 16:15:05 +02:00
parent e74af83681
commit a5f5c3a844
7 changed files with 30 additions and 12 deletions

View File

@@ -15,7 +15,9 @@ pub use config::{Config, Configurator, Event as ConfigEvent, StaticConfigurator}
pub use device::{Device, LinkState};
pub use packet_pool::{Packet, PacketBox, PacketBoxExt, PacketBuf, MTU};
pub use stack::{init, is_config_up, is_init, is_link_up, run, StackResources};
pub use stack::{
config, ethernet_address, init, is_config_up, is_init, is_link_up, run, StackResources,
};
#[cfg(feature = "tcp")]
mod tcp_socket;