Closed
Description
It's natural and common to apply bitwise operations to IPv4 addresses. For instance if I have an IP address 192.168.1.23 and a netmask 255.255.255.0 I might want to calculate:
192.168.1.23 & 255.255.255.0 => 192.168.1.0
It's possible to do this by converting to u32
and back, but I shouldn't have to.