#include "../Include_i.h"
Macros | |
#define | LOG_CLASS "SCTP" |
Functions | |
STATUS | initSctpAddrConn (PSctpSession pSctpSession, struct sockaddr_conn *sconn) |
STATUS | configureSctpSocket (struct socket *socket) |
STATUS | initSctpSession () |
VOID | deinitSctpSession () |
STATUS | createSctpSession (PSctpSessionCallbacks pSctpSessionCallbacks, PSctpSession *ppSctpSession) |
STATUS | freeSctpSession (PSctpSession *ppSctpSession) |
STATUS | sctpSessionWriteMessage (PSctpSession pSctpSession, UINT32 streamId, BOOL isBinary, PBYTE pMessage, UINT32 pMessageLen) |
STATUS | sctpSessionWriteDcep (PSctpSession pSctpSession, UINT32 streamId, PCHAR pChannelName, UINT32 pChannelNameLen, PRtcDataChannelInit pRtcDataChannelInit) |
INT32 | onSctpOutboundPacket (PVOID addr, PVOID data, ULONG length, UINT8 tos, UINT8 set_df) |
STATUS | putSctpPacket (PSctpSession pSctpSession, PBYTE buf, UINT32 bufLen) |
STATUS | handleDcepPacket (PSctpSession pSctpSession, UINT32 streamId, PBYTE data, SIZE_T length) |
INT32 | onSctpInboundPacket (struct socket *sock, union sctp_sockstore addr, PVOID data, ULONG length, struct sctp_rcvinfo rcv, INT32 flags, PVOID ulp_info) |
#define LOG_CLASS "SCTP" |
STATUS configureSctpSocket | ( | struct socket * | socket | ) |
STATUS createSctpSession | ( | PSctpSessionCallbacks | pSctpSessionCallbacks, |
PSctpSession * | ppSctpSession | ||
) |
VOID deinitSctpSession | ( | ) |
STATUS freeSctpSession | ( | PSctpSession * | ppSctpSession | ) |
STATUS handleDcepPacket | ( | PSctpSession | pSctpSession, |
UINT32 | streamId, | ||
PBYTE | data, | ||
SIZE_T | length | ||
) |
STATUS initSctpAddrConn | ( | PSctpSession | pSctpSession, |
struct sockaddr_conn * | sconn | ||
) |
STATUS initSctpSession | ( | ) |
INT32 onSctpInboundPacket | ( | struct socket * | sock, |
union sctp_sockstore | addr, | ||
PVOID | data, | ||
ULONG | length, | ||
struct sctp_rcvinfo | rcv, | ||
INT32 | flags, | ||
PVOID | ulp_info | ||
) |
INT32 onSctpOutboundPacket | ( | PVOID | addr, |
PVOID | data, | ||
ULONG | length, | ||
UINT8 | tos, | ||
UINT8 | set_df | ||
) |
STATUS putSctpPacket | ( | PSctpSession | pSctpSession, |
PBYTE | buf, | ||
UINT32 | bufLen | ||
) |
STATUS sctpSessionWriteDcep | ( | PSctpSession | pSctpSession, |
UINT32 | streamId, | ||
PCHAR | pChannelName, | ||
UINT32 | pChannelNameLen, | ||
PRtcDataChannelInit | pRtcDataChannelInit | ||
) |
STATUS sctpSessionWriteMessage | ( | PSctpSession | pSctpSession, |
UINT32 | streamId, | ||
BOOL | isBinary, | ||
PBYTE | pMessage, | ||
UINT32 | pMessageLen | ||
) |