mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 00:05:15 +00:00
Introduce 128-bit xxregs.
These are needed to handle IPv6 addresses. Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -103,6 +103,7 @@ typedef union {
|
||||
/* MSVC2015 doesn't support designated initializers when compiling C++,
|
||||
* and doesn't support ternary operators with non-designated initializers.
|
||||
* So we use these static definitions rather than using initializer macros. */
|
||||
static const ovs_u128 OVS_U128_ZERO = { { 0, 0, 0, 0 } };
|
||||
static const ovs_u128 OVS_U128_MAX = { { UINT32_MAX, UINT32_MAX,
|
||||
UINT32_MAX, UINT32_MAX } };
|
||||
static const ovs_be128 OVS_BE128_MAX OVS_UNUSED = { { OVS_BE32_MAX, OVS_BE32_MAX,
|
||||
|
Reference in New Issue
Block a user