In some Ethernet framing variants the two-byte protocol field is used as a length, with the Ethernet header being followed by an IEEE 802.2 LLC header. The first two bytes of the LLC header are the DSAP and SSAP. If the received Ethernet packet appears to use this framing, then interpret the two-byte DSAP and SSAP as being the network-layer protocol. This allows support for receiving Spanning Tree Protocol frames (which use an LLC header with {DSAP,SSAP}=0x4242) to be added without requiring a full LLC protocol layer. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
46 |
|
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
49 |
|
67 |
|
50 |
|
68 |
|
51 |
|
69 |
|
|
|
||
84 |
|
102 |
|
85 |
|
103 |
|
86 |
|
104 |
|
|
105 |
|
|
87 |
|
106 |
|
88 |
|
|
|
89 |
|
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
90 |
|
113 |
|
91 |
|
114 |
|
92 |
|
115 |
|
|
|
||
104 |
|
127 |
|
105 |
|
128 |
|
106 |
|
129 |
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
107 |
|
141 |
|
108 |
|
142 |
|
109 |
|
143 |
|