curl: support VLAN Priority: --vlan-priority

Add --vlan-priority option to the command line tool for setting VLAN
priority.

Closes #13907
This commit is contained in:
Orgad Shaneh 2024-05-14 09:54:26 +03:00 committed by Daniel Stenberg
parent 1445b7ae23
commit 54fe8c44e1
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 62 additions and 5 deletions

View file

@ -304,5 +304,6 @@ DPAGES = \
variable.md \
verbose.md \
version.md \
vlan-priority.md \
write-out.md \
xattr.md

View file

@ -10,6 +10,7 @@ Protocols: All
Multi: single
See-also:
- tcp-nodelay
- vlan-priority
Example:
- --ip-tos CS5 $URL
---

View file

@ -0,0 +1,23 @@
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: vlan-priority
Arg: <priority>
Help: Set VLAN priority
Added: 8.9.0
Category: connection
Protocols: All
Multi: single
See-also:
- ip-tos
Example:
- --vlan-priority 4 $URL
---
# `--vlan-priority`
Set VLAN priority as defined in IEEE 802.1Q. (Added in 8.9.0).
This field is set on Ethernet level, and only works within a local network.
The valid range for \<priority\> is 0 to 7.

View file

@ -269,5 +269,6 @@
--variable 8.3.0
--verbose (-v) 4.0
--version (-V) 4.0
--vlan-priority 8.9.0
--write-out (-w) 6.5
--xattr 7.21.3