d18e78c vsh: Introduce helper to parse --bandwidth

Authored and Committed by Peter Krempa 8 years ago
    vsh: Introduce helper to parse --bandwidth
    
    Historically we've used 'unsigned long' and allowed wrapping of negative
    numbers for bandwidth values. Add a helper that will simplify adding
    support for scaled integers and support for byte granularity while
    keeping the compatibility with the older approach.
    
        
file modified
+52 -0
file modified
+4 -0