The iBFT has a VLAN field that should be filled in. Add the vlan_tag() function to extract the VLAN tag of a network device. Since VLAN support is optional, define a weak function that returns 0 when iPXE is built without VLAN support. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
61 | 61 |
|
62 | 62 |
|
63 | 63 |
|
64 |
|
|
64 | 65 |
|
65 | 66 |
|
66 | 67 |
|
|
||
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
36 |
|
|
36 | 37 |
|
37 | 38 |
|
38 | 39 |
|
|
||
783 | 784 |
|
784 | 785 |
|
785 | 786 |
|
787 |
|
|
788 |
|
|
789 |
|
|
790 |
|
|
791 |
|
|
792 |
|
|
793 |
|
|
794 |
|
|
795 |
|
|
796 |
|
|
786 | 797 |
|
787 | 798 |
|
|
||
282 | 282 |
|
283 | 283 |
|
284 | 284 |
|
285 |
|
|
286 |
|
|
287 |
|
|
288 |
|
|
289 |
|
|
290 |
|
|
291 |
|
|
292 |
|
|
293 |
|
|
294 |
|
|
295 |
|
|
296 |
|
|
297 |
|
|
298 |
|
|
299 |
|
|
300 |
|
|
301 |
|
|
285 | 302 |
|
286 | 303 |
|
287 | 304 |
|