Module Name: src
Committed By: yamaguchi
Date: Thu Jun 14 08:00:24 UTC 2018
Modified Files:
src/sys/net: if_ether.h
Log Message:
Remove ETHER_LOOKUP_MULTI()
The macro has been replaced with a function.
ok ozaki-r@
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_ether.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_ether.h
diff -u src/sys/net/if_ether.h:1.74 src/sys/net/if_ether.h:1.75
--- src/sys/net/if_ether.h:1.74 Thu Jun 14 07:44:31 2018
+++ src/sys/net/if_ether.h Thu Jun 14 08:00:24 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ether.h,v 1.74 2018/06/14 07:44:31 yamaguchi Exp $ */
+/* $NetBSD: if_ether.h,v 1.75 2018/06/14 08:00:24 yamaguchi Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -268,12 +268,6 @@ ether_lookup_multi(const uint8_t *addrlo
return enm;
}
-#define ETHER_LOOKUP_MULTI(addrlo, addrhi, ec, enm) \
- /* uint8_t addrlo[ETHER_ADDR_LEN]; */ \
- /* uint8_t addrhi[ETHER_ADDR_LEN]; */ \
- /* struct ethercom *ec; */ \
- /* struct ether_multi *enm; */ \
- (enm) = ether_lookup_multi((addrlo), (addrhi), (ec))
/*
* step through all of the ether_multi records, one at a time.