aboutsummaryrefslogtreecommitdiff
path: root/libjaylink/libjaylink-internal.h
diff options
context:
space:
mode:
authorMarc Schink <jaylink-dev@marcschink.de>2015-10-17 12:34:27 +0200
committerMarc Schink <jaylink-dev@marcschink.de>2017-07-12 14:27:19 +0200
commit0f10b0a3b432fccc39c1585cf3c1f2cf0fc240b0 (patch)
treec6e1ec966f4d3c3b12b43359dfc8096166269c67 /libjaylink/libjaylink-internal.h
parentaee9aedaf6759bf9f90760d8a4ad5d14ba04010c (diff)
Add functions to query information about TCP/IP devices
Signed-off-by: Marc Schink <jaylink-dev@marcschink.de>
Diffstat (limited to 'libjaylink/libjaylink-internal.h')
-rw-r--r--libjaylink/libjaylink-internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libjaylink/libjaylink-internal.h b/libjaylink/libjaylink-internal.h
index 5da37dc..96a9a2a 100644
--- a/libjaylink/libjaylink-internal.h
+++ b/libjaylink/libjaylink-internal.h
@@ -51,9 +51,6 @@
/** Calculate the minimum of two numeric values. */
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
-/** Media Access Control (MAC) address length in bytes. */
-#define MAC_ADDRESS_LENGTH 6
-
struct jaylink_context {
/** libusb context. */
struct libusb_context *usb_ctx;
@@ -110,7 +107,7 @@ struct jaylink_device {
* This field is used for devices with host interface #JAYLINK_HIF_TCP
* only.
*/
- uint8_t mac_address[MAC_ADDRESS_LENGTH];
+ uint8_t mac_address[JAYLINK_MAC_ADDRESS_LENGTH];
/** Indicates whether the MAC address is available. */
bool has_mac_address;
/**