Class IPv6AddressMatchExprMacro

  • All Implemented Interfaces:
    ExprMacroTable.ExprMacro, NamedFunction

    public class IPv6AddressMatchExprMacro
    extends Object
    implements ExprMacroTable.ExprMacro
     Implements an expression that checks if an IPv6 address belongs to a subnet.
    
     Expression signatures:
     - long ipv6_match(string address, string subnet)
    
     Valid "address" argument formats are:
     - IPv6 address string (e.g., "2001:4860:4860::8888")
    
     The argument format for the "subnet" argument should be a literal in CIDR notation
     (e.g., "2001:db8::/64 ").
    
     If the "address" argument does not represent an IPv6 address then false is returned.