]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SimpleNetwork.h
Update Protocol for backward-compatible with EFI1.1.
[mirror_edk2.git] / MdePkg / Include / Protocol / SimpleNetwork.h
1 /** @file
2 Simple Network protocol as defined in the EFI 1.0 specification.
3
4 Basic network device abstraction.
5
6 Rx - Received
7 Tx - Transmit
8 MCast - MultiCast
9 ...
10
11 Copyright (c) 2006, Intel Corporation
12 All rights reserved. This program and the accompanying materials
13 are licensed and made available under the terms and conditions of the BSD License
14 which accompanies this distribution. The full text of the license may be found at
15 http://opensource.org/licenses/bsd-license.php
16
17 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19
20 Module Name: SimpleNetwork.h
21
22 **/
23
24 #ifndef __SIMPLE_NETWORK_H__
25 #define __SIMPLE_NETWORK_H__
26
27 #define EFI_SIMPLE_NETWORK_PROTOCOL_GUID \
28 { \
29 0xA19832B9, 0xAC25, 0x11D3, {0x9A, 0x2D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \
30 }
31
32 typedef struct _EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK_PROTOCOL;
33
34
35 //
36 // Protocol defined in EFI1.1.
37 //
38 typedef EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK;
39
40 //
41 // Simple Network Protocol data structures
42 //
43 typedef struct {
44 //
45 // Total number of frames received. Includes frames with errors and
46 // dropped frames.
47 //
48 UINT64 RxTotalFrames;
49
50 //
51 // Number of valid frames received and copied into receive buffers.
52 //
53 UINT64 RxGoodFrames;
54
55 //
56 // Number of frames below the minimum length for the media.
57 // This would be <64 for ethernet.
58 //
59 UINT64 RxUndersizeFrames;
60
61 //
62 // Number of frames longer than the maxminum length for the
63 // media. This would be >1500 for ethernet.
64 //
65 UINT64 RxOversizeFrames;
66
67 //
68 // Valid frames that were dropped because receive buffers were full.
69 //
70 UINT64 RxDroppedFrames;
71
72 //
73 // Number of valid unicast frames received and not dropped.
74 //
75 UINT64 RxUnicastFrames;
76
77 //
78 // Number of valid broadcast frames received and not dropped.
79 //
80 UINT64 RxBroadcastFrames;
81
82 //
83 // Number of valid mutlicast frames received and not dropped.
84 //
85 UINT64 RxMulticastFrames;
86
87 //
88 // Number of frames w/ CRC or alignment errors.
89 //
90 UINT64 RxCrcErrorFrames;
91
92 //
93 // Total number of bytes received. Includes frames with errors
94 // and dropped frames.
95 //
96 UINT64 RxTotalBytes;
97
98 //
99 // Transmit statistics.
100 //
101 UINT64 TxTotalFrames;
102 UINT64 TxGoodFrames;
103 UINT64 TxUndersizeFrames;
104 UINT64 TxOversizeFrames;
105 UINT64 TxDroppedFrames;
106 UINT64 TxUnicastFrames;
107 UINT64 TxBroadcastFrames;
108 UINT64 TxMulticastFrames;
109 UINT64 TxCrcErrorFrames;
110 UINT64 TxTotalBytes;
111
112 //
113 // Number of collisions detection on this subnet.
114 //
115 UINT64 Collisions;
116
117 //
118 // Number of frames destined for unsupported protocol.
119 //
120 UINT64 UnsupportedProtocol;
121
122 } EFI_NETWORK_STATISTICS;
123
124 typedef enum {
125 EfiSimpleNetworkStopped,
126 EfiSimpleNetworkStarted,
127 EfiSimpleNetworkInitialized,
128 EfiSimpleNetworkMaxState
129 } EFI_SIMPLE_NETWORK_STATE;
130
131 #define EFI_SIMPLE_NETWORK_RECEIVE_UNICAST 0x01
132 #define EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST 0x02
133 #define EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST 0x04
134 #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS 0x08
135 #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST 0x10
136
137 #define EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT 0x01
138 #define EFI_SIMPLE_NETWORK_TRANSMIT_INTERRUPT 0x02
139 #define EFI_SIMPLE_NETWORK_COMMAND_INTERRUPT 0x04
140 #define EFI_SIMPLE_NETWORK_SOFTWARE_INTERRUPT 0x08
141
142 #define MAX_MCAST_FILTER_CNT 16
143 typedef struct {
144 UINT32 State;
145 UINT32 HwAddressSize;
146 UINT32 MediaHeaderSize;
147 UINT32 MaxPacketSize;
148 UINT32 NvRamSize;
149 UINT32 NvRamAccessSize;
150 UINT32 ReceiveFilterMask;
151 UINT32 ReceiveFilterSetting;
152 UINT32 MaxMCastFilterCount;
153 UINT32 MCastFilterCount;
154 EFI_MAC_ADDRESS MCastFilter[MAX_MCAST_FILTER_CNT];
155 EFI_MAC_ADDRESS CurrentAddress;
156 EFI_MAC_ADDRESS BroadcastAddress;
157 EFI_MAC_ADDRESS PermanentAddress;
158 UINT8 IfType;
159 BOOLEAN MacAddressChangeable;
160 BOOLEAN MultipleTxSupported;
161 BOOLEAN MediaPresentSupported;
162 BOOLEAN MediaPresent;
163 } EFI_SIMPLE_NETWORK_MODE;
164
165 //
166 // Protocol Member Functions
167 //
168 /**
169 Changes the state of a network interface from "stopped" to "started".
170
171 @param This Protocol instance pointer.
172
173 @retval EFI_SUCCESS The network interface was started.
174 @retval EFI_ALREADY_STARTED The network interface is already in the started state.
175 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
176 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
177 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
178
179 **/
180 typedef
181 EFI_STATUS
182 (EFIAPI *EFI_SIMPLE_NETWORK_START) (
183 IN EFI_SIMPLE_NETWORK_PROTOCOL *This
184 )
185 ;
186
187 /**
188 Changes the state of a network interface from "started" to "stopped".
189
190 @param This Protocol instance pointer.
191
192 @retval EFI_SUCCESS The network interface was stopped.
193 @retval EFI_ALREADY_STARTED The network interface is already in the stopped state.
194 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
195 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
196 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
197
198 **/
199 typedef
200 EFI_STATUS
201 (EFIAPI *EFI_SIMPLE_NETWORK_STOP) (
202 IN EFI_SIMPLE_NETWORK_PROTOCOL *This
203 )
204 ;
205
206 /**
207 Resets a network adapter and allocates the transmit and receive buffers
208 required by the network interface; optionally, also requests allocation
209 of additional transmit and receive buffers.
210
211 @param This Protocol instance pointer.
212 @param ExtraRxBufferSize The size, in bytes, of the extra receive buffer space
213 that the driver should allocate for the network interface.
214 Some network interfaces will not be able to use the extra
215 buffer, and the caller will not know if it is actually
216 being used.
217 @param ExtraTxBufferSize The size, in bytes, of the extra transmit buffer space
218 that the driver should allocate for the network interface.
219 Some network interfaces will not be able to use the extra
220 buffer, and the caller will not know if it is actually
221 being used.
222
223 @retval EFI_SUCCESS The network interface was initialized.
224 @retval EFI_NOT_STARTED The network interface has not been started
225 @retval EFI_OUT_OF_RESOURCES There was not enough memory for the transmit and
226 receive buffers. .
227 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
228 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
229 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
230
231 **/
232 typedef
233 EFI_STATUS
234 (EFIAPI *EFI_SIMPLE_NETWORK_INITIALIZE) (
235 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
236 IN UINTN ExtraRxBufferSize OPTIONAL,
237 IN UINTN ExtraTxBufferSize OPTIONAL
238 )
239 ;
240
241 /**
242 Resets a network adapter and re-initializes it with the parameters that were
243 provided in the previous call to Initialize().
244
245 @param This Protocol instance pointer.
246 @param ExtendedVerification Indicates that the driver may perform a more
247 exhaustive verification operation of the device
248 during reset.
249
250 @retval EFI_SUCCESS The network interface was reset.
251 @retval EFI_NOT_STARTED The network interface has not been started
252 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
253 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
254 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
255
256 **/
257 typedef
258 EFI_STATUS
259 (EFIAPI *EFI_SIMPLE_NETWORK_RESET) (
260 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
261 IN BOOLEAN ExtendedVerification
262 )
263 ;
264
265 /**
266 Resets a network adapter and leaves it in a state that is safe for
267 another driver to initialize.
268
269 @param This Protocol instance pointer.
270
271 @retval EFI_SUCCESS The network interface was shutdown.
272 @retval EFI_NOT_STARTED The network interface has not been started
273 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
274 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
275 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
276
277 **/
278 typedef
279 EFI_STATUS
280 (EFIAPI *EFI_SIMPLE_NETWORK_SHUTDOWN) (
281 IN EFI_SIMPLE_NETWORK_PROTOCOL *This
282 )
283 ;
284
285 /**
286 Manages the multicast receive filters of a network interface.
287
288 @param This Protocol instance pointer.
289 @param Enable A bit mask of receive filters to enable on the network interface.
290 @param Disable A bit mask of receive filters to disable on the network interface.
291 @param ResetMCastFilter Set to TRUE to reset the contents of the multicast receive
292 filters on the network interface to their default values.
293 @param McastFilterCnt Number of multicast HW MAC addresses in the new
294 MCastFilter list. This value must be less than or equal to
295 the MCastFilterCnt field of EFI_SIMPLE_NETWORK_MODE. This
296 field is optional if ResetMCastFilter is TRUE.
297 @param MCastFilter A pointer to a list of new multicast receive filter HW MAC
298 addresses. This list will replace any existing multicast
299 HW MAC address list. This field is optional if
300 ResetMCastFilter is TRUE.
301
302 @retval EFI_SUCCESS The multicast receive filter list was updated.
303 @retval EFI_NOT_STARTED The network interface has not been started
304 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
305 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
306 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
307
308 **/
309 typedef
310 EFI_STATUS
311 (EFIAPI *EFI_SIMPLE_NETWORK_RECEIVE_FILTERS) (
312 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
313 IN UINT32 Enable,
314 IN UINT32 Disable,
315 IN BOOLEAN ResetMCastFilter,
316 IN UINTN MCastFilterCnt OPTIONAL,
317 IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL
318 )
319 ;
320
321 /**
322 Modifies or resets the current station address, if supported.
323
324 @param This Protocol instance pointer.
325 @param Reset Flag used to reset the station address to the network interfaces
326 permanent address.
327 @param New New station address to be used for the network interface.
328
329 @retval EFI_SUCCESS The network interfaces station address was updated.
330 @retval EFI_NOT_STARTED The network interface has not been started
331 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
332 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
333 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
334
335 **/
336 typedef
337 EFI_STATUS
338 (EFIAPI *EFI_SIMPLE_NETWORK_STATION_ADDRESS) (
339 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
340 IN BOOLEAN Reset,
341 IN EFI_MAC_ADDRESS *New OPTIONAL
342 )
343 ;
344
345 /**
346 Resets or collects the statistics on a network interface.
347
348 @param This Protocol instance pointer.
349 @param Reset Set to TRUE to reset the statistics for the network interface.
350 @param StatisticsSize On input the size, in bytes, of StatisticsTable. On
351 output the size, in bytes, of the resulting table of
352 statistics.
353 @param StatisticsTable A pointer to the EFI_NETWORK_STATISTICS structure that
354 contains the statistics.
355
356 @retval EFI_SUCCESS The statistics were collected from the network interface.
357 @retval EFI_NOT_STARTED The network interface has not been started.
358 @retval EFI_BUFFER_TOO_SMALL The Statistics buffer was too small. The current buffer
359 size needed to hold the statistics is returned in
360 StatisticsSize.
361 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
362 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
363 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
364
365 **/
366 typedef
367 EFI_STATUS
368 (EFIAPI *EFI_SIMPLE_NETWORK_STATISTICS) (
369 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
370 IN BOOLEAN Reset,
371 IN OUT UINTN *StatisticsSize OPTIONAL,
372 OUT EFI_NETWORK_STATISTICS *StatisticsTable OPTIONAL
373 )
374 ;
375
376 /**
377 Converts a multicast IP address to a multicast HW MAC address.
378
379 @param This Protocol instance pointer.
380 @param IPv6 Set to TRUE if the multicast IP address is IPv6 [RFC 2460]. Set
381 to FALSE if the multicast IP address is IPv4 [RFC 791].
382 @param IP The multicast IP address that is to be converted to a multicast
383 HW MAC address.
384 @param MAC The multicast HW MAC address that is to be generated from IP.
385
386 @retval EFI_SUCCESS The multicast IP address was mapped to the multicast
387 HW MAC address.
388 @retval EFI_NOT_STARTED The network interface has not been started.
389 @retval EFI_BUFFER_TOO_SMALL The Statistics buffer was too small. The current buffer
390 size needed to hold the statistics is returned in
391 StatisticsSize.
392 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
393 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
394 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
395
396 **/
397 typedef
398 EFI_STATUS
399 (EFIAPI *EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC) (
400 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
401 IN BOOLEAN IPv6,
402 IN EFI_IP_ADDRESS *IP,
403 OUT EFI_MAC_ADDRESS *MAC
404 )
405 ;
406
407 /**
408 Performs read and write operations on the NVRAM device attached to a
409 network interface.
410
411 @param This Protocol instance pointer.
412 @param ReadWrite TRUE for read operations, FALSE for write operations.
413 @param Offset Byte offset in the NVRAM device at which to start the read or
414 write operation. This must be a multiple of NvRamAccessSize and
415 less than NvRamSize.
416 @param BufferSize The number of bytes to read or write from the NVRAM device.
417 This must also be a multiple of NvramAccessSize.
418 @param Buffer A pointer to the data buffer.
419
420 @retval EFI_SUCCESS The NVRAM access was performed.
421 @retval EFI_NOT_STARTED The network interface has not been started.
422 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
423 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
424 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
425
426 **/
427 typedef
428 EFI_STATUS
429 (EFIAPI *EFI_SIMPLE_NETWORK_NVDATA) (
430 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
431 IN BOOLEAN ReadWrite,
432 IN UINTN Offset,
433 IN UINTN BufferSize,
434 IN OUT VOID *Buffer
435 )
436 ;
437
438 /**
439 Reads the current interrupt status and recycled transmit buffer status from
440 a network interface.
441
442 @param This Protocol instance pointer.
443 @param InterruptStatus A pointer to the bit mask of the currently active interrupts
444 If this is NULL, the interrupt status will not be read from
445 the device. If this is not NULL, the interrupt status will
446 be read from the device. When the interrupt status is read,
447 it will also be cleared. Clearing the transmit interrupt
448 does not empty the recycled transmit buffer array.
449 @param TxBuf Recycled transmit buffer address. The network interface will
450 not transmit if its internal recycled transmit buffer array
451 is full. Reading the transmit buffer does not clear the
452 transmit interrupt. If this is NULL, then the transmit buffer
453 status will not be read. If there are no transmit buffers to
454 recycle and TxBuf is not NULL, * TxBuf will be set to NULL.
455
456 @retval EFI_SUCCESS The status of the network interface was retrieved.
457 @retval EFI_NOT_STARTED The network interface has not been started.
458 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
459 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
460 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
461
462 **/
463 typedef
464 EFI_STATUS
465 (EFIAPI *EFI_SIMPLE_NETWORK_GET_STATUS) (
466 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
467 OUT UINT32 *InterruptStatus OPTIONAL,
468 OUT VOID **TxBuf OPTIONAL
469 )
470 ;
471
472 /**
473 Places a packet in the transmit queue of a network interface.
474
475 @param This Protocol instance pointer.
476 @param HeaderSize The size, in bytes, of the media header to be filled in by
477 the Transmit() function. If HeaderSize is non-zero, then it
478 must be equal to This->Mode->MediaHeaderSize and the DestAddr
479 and Protocol parameters must not be NULL.
480 @param BufferSize The size, in bytes, of the entire packet (media header and
481 data) to be transmitted through the network interface.
482 @param Buffer A pointer to the packet (media header followed by data) to be
483 transmitted. This parameter cannot be NULL. If HeaderSize is zero,
484 then the media header in Buffer must already be filled in by the
485 caller. If HeaderSize is non-zero, then the media header will be
486 filled in by the Transmit() function.
487 @param SrcAddr The source HW MAC address. If HeaderSize is zero, then this parameter
488 is ignored. If HeaderSize is non-zero and SrcAddr is NULL, then
489 This->Mode->CurrentAddress is used for the source HW MAC address.
490 @param DsetAddr The destination HW MAC address. If HeaderSize is zero, then this
491 parameter is ignored.
492 @param Protocol The type of header to build. If HeaderSize is zero, then this
493 parameter is ignored. See RFC 1700, section "Ether Types", for
494 examples.
495
496 @retval EFI_SUCCESS The packet was placed on the transmit queue.
497 @retval EFI_NOT_STARTED The network interface has not been started.
498 @retval EFI_NOT_READY The network interface is too busy to accept this transmit request.
499 @retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.
500 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
501 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
502 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
503
504 **/
505 typedef
506 EFI_STATUS
507 (EFIAPI *EFI_SIMPLE_NETWORK_TRANSMIT) (
508 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
509 IN UINTN HeaderSize,
510 IN UINTN BufferSize,
511 IN VOID *Buffer,
512 IN EFI_MAC_ADDRESS *SrcAddr OPTIONAL,
513 IN EFI_MAC_ADDRESS *DestAddr OPTIONAL,
514 IN UINT16 *Protocol OPTIONAL
515 )
516 ;
517
518 /**
519 Receives a packet from a network interface.
520
521 @param This Protocol instance pointer.
522 @param HeaderSize The size, in bytes, of the media header received on the network
523 interface. If this parameter is NULL, then the media header size
524 will not be returned.
525 @param BufferSize On entry, the size, in bytes, of Buffer. On exit, the size, in
526 bytes, of the packet that was received on the network interface.
527 @param Buffer A pointer to the data buffer to receive both the media header and
528 the data.
529 @param SrcAddr The source HW MAC address. If this parameter is NULL, the
530 HW MAC source address will not be extracted from the media
531 header.
532 @param DsetAddr The destination HW MAC address. If this parameter is NULL,
533 the HW MAC destination address will not be extracted from the
534 media header.
535 @param Protocol The media header type. If this parameter is NULL, then the
536 protocol will not be extracted from the media header. See
537 RFC 1700 section "Ether Types" for examples.
538
539 @retval EFI_SUCCESS The received data was stored in Buffer, and BufferSize has
540 been updated to the number of bytes received.
541 @retval EFI_NOT_STARTED The network interface has not been started.
542 @retval EFI_NOT_READY The network interface is too busy to accept this transmit
543 request.
544 @retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.
545 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
546 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
547 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
548
549 **/
550 typedef
551 EFI_STATUS
552 (EFIAPI *EFI_SIMPLE_NETWORK_RECEIVE) (
553 IN EFI_SIMPLE_NETWORK_PROTOCOL *This,
554 OUT UINTN *HeaderSize OPTIONAL,
555 IN OUT UINTN *BufferSize,
556 OUT VOID *Buffer,
557 OUT EFI_MAC_ADDRESS *SrcAddr OPTIONAL,
558 OUT EFI_MAC_ADDRESS *DestAddr OPTIONAL,
559 OUT UINT16 *Protocol OPTIONAL
560 )
561 ;
562
563 #define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION 0x00010000
564
565 //
566 // Revision defined in EFI1.1
567 //
568 #define EFI_SIMPLE_NETWORK_INTERFACE_REVISION EFI_SIMPLE_NETWORK_PROTOCOL_REVISION
569
570 struct _EFI_SIMPLE_NETWORK_PROTOCOL {
571 UINT64 Revision;
572 EFI_SIMPLE_NETWORK_START Start;
573 EFI_SIMPLE_NETWORK_STOP Stop;
574 EFI_SIMPLE_NETWORK_INITIALIZE Initialize;
575 EFI_SIMPLE_NETWORK_RESET Reset;
576 EFI_SIMPLE_NETWORK_SHUTDOWN Shutdown;
577 EFI_SIMPLE_NETWORK_RECEIVE_FILTERS ReceiveFilters;
578 EFI_SIMPLE_NETWORK_STATION_ADDRESS StationAddress;
579 EFI_SIMPLE_NETWORK_STATISTICS Statistics;
580 EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC MCastIpToMac;
581 EFI_SIMPLE_NETWORK_NVDATA NvData;
582 EFI_SIMPLE_NETWORK_GET_STATUS GetStatus;
583 EFI_SIMPLE_NETWORK_TRANSMIT Transmit;
584 EFI_SIMPLE_NETWORK_RECEIVE Receive;
585 EFI_EVENT WaitForPacket;
586 EFI_SIMPLE_NETWORK_MODE *Mode;
587 };
588
589 extern EFI_GUID gEfiSimpleNetworkProtocolGuid;
590
591 #endif