VirtualBox

忽略:
時間撮記:
2015-10-29 上午04:30:44 (9 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
103777
訊息:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

位置:
trunk/src/VBox/Devices/EFI/Firmware
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/EFI/Firmware

  • TabularUnified trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/Udp4.h

    r58459 r58466  
    22  UDP4 Service Binding Protocol as defined in UEFI specification.
    33
    4   The EFI UDPv4 Protocol provides simple packet-oriented services 
    5   to transmit and receive UDP packets. 
     4  The EFI UDPv4 Protocol provides simple packet-oriented services
     5  to transmit and receive UDP packets.
    66
    77Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
    8 This program and the accompanying materials are licensed and made available under 
    9 the terms and conditions of the BSD License that accompanies this distribution. 
     8This program and the accompanying materials are licensed and made available under
     9the terms and conditions of the BSD License that accompanies this distribution.
    1010The full text of the license may be found at
    11 http://opensource.org/licenses/bsd-license.php.                                         
    12    
    13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
    14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.     
    15 
    16   @par Revision Reference:         
    17   This Protocol is introduced in UEFI Specification 2.0.       
     11http://opensource.org/licenses/bsd-license.php.
     12
     13THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     14WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     15
     16  @par Revision Reference:
     17  This Protocol is introduced in UEFI Specification 2.0.
    1818
    1919**/
     
    3636  }
    3737
    38 typedef struct _EFI_UDP4_PROTOCOL EFI_UDP4_PROTOCOL; 
    39  
     38typedef struct _EFI_UDP4_PROTOCOL EFI_UDP4_PROTOCOL;
     39
    4040///
    4141/// EFI_UDP4_SERVICE_POINT is deprecated in the UEFI 2.4B and should not be used any more.
     
    4848  EFI_IPv4_ADDRESS        RemoteAddress;
    4949  UINT16                  RemotePort;
    50 } EFI_UDP4_SERVICE_POINT; 
     50} EFI_UDP4_SERVICE_POINT;
    5151
    5252///
     
    102102  EFI_IPv4_ADDRESS          *GatewayAddress;       //OPTIONAL
    103103  UINT32                    DataLength;
    104   UINT32                    FragmentCount; 
     104  UINT32                    FragmentCount;
    105105  EFI_UDP4_FRAGMENT_DATA    FragmentTable[1];
    106106} EFI_UDP4_TRANSMIT_DATA;
     
    153153  OUT EFI_MANAGED_NETWORK_CONFIG_DATA  *MnpConfigData  OPTIONAL,
    154154  OUT EFI_SIMPLE_NETWORK_MODE          *SnpModeData    OPTIONAL
    155   ); 
    156  
     155  );
     156
    157157
    158158/**
    159159  Initializes, changes, or resets the operational parameters for this instance of the EFI UDPv4
    160160  Protocol.
    161  
     161
    162162  The Configure() function is used to do the following:
    163163  * Initialize and start this instance of the EFI UDPv4 Protocol.
     
    191191                                EFI UDPv4 Protocol instance.
    192192  @retval EFI_DEVICE_ERROR      An unexpected network or system error occurred and this instance
    193                                  was not opened. 
     193                                 was not opened.
    194194
    195195**/
     
    199199  IN EFI_UDP4_PROTOCOL      *This,
    200200  IN EFI_UDP4_CONFIG_DATA   *UdpConfigData OPTIONAL
    201   ); 
     201  );
    202202
    203203/**
    204204  Joins and leaves multicast groups.
    205  
     205
    206206  The Groups() function is used to enable and disable the multicast group
    207207  filtering. If the JoinFlag is FALSE and the MulticastAddress is NULL, then all
     
    236236  IN BOOLEAN                JoinFlag,
    237237  IN EFI_IPv4_ADDRESS       *MulticastAddress    OPTIONAL
    238   );   
     238  );
    239239
    240240/**
    241241  Adds and deletes routing table entries.
    242  
     242
    243243  The Routes() function adds a route to or deletes a route from the routing table.
    244244  Routes are determined by comparing the SubnetAddress with the destination IP
     
    284284  IN EFI_IPv4_ADDRESS       *SubnetMask,
    285285  IN EFI_IPv4_ADDRESS       *GatewayAddress
    286   );     
     286  );
    287287
    288288/**
    289289  Polls for incoming data packets and processes outgoing data packets.
    290  
     290
    291291  The Poll() function can be used by network drivers and applications to increase
    292292  the rate that data packets are moved between the communications device and the
     
    310310(EFIAPI *EFI_UDP4_POLL)(
    311311  IN EFI_UDP4_PROTOCOL      *This
    312   );   
     312  );
    313313
    314314/**
    315315  Places an asynchronous receive request into the receiving queue.
    316  
     316
    317317  The Receive() function places a completion token into the receive packet queue.
    318318  This function is always asynchronous.
     
    348348  IN EFI_UDP4_PROTOCOL          *This,
    349349  IN EFI_UDP4_COMPLETION_TOKEN  *Token
    350   );   
     350  );
    351351
    352352/**
    353353  Queues outgoing data packets into the transmit queue.
    354  
     354
    355355  The Transmit() function places a sending request to this instance of the EFI
    356356  UDPv4 Protocol, alongside the transmit data that was filled by the user. Whenever
     
    385385  IN EFI_UDP4_PROTOCOL           *This,
    386386  IN EFI_UDP4_COMPLETION_TOKEN   *Token
    387   );     
     387  );
    388388
    389389/**
    390390  Aborts an asynchronous transmit or receive request.
    391  
     391
    392392  The Cancel() function is used to abort a pending transmit or receive request.
    393393  If the token is in the transmit or receive request queues, after calling this
     
    420420  IN EFI_UDP4_PROTOCOL          *This,
    421421  IN EFI_UDP4_COMPLETION_TOKEN  *Token  OPTIONAL
    422   );       
    423 
    424 ///
    425 /// The EFI_UDP4_PROTOCOL defines an EFI UDPv4 Protocol session that can be used 
    426 /// by any network drivers, applications, or daemons to transmit or receive UDP packets. 
    427 /// This protocol instance can either be bound to a specified port as a service or 
    428 /// connected to some remote peer as an active client. Each instance has its own settings, 
     422  );
     423
     424///
     425/// The EFI_UDP4_PROTOCOL defines an EFI UDPv4 Protocol session that can be used
     426/// by any network drivers, applications, or daemons to transmit or receive UDP packets.
     427/// This protocol instance can either be bound to a specified port as a service or
     428/// connected to some remote peer as an active client. Each instance has its own settings,
    429429/// such as the routing table and group table, which are independent from each other.
    430430///
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette