Lines Matching defs:iphlen
52 int iphlen, thlen;
79 iphlen = ip->ip_hl * 4;
81 KASSERT(iphlen >= sizeof(*ip));
85 hlen = off + iphlen + sizeof(*th);
91 th = (void *)(mtod(m, char *) + off + iphlen);
94 hlen = off + iphlen + thlen;
110 ip->ip_len = htons(iphlen + thlen + mss);
148 ip->ip_sum = in4_cksum(n, 0, off, iphlen);
150 th = (void *)(mtod(n, char *) + off + iphlen);
153 th->th_sum = in4_cksum(n, 0, off + iphlen, thlen + mss);