ThomasHabets / arping

ARP Ping
http://www.habets.pp.se/synscan/programs.php
GNU General Public License v2.0
398 stars 62 forks source link

Add -Q for setting 802.1p priority. #17

Closed NikAleksandrov closed 9 years ago

NikAleksandrov commented 9 years ago

Priority is set to sent packets. -Q must be used with 802.1Q VLAN tag option (-V). This option allows to set the PCP field of the 802.1Q header to values 0 - 7.

Signed-off-by: Nikolay Aleksandrov razor@blackwall.org

ThomasHabets commented 9 years ago

I added some comments. Also the commit description could use some improvement. E.g.

Add -Q option to specify 802.1Q priority.

Priority is part of VLAN tag, so using -Q requires -V. Valid values are 0 (default) to 7.

Also collapse the commits into one commit.

NikAleksandrov commented 9 years ago

Okay, did all the changes in a new branch 8021p-v2. I'm closing this request and opening a new one for that branch. Thanks for the review.