diff options
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/in.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/in.h b/src/include/ipxe/in.h index 75f23123d..b29c2d74a 100644 --- a/src/include/ipxe/in.h +++ b/src/include/ipxe/in.h @@ -63,6 +63,9 @@ struct in6_addr { ( ( *( ( const uint16_t * ) (addr) ) & htons ( 0xffc0 ) ) == \ htons ( 0xfe80 ) ) +#define IN6_IS_ADDR_NONGLOBAL( addr ) \ + ( IN6_IS_ADDR_LINKLOCAL (addr) || IN6_IS_ADDR_MULTICAST (addr) ) + /** * IPv4 socket address */ |
