pub fn create_interface(
device: &mut SmoltcpDevice,
config: &PollLoopConfig,
) -> InterfaceExpand description
Create and configure the smoltcp Interface.
The interface is configured as the gateway: it owns the gateway IP
addresses and responds to ARP/NDP for them. any_ip mode is enabled so
smoltcp accepts traffic destined for arbitrary remote IPs (not just the
gateway), combined with default routes.