pub fn evaluate_salvo_condition(
term: &SalvoConditionTerm,
port_packet_counts: &HashMap<PortName, u64>,
ports: &HashMap<PortName, Port>,
) -> boolExpand description
Evaluates a salvo condition term against the current port packet counts.
§Arguments
term- The condition term to evaluateport_packet_counts- Map of port names to their current packet countsports- Map of port names to their definitions (needed for capacity checks)
§Returns
true if the condition is satisfied, false otherwise.