tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: subnet calculations



On Wed, 7 Aug 2013, Emmanuel Dreyfus wrote:

> What is the path of least resistance on NetBSD to determine if an
> address falls into a subnet given as net_address/cidr_mask.

Maybe the inet_cidr(3) functions can help?

See src/lib/libc/inet/ 

We don't currently install the manual page, but see 
src/external/bsd/libbind/dist/doc/


Home | Main Index | Thread Index | Old Index