1 #ifndef __LINUX_IN_WRAPPER_H
2 #define __LINUX_IN_WRAPPER_H 1
4 #include_next <linux/in.h>
6 #ifndef HAVE_IPV4_IS_MULTICAST
8 static inline bool ipv4_is_multicast(__be32 addr)
10 return (addr & htonl(0xf0000000)) == htonl(0xe0000000);
13 #endif /* !HAVE_IPV4_IS_MULTICAST */