Add EFI_NO_MEDIA status code to network APIs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9917 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xdu2 2010-02-03 04:37:11 +00:00
parent b32fecd247
commit c5c3e7e25c
8 changed files with 18 additions and 7 deletions

View File

@ -4,7 +4,7 @@
These protocols are used to collect configuration information for the EFI IPv4 Protocol These protocols are used to collect configuration information for the EFI IPv4 Protocol
drivers and to provide DHCPv4 server and PXE boot server discovery services. drivers and to provide DHCPv4 server and PXE boot server discovery services.
Copyright (c) 2006 - 2009, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -532,6 +532,7 @@ EFI_STATUS
@retval EFI_ALREADY_STARTED Some other EFI DHCPv4 Protocol instance already started the @retval EFI_ALREADY_STARTED Some other EFI DHCPv4 Protocol instance already started the
DHCP process. DHCP process.
@retval EFI_DEVICE_ERROR An unexpected system or network error occurred. @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef

View File

@ -2,7 +2,7 @@
UEFI Dynamic Host Configuration Protocol 6 Definition, which is used to get IPv6 UEFI Dynamic Host Configuration Protocol 6 Definition, which is used to get IPv6
addresses and other configuration parameters from DHCPv6 servers. addresses and other configuration parameters from DHCPv6 servers.
Copyright (c) 2008 - 2009, Intel Corporation Copyright (c) 2008 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -504,6 +504,7 @@ EFI_STATUS
@retval EFI_NO_MAPPING No IPv6 address has been bound to the configured IA after the @retval EFI_NO_MAPPING No IPv6 address has been bound to the configured IA after the
DHCPv6 S.A.R.R process. DHCPv6 S.A.R.R process.
@retval EFI_ABORTED The DHCPv6 S.A.R.R process aborted by user. @retval EFI_ABORTED The DHCPv6 S.A.R.R process aborted by user.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef

View File

@ -538,6 +538,7 @@ typedef struct {
/// error occurred. /// error occurred.
/// - EFI_SECURITY_VIOLATION: The transmit or receive was /// - EFI_SECURITY_VIOLATION: The transmit or receive was
/// failed because of an IPsec policy check. /// failed because of an IPsec policy check.
/// - EFI_NO_MEDIA: There was a media error.
/// ///
EFI_STATUS Status; EFI_STATUS Status;
union { union {

View File

@ -1,7 +1,7 @@
/** @file /** @file
EFI Multicast Trivial File Tranfer Protocol Definition EFI Multicast Trivial File Tranfer Protocol Definition
Copyright (c) 2006 - 2009, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -354,6 +354,7 @@ EFI_STATUS
Note: It does not match UEFI 2.3 Specification. Note: It does not match UEFI 2.3 Specification.
@retval EFI_TIMEOUT No responses were received from the MTFTPv4 server. @retval EFI_TIMEOUT No responses were received from the MTFTPv4 server.
@retval EFI_DEVICE_ERROR An unexpected network error or system error occurred. @retval EFI_DEVICE_ERROR An unexpected network error or system error occurred.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef
@ -428,6 +429,7 @@ EFI_STATUS
@retval EFI_TIMEOUT No responses were received from the MTFTPv4 server. @retval EFI_TIMEOUT No responses were received from the MTFTPv4 server.
@retval EFI_TFTP_ERROR An MTFTPv4 ERROR packet was received. @retval EFI_TFTP_ERROR An MTFTPv4 ERROR packet was received.
@retval EFI_DEVICE_ERROR An unexpected network error or system error occurred. @retval EFI_DEVICE_ERROR An unexpected network error or system error occurred.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef

View File

@ -3,7 +3,7 @@
the EFI UDPv6 Protocol and provides basic services for client-side unicast and/or the EFI UDPv6 Protocol and provides basic services for client-side unicast and/or
multicast TFTP operations. multicast TFTP operations.
Copyright (c) 2008 - 2009, Intel Corporation Copyright (c) 2008 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -576,6 +576,7 @@ EFI_STATUS
@retval EFI_PROTOCOL_ERROR An unexpected MTFTPv6 packet was received and is in the Packet. @retval EFI_PROTOCOL_ERROR An unexpected MTFTPv6 packet was received and is in the Packet.
@retval EFI_TIMEOUT No responses were received from the MTFTPv6 server. @retval EFI_TIMEOUT No responses were received from the MTFTPv6 server.
@retval EFI_DEVICE_ERROR An unexpected network error or system error occurred. @retval EFI_DEVICE_ERROR An unexpected network error or system error occurred.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef
@ -668,6 +669,7 @@ EFI_STATUS
@retval EFI_TIMEOUT No responses were received from the MTFTPv6 server. @retval EFI_TIMEOUT No responses were received from the MTFTPv6 server.
@retval EFI_TFTP_ERROR An MTFTPv6 ERROR packet was received. @retval EFI_TFTP_ERROR An MTFTPv6 ERROR packet was received.
@retval EFI_DEVICE_ERROR An unexpected network error or system error occurred. @retval EFI_DEVICE_ERROR An unexpected network error or system error occurred.
@retval EFI_NO_MEDIA There was a media error.
**/ **/
typedef typedef

View File

@ -4,7 +4,7 @@
and destroy child of the driver to communicate with other host using TCP protocol. and destroy child of the driver to communicate with other host using TCP protocol.
The EFI TCPv4 Protocol provides services to send and receive data stream. The EFI TCPv4 Protocol provides services to send and receive data stream.
Copyright (c) 2006 - 2009, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -143,6 +143,7 @@ typedef struct {
/// EFI_ICMP_ERROR: The connection establishment timer timeout and some other ICMP /// EFI_ICMP_ERROR: The connection establishment timer timeout and some other ICMP
/// error is received. /// error is received.
/// EFI_DEVICE_ERROR: An unexpected system or network error occurred. /// EFI_DEVICE_ERROR: An unexpected system or network error occurred.
/// EFI_NO_MEDIA: There was a media error.
/// ///
EFI_TCP4_COMPLETION_TOKEN CompletionToken; EFI_TCP4_COMPLETION_TOKEN CompletionToken;
} EFI_TCP4_CONNECTION_TOKEN; } EFI_TCP4_CONNECTION_TOKEN;

View File

@ -4,7 +4,7 @@
and destroy child of the driver to communicate with other host using TCP protocol. and destroy child of the driver to communicate with other host using TCP protocol.
The EFI TCPv6 Protocol provides services to send and receive data stream. The EFI TCPv6 Protocol provides services to send and receive data stream.
Copyright (c) 2008 - 2009, Intel Corporation Copyright (c) 2008 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -307,6 +307,7 @@ typedef struct {
/// out and some other ICMP error is received. /// out and some other ICMP error is received.
/// EFI_DEVICE_ERROR: An unexpected system or network error occurred. /// EFI_DEVICE_ERROR: An unexpected system or network error occurred.
/// EFI_SECURITY_VIOLATION: The active open was failed because of IPSec policy check. /// EFI_SECURITY_VIOLATION: The active open was failed because of IPSec policy check.
/// EFI_NO_MEDIA: There was a media error.
/// ///
EFI_TCP6_COMPLETION_TOKEN CompletionToken; EFI_TCP6_COMPLETION_TOKEN CompletionToken;
} EFI_TCP6_CONNECTION_TOKEN; } EFI_TCP6_CONNECTION_TOKEN;
@ -435,6 +436,7 @@ typedef struct {
/// EFI_DEVICE_ERROR: An unexpected system or network error occurs. /// EFI_DEVICE_ERROR: An unexpected system or network error occurs.
/// EFI_SECURITY_VIOLATION: The receiving or transmission /// EFI_SECURITY_VIOLATION: The receiving or transmission
/// operation was failed because of IPSec policy check /// operation was failed because of IPSec policy check
/// EFI_NO_MEDIA: There was a media error.
/// ///
EFI_TCP6_COMPLETION_TOKEN CompletionToken; EFI_TCP6_COMPLETION_TOKEN CompletionToken;
union { union {

View File

@ -3,7 +3,7 @@
the EFI IPv6 Protocol and provides simple packet-oriented services to transmit and receive the EFI IPv6 Protocol and provides simple packet-oriented services to transmit and receive
UDP packets. UDP packets.
Copyright (c) 2008 - 2009, Intel Corporation Copyright (c) 2008 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -276,6 +276,7 @@ typedef struct {
/// and the destination sent an ICMP source quench report. RxData is set to NULL in this situation. /// and the destination sent an ICMP source quench report. RxData is set to NULL in this situation.
/// - EFI_DEVICE_ERROR: An unexpected system or network error occurred. /// - EFI_DEVICE_ERROR: An unexpected system or network error occurred.
/// - EFI_SECURITY_VIOLATION: The transmit or receive was failed because of IPsec policy check. /// - EFI_SECURITY_VIOLATION: The transmit or receive was failed because of IPsec policy check.
/// - EFI_NO_MEDIA: There was a media error.
/// ///
EFI_STATUS Status; EFI_STATUS Status;
union { union {