lltdscan icon indicating copy to clipboard operation
lltdscan copied to clipboard

Link speed support

Open alexmyczko opened this issue 3 years ago • 0 comments

Hi, from lltdscan.c

                case 0x0C: desc="Link speed"; 
                        u_int32_t spd = (p[2]<<24) + (p[3]<<16) + (p[4]<<8) + p[5];
                        if( spd >= 10000){
                                sprintf(buf, "%d Mbit/s", spd/10000);
                        } else {
                                sprintf(buf, "%d kbit/s", spd/10);
                        }
                        break;

I'm not sure if 2500/5000/10000 are supported or not, can you tell? So far I've seen 100 and 1000.

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lltd/f7723954-e0f1-4322-81e0-193386543836

alexmyczko avatar Mar 08 '21 07:03 alexmyczko