Reply 20 of 38, by superfury
I've just adjusted the parsing of the packets to strip the ethernet headers(after checking the destination and type to match the settings), while sending packets generates an ethernet header based on the settings. The decoded SLIP data sent from the virtual serial connection(from the client connected through a TCP connection) is appended to said generated header and sent using pcap(with the type field set to 0x0800(IP) in big-endian format).
The only basic thing left to do with this is testing it, but I'll first need to get winpcap working for that to work(with mingw if possible).
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io