tag | line | file | source code |
fragheaderlen | 577 | net/ipv4/ip_output.c | unsigned int fraglen, maxfraglen, fragheaderlen; |
fragheaderlen | 733 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
fragheaderlen | 734 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
fragheaderlen | 738 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len; |
fragheaderlen | 740 | net/ipv4/ip_output.c | fragheaderlen += 20; |
fragheaderlen | 747 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
fragheaderlen | 754 | net/ipv4/ip_output.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
fragheaderlen | 760 | net/ipv4/ip_output.c | fraglen = length - offset + fragheaderlen; |
fragheaderlen | 765 | net/ipv4/ip_output.c | offset -= maxfraglen-fragheaderlen; |
fragheaderlen | 880 | net/ipv4/ip_output.c | iph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4); |
fragheaderlen | 908 | net/ipv4/ip_output.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
fragheaderlen | 926 | net/ipv4/ip_output.c | offset -= (maxfraglen-fragheaderlen); |