345 |
if(flags & TCP_ACK) { |
if(flags & TCP_ACK) { |
346 |
/* For incoming segments with the ACK flag set, respond with a |
/* For incoming segments with the ACK flag set, respond with a |
347 |
RST. */ |
RST. */ |
348 |
DEBUGF(TCP_RST_DEBUG, ("tcp_process: ACK in LISTEN, sending reset\n")); |
DEBUGF(TCP_RST_DEBUG, ("tcp_listen_input: ACK in LISTEN, sending reset\n")); |
349 |
tcp_rst(ackno + 1, seqno + tcplen, |
tcp_rst(ackno + 1, seqno + tcplen, |
350 |
&(iphdr->dest), &(iphdr->src), |
&(iphdr->dest), &(iphdr->src), |
351 |
tcphdr->dest, tcphdr->src); |
tcphdr->dest, tcphdr->src); |