Lines Matching refs:fragheaderlen
980 unsigned int maxfraglen, fragheaderlen, maxnonfragsize; in __ip_append_data() local
999 fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); in __ip_append_data()
1000 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen; in __ip_append_data()
1003 if (cork->length + length > maxnonfragsize - fragheaderlen) { in __ip_append_data()
1014 length + fragheaderlen <= mtu && in __ip_append_data()
1089 if (datalen > mtu - fragheaderlen) in __ip_append_data()
1090 datalen = maxfraglen - fragheaderlen; in __ip_append_data()
1091 fraglen = datalen + fragheaderlen; in __ip_append_data()
1113 alloclen = fragheaderlen + transhdrlen; in __ip_append_data()
1147 fragheaderlen); in __ip_append_data()
1148 data += fragheaderlen + exthdrlen; in __ip_append_data()
1360 unsigned int maxfraglen, fragheaderlen, fraggap, maxnonfragsize; in ip_append_page() local
1382 fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); in ip_append_page()
1383 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen; in ip_append_page()
1386 if (cork->length + size > maxnonfragsize - fragheaderlen) { in ip_append_page()
1411 alloclen = fragheaderlen + hh_len + fraggap + 15; in ip_append_page()
1428 skb_put(skb, fragheaderlen + fraggap); in ip_append_page()
1431 fragheaderlen); in ip_append_page()