Network cleanup, updated pcap_if to have a sniffer, PCAP now works properly. Removed all Slirp warnings.

This commit is contained in:
waltje
2017-05-09 22:09:55 -04:00
parent 645ade52b1
commit b975839b41
9 changed files with 2081 additions and 1936 deletions

View File

@@ -1,6 +1,17 @@
/* Copyright holders: SA1988
see COPYING for more details
*/
/*
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
* system designs based on the PCI bus.
*
* This file is part of the 86Box distribution.
*
* Definitions for the NE2000 ethernet controller.
*
* Version: @(#)net_ne2000.h 1.0.1 2017/05/09
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*/
#ifndef NET_NE2000_H
# define NET_NE2000_H
@@ -10,10 +21,10 @@ extern device_t rtl8029as_device;
extern void ne2000_generate_maclocal(uint32_t mac);
extern uint32_t net2000_get_maclocal(void);
extern uint32_t ne2000_get_maclocal(void);
extern void ne2000_generate_maclocal_pci(uint32_t mac);
extern uint32_t net2000_get_maclocal_pci(void);
extern uint32_t ne2000_get_maclocal_pci(void);
#endif /*NET_NE2000_H*/