Re: ipv4 and ipv6 fragment refactoring

2022-08-12 Thread Alexandr Nedvedicky
Hello, On Thu, Aug 11, 2022 at 11:59:55AM +0200, Alexander Bluhm wrote: > Hi, > > ip_fragment() and ip6_fragment() do nearly the same thing, but they > are implemented differently. > > The idea of this diff is to move things around. Then only differences > from the IP standards but not in codin

ipv4 and ipv6 fragment refactoring

2022-08-11 Thread Alexander Bluhm
Hi, ip_fragment() and ip6_fragment() do nearly the same thing, but they are implemented differently. The idea of this diff is to move things around. Then only differences from the IP standards but not in coding style remain. This allows to compare both functions easily. In IPv4 assume that m_p