[PATCH V14 1/5] Introduce virMacAddr typedef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/util/virmacaddr.h |    2 ++
 1 file changed, 2 insertions(+)

Index: libvirt/src/util/virmacaddr.h
===================================================================
--- libvirt.orig/src/util/virmacaddr.h
+++ libvirt/src/util/virmacaddr.h
@@ -30,6 +30,8 @@
 # define VIR_MAC_PREFIX_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);
 void virMacAddrFormat(const unsigned char *addr,
                       char *str);

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]