patch-2.4.4 linux/include/linux/etherdevice.h
Next file: linux/include/linux/ethtool.h
Previous file: linux/include/linux/elf.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Apr 19 09:34:52 2001
- Orig file:
v2.4.3/linux/include/linux/etherdevice.h
- Orig date:
Sun Mar 25 18:24:31 2001
diff -u --recursive --new-file v2.4.3/linux/include/linux/etherdevice.h linux/include/linux/etherdevice.h
@@ -51,7 +51,8 @@
* @addr: Pointer to a six-byte array containing the Ethernet address
*
* Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not
- * a multicast address, and is not FF:FF:FF:FF:FF:FF.
+ * a multicast address, and is not FF:FF:FF:FF:FF:FF. The multicast
+ * and FF:FF:... tests are combined into the single test "!(addr[0]&1)".
*
* Return true if the address is valid.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)