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

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI VirtioNetStop (IN EFI_SIMPLE_NETWORK_PROTOCOL *This)
 

Detailed Description

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

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

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

Definition in file SnpStop.c.

Function Documentation

◆ VirtioNetStop()

EFI_STATUS EFIAPI VirtioNetStop ( IN EFI_SIMPLE_NETWORK_PROTOCOL This)

Changes the state of a network interface from "started" to "stopped".

Parameters
ThisProtocol instance pointer.
Return values
EFI_SUCCESSThe network interface was stopped.
EFI_ALREADY_STARTEDThe network interface is already in the stopped state.
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 34 of file SnpStop.c.