plan9fox/sys
cinap_lenrek 0af11f97b5 libip: replace v4parsecidr() with new parseipandmask()
we want to accept V4 subnets in CIDR notation consistently which
means we need to interpret the mask in context of the IP address.
so parseipmask() now has an additional v4 flag argument which
offsets the prefixlength by 96 so a /24 will be interpreted
as a /120.

parseipandmask() is the new function which handles this automatically
depending on the ip address type.

v4parsecidr() is now obsolete.
2019-02-11 23:26:57 +01:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib fortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDED 2018-12-11 12:57:36 -05:00
include libip: replace v4parsecidr() with new parseipandmask() 2019-02-11 23:26:57 +01:00
lib troff: fix -ms mug (thanks aksr) 2019-01-23 21:28:22 +01:00
man libip: replace v4parsecidr() with new parseipandmask() 2019-02-11 23:26:57 +01:00
src libip: replace v4parsecidr() with new parseipandmask() 2019-02-11 23:26:57 +01:00