TianoCore EDK2 master
Loading...
Searching...
No Matches
Start.c File Reference
#include "Snp.h"

Go to the source code of this file.

Functions

EFI_STATUS PxeStart (IN SNP_DRIVER *Snp)
 
EFI_STATUS EFIAPI SnpUndi32Start (IN EFI_SIMPLE_NETWORK_PROTOCOL *This)
 

Detailed Description

Implementation of starting a network adapter.

Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Start.c.

Function Documentation

◆ PxeStart()

EFI_STATUS PxeStart ( IN SNP_DRIVER Snp)

Call UNDI to start the interface and changes the snp state.

Parameters
Snppointer to snp driver structure.
Return values
EFI_SUCCESSUNDI is started successfully.
EFI_DEVICE_ERRORUNDI could not be started.

Definition at line 21 of file Start.c.

◆ SnpUndi32Start()

EFI_STATUS EFIAPI SnpUndi32Start ( IN EFI_SIMPLE_NETWORK_PROTOCOL This)

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

This function starts a network interface. If the network interface successfully starts, then EFI_SUCCESS will be returned.

Parameters
ThisA pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance.
Return values
EFI_SUCCESSThe network interface was started.
EFI_ALREADY_STARTEDThe network interface is already in the started state.
EFI_INVALID_PARAMETERThis parameter was NULL or did not point to a valid EFI_SIMPLE_NETWORK_PROTOCOL structure.
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 113 of file Start.c.