- 時間撮記:
- 2015-10-29 上午04:30:44 (9 年 以前)
- svn:sync-xref-src-repo-rev:
- 103777
- 位置:
- trunk/src/VBox/Devices/EFI/Firmware
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/EFI/Firmware ¶
- 屬性 svn:mergeinfo 變動
/vendor/edk2/current 已合併: 103769-103776
- 屬性 svn:mergeinfo 變動
-
TabularUnified trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/Udp4.h ¶
r58459 r58466 2 2 UDP4 Service Binding Protocol as defined in UEFI specification. 3 3 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. 6 6 7 7 Copyright (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. 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. 10 10 The 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. 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. 18 18 19 19 **/ … … 36 36 } 37 37 38 typedef struct _EFI_UDP4_PROTOCOL EFI_UDP4_PROTOCOL; 39 38 typedef struct _EFI_UDP4_PROTOCOL EFI_UDP4_PROTOCOL; 39 40 40 /// 41 41 /// EFI_UDP4_SERVICE_POINT is deprecated in the UEFI 2.4B and should not be used any more. … … 48 48 EFI_IPv4_ADDRESS RemoteAddress; 49 49 UINT16 RemotePort; 50 } EFI_UDP4_SERVICE_POINT; 50 } EFI_UDP4_SERVICE_POINT; 51 51 52 52 /// … … 102 102 EFI_IPv4_ADDRESS *GatewayAddress; //OPTIONAL 103 103 UINT32 DataLength; 104 UINT32 FragmentCount; 104 UINT32 FragmentCount; 105 105 EFI_UDP4_FRAGMENT_DATA FragmentTable[1]; 106 106 } EFI_UDP4_TRANSMIT_DATA; … … 153 153 OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, 154 154 OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL 155 ); 156 155 ); 156 157 157 158 158 /** 159 159 Initializes, changes, or resets the operational parameters for this instance of the EFI UDPv4 160 160 Protocol. 161 161 162 162 The Configure() function is used to do the following: 163 163 * Initialize and start this instance of the EFI UDPv4 Protocol. … … 191 191 EFI UDPv4 Protocol instance. 192 192 @retval EFI_DEVICE_ERROR An unexpected network or system error occurred and this instance 193 was not opened. 193 was not opened. 194 194 195 195 **/ … … 199 199 IN EFI_UDP4_PROTOCOL *This, 200 200 IN EFI_UDP4_CONFIG_DATA *UdpConfigData OPTIONAL 201 ); 201 ); 202 202 203 203 /** 204 204 Joins and leaves multicast groups. 205 205 206 206 The Groups() function is used to enable and disable the multicast group 207 207 filtering. If the JoinFlag is FALSE and the MulticastAddress is NULL, then all … … 236 236 IN BOOLEAN JoinFlag, 237 237 IN EFI_IPv4_ADDRESS *MulticastAddress OPTIONAL 238 ); 238 ); 239 239 240 240 /** 241 241 Adds and deletes routing table entries. 242 242 243 243 The Routes() function adds a route to or deletes a route from the routing table. 244 244 Routes are determined by comparing the SubnetAddress with the destination IP … … 284 284 IN EFI_IPv4_ADDRESS *SubnetMask, 285 285 IN EFI_IPv4_ADDRESS *GatewayAddress 286 ); 286 ); 287 287 288 288 /** 289 289 Polls for incoming data packets and processes outgoing data packets. 290 290 291 291 The Poll() function can be used by network drivers and applications to increase 292 292 the rate that data packets are moved between the communications device and the … … 310 310 (EFIAPI *EFI_UDP4_POLL)( 311 311 IN EFI_UDP4_PROTOCOL *This 312 ); 312 ); 313 313 314 314 /** 315 315 Places an asynchronous receive request into the receiving queue. 316 316 317 317 The Receive() function places a completion token into the receive packet queue. 318 318 This function is always asynchronous. … … 348 348 IN EFI_UDP4_PROTOCOL *This, 349 349 IN EFI_UDP4_COMPLETION_TOKEN *Token 350 ); 350 ); 351 351 352 352 /** 353 353 Queues outgoing data packets into the transmit queue. 354 354 355 355 The Transmit() function places a sending request to this instance of the EFI 356 356 UDPv4 Protocol, alongside the transmit data that was filled by the user. Whenever … … 385 385 IN EFI_UDP4_PROTOCOL *This, 386 386 IN EFI_UDP4_COMPLETION_TOKEN *Token 387 ); 387 ); 388 388 389 389 /** 390 390 Aborts an asynchronous transmit or receive request. 391 391 392 392 The Cancel() function is used to abort a pending transmit or receive request. 393 393 If the token is in the transmit or receive request queues, after calling this … … 420 420 IN EFI_UDP4_PROTOCOL *This, 421 421 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, 429 429 /// such as the routing table and group table, which are independent from each other. 430 430 ///
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器