code to verify a number is valid network mask
Re: code to verify a number is valid network mask
/* unsigned uint32_t x */
return !(x & (~x>>1));
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
|All times are GMT. The time now is 09:19 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.