Teonet library
0.4.7
|
Go to the source code of this file.
Data Structures | |
struct | connect_r_packet |
Typedefs | |
typedef struct connect_r_packet | connect_r_packet_t |
Functions | |
uint8_t * | createCmdConnectRPacketUdp (ksnetEvMgrClass *event_manager, size_t *size_out) |
uint8_t * | createCmdConnectRPacketTcp (ksnetEvMgrClass *event_manager, size_t *size_out) |
uint8_t * | createCmdConnectPacket (ksnetEvMgrClass *event_manager, char *name, char *addr, uint32_t port, size_t *size_out) |
uint8_t * | createCmdResendPacket (char *to, uint8_t cmd, void *data, size_t data_len, size_t *size_out) |
typedef struct connect_r_packet connect_r_packet_t |
uint8_t* createCmdConnectPacket | ( | ksnetEvMgrClass * | event_manager, |
char * | name, | ||
char * | addr, | ||
uint32_t | port, | ||
size_t * | size_out | ||
) |
References free(), malloc(), teoGetFullAppTypeFromHostInfo(), and teoGetHostInfo().
Referenced by ksnCommandSendCmdConnect(), and ksnCommandSendCmdConnectA().
uint8_t* createCmdConnectRPacketTcp | ( | ksnetEvMgrClass * | event_manager, |
size_t * | size_out | ||
) |
References malloc().
Referenced by connect_r_host_cb().
uint8_t* createCmdConnectRPacketUdp | ( | ksnetEvMgrClass * | event_manager, |
size_t * | size_out | ||
) |
References free(), getIPs(), connect_r_packet::ip_counts, ip_is_private(), connect_r_packet::ips, ksnetEvMgrClass::kc, ksnet_stringArrFree(), ksnet_stringArrLength(), malloc(), connect_r_packet::port, ksnCoreClass::port, ksnetEvMgrClass::teo_cfg, teoGetFullAppTypeFromHostInfo(), teoGetHostInfo(), and connect_r_packet::type.
Referenced by connect_r_host_cb().
uint8_t* createCmdResendPacket | ( | char * | to, |
uint8_t | cmd, | ||
void * | data, | ||
size_t | data_len, | ||
size_t * | size_out | ||
) |
References malloc().