Lines Matching refs:doff
259 hlen = ip->ihl*4 + th->doff*4;
346 || th->doff != cs->cs_tcp.doff
348 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){
469 if (th->doff > 5)
470 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4);
534 hdrlen = ip->ihl * 4 + thp->doff * 4;
618 if (thp->doff > 5) {
619 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4);
620 cp += ((thp->doff) - 5) * 4;
670 if (cs->cs_tcp.doff > 5)
671 memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4);
672 cs->cs_hsize = ihl*2 + cs->cs_tcp.doff*2;