equal_full


Description:

[ Version ( since = "1.10" ) ]
public bool equal_full (IPRoute other, uint cmp_flags)

Determines if two IPRoute objects contain the same destination, prefix, next hop, and metric.

Parameters:

this

the IPRoute

other

the IPRoute to compare this to.

cmp_flags

tune how to compare attributes. Currently, only NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE (0) and NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS (1) is supported.

Returns:

true if the objects contain the same values, false if they do not.