Commit 5871d62
committed
Define ETHERTYPE_{SLOW,LLDP} and accept them in pcap_nametoeproto()
The nomenclature for SLOW follows common practice; Linux uses
#define ETH_P_SLOW 0x8809 /* Slow Protocol. See 802.3ad 43B */
#define ETH_P_LLDP 0x88CC /* Link Layer Discovery Protocol */
SLOW carries IEEE 802.3 LACP, both defined in annex 57A of 802.3-2018:
https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8457469
and LLDP is defined in sexion 79 of the same.1 parent 419dac4 commit 5871d62
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
574 | 575 | | |
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
578 | 579 | | |
| 580 | + | |
579 | 581 | | |
580 | 582 | | |
581 | 583 | | |
| |||
0 commit comments