Resource allocation in a multiple-priority buffered link