Lines Matching refs:rep
592 } rep;
607 memset(&rep, 0, sizeof(rep));
608 rep.th.dest = th->source;
609 rep.th.source = th->dest;
610 rep.th.doff = sizeof(struct tcphdr) / 4;
611 rep.th.rst = 1;
614 rep.th.seq = th->ack_seq;
616 rep.th.ack = 1;
617 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin +
622 arg.iov[0].iov_base = (unsigned char *)&rep;
623 arg.iov[0].iov_len = sizeof(rep.th);
628 rep.opt[0] = htonl((TCPOPT_NOP << 24) |
634 rep.th.doff = arg.iov[0].iov_len / 4;
636 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1],
638 ip_hdr(skb)->daddr, &rep.th);
672 } rep;
676 memset(&rep.th, 0, sizeof(struct tcphdr));
679 arg.iov[0].iov_base = (unsigned char *)&rep;
680 arg.iov[0].iov_len = sizeof(rep.th);
682 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
685 rep.opt[1] = htonl(tcp_time_stamp);
686 rep.opt[2] = htonl(ts);
691 rep.th.dest = th->source;
692 rep.th.source = th->dest;
693 rep.th.doff = arg.iov[0].iov_len / 4;
694 rep.th.seq = htonl(seq);
695 rep.th.ack_seq = htonl(ack);
696 rep.th.ack = 1;
697 rep.th.window = htons(win);
703 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) |
708 rep.th.doff = arg.iov[0].iov_len/4;
710 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset],
712 ip_hdr(skb)->daddr, &rep.th);