diff --git a/src/tracing/net/ipv4.rs b/src/tracing/net/ipv4.rs
index a8c305574..a32e604b6 100644
--- a/src/tracing/net/ipv4.rs
+++ b/src/tracing/net/ipv4.rs
@@ -180,6 +180,7 @@ pub fn dispatch_tcp_probe(
Ok(socket)
}
+#[cfg(unix)]
pub fn recv_icmp_probe(
recv_socket: &mut Socket,
protocol: TracerProtocol,
@@ -204,6 +205,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