Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. [PATCH v3 24/27] acd: Add acd_host_get_conflicts_count
(Christian Spielberger)
----------------------------------------------------------------------
Message: 1
Date: Tue, 15 May 2018 12:35:31 +0200
From: Christian Spielberger <[email protected]>
To: Daniel Wagner <[email protected]>
Cc: [email protected], Christian Spielberger
<[email protected]>
Subject: [PATCH v3 24/27] acd: Add acd_host_get_conflicts_count
Message-ID:
<1526380534-23540-25-git-send-email-christian.spielber...@gmail.com>
This is necessary to decide if DHCP can be tried again.
---
include/acd.h | 2 ++
src/acd.c | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/include/acd.h b/include/acd.h
index 6898ccb..0f9468d 100644
--- a/include/acd.h
+++ b/include/acd.h
@@ -55,6 +55,8 @@ void acd_host_register_event(struct acd_host *acd,
void acd_host_append_dbus_property(struct acd_host *acd, DBusMessageIter
*dict);
+unsigned int acd_host_get_conflicts_count(struct acd_host *acd);
+
#ifdef __cplusplus
}
#endif
diff --git a/src/acd.c b/src/acd.c
index ae6ec79..0266bac 100644
--- a/src/acd.c
+++ b/src/acd.c
@@ -575,3 +575,8 @@ static void report_conflict(struct acd_host *acd)
connman_dbus_property_changed_dict(acd->path, CONNMAN_SERVICE_INTERFACE,
"LastAddressConflict", append_ac_property, acd);
}
+
+unsigned int acd_host_get_conflicts_count(struct acd_host *acd)
+{
+ return acd->conflicts;
+}
--
2.7.4
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 31, Issue 12
***************************************