nal: migrate to tls

This commit is contained in:
occheung 2020-12-18 17:38:58 +08:00
parent 68d58857cf
commit 19ea898c31

7
src/net_store.rs Normal file
View File

@ -0,0 +1,7 @@
use smoltcp as net;
pub struct NetStorage {
pub ip_addrs: [net::wire::IpCidr; 1],
pub neighbor_cache: [Option<(net::wire::IpAddress, net::iface::Neighbor)>; 8],
pub routes_cache: [Option<(net::wire::IpCidr, net::iface::Route)>; 8],
}