标签: networking subnet rfc
假设有一个给定的IP地址,如何确定它是否在带掩码的特定子网中?
(ip & mask == subnet & mask)和(ip & mask == subnet)哪个更好?
(ip & mask == subnet & mask)
(ip & mask == subnet)