I mean:
fn GetRoute(packet: &[u8]) -> Route
I couldn't find it.
Or something simple without parse the packet:
fn GetRoute(src: SocketAddr, dst: SocketAddr) -> Route
Of course, it will have to consider ip rule, routing tables ... etc. The kernel got it done, but somehow no where to access it.
Do we have it in the crate?