]>
Commit | Line | Data |
---|---|---|
f0cbd3ec FB |
1 | /* |
2 | * Copyright (c) 1995 Danny Gasparovski. | |
5fafdf24 TS |
3 | * |
4 | * Please read the file COPYRIGHT for the | |
f0cbd3ec FB |
5 | * terms and conditions of the copyright. |
6 | */ | |
175de524 | 7 | |
cb9c377f | 8 | #ifndef SLIRP_MAIN_H |
175de524 | 9 | #define SLIRP_MAIN_H |
f0cbd3ec | 10 | |
f0cbd3ec | 11 | extern u_int curtime; |
f0cbd3ec | 12 | extern struct in_addr loopback_addr; |
0b8db8fe | 13 | extern unsigned long loopback_mask; |
f0cbd3ec | 14 | |
1ab74cea | 15 | int if_encap(Slirp *slirp, struct mbuf *ifm); |
e1c5a2b3 | 16 | ssize_t slirp_send(struct socket *so, const void *buf, size_t len, int flags); |
cb9c377f PB |
17 | |
18 | #endif |