mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
types: New struct eth_addr64 for EUI-64 identifiers.
This will see its first real user in the following commit. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2010, 2011, 2013, 2014, 2016 Nicira, Inc.
|
||||
* Copyright (c) 2010, 2011, 2013, 2014, 2016, 2017 Nicira, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -152,4 +152,12 @@ struct eth_addr {
|
||||
};
|
||||
};
|
||||
|
||||
/* Similar to struct eth_addr, for EUI-64 addresses. */
|
||||
struct eth_addr64 {
|
||||
union {
|
||||
uint8_t ea64[8];
|
||||
ovs_be16 be16[4];
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* openvswitch/types.h */
|
||||
|
Reference in New Issue
Block a user