diff --git a/src/tracing/net/ipv4.rs b/src/tracing/net/ipv4.rs
index 492ea92ba..2fd1b509b 100644
--- a/src/tracing/net/ipv4.rs
+++ b/src/tracing/net/ipv4.rs
@@ -181,6 +181,7 @@ pub fn dispatch_tcp_probe(
Ok(socket)
}
+#[cfg(unix)]
pub fn recv_icmp_probe(
recv_socket: &mut Socket,
protocol: TracerProtocol,
@@ -205,6 +206,20 @@ pub fn recv_icmp_probe(
}
}
+#[cfg(windows)]
+pub fn recv_icmp_probe(
+ recv_socket: &mut Socket,
+ protocol: TracerProtocol,
+ multipath_strategy: MultipathStrategy,
+ direction: PortDirection,
+) -> TraceResult