@@ -365,12 +365,12 @@ typedef enum {
* Also, RFC 8.4, non-unicast addresses are not considered valid SCTP
* addresses.
*/
-#define IS_IPV4_UNUSABLE_ADDRESS(a) \
- ((htonl(INADDR_BROADCAST) == a) || \
- ipv4_is_multicast(a) || \
- ipv4_is_zeronet(a) || \
- ipv4_is_test_198(a) || \
- ipv4_is_anycast_6to4(a))
+#define IS_IPV4_UNUSABLE_ADDRESS(a) \
+ ((htonl(INADDR_BROADCAST) == a) || \
+ ipv4_addr_multicast(a) || \
+ ipv4_addr_zeronet(a) || \
+ ipv4_addr_test_198(a) || \
+ ipv4_addr_anycast_6to4(a))
/* Flags used for the bind address copy functions. */
#define SCTP_ADDR6_ALLOWED 0x00000001 /* IPv6 address is allowed by
Use the new ipv4_addr_<foo> functions to be consistent with the ipv6_addr_<foo> and eth_addr_<foo> style. Signed-off-by: Joe Perches <joe@perches.com> --- include/net/sctp/constants.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)