network: Remove the cursed libslirp fork now that Windows uses external libslirp

This commit is contained in:
RichardG867
2023-07-22 17:27:51 -03:00
parent 68382ff1b3
commit 9d991b495c
67 changed files with 9 additions and 17769 deletions

View File

@@ -493,15 +493,3 @@ const netdrv_t net_slirp_drv = {
&net_slirp_init,
&net_slirp_close
};
/* Stubs to stand in for the parts of libslirp we skip compiling. */
void ncsi_input(void *slirp, const uint8_t *pkt, int pkt_len) {}
void ip6_init(void *slirp) {}
void in6_compute_ethaddr(struct in6_addr ip, uint8_t *eth) {}
bool in6_equal(const void *a, const void *b) { return 0; }
const struct in6_addr in6addr_any = { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } };
const struct in6_addr in6addr_loopback = { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } };
void ndp_table_add(Slirp *slirp, struct in6_addr ip_addr,
uint8_t ethaddr[6]) {} /* IPv6 */
bool ndp_table_search(void *slirp, struct in6_addr ip_addr, uint8_t *out_ethaddr) { return 0; }
void tftp_input(void *srcsas, void *m) {}