mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +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:
@@ -2991,6 +2991,12 @@ format_u128(struct ds *ds, const ovs_u128 *key, const ovs_u128 *mask,
|
||||
}
|
||||
}
|
||||
|
||||
/* Read the string from 's_' as a 128-bit value. If the string contains
|
||||
* a "/", the rest of the string will be treated as a 128-bit mask.
|
||||
*
|
||||
* If either the value or mask is larger than 64 bits, the string must
|
||||
* be in hexadecimal.
|
||||
*/
|
||||
static int
|
||||
scan_u128(const char *s_, ovs_u128 *value, ovs_u128 *mask)
|
||||
{
|
||||
|
Reference in New Issue
Block a user