Lines Matching refs:rth
1157 struct tcphdr rth; in tcp_v4_send_reset() local
1168 memset(&rth, 0, sizeof(struct tcphdr)); in tcp_v4_send_reset()
1169 rth.dest = th->source; in tcp_v4_send_reset()
1170 rth.source = th->dest; in tcp_v4_send_reset()
1171 rth.doff = sizeof(struct tcphdr)/4; in tcp_v4_send_reset()
1172 rth.rst = 1; in tcp_v4_send_reset()
1175 rth.seq = th->ack_seq; in tcp_v4_send_reset()
1177 rth.ack = 1; in tcp_v4_send_reset()
1178 rth.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin in tcp_v4_send_reset()
1183 arg.iov[0].iov_base = (unsigned char *)&rth; in tcp_v4_send_reset()
1184 arg.iov[0].iov_len = sizeof rth; in tcp_v4_send_reset()
1194 ip_send_reply(tcp_socket->sk, skb, &arg, sizeof rth); in tcp_v4_send_reset()