Lines Matching refs:doff
264 hlen = ip->ihl*4 + th->doff*4; in slhc_compress()
351 || th->doff != cs->cs_tcp.doff in slhc_compress()
353 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress()
474 if (th->doff > 5) in slhc_compress()
475 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); in slhc_compress()
537 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
621 if (thp->doff > 5) { in slhc_uncompress()
622 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
623 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()
673 if (cs->cs_tcp.doff > 5) in slhc_remember()
674 memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); in slhc_remember()
675 cs->cs_hsize = ihl*2 + cs->cs_tcp.doff*2; in slhc_remember()