2023-09-30 14:02:30 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-23 23:44:45 +02:00
|
|
|
|
2023-10-03 11:04:33 +02:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_SendP2PPacket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType, params->nChannel );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *params = (struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize, params->nChannel );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_ReadP2PPacket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote, params->nChannel );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CloseP2PChannelWithUser( params->steamIDRemote, params->nChannel );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_GetP2PSessionState( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params *params = (struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *params = (struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->AllowP2PPacketRelay( params->bAllow );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_CreateListenSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_CreateConnectionSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_DestroySocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking006_DestroySocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_DestroyListenSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_SendDataOnSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailable( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveData( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking006_RetrieveData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketInfo( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_GetListenSocketInfo( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketConnectionType( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSocketConnectionType( params->hSocket );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamNetworking_SteamNetworking006_GetMaxPacketSize( void *args )
|
2019-12-11 20:59:25 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetMaxPacketSize( params->hSocket );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-12-11 20:59:25 +01:00
|
|
|
}
|
|
|
|
|