add pcap code for Linux. fix bugs.

This commit is contained in:
StapleButter
2019-03-26 02:53:17 +01:00
parent f86782cc2e
commit c43574207a
4 changed files with 89 additions and 34 deletions

View File

@ -42,7 +42,7 @@ extern AdapterData* Adapters;
extern int NumAdapters;
bool Init();
bool Init(bool open_adapter);
void DeInit();
int SendPacket(u8* data, int len);