Revision 9fafc9ea
b/slirp/slirp.h | ||
---|---|---|
295 | 295 |
u_int8_t tcp_tos _P((struct socket *)); |
296 | 296 |
int tcp_emu _P((struct socket *, struct mbuf *)); |
297 | 297 |
int tcp_ctl _P((struct socket *)); |
298 |
struct tcpcb *tcp_drop(struct tcpcb *tp, int errno);
|
|
298 |
struct tcpcb *tcp_drop(struct tcpcb *tp, int err); |
|
299 | 299 |
|
300 | 300 |
#ifdef USE_PPP |
301 | 301 |
#define MIN_MRU MINMRU |
b/slirp/tcp_subr.c | ||
---|---|---|
240 | 240 |
* the specified error. If connection is synchronized, |
241 | 241 |
* then send a RST to peer. |
242 | 242 |
*/ |
243 |
struct tcpcb *tcp_drop(struct tcpcb *tp, int errno)
|
|
243 |
struct tcpcb *tcp_drop(struct tcpcb *tp, int err) |
|
244 | 244 |
{ |
245 | 245 |
/* tcp_drop(tp, errno) |
246 | 246 |
register struct tcpcb *tp; |
Also available in: Unified diff