patch-2.1.89 linux/include/net/addrconf.h
Next file: linux/include/net/arp.h
Previous file: linux/include/linux/wireless.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Mar 1 14:40:40 1998
- Orig file:
v2.1.88/linux/include/net/addrconf.h
- Orig date:
Mon Jan 12 15:28:19 1998
diff -u --recursive --new-file v2.1.88/linux/include/net/addrconf.h linux/include/net/addrconf.h
@@ -148,6 +148,10 @@
__constant_htonl(0x2));
}
+extern __inline__ int ipv6_addr_is_multicast(struct in6_addr *addr)
+{
+ return (addr->s6_addr32[0] & __constant_htonl(0xFF000000)) == __constant_htonl(0xFF000000);
+}
#endif
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov