Home
last modified time | relevance | path

Searched refs:fragheaderlen (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/net/ipv4/
Dip_output.c980 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()
1071 if (datalen > mtu - fragheaderlen) in __ip_append_data()
1072 datalen = maxfraglen - fragheaderlen; in __ip_append_data()
1073 fraglen = datalen + fragheaderlen; in __ip_append_data()
1129 fragheaderlen); in __ip_append_data()
1130 data += fragheaderlen + exthdrlen; in __ip_append_data()
[all …]
/linux-5.19.10/net/ipv6/
Dip6_output.c1350 unsigned int fragheaderlen, in ip6_append_data_mtu() argument
1367 *maxfraglen = ((*mtu - fragheaderlen) & ~7) in ip6_append_data_mtu()
1368 + fragheaderlen - sizeof(struct frag_hdr); in ip6_append_data_mtu()
1458 unsigned int maxfraglen, fragheaderlen, mtu, orig_mtu, pmtu; in __ip6_append_data() local
1490 fragheaderlen = sizeof(struct ipv6hdr) + rt->rt6i_nfheader_len + in __ip6_append_data()
1499 if (mtu <= fragheaderlen || in __ip6_append_data()
1500 ((mtu - fragheaderlen) & ~7) + fragheaderlen <= sizeof(struct frag_hdr)) in __ip6_append_data()
1503 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - in __ip6_append_data()
1599 fragheaderlen, skb, rt, in __ip6_append_data()
1610 …alen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fragheaderlen) in __ip6_append_data()
[all …]