Home
last modified time | relevance | path

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

/net/ipv4/
Dip_output.c892 unsigned int fraggap; in ip_append_data() local
898 fraggap = skb_prev->len - maxfraglen; in ip_append_data()
900 fraggap = 0; in ip_append_data()
906 datalen = length + fraggap; in ip_append_data()
922 if (datalen == length + fraggap) in ip_append_data()
958 if (fraggap) { in ip_append_data()
961 data + transhdrlen, fraggap, 0); in ip_append_data()
964 data += fraggap; in ip_append_data()
968 copy = datalen - transhdrlen - fraggap; in ip_append_data()
969 if (copy > 0 && getfrag(from, data + transhdrlen, offset, copy, fraggap, skb) < 0) { in ip_append_data()
[all …]
/net/ipv6/
Dip6_output.c1262 unsigned int fraggap; in ip6_append_data() local
1270 fraggap = skb_prev->len - maxfraglen; in ip6_append_data()
1272 fraggap = 0; in ip6_append_data()
1278 datalen = length + fraggap; in ip6_append_data()
1294 if (datalen == length + fraggap) in ip6_append_data()
1336 if (fraggap) { in ip6_append_data()
1339 data + transhdrlen, fraggap, 0); in ip6_append_data()
1342 data += fraggap; in ip6_append_data()
1345 copy = datalen - transhdrlen - fraggap; in ip6_append_data()
1350 } else if (copy > 0 && getfrag(from, data + transhdrlen, offset, copy, fraggap, skb) < 0) { in ip6_append_data()
[all …]