Lines Matching refs:ihl
443 (struct tcphdr *)(((uint8_t *)(to->iph)) + (to->iph->ihl<<2)) : NULL; in ClonePacketCtx()
1046 if (offset + datalen > (iph->ihl<<2)) { in mtcp_setlastpkt()
1062 cur_pkt_ctx->p.tcph = (struct tcphdr *)((uint8_t *)iph + (iph->ihl<<2)); in mtcp_setlastpkt()
1082 cur_pkt_ctx->p.tcph = (struct tcphdr *)((uint8_t *)iph + (iph->ihl<<2)); in mtcp_setlastpkt()
1100 (tcph=(struct tcphdr *)((uint8_t *)iph + (iph->ihl<<2))) == NULL) { in mtcp_setlastpkt()
1144 tcph = (struct tcphdr *)((uint8_t *)iph + (iph->ihl<<2)); in mtcp_setlastpkt()
1148 (iph->ihl<<2) - (tcph->doff<<2)) { in mtcp_setlastpkt()
1164 (tcph->doff<<2) - (iph->ihl<<2); in mtcp_setlastpkt()
1171 (tcph->doff<<2) - (iph->ihl<<2); in mtcp_setlastpkt()
1183 iph->check = ip_fast_csum(iph, iph->ihl); in mtcp_setlastpkt()
1189 tcph = (struct tcphdr *)((uint8_t *)iph + (iph->ihl<<2)); in mtcp_setlastpkt()
1192 ntohs(iph->tot_len) - (iph->ihl<<2), in mtcp_setlastpkt()