Lines Matching defs:rep
684 } rep;
709 memset(&rep, 0, sizeof(rep));
710 rep.th.dest = th->source;
711 rep.th.source = th->dest;
712 rep.th.doff = sizeof(struct tcphdr) / 4;
713 rep.th.rst = 1;
716 rep.th.seq = th->ack_seq;
718 rep.th.ack = 1;
719 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin +
724 arg.iov[0].iov_base = (unsigned char *)&rep;
725 arg.iov[0].iov_len = sizeof(rep.th);
779 rep.opt[0] = htonl((TCPOPT_NOP << 24) |
785 rep.th.doff = arg.iov[0].iov_len / 4;
787 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1],
789 ip_hdr(skb)->daddr, &rep.th);
792 /* Can't co-exist with TCPMD5, hence check rep.opt[0] */
793 if (rep.opt[0] == 0) {
797 rep.opt[0] = mrst;
799 rep.th.doff = arg.iov[0].iov_len / 4;
876 } rep;
882 memset(&rep.th, 0, sizeof(struct tcphdr));
885 arg.iov[0].iov_base = (unsigned char *)&rep;
886 arg.iov[0].iov_len = sizeof(rep.th);
888 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
891 rep.opt[1] = htonl(tsval);
892 rep.opt[2] = htonl(tsecr);
897 rep.th.dest = th->source;
898 rep.th.source = th->dest;
899 rep.th.doff = arg.iov[0].iov_len / 4;
900 rep.th.seq = htonl(seq);
901 rep.th.ack_seq = htonl(ack);
902 rep.th.ack = 1;
903 rep.th.window = htons(win);
909 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) |
914 rep.th.doff = arg.iov[0].iov_len/4;
916 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset],
918 ip_hdr(skb)->daddr, &rep.th);