Home
last modified time | relevance | path

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

/net/ipv4/
Dip_output.c974 unsigned int maxfraglen, fragheaderlen, maxnonfragsize; in __ip_append_data() local
993 fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); in __ip_append_data()
994 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen; in __ip_append_data()
997 if (cork->length + length > maxnonfragsize - fragheaderlen) { in __ip_append_data()
1008 length + fragheaderlen <= mtu && in __ip_append_data()
1065 if (datalen > mtu - fragheaderlen) in __ip_append_data()
1066 datalen = maxfraglen - fragheaderlen; in __ip_append_data()
1067 fraglen = datalen + fragheaderlen; in __ip_append_data()
1119 fragheaderlen); in __ip_append_data()
1120 data += fragheaderlen + exthdrlen; in __ip_append_data()
[all …]
/net/ipv6/
Dip6_output.c1213 unsigned int fragheaderlen, in ip6_append_data_mtu() argument
1230 *maxfraglen = ((*mtu - fragheaderlen) & ~7) in ip6_append_data_mtu()
1231 + fragheaderlen - sizeof(struct frag_hdr); in ip6_append_data_mtu()
1324 unsigned int maxfraglen, fragheaderlen, mtu, orig_mtu, pmtu; in __ip6_append_data() local
1356 fragheaderlen = sizeof(struct ipv6hdr) + rt->rt6i_nfheader_len + in __ip6_append_data()
1358 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - in __ip6_append_data()
1459 fragheaderlen, skb, rt, in __ip6_append_data()
1470 …alen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fragheaderlen) in __ip6_append_data()
1471 datalen = maxfraglen - fragheaderlen - rt->dst.trailer_len; in __ip6_append_data()
1472 fraglen = datalen + fragheaderlen; in __ip6_append_data()
[all …]