tcp_subr.c revision 6de922ee8158732706074aacb20c2a5dc6d4d7a3
0N/A * @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
0N/A * tcp_subr.c,v 1.5 1994/10/08 22:39:58 phk Exp
0N/A#define WANT_SYS_IOCTL_H
0N/Atcp_respond(PNATState pData, struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, tcp_seq ack, tcp_seq seq, int flags)
0N/A#ifndef VBOX_WITH_SLIRP_BSD_MBUF
0N/A#ifdef TCP_COMPAT_42
0N/A case TCPS_CLOSED:
0N/A case TCPS_LISTEN:
0N/A case TCPS_SYN_SENT:
0N/A case TCPS_SYN_RECEIVED:
0N/A case TCPS_ESTABLISHED:
0N/A case TCPS_CLOSE_WAIT:
int ret = 0;
fd_nonblock(s);
case CTL_DNS:
case CTL_ALIAS:
"addr.sin_addr.s_addr=%.16s\n",
return(ret);
int s, opt;
int status;
fd_nonblock(s);
optlen = sizeof(int);
if (status < 0)
goto no_sockopt;
if (cVerbose > 0)
if (status < 0)
goto no_sockopt;
optlen = sizeof(int);
if (status < 0)
goto no_sockopt;
if (cVerbose > 0)
if (status < 0)
goto no_sockopt;
if (cVerbose > 0)
cVerbose--;
so->s = s;
* && (TCP_MAXWIN << tp->request_r_scale) < so->so_rcv.sb_hiwat)
NSOCK_INC();