Reexported some smoltcp types for raw socket.

This commit is contained in:
Frostie314159 2024-10-29 23:05:50 +01:00
parent 10c9fbcc99
commit 28b1e0a98b
No known key found for this signature in database
GPG Key ID: CE784E042E4A894F

View File

@ -5,10 +5,10 @@ use core::mem;
use core::task::{Context, Poll}; use core::task::{Context, Poll};
use embassy_net_driver::Driver; use embassy_net_driver::Driver;
use smoltcp::iface::{Interface, SocketHandle}; pub use smoltcp::iface::{Interface, SocketHandle};
use smoltcp::socket::raw; use smoltcp::socket::raw;
pub use smoltcp::socket::raw::PacketMetadata; pub use smoltcp::socket::raw::PacketMetadata;
use smoltcp::wire::{IpProtocol, IpVersion}; pub use smoltcp::wire::{IpProtocol, IpVersion};
use crate::Stack; use crate::Stack;