mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
Introduce virMacAddr typedef
This commit is contained in:
parent
d8199033d6
commit
423bb74994
@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
# define VIR_MAC_BUFLEN 6
|
# define VIR_MAC_BUFLEN 6
|
||||||
# define VIR_MAC_PREFIX_BUFLEN 3
|
# define VIR_MAC_PREFIX_BUFLEN 3
|
||||||
# define VIR_MAC_STRING_BUFLEN VIR_MAC_BUFLEN * 3
|
# define VIR_MAC_STRING_BUFLEN (VIR_MAC_BUFLEN * 3)
|
||||||
|
|
||||||
|
typedef unsigned char virMacAddr[VIR_MAC_BUFLEN];
|
||||||
|
|
||||||
int virMacAddrCompare(const char *mac1, const char *mac2);
|
int virMacAddrCompare(const char *mac1, const char *mac2);
|
||||||
void virMacAddrFormat(const unsigned char *addr,
|
void virMacAddrFormat(const unsigned char *addr,
|
||||||
|
Loading…
Reference in New Issue
Block a user