Skip to content

Remove INKUDPXX api #6245

Description

@scw00

If nobody use the these APIs, we can remove this or update it to TS API.

typedef void *INKUDPPacket;
typedef void *INKUDPacketQueue;
typedef void *INKUDPConn;
/* ===== UDP Connections ===== */
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi TSAction INKUDPBind(TSCont contp, unsigned int ip, int port);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi TSAction INKUDPSendTo(TSCont contp, INKUDPConn udp, unsigned int ip, int port, char *buf, int len);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi TSAction INKUDPRecvFrom(TSCont contp, INKUDPConn udp);
/****************************************************************************
* Return file descriptor.
* contact: OXYGEN
****************************************************************************/
tsapi int INKUDPConnFdGet(INKUDPConn udp);
/* ===== UDP Packet ===== */
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi INKUDPPacket INKUDPPacketCreate();
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi TSIOBufferBlock INKUDPPacketBufferBlockGet(INKUDPPacket packet);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi unsigned int INKUDPPacketFromAddressGet(INKUDPPacket packet);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi int INKUDPPacketFromPortGet(INKUDPPacket packet);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi INKUDPConn INKUDPPacketConnGet(INKUDPPacket packet);
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi void INKUDPPacketDestroy(INKUDPPacket packet);
/* ===== Packet Queue ===== */
/****************************************************************************
* contact: OXYGEN
****************************************************************************/
tsapi INKUDPPacket INKUDPPacketGet(INKUDPacketQueue queuep);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions