On Tue, Jun 05, 2018 at 06:10:50PM +, Keller, Jacob E wrote:
> Was there a reason to simplify the interface of memcmp and remove the ability
> to determine which comes "first"? I suppose we don't really need that data..?
We only need to test for equality. I think it will be clearer when
you
> -Original Message-
> From: Richard Cochran [mailto:richardcoch...@gmail.com]
> Sent: Tuesday, June 05, 2018 7:11 AM
> To: linuxptp-devel@lists.sourceforge.net
> Subject: [Linuxptp-devel] [PATCH 3/5] util: Add a method to compare binary
> addresses.
>
> Signed
Signed-off-by: Richard Cochran
---
util.c | 28
util.h | 9 +
2 files changed, 37 insertions(+)
diff --git a/util.c b/util.c
index 799147a..73fb37e 100644
--- a/util.c
+++ b/util.c
@@ -69,6 +69,34 @@ const char *ev_str[] = {
"RS_PASSIVE",
};
+int