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