TianoCore EDK2 master
Loading...
Searching...
No Matches
SnpShutdown.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI VirtioNetShutdown (IN EFI_SIMPLE_NETWORK_PROTOCOL *This)
 

Detailed Description

Implementation of the SNP.Shutdown() function and its private helpers if any.

Copyright (C) 2013, Red Hat, Inc. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
Copyright (c) 2017, AMD Inc, All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SnpShutdown.c.

Function Documentation

◆ VirtioNetShutdown()

EFI_STATUS EFIAPI VirtioNetShutdown ( IN EFI_SIMPLE_NETWORK_PROTOCOL This)

Resets a network adapter and leaves it in a state that is safe for another driver to initialize.

Parameters
ThisProtocol instance pointer.
Return values
EFI_SUCCESSThe network interface was shutdown.
EFI_NOT_STARTEDThe network interface has not been started.
EFI_INVALID_PARAMETEROne or more of the parameters has an unsupported value.
EFI_DEVICE_ERRORThe command could not be sent to the network interface.
EFI_UNSUPPORTEDThis function is not supported by the network interface.

Definition at line 35 of file SnpShutdown.c.