Dear Daniel,
The MCUXpresso SDK USB RNDIS & LWIP User Guide and the lwip_dhcp_usb SDK demo is based on USB Host RNDIS. I studied the source file of usb_ethernetif_freertos.c. There are two threads that handle usb event and data communication. The interface and callback functions tightly dependent on usb host core and class functions. I think the task migrating usb host RNDIS to device RNDIS is very complex for me. On the other hand, The MCUXpresso SDK usb_device_cdc_vnic demo is useful reference. I plan to add LWIP tcp/ip stacks to usb vnic. Do you think this is an easier option?
After all, I hope The MCUXpresso SDK provide USB device RNDIS&LWIP.