tag | line | file | source code |
fragheaderlen | 580 | net/ipv4/ip_output.c | unsigned int fraglen, maxfraglen, fragheaderlen; |
fragheaderlen | 737 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len + sizeof(struct iphdr) + opt->optlen; |
fragheaderlen | 738 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-sizeof(struct iphdr)-opt->optlen) & ~7) + fragheaderlen; |
fragheaderlen | 742 | net/ipv4/ip_output.c | fragheaderlen = dev->hard_header_len; |
fragheaderlen | 744 | net/ipv4/ip_output.c | fragheaderlen += 20; |
fragheaderlen | 751 | net/ipv4/ip_output.c | maxfraglen = ((dev->mtu-20) & ~7) + fragheaderlen; |
fragheaderlen | 758 | net/ipv4/ip_output.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
fragheaderlen | 764 | net/ipv4/ip_output.c | fraglen = length - offset + fragheaderlen; |
fragheaderlen | 769 | net/ipv4/ip_output.c | offset -= maxfraglen-fragheaderlen; |
fragheaderlen | 884 | net/ipv4/ip_output.c | iph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4); |
fragheaderlen | 912 | net/ipv4/ip_output.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
fragheaderlen | 930 | net/ipv4/ip_output.c | offset -= (maxfraglen-fragheaderlen); |