-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.
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.
stepancheg
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.