2004-04-22 02:10:48 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 1995 Danny Gasparovski.
|
2007-09-16 23:08:06 +02:00
|
|
|
*
|
|
|
|
* Please read the file COPYRIGHT for the
|
2004-04-22 02:10:48 +02:00
|
|
|
* terms and conditions of the copyright.
|
|
|
|
*/
|
2016-06-29 15:29:06 +02:00
|
|
|
|
2012-12-06 12:15:58 +01:00
|
|
|
#ifndef SLIRP_MAIN_H
|
2016-06-29 15:29:06 +02:00
|
|
|
#define SLIRP_MAIN_H
|
2004-04-22 02:10:48 +02:00
|
|
|
|
|
|
|
extern u_int curtime;
|
|
|
|
extern struct in_addr loopback_addr;
|
2012-08-07 02:31:55 +02:00
|
|
|
extern unsigned long loopback_mask;
|
2004-04-22 02:10:48 +02:00
|
|
|
|
2011-08-01 18:18:37 +02:00
|
|
|
int if_encap(Slirp *slirp, struct mbuf *ifm);
|
2009-01-08 20:18:21 +01:00
|
|
|
ssize_t slirp_send(struct socket *so, const void *buf, size_t len, int flags);
|
2012-12-06 12:15:58 +01:00
|
|
|
|
|
|
|
#endif
|