diff options
Diffstat (limited to 'include/openvswitch')
-rw-r--r-- | include/openvswitch/types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openvswitch/types.h b/include/openvswitch/types.h index 45e70790e..8c5ec94a6 100644 --- a/include/openvswitch/types.h +++ b/include/openvswitch/types.h @@ -168,6 +168,14 @@ struct eth_addr { }; }; +/* Similar to struct eth_addr, for Infiniband LL addresses. */ +struct ib_addr { + union { + uint8_t ia[20]; + ovs_be16 be16[10]; + }; +}; + /* Ethernet address constant, e.g. ETH_ADDR_C(01,23,45,67,89,ab) is * 01:23:45:67:89:ab. */ #define ETH_ADDR_C(A,B,C,D,E,F) \ |