Lawrence Teo <[email protected]> wrote:
> The checksum flags listed in the mbuf(9) man page do not match the ones
> in mbuf.h. In addition, the m_pkthdr.csum variable name should be
> m_pkthdr.csum_flags.
>
> The following diff fixes both issues.
>
> OK?
Okay, but while you're there, could you remove the "/IPv4" from the
M_{TCP,UDP}_CSUM_IN_* descriptions? We also use this for TCP or
UDP over IPv6, e.g. on newer bge(4) chips.
I'm not sure there's a point in documenting the M_ICMP_CSUM_* flags.
They aren't actually implemented in the stack, few chipsets support
them, and I doubt there would be much benefit.
--
Christian "naddy" Weisgerber [email protected]