util: Add be32_prefix_mask().
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 11 Nov 2014 23:50:51 +0000 (15:50 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 11 Nov 2014 23:50:51 +0000 (15:50 -0800)
Shifting a 32-bit entity by 32 bits is undefined behavior.  As we have 3
cases where we may hit this, it is a time to introduce a helper for
this.

VMware-BZ: #1355026
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>

No differences found