4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Implementation of stopping a network interface.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCopyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncThis program and the accompanying materials are licensed
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncand made available under the terms and conditions of the BSD License which
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncaccompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Call UNDI to stop the interface and changes the snp state.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Snp Pointer to snp driver structure
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The network interface was stopped.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR SNP is not initialized.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // Issue UNDI command
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync (*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync "\nsnp->undi.stop() %xh:%xh\n",
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync // Set simple network state to Started and return success.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Changes the state of a network interface from "started" to "stopped."
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This function stops a network interface. This call is only valid if the network
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync interface is in the started state. If the network interface was successfully
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync stopped, then EFI_SUCCESS will be returned.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param This A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The network interface was stopped.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_NOT_STARTED The network interface has not been started.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER This parameter was NULL or did not point to a
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync valid EFI_SIMPLE_NETWORK_PROTOCOL structure.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_DEVICE_ERROR The command could not be sent to the network
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_UNSUPPORTED This function is not supported by the network