3 Copyright (c) 2007 Intel Corporation. All rights reserved
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
18 iSCSI Tcp4 IO related definitions.
22 #ifndef _ISCSI_TCP4_IO_H_
23 #define _ISCSI_TCP4_IO_H_
25 #include <Library/NetLib.h>
26 #include <protocol/Tcp4.h>
28 typedef struct _TCP4_IO_CONFIG_DATA
{
29 EFI_IPv4_ADDRESS LocalIp
;
30 EFI_IPv4_ADDRESS SubnetMask
;
31 EFI_IPv4_ADDRESS Gateway
;
33 EFI_IPv4_ADDRESS RemoteIp
;
35 } TCP4_IO_CONFIG_DATA
;
37 typedef struct _TCP4_IO
{
39 EFI_HANDLE Controller
;
42 EFI_TCP4_PROTOCOL
*Tcp4
;
44 EFI_TCP4_CONNECTION_TOKEN ConnToken
;
45 EFI_TCP4_IO_TOKEN TxToken
;
46 EFI_TCP4_IO_TOKEN RxToken
;
47 EFI_TCP4_CLOSE_TOKEN CloseToken
;
58 IN EFI_HANDLE Controller
,
59 IN TCP4_IO_CONFIG_DATA
*ConfigData
,