From 28b1e0a98baaaacb72fc44255a9fdad7af35763b Mon Sep 17 00:00:00 2001 From: Frostie314159 Date: Tue, 29 Oct 2024 23:05:50 +0100 Subject: [PATCH] Reexported some smoltcp types for raw socket. --- embassy-net/src/raw.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-net/src/raw.rs b/embassy-net/src/raw.rs index ace325a46..0169606d5 100644 --- a/embassy-net/src/raw.rs +++ b/embassy-net/src/raw.rs @@ -5,10 +5,10 @@ use core::mem; use core::task::{Context, Poll}; use embassy_net_driver::Driver; -use smoltcp::iface::{Interface, SocketHandle}; +pub use smoltcp::iface::{Interface, SocketHandle}; use smoltcp::socket::raw; pub use smoltcp::socket::raw::PacketMetadata; -use smoltcp::wire::{IpProtocol, IpVersion}; +pub use smoltcp::wire::{IpProtocol, IpVersion}; use crate::Stack;