mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
c2f9244137
Although ntohs and htons perform equivalent operations (a byte swap on little-endian platforms), their semantic roles (as implied by the names) are different. In fuzz_common.c, we get integers from simulated network packages, and convert them for host CPU use, so ntohs is the right variant to use. |
||
---|---|---|
.. | ||
fuzz | ||
sockets | ||
unit |