Lines Matching defs:extlen
415 static void recompute_packet(char *buf, char *no_ext, int extlen)
422 memmove(buf + total_hdr_len + extlen,
425 tcphdr->doff = tcphdr->doff + (extlen / 4);
427 tcphdr->check = tcp_checksum(tcphdr, PAYLOAD_LEN + extlen);
429 iph->tot_len = htons(ntohs(iph->tot_len) + extlen);
435 iph->tot_len = htons(ntohs(iph->tot_len) + extlen);
440 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen);
877 int extlen = sizeof(struct ip6_frag);
879 int extpkt_len = bufpkt_len + extlen;
891 ip6h->payload_len = htons(ntohs(ip6h->payload_len) + extlen);
895 memcpy(extpkt + tcp_offset + extlen, buf + tcp_offset,