Determines if a connection of type virtual_type can (in the
general case) work with connections of type other_type.
If virtual_type is NM_TYPE_SETTING_VLAN, then this checks if
other_type is a valid type for the parent of a VLAN.
If virtual_type is a "controller" type (eg, NM_TYPE_SETTING_BRIDGE),
then this checks if other_type is a valid type for a port of that
controller.
Note that even if this returns true it is not guaranteed that
every connection of type other_type is
compatible with virtual_type; it may depend on the exact
configuration of the two connections, or on the capabilities of an
underlying device driver.
Determines if a connection of type
virtual_typecan (in the general case) work with connections of typeother_type.If
virtual_typeisNM_TYPE_SETTING_VLAN, then this checks ifother_typeis a valid type for the parent of a VLAN.If
virtual_typeis a "controller" type (eg,NM_TYPE_SETTING_BRIDGE), then this checks ifother_typeis a valid type for a port of that controller.Note that even if this returnsevery connection of type
trueit is not guaranteed thatother_typeis compatible withvirtual_type; it may depend on the exact configuration of the two connections, or on the capabilities of an underlying device driver.