1
0
mirror of https://github.com/simh/simh.git synced 2026-02-23 15:43:15 +00:00

ETHER: Fix possible race conditions when closing a network device

Added pcap version to the SCP output of SHOW VERSION command.
This commit is contained in:
Mark Pizzolato
2019-08-13 20:04:09 -07:00
parent d6f9c586d1
commit 6a193c032d
4 changed files with 23 additions and 11 deletions

View File

@@ -349,6 +349,7 @@ t_stat eth_filter_hash (ETH_DEV* dev, int addr_count, /* set filter on incomin
ETH_MULTIHASH* const hash);
t_stat eth_check_address_conflict (ETH_DEV* dev,
ETH_MAC* const address);
const char *eth_version (void); /* Version of dynamically loaded library (pcap) */
int eth_devices (int max, ETH_LIST* dev); /* get ethernet devices on host */
void eth_setcrc (ETH_DEV* dev, int need_crc); /* enable/disable CRC mode */
t_stat eth_set_async (ETH_DEV* dev, int latency); /* set read behavior to be async */