Lines Matching defs:rep
676 } rep;
700 memset(&rep, 0, sizeof(rep));
701 rep.th.dest = th->source;
702 rep.th.source = th->dest;
703 rep.th.doff = sizeof(struct tcphdr) / 4;
704 rep.th.rst = 1;
707 rep.th.seq = th->ack_seq;
709 rep.th.ack = 1;
710 rep.th.ack_seq = htonl(ntohl(th->seq) + th->syn + th->fin +
715 arg.iov[0].iov_base = (unsigned char *)&rep;
716 arg.iov[0].iov_len = sizeof(rep.th);
770 rep.opt[0] = htonl((TCPOPT_NOP << 24) |
776 rep.th.doff = arg.iov[0].iov_len / 4;
778 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1],
780 ip_hdr(skb)->daddr, &rep.th);
854 } rep;
860 memset(&rep.th, 0, sizeof(struct tcphdr));
863 arg.iov[0].iov_base = (unsigned char *)&rep;
864 arg.iov[0].iov_len = sizeof(rep.th);
866 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
869 rep.opt[1] = htonl(tsval);
870 rep.opt[2] = htonl(tsecr);
875 rep.th.dest = th->source;
876 rep.th.source = th->dest;
877 rep.th.doff = arg.iov[0].iov_len / 4;
878 rep.th.seq = htonl(seq);
879 rep.th.ack_seq = htonl(ack);
880 rep.th.ack = 1;
881 rep.th.window = htons(win);
887 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) |
892 rep.th.doff = arg.iov[0].iov_len/4;
894 tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset],
896 ip_hdr(skb)->daddr, &rep.th);