TianoCore EDK2 master
|
#include "Snp.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | PxeStop (SNP_DRIVER *Snp) |
EFI_STATUS EFIAPI | SnpUndi32Stop (IN EFI_SIMPLE_NETWORK_PROTOCOL *This) |
Implementation of stopping a network interface.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Stop.c.
EFI_STATUS PxeStop | ( | SNP_DRIVER * | Snp | ) |
EFI_STATUS EFIAPI SnpUndi32Stop | ( | IN EFI_SIMPLE_NETWORK_PROTOCOL * | This | ) |
Changes the state of a network interface from "started" to "stopped."
This function stops a network interface. This call is only valid if the network interface is in the started state. If the network interface was successfully stopped, then EFI_SUCCESS will be returned.
This | A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance. |
EFI_SUCCESS | The network interface was stopped. |
EFI_NOT_STARTED | The network interface has not been started. |
EFI_INVALID_PARAMETER | This parameter was NULL or did not point to a valid EFI_SIMPLE_NETWORK_PROTOCOL structure. |
EFI_DEVICE_ERROR | The command could not be sent to the network interface. |
EFI_UNSUPPORTED | This function is not supported by the network interface. |