2 The EFI_SIMPLE_NETWORK_PROTOCOL provides services to initialize a network interface,
3 transmit packets, receive packets, and close a network interface.
5 Basic network device abstraction.
12 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
13 This program and the accompanying materials are licensed and made available under
14 the terms and conditions of the BSD License that accompanies this distribution.
15 The full text of the license may be found at
16 http://opensource.org/licenses/bsd-license.php.
18 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 @par Revision Reference:
22 This Protocol is introduced in EFI Specification 1.10.
26 #ifndef __SIMPLE_NETWORK_H__
27 #define __SIMPLE_NETWORK_H__
29 #define EFI_SIMPLE_NETWORK_PROTOCOL_GUID \
31 0xA19832B9, 0xAC25, 0x11D3, {0x9A, 0x2D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \
34 typedef struct _EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK_PROTOCOL
;
38 /// Protocol defined in EFI1.1.
40 typedef EFI_SIMPLE_NETWORK_PROTOCOL EFI_SIMPLE_NETWORK
;
43 /// Simple Network Protocol data structures.
47 /// Total number of frames received. Includes frames with errors and
53 /// Number of valid frames received and copied into receive buffers.
58 /// Number of frames below the minimum length for the media.
59 /// This would be <64 for ethernet.
61 UINT64 RxUndersizeFrames
;
64 /// Number of frames longer than the maxminum length for the
65 /// media. This would be >1500 for ethernet.
67 UINT64 RxOversizeFrames
;
70 /// Valid frames that were dropped because receive buffers were full.
72 UINT64 RxDroppedFrames
;
75 /// Number of valid unicast frames received and not dropped.
77 UINT64 RxUnicastFrames
;
80 /// Number of valid broadcast frames received and not dropped.
82 UINT64 RxBroadcastFrames
;
85 /// Number of valid mutlicast frames received and not dropped.
87 UINT64 RxMulticastFrames
;
90 /// Number of frames w/ CRC or alignment errors.
92 UINT64 RxCrcErrorFrames
;
95 /// Total number of bytes received. Includes frames with errors
96 /// and dropped frames.
101 /// Transmit statistics.
103 UINT64 TxTotalFrames
;
105 UINT64 TxUndersizeFrames
;
106 UINT64 TxOversizeFrames
;
107 UINT64 TxDroppedFrames
;
108 UINT64 TxUnicastFrames
;
109 UINT64 TxBroadcastFrames
;
110 UINT64 TxMulticastFrames
;
111 UINT64 TxCrcErrorFrames
;
115 /// Number of collisions detection on this subnet.
120 /// Number of frames destined for unsupported protocol.
122 UINT64 UnsupportedProtocol
;
125 /// Number of valid frames received that were duplicated.
127 UINT64 RxDuplicatedFrames
;
130 /// Number of encrypted frames received that failed to decrypt.
132 UINT64 RxDecryptErrorFrames
;
135 /// Number of frames that failed to transmit after exceeding the retry limit.
137 UINT64 TxErrorFrames
;
140 /// Number of frames transmitted successfully after more than one attempt.
142 UINT64 TxRetryFrames
;
143 } EFI_NETWORK_STATISTICS
;
146 /// The state of the network interface.
147 /// When an EFI_SIMPLE_NETWORK_PROTOCOL driver initializes a
148 /// network interface, the network interface is left in the EfiSimpleNetworkStopped state.
151 EfiSimpleNetworkStopped
,
152 EfiSimpleNetworkStarted
,
153 EfiSimpleNetworkInitialized
,
154 EfiSimpleNetworkMaxState
155 } EFI_SIMPLE_NETWORK_STATE
;
157 #define EFI_SIMPLE_NETWORK_RECEIVE_UNICAST 0x01
158 #define EFI_SIMPLE_NETWORK_RECEIVE_MULTICAST 0x02
159 #define EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST 0x04
160 #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS 0x08
161 #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST 0x10
163 #define EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT 0x01
164 #define EFI_SIMPLE_NETWORK_TRANSMIT_INTERRUPT 0x02
165 #define EFI_SIMPLE_NETWORK_COMMAND_INTERRUPT 0x04
166 #define EFI_SIMPLE_NETWORK_SOFTWARE_INTERRUPT 0x08
168 #define MAX_MCAST_FILTER_CNT 16
171 /// Reports the current state of the network interface.
175 /// The size, in bytes, of the network interface's HW address.
177 UINT32 HwAddressSize
;
179 /// The size, in bytes, of the network interface's media header.
181 UINT32 MediaHeaderSize
;
183 /// The maximum size, in bytes, of the packets supported by the network interface.
185 UINT32 MaxPacketSize
;
187 /// The size, in bytes, of the NVRAM device attached to the network interface.
191 /// The size that must be used for all NVRAM reads and writes. The
192 /// start address for NVRAM read and write operations and the total
193 /// length of those operations, must be a multiple of this value. The
194 /// legal values for this field are 0, 1, 2, 4, and 8.
196 UINT32 NvRamAccessSize
;
198 /// The multicast receive filter settings supported by the network interface.
200 UINT32 ReceiveFilterMask
;
202 /// The current multicast receive filter settings.
204 UINT32 ReceiveFilterSetting
;
206 /// The maximum number of multicast address receive filters supported by the driver.
208 UINT32 MaxMCastFilterCount
;
210 /// The current number of multicast address receive filters.
212 UINT32 MCastFilterCount
;
214 /// Array containing the addresses of the current multicast address receive filters.
216 EFI_MAC_ADDRESS MCastFilter
[MAX_MCAST_FILTER_CNT
];
218 /// The current HW MAC address for the network interface.
220 EFI_MAC_ADDRESS CurrentAddress
;
222 /// The current HW MAC address for broadcast packets.
224 EFI_MAC_ADDRESS BroadcastAddress
;
226 /// The permanent HW MAC address for the network interface.
228 EFI_MAC_ADDRESS PermanentAddress
;
230 /// The interface type of the network interface.
234 /// TRUE if the HW MAC address can be changed.
236 BOOLEAN MacAddressChangeable
;
238 /// TRUE if the network interface can transmit more than one packet at a time.
240 BOOLEAN MultipleTxSupported
;
242 /// TRUE if the presence of media can be determined; otherwise FALSE.
244 BOOLEAN MediaPresentSupported
;
246 /// TRUE if media are connected to the network interface; otherwise FALSE.
248 BOOLEAN MediaPresent
;
249 } EFI_SIMPLE_NETWORK_MODE
;
252 // Protocol Member Functions
255 Changes the state of a network interface from "stopped" to "started".
257 @param This Protocol instance pointer.
259 @retval EFI_SUCCESS The network interface was started.
260 @retval EFI_ALREADY_STARTED The network interface is already in the started state.
261 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
262 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
263 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
268 (EFIAPI
*EFI_SIMPLE_NETWORK_START
)(
269 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
273 Changes the state of a network interface from "started" to "stopped".
275 @param This Protocol instance pointer.
277 @retval EFI_SUCCESS The network interface was stopped.
278 @retval EFI_ALREADY_STARTED The network interface is already in the stopped state.
279 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
280 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
281 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
286 (EFIAPI
*EFI_SIMPLE_NETWORK_STOP
)(
287 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
291 Resets a network adapter and allocates the transmit and receive buffers
292 required by the network interface; optionally, also requests allocation
293 of additional transmit and receive buffers.
295 @param This The protocol instance pointer.
296 @param ExtraRxBufferSize The size, in bytes, of the extra receive buffer space
297 that the driver should allocate for the network interface.
298 Some network interfaces will not be able to use the extra
299 buffer, and the caller will not know if it is actually
301 @param ExtraTxBufferSize The size, in bytes, of the extra transmit buffer space
302 that the driver should allocate for the network interface.
303 Some network interfaces will not be able to use the extra
304 buffer, and the caller will not know if it is actually
307 @retval EFI_SUCCESS The network interface was initialized.
308 @retval EFI_NOT_STARTED The network interface has not been started.
309 @retval EFI_OUT_OF_RESOURCES There was not enough memory for the transmit and
311 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
312 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
313 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
318 (EFIAPI
*EFI_SIMPLE_NETWORK_INITIALIZE
)(
319 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
320 IN UINTN ExtraRxBufferSize OPTIONAL
,
321 IN UINTN ExtraTxBufferSize OPTIONAL
325 Resets a network adapter and re-initializes it with the parameters that were
326 provided in the previous call to Initialize().
328 @param This The protocol instance pointer.
329 @param ExtendedVerification Indicates that the driver may perform a more
330 exhaustive verification operation of the device
333 @retval EFI_SUCCESS The network interface was reset.
334 @retval EFI_NOT_STARTED The network interface has not been started.
335 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
336 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
337 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
342 (EFIAPI
*EFI_SIMPLE_NETWORK_RESET
)(
343 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
344 IN BOOLEAN ExtendedVerification
348 Resets a network adapter and leaves it in a state that is safe for
349 another driver to initialize.
351 @param This Protocol instance pointer.
353 @retval EFI_SUCCESS The network interface was shutdown.
354 @retval EFI_NOT_STARTED The network interface has not been started.
355 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
356 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
357 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
362 (EFIAPI
*EFI_SIMPLE_NETWORK_SHUTDOWN
)(
363 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
367 Manages the multicast receive filters of a network interface.
369 @param This The protocol instance pointer.
370 @param Enable A bit mask of receive filters to enable on the network interface.
371 @param Disable A bit mask of receive filters to disable on the network interface.
372 @param ResetMCastFilter Set to TRUE to reset the contents of the multicast receive
373 filters on the network interface to their default values.
374 @param McastFilterCnt Number of multicast HW MAC addresses in the new
375 MCastFilter list. This value must be less than or equal to
376 the MCastFilterCnt field of EFI_SIMPLE_NETWORK_MODE. This
377 field is optional if ResetMCastFilter is TRUE.
378 @param MCastFilter A pointer to a list of new multicast receive filter HW MAC
379 addresses. This list will replace any existing multicast
380 HW MAC address list. This field is optional if
381 ResetMCastFilter is TRUE.
383 @retval EFI_SUCCESS The multicast receive filter list was updated.
384 @retval EFI_NOT_STARTED The network interface has not been started.
385 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
386 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
387 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
392 (EFIAPI
*EFI_SIMPLE_NETWORK_RECEIVE_FILTERS
)(
393 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
396 IN BOOLEAN ResetMCastFilter
,
397 IN UINTN MCastFilterCnt OPTIONAL
,
398 IN EFI_MAC_ADDRESS
*MCastFilter OPTIONAL
402 Modifies or resets the current station address, if supported.
404 @param This The protocol instance pointer.
405 @param Reset Flag used to reset the station address to the network interfaces
407 @param New The new station address to be used for the network interface.
409 @retval EFI_SUCCESS The network interfaces station address was updated.
410 @retval EFI_NOT_STARTED The network interface has not been started.
411 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
412 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
413 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
418 (EFIAPI
*EFI_SIMPLE_NETWORK_STATION_ADDRESS
)(
419 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
421 IN EFI_MAC_ADDRESS
*New OPTIONAL
425 Resets or collects the statistics on a network interface.
427 @param This Protocol instance pointer.
428 @param Reset Set to TRUE to reset the statistics for the network interface.
429 @param StatisticsSize On input the size, in bytes, of StatisticsTable. On
430 output the size, in bytes, of the resulting table of
432 @param StatisticsTable A pointer to the EFI_NETWORK_STATISTICS structure that
433 contains the statistics.
435 @retval EFI_SUCCESS The statistics were collected from the network interface.
436 @retval EFI_NOT_STARTED The network interface has not been started.
437 @retval EFI_BUFFER_TOO_SMALL The Statistics buffer was too small. The current buffer
438 size needed to hold the statistics is returned in
440 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
441 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
442 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
447 (EFIAPI
*EFI_SIMPLE_NETWORK_STATISTICS
)(
448 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
450 IN OUT UINTN
*StatisticsSize OPTIONAL
,
451 OUT EFI_NETWORK_STATISTICS
*StatisticsTable OPTIONAL
455 Converts a multicast IP address to a multicast HW MAC address.
457 @param This The protocol instance pointer.
458 @param IPv6 Set to TRUE if the multicast IP address is IPv6 [RFC 2460]. Set
459 to FALSE if the multicast IP address is IPv4 [RFC 791].
460 @param IP The multicast IP address that is to be converted to a multicast
462 @param MAC The multicast HW MAC address that is to be generated from IP.
464 @retval EFI_SUCCESS The multicast IP address was mapped to the multicast
466 @retval EFI_NOT_STARTED The network interface has not been started.
467 @retval EFI_BUFFER_TOO_SMALL The Statistics buffer was too small. The current buffer
468 size needed to hold the statistics is returned in
470 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
471 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
472 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
477 (EFIAPI
*EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC
)(
478 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
480 IN EFI_IP_ADDRESS
*IP
,
481 OUT EFI_MAC_ADDRESS
*MAC
485 Performs read and write operations on the NVRAM device attached to a
488 @param This The protocol instance pointer.
489 @param ReadWrite TRUE for read operations, FALSE for write operations.
490 @param Offset Byte offset in the NVRAM device at which to start the read or
491 write operation. This must be a multiple of NvRamAccessSize and
493 @param BufferSize The number of bytes to read or write from the NVRAM device.
494 This must also be a multiple of NvramAccessSize.
495 @param Buffer A pointer to the data buffer.
497 @retval EFI_SUCCESS The NVRAM access was performed.
498 @retval EFI_NOT_STARTED The network interface has not been started.
499 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
500 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
501 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
506 (EFIAPI
*EFI_SIMPLE_NETWORK_NVDATA
)(
507 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
508 IN BOOLEAN ReadWrite
,
515 Reads the current interrupt status and recycled transmit buffer status from
518 @param This The protocol instance pointer.
519 @param InterruptStatus A pointer to the bit mask of the currently active interrupts
520 If this is NULL, the interrupt status will not be read from
521 the device. If this is not NULL, the interrupt status will
522 be read from the device. When the interrupt status is read,
523 it will also be cleared. Clearing the transmit interrupt
524 does not empty the recycled transmit buffer array.
525 @param TxBuf Recycled transmit buffer address. The network interface will
526 not transmit if its internal recycled transmit buffer array
527 is full. Reading the transmit buffer does not clear the
528 transmit interrupt. If this is NULL, then the transmit buffer
529 status will not be read. If there are no transmit buffers to
530 recycle and TxBuf is not NULL, * TxBuf will be set to NULL.
532 @retval EFI_SUCCESS The status of the network interface was retrieved.
533 @retval EFI_NOT_STARTED The network interface has not been started.
534 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
535 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
536 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
541 (EFIAPI
*EFI_SIMPLE_NETWORK_GET_STATUS
)(
542 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
543 OUT UINT32
*InterruptStatus OPTIONAL
,
544 OUT VOID
**TxBuf OPTIONAL
548 Places a packet in the transmit queue of a network interface.
550 @param This The protocol instance pointer.
551 @param HeaderSize The size, in bytes, of the media header to be filled in by
552 the Transmit() function. If HeaderSize is non-zero, then it
553 must be equal to This->Mode->MediaHeaderSize and the DestAddr
554 and Protocol parameters must not be NULL.
555 @param BufferSize The size, in bytes, of the entire packet (media header and
556 data) to be transmitted through the network interface.
557 @param Buffer A pointer to the packet (media header followed by data) to be
558 transmitted. This parameter cannot be NULL. If HeaderSize is zero,
559 then the media header in Buffer must already be filled in by the
560 caller. If HeaderSize is non-zero, then the media header will be
561 filled in by the Transmit() function.
562 @param SrcAddr The source HW MAC address. If HeaderSize is zero, then this parameter
563 is ignored. If HeaderSize is non-zero and SrcAddr is NULL, then
564 This->Mode->CurrentAddress is used for the source HW MAC address.
565 @param DestAddr The destination HW MAC address. If HeaderSize is zero, then this
566 parameter is ignored.
567 @param Protocol The type of header to build. If HeaderSize is zero, then this
568 parameter is ignored. See RFC 1700, section "Ether Types", for
571 @retval EFI_SUCCESS The packet was placed on the transmit queue.
572 @retval EFI_NOT_STARTED The network interface has not been started.
573 @retval EFI_NOT_READY The network interface is too busy to accept this transmit request.
574 @retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.
575 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
576 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
577 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
582 (EFIAPI
*EFI_SIMPLE_NETWORK_TRANSMIT
)(
583 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
587 IN EFI_MAC_ADDRESS
*SrcAddr OPTIONAL
,
588 IN EFI_MAC_ADDRESS
*DestAddr OPTIONAL
,
589 IN UINT16
*Protocol OPTIONAL
593 Receives a packet from a network interface.
595 @param This The protocol instance pointer.
596 @param HeaderSize The size, in bytes, of the media header received on the network
597 interface. If this parameter is NULL, then the media header size
598 will not be returned.
599 @param BufferSize On entry, the size, in bytes, of Buffer. On exit, the size, in
600 bytes, of the packet that was received on the network interface.
601 @param Buffer A pointer to the data buffer to receive both the media header and
603 @param SrcAddr The source HW MAC address. If this parameter is NULL, the
604 HW MAC source address will not be extracted from the media
606 @param DestAddr The destination HW MAC address. If this parameter is NULL,
607 the HW MAC destination address will not be extracted from the
609 @param Protocol The media header type. If this parameter is NULL, then the
610 protocol will not be extracted from the media header. See
611 RFC 1700 section "Ether Types" for examples.
613 @retval EFI_SUCCESS The received data was stored in Buffer, and BufferSize has
614 been updated to the number of bytes received.
615 @retval EFI_NOT_STARTED The network interface has not been started.
616 @retval EFI_NOT_READY The network interface is too busy to accept this transmit
618 @retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.
619 @retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.
620 @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.
621 @retval EFI_UNSUPPORTED This function is not supported by the network interface.
626 (EFIAPI
*EFI_SIMPLE_NETWORK_RECEIVE
)(
627 IN EFI_SIMPLE_NETWORK_PROTOCOL
*This
,
628 OUT UINTN
*HeaderSize OPTIONAL
,
629 IN OUT UINTN
*BufferSize
,
631 OUT EFI_MAC_ADDRESS
*SrcAddr OPTIONAL
,
632 OUT EFI_MAC_ADDRESS
*DestAddr OPTIONAL
,
633 OUT UINT16
*Protocol OPTIONAL
636 #define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION 0x00010000
639 // Revision defined in EFI1.1
641 #define EFI_SIMPLE_NETWORK_INTERFACE_REVISION EFI_SIMPLE_NETWORK_PROTOCOL_REVISION
644 /// The EFI_SIMPLE_NETWORK_PROTOCOL protocol is used to initialize access
645 /// to a network adapter. Once the network adapter initializes,
646 /// the EFI_SIMPLE_NETWORK_PROTOCOL protocol provides services that
647 /// allow packets to be transmitted and received.
649 struct _EFI_SIMPLE_NETWORK_PROTOCOL
{
651 /// Revision of the EFI_SIMPLE_NETWORK_PROTOCOL. All future revisions must
652 /// be backwards compatible. If a future version is not backwards compatible
653 /// it is not the same GUID.
656 EFI_SIMPLE_NETWORK_START Start
;
657 EFI_SIMPLE_NETWORK_STOP Stop
;
658 EFI_SIMPLE_NETWORK_INITIALIZE Initialize
;
659 EFI_SIMPLE_NETWORK_RESET Reset
;
660 EFI_SIMPLE_NETWORK_SHUTDOWN Shutdown
;
661 EFI_SIMPLE_NETWORK_RECEIVE_FILTERS ReceiveFilters
;
662 EFI_SIMPLE_NETWORK_STATION_ADDRESS StationAddress
;
663 EFI_SIMPLE_NETWORK_STATISTICS Statistics
;
664 EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC MCastIpToMac
;
665 EFI_SIMPLE_NETWORK_NVDATA NvData
;
666 EFI_SIMPLE_NETWORK_GET_STATUS GetStatus
;
667 EFI_SIMPLE_NETWORK_TRANSMIT Transmit
;
668 EFI_SIMPLE_NETWORK_RECEIVE Receive
;
670 /// Event used with WaitForEvent() to wait for a packet to be received.
672 EFI_EVENT WaitForPacket
;
674 /// Pointer to the EFI_SIMPLE_NETWORK_MODE data for the device.
676 EFI_SIMPLE_NETWORK_MODE
*Mode
;
679 extern EFI_GUID gEfiSimpleNetworkProtocolGuid
;