aeron-driver/src/main/java/io/aeron/driver/media/NetworkUtil.java
public static NetworkInterface[] filterBySubnet(final InetAddress address, final int subnetPrefix)
        throws SocketException
    {
        return filterBySubnet(NetworkInterfaceShim.DEFAULT, address, subnetPrefix);
    }
public static NetworkInterface[] filterBySubnet(final InetAddress address, final int subnetPrefix)
        throws SocketException
    {
        return filterBySubnet(NetworkInterfaceShim.DEFAULT, address, subnetPrefix);
    }
public static NetworkInterface [ ] filterBySubnet ( final InetAddress address , final int subnetPrefix ) throws SocketException { return filterBySubnet ( NetworkInterfaceShim . DEFAULT , address , subnetPrefix ) ; }
Search for a list of network interfaces that match the specified address and subnet prefix.
The results will be ordered by the length of the subnet prefix
({@link InterfaceAddress#getNetworkPrefixLength()}).  If no results match, then the collection
will be empty.

@param address      to search for on the {@link NetworkInterface}s.
@param subnetPrefix to limit the search.
@return {@link NetworkInterface}s that match the supplied criteria, ordered by the length
of the subnet prefix. Empty if none match.
@throws SocketException if an error occurs
Search for a list of network interfaces that match the specified address and subnet prefix . The results will be ordered by the length of the subnet prefix ( { @link InterfaceAddress#getNetworkPrefixLength () } ) . If no results match then the collection will be empty .