2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS TCP/IP protocol driver
5 * PURPOSE: Per-socket connection information.
6 * PROGRAMMER: Jérôme Gardou
11 TDI_STATUS
SetConnectionInfo(TDIObjectID
*ID
,
12 PCONNECTION_ENDPOINT Connection
,
16 ASSERT(ID
->toi_type
== INFO_TYPE_CONNECTION
);
19 case TCP_SOCKET_NODELAY
:
22 if (BufferSize
< sizeof(BOOLEAN
))
23 return TDI_INVALID_PARAMETER
;
24 Set
= *(BOOLEAN
*)Buffer
;
25 return TCPSetNoDelay(Connection
, Set
);
28 DbgPrint("TCPIP: Unknown connection info ID: %u.\n", ID
->toi_id
);
31 return TDI_INVALID_PARAMETER
;