-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for QOS/DSCP to be set #172
base: master
Are you sure you want to change the base?
Conversation
Hello, thank you for your PR. Should there be a range limit on the value of uc.Dscp? |
sure, happy to change it to that.
…On Wed, Jan 17, 2024 at 7:02 AM r3inbowari ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In speedtest.go
<#172 (comment)>:
> @@ -29,6 +29,7 @@ var (
noDownload = kingpin.Flag("no-download", "Disable download test.").Bool()
noUpload = kingpin.Flag("no-upload", "Disable upload test.").Bool()
pingMode = kingpin.Flag("ping-mode", "Select a method for Ping. (support icmp/tcp/http)").Default("http").String()
+ dscp = kingpin.Flag("dscp", "type of service field in IP header").Short('Q').Int()
Would it be better to use qos instead of dscp?
—
Reply to this email directly, view it on GitHub
<#172 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQCURJ5EKAKTUTHFH2PIDYO7RXTAVCNFSM6AAAAABB6UP2SGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMRXGUYDQMRVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Done |
Good work. Additionally, we need to ensure that all platforms compile successfully. refhttps://learn.microsoft.com/en-us/answers/questions/1137447/hot-to-set-traffic-class-of-ipv6-socket |
@@ -29,6 +29,7 @@ var ( | |||
noDownload = kingpin.Flag("no-download", "Disable download test.").Bool() | |||
noUpload = kingpin.Flag("no-upload", "Disable upload test.").Bool() | |||
pingMode = kingpin.Flag("ping-mode", "Select a method for Ping. (support icmp/tcp/http)").Default("http").String() | |||
tos = kingpin.Flag("tos", "type of service field in IP header").Short('Q').Int() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tos = kingpin.Flag("tos", "type of service field in IP header").Short('Q').Int() | |
tos = kingpin.Flag("tos", "type of service field in IP header").Short('Q').Uint8() |
Limit the size of the tos field to 8 bits.
No description provided.