ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Go to the source code of this file.
Functions | |
int | NetManInitRPCClient (void) |
void | NetManDeinitRPCClient (void) |
int | NetManRPCRegisterNetworkStack (void) |
int | NetManRPCUnregisterNetworkStack (void) |
int | NetManRpcIoctl (unsigned int command, void *arg, unsigned int arg_len, void *output, unsigned int length) |
void | NetManRpcNetIFXmit (void) |
void NetManDeinitRPCClient | ( | void | ) |
Definition at line 160 of file rpc_client.c.
References deinitCleanup(), IsInitialized, NETMAN_IOP_RPC_FUNC_DEINIT, NETMAN_rpc_cd, NetManIOSemaID, NULL, SifCallRpc(), and WaitSema().
Referenced by NetManDeinit().
int NetManInitRPCClient | ( | void | ) |
Definition at line 57 of file rpc_client.c.
References _gp, ee_sema_t::attr, ee_thread_t::attr, CreateSema(), CreateThread(), deinitCleanup(), ee_thread_t::func, ee_thread_t::gp_reg, ee_sema_t::init_count, ee_thread_t::initial_priority, IsInitialized, IsProcessingTx, ee_sema_t::max_count, NETMAN_IOP_RPC_FUNC_INIT, NETMAN_rpc_cd, NETMAN_RPC_NUMBER, NETMAN_Tx_threadID, NETMAN_Tx_ThreadStack, NETMAN_TxThread(), NetManIOSemaID, nopdelay(), NULL, ee_sema_t::option, ee_thread_t::option, ReceiveBuffer, result, SifRpcClientData_t::server, SifBindRpc(), SifCallRpc(), ee_thread_t::stack, ee_thread_t::stack_size, and StartThread().
Referenced by NetManInit().
int NetManRpcIoctl | ( | unsigned int | command, |
void * | arg, | ||
unsigned int | arg_len, | ||
void * | output, | ||
unsigned int | length | ||
) |
Definition at line 173 of file rpc_client.c.
References NetManIoctl::args, NetManIoctl::args_len, NetManIoctl::command, command, IoctlArgs, NetManIoctl::length, NETMAN_IOP_RPC_FUNC_IOCTL, NETMAN_rpc_cd, NetManIOSemaID, NULL, NetManIoctl::output, ReceiveBuffer, result, SifCallRpc(), SignalSema(), TransmitBuffer, and WaitSema().
Referenced by NetManIoctl().
void NetManRpcNetIFXmit | ( | void | ) |
Definition at line 284 of file rpc_client.c.
References IsProcessingTx, NETMAN_Tx_threadID, and WakeupThread().
Referenced by NetManNetIFXmit().
int NetManRPCRegisterNetworkStack | ( | void | ) |
Definition at line 109 of file rpc_client.c.
References ENOMEM, FrameBufferStatus, IOPFrameBuffer, IOPFrameBufferStatus, IOPFrameBufferWrPtr, NETMAN_IOP_RPC_FUNC_REG_NETWORK_STACK, NETMAN_RPC_BLOCK_SIZE, NETMAN_rpc_cd, NetManIOSemaID, NULL, ReceiveBuffer, result, SifCallRpc(), SignalSema(), TransmitBuffer, UNCACHED_SEG, and WaitSema().
Referenced by NetManRegisterNetworkStack().
int NetManRPCUnregisterNetworkStack | ( | void | ) |
Definition at line 142 of file rpc_client.c.
References FrameBufferStatus, IOPFrameBuffer, IOPFrameBufferWrPtr, NETMAN_IOP_RPC_FUNC_UNREG_NETWORK_STACK, NETMAN_rpc_cd, NetManIOSemaID, NULL, result, SifCallRpc(), SignalSema(), and WaitSema().
Referenced by NetManUnregisterNetworkStack().