From 626c3309fc4c300a8b2bce133650998a8999f265 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 23 Jun 2016 03:05:32 -0700 Subject: [PATCH] ETHER: Support Npcap for Windows Ethernet packet transport Prefer Npcap over WinPcap and support Npcap in either WinPcap compatible mode or native mode. --- sim_ether.c | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/sim_ether.c b/sim_ether.c index d8fb77e2..9301a0e4 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -760,6 +760,7 @@ void eth_zero(ETH_DEV* dev) } static char* (*p_pcap_lib_version) (void); +static char* (*p_pcap_get_servicename) (void); static ETH_DEV **eth_open_devices = NULL; static int eth_open_device_count = 0; @@ -807,8 +808,12 @@ t_stat eth_show (FILE* st, UNIT* uptr, int32 val, CONST void* desc) for (i=0; i