Searched refs:fragheaderlen (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/net/ipv4/ |
D | ip_output.c | 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() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | ip6_output.c | 1368 unsigned int fragheaderlen, in ip6_append_data_mtu() argument 1385 *maxfraglen = ((*mtu - fragheaderlen) & ~7) in ip6_append_data_mtu() 1386 + fragheaderlen - sizeof(struct frag_hdr); in ip6_append_data_mtu() 1476 unsigned int maxfraglen, fragheaderlen, mtu, orig_mtu, pmtu; in __ip6_append_data() local 1509 fragheaderlen = sizeof(struct ipv6hdr) + rt->rt6i_nfheader_len + in __ip6_append_data() 1518 if (mtu <= fragheaderlen || in __ip6_append_data() 1519 ((mtu - fragheaderlen) & ~7) + fragheaderlen <= sizeof(struct frag_hdr)) in __ip6_append_data() 1522 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - in __ip6_append_data() 1636 fragheaderlen, skb, rt, in __ip6_append_data() 1647 …alen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fragheaderlen) in __ip6_append_data() [all …]
|