Progressive rust rewrite?
The libslirp code is showing its age.
I am contemplating with a rust rewrite. You can see my approach here in https://gitlab.freedesktop.org/elmarco/libslirp/tree/rust.
See arp_table_add() and arp_table_search() in C: https://gitlab.freedesktop.org/slirp/libslirp/blob/master/src/arp_table.c
and in rust: https://gitlab.freedesktop.org/elmarco/libslirp/blob/rust/src/lib.rs