-
Notifications
You must be signed in to change notification settings - Fork 546
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
Add support for setting TypeOfService/TrafficClass on connections #4757
base: main
Are you sure you want to change the base?
Conversation
Status = QUIC_STATUS_SUCCESS; | ||
break; | ||
|
||
case QUIC_PARAM_CONN_DSCP: |
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.
Should GetParam return the last-set DSCP value, or the most recently received DSCP value?
Or should getting the received DSCP value be a separate, get-only param?
CMsg = (PWSACMSGHDR)&CMsgBuffer[CMsgLen]; | ||
CMsgLen += WSA_CMSG_SPACE(sizeof(INT)); | ||
CMsg->cmsg_level = | ||
Route->LocalAddress.si_family == QUIC_ADDRESS_FAMILY_INET ? |
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.
LocalAddress might be the wrong address to use; if trying to send to an IPv4 address using a dual-mode socket, you need to set the IPv4 IP_TOS, instead of the IPV6_TCLASS
Description
Add support for applications to set the Type of Service/Traffic Class field all traffic sent from a connection.
Testing
TBD
Documentation
Updated the settings document with the new get/set param.