In order to construct outgoing link-layer frames or parse incoming ones properly, some protocols (such as 802.11) need more state than is available in the existing variables passed to the link-layer protocol handlers. To remedy this, add struct net_device *netdev as the first argument to each of these functions, so that more information can be fetched from the link layer-private part of the network device. Updated all three call sites (netdevice.c, efi_snp.c, pxe_undi.c) and both implementations (ethernet.c, ipoib.c) of ll_protocol to use the new argument. Signed-off-by: Michael Brown <mcb30@etherboot.org>tags/v0.9.8
|
|
||
270 |
|
270 |
|
271 |
|
271 |
|
272 |
|
272 |
|
273 |
|
|
|
|
273 |
|
|
274 |
|
274 |
|
275 |
|
275 |
|
276 |
|
276 |
|
|
|
||
630 |
|
630 |
|
631 |
|
631 |
|
632 |
|
632 |
|
633 |
|
|
|
634 |
|
|
|
|
633 |
|
|
|
634 |
|
|
635 |
|
635 |
|
636 |
|
636 |
|
637 |
|
637 |
|
|
|
||
238 |
|
238 |
|
239 |
|
239 |
|
240 |
|
240 |
|
|
241 |
|
|
241 |
|
242 |
|
242 |
|
243 |
|
243 |
|
244 |
|
244 |
|
245 |
|
245 |
|
246 |
|
246 |
|
247 |
|
247 |
|
|
|
|
248 |
|
|
|
249 |
|
|
248 |
|
250 |
|
249 |
|
251 |
|
250 |
|
252 |
|
|
|
||
268 |
|
270 |
|
269 |
|
271 |
|
270 |
|
272 |
|
|
273 |
|
|
271 |
|
274 |
|
272 |
|
275 |
|
273 |
|
276 |
|
274 |
|
277 |
|
275 |
|
278 |
|
276 |
|
279 |
|
277 |
|
|
|
|
280 |
|
|
|
281 |
|
|
278 |
|
282 |
|
279 |
|
283 |
|
280 |
|
284 |
|
|
|
||
88 |
|
88 |
|
89 |
|
89 |
|
90 |
|
90 |
|
|
91 |
|
|
91 |
|
92 |
|
92 |
|
93 |
|
93 |
|
94 |
|
94 |
|
95 |
|
95 |
|
96 |
|
96 |
|
97 |
|
97 |
|
|
|
98 |
|
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
99 |
|
101 |
|
100 |
|
102 |
|
101 |
|
103 |
|
|
104 |
|
|
102 |
|
105 |
|
103 |
|
106 |
|
104 |
|
107 |
|
105 |
|
108 |
|
106 |
|
109 |
|
107 |
|
110 |
|
108 |
|
|
|
109 |
|
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
110 |
|
114 |
|
111 |
|
115 |
|
112 |
|
116 |
|
|
|
||
594 |
|
594 |
|
595 |
|
595 |
|
596 |
|
596 |
|
597 |
|
|
|
|
597 |
|
|
|
598 |
|
|
598 |
|
599 |
|
599 |
|
600 |
|
600 |
|
601 |
|
|
|
||
672 |
|
673 |
|
673 |
|
674 |
|
674 |
|
675 |
|
675 |
|
|
|
676 |
|
|
|
|
676 |
|
|
|
677 |
|
|
677 |
|
678 |
|
678 |
|
679 |
|
679 |
|
680 |
|
|
|
||
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
45 |
|
|
46 |
|
|
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
49 |
|
49 |
|
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
52 |
|
|
|
|
53 |
|
|
|
54 |
|
|
53 |
|
55 |
|
54 |
|
56 |
|
55 |
|
57 |
|
|
|
||
64 |
|
66 |
|
65 |
|
67 |
|
66 |
|
68 |
|
|
69 |
|
|
67 |
|
70 |
|
68 |
|
71 |
|
69 |
|
72 |
|
70 |
|
73 |
|
71 |
|
74 |
|
72 |
|
75 |
|
73 |
|
|
|
|
76 |
|
|
|
77 |
|
|
74 |
|
78 |
|
75 |
|
79 |
|
76 |
|
80 |
|
|
|
||
509 |
|
509 |
|
510 |
|
510 |
|
511 |
|
511 |
|
512 |
|
|
|
|
512 |
|
|
513 |
|
513 |
|
514 |
|
514 |
|
515 |
|
515 |
|
|
|
||
581 |
|
581 |
|
582 |
|
582 |
|
583 |
|
583 |
|
584 |
|
|
|
585 |
|
|
|
|
584 |
|
|
|
585 |
|
|
586 |
|
586 |
|
587 |
|
587 |
|
588 |
|
588 |
|