net: move stack into lib.rs

This commit is contained in:
Dario Nieuwenhuis
2022-12-07 16:02:28 +01:00
parent ac74613b5a
commit aaaf5f23a8
4 changed files with 304 additions and 315 deletions

View File

@ -7,8 +7,7 @@ use smoltcp::iface::{Interface, SocketHandle};
use smoltcp::socket::udp::{self, PacketMetadata};
use smoltcp::wire::{IpEndpoint, IpListenEndpoint};
use super::stack::SocketStack;
use crate::{Device, Stack};
use crate::{Device, SocketStack, Stack};
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]