Skip to content

Commit

Permalink
usingcurl/connections/vlan.md: explain --vlan-priority
Browse files Browse the repository at this point in the history
Fixes #466
  • Loading branch information
bagder committed Dec 19, 2024
1 parent d4f8665 commit 694bb9f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
* [Request rate limiting](usingcurl/transfers/request-rate.md)
* [Compression](usingcurl/transfers/compression.md)
* [Connections](usingcurl/connections/README.md)
* [VLAN](usingcurl/connections/vlan.md)
* [Name resolve tricks](usingcurl/connections/name.md)
* [Connection timeout](usingcurl/connections/timeout.md)
* [Happy Eyeballs](usingcurl/connections/happy.md)
Expand Down
1 change: 1 addition & 0 deletions usingcurl/connections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ For ordinary command line usage, operating on a URL, these are details which
are taken care of under the hood, and which you can mostly ignore. But at times
you might find yourself wanting to tweak the specifics…

* [VLAN](vlan.md)
* [Name resolve tricks](name.md)
* [Connection timeout](timeout.md)
* [Happy Eyeballs](happy.md)
Expand Down
11 changes: 11 additions & 0 deletions usingcurl/connections/vlan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# VLAN

With the `--vlan-priority` command line option you set a priority value betwen
0 and 7 that is set in the Ethernet header. It is thus limited to your local
network only and will not be used across any routers.

VLAN priority as defined in IEEE 802.1Q.

Example:

curl --vlan-priority 4 https://example.com

0 comments on commit 694bb9f

Please sign in to comment.