• Home
  • Raw
  • Download

Lines Matching refs:rep

612 	} rep;  in tcp_v4_send_reset()  local
631 memset(&rep, 0, sizeof(rep)); in tcp_v4_send_reset()
632 rep.th.dest = th->source; in tcp_v4_send_reset()
633 rep.th.source = th->dest; in tcp_v4_send_reset()
634 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
635 rep.th.rst = 1; in tcp_v4_send_reset()
638 rep.th.seq = th->ack_seq; in tcp_v4_send_reset()
640 rep.th.ack = 1; in tcp_v4_send_reset()
641 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin + in tcp_v4_send_reset()
646 arg.iov[0].iov_base = (unsigned char *)&rep; in tcp_v4_send_reset()
647 arg.iov[0].iov_len = sizeof(rep.th); in tcp_v4_send_reset()
683 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset()
689 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
691 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1], in tcp_v4_send_reset()
693 ip_hdr(skb)->daddr, &rep.th); in tcp_v4_send_reset()
744 } rep; in tcp_v4_send_ack() local
748 memset(&rep.th, 0, sizeof(struct tcphdr)); in tcp_v4_send_ack()
751 arg.iov[0].iov_base = (unsigned char *)&rep; in tcp_v4_send_ack()
752 arg.iov[0].iov_len = sizeof(rep.th); in tcp_v4_send_ack()
754 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
757 rep.opt[1] = htonl(tsval); in tcp_v4_send_ack()
758 rep.opt[2] = htonl(tsecr); in tcp_v4_send_ack()
763 rep.th.dest = th->source; in tcp_v4_send_ack()
764 rep.th.source = th->dest; in tcp_v4_send_ack()
765 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_ack()
766 rep.th.seq = htonl(seq); in tcp_v4_send_ack()
767 rep.th.ack_seq = htonl(ack); in tcp_v4_send_ack()
768 rep.th.ack = 1; in tcp_v4_send_ack()
769 rep.th.window = htons(win); in tcp_v4_send_ack()
775 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack()
780 rep.th.doff = arg.iov[0].iov_len/4; in tcp_v4_send_ack()
782 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset], in tcp_v4_send_ack()
784 ip_hdr(skb)->daddr, &rep.th); in tcp_v4_send_ack()