added some functions for TAP that detect whether a MAC address is a broadcast or IPv4 multicast address