Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163350395
D26611.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D26611.id.diff
View Options
Index: head/sys/net/ethernet.h
===================================================================
--- head/sys/net/ethernet.h
+++ head/sys/net/ethernet.h
@@ -71,6 +71,8 @@
} __packed;
#define ETHER_IS_MULTICAST(addr) (*(addr) & 0x01) /* is address mcast/bcast? */
+#define ETHER_IS_IPV6_MULTICAST(addr) \
+ (((addr)[0] == 0x33) && ((addr)[1] == 0x33))
#define ETHER_IS_BROADCAST(addr) \
(((addr)[0] & (addr)[1] & (addr)[2] & \
(addr)[3] & (addr)[4] & (addr)[5]) == 0xff)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 9:58 AM (15 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35398124
Default Alt Text
D26611.id.diff (483 B)
Attached To
Mode
D26611: Add a macro to check for IPv6 multicast MAC addresses
Attached
Detach File
Event Timeline
Log In to Comment