<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:x-small;"><div>I think I got the point.</div><div><br></div><div>For example in diffserv3: tdiff values -2, 2, -1 for tins 1, 0, 2, then:</div><div>"if (tdiff<=0 || tdiff<=best_time)" returns best_time -1 and tin 2. Highest priority tin with packet overdue.</div><div>"if (tdiff<=best_time)" would return best_time -2 and tin 1. Not the highest priority tin with packet overdue.</div><div><br></div><div>Thank you,</div><div>George</div></div></body></html>