generate icmp checksum

Peng Yu pengyu.ut@gmail.com
Tue Mar 2 20:45:32 GMT 2021


Hi,

https://github.com/bminor/glibc/blob/21c3f4b5368686ade28d90d8c7d79c4c95c72c1b/sysdeps/gnu/netinet/ip_icmp.h

I see there is a checksum field in the above file. Is there a function
that can generate the checksum? Thanks.

-- 
Regards,
Peng


More information about the Libc-help mailing list