Amazon Kinesis Webrtc C SDK
Loading...
Searching...
No Matches
Sctp.c File Reference
#include "../Include_i.h"
Include dependency graph for Sctp.c:

Macros

#define LOG_CLASS   "SCTP"

Functions

PSctpContext acquireSctpContext ()
VOID releaseSctpContext (PSctpContext pSctpContext)
STATUS createSctpContext ()
STATUS cleanupSctpContext ()
STATUS initSctpAddrConn (PSctpSession pSctpSession, struct sockaddr_conn *sconn)
STATUS configureSctpSocket (struct socket *socket)
STATUS initSctpSession ()
VOID deinitSctpSession ()
STATUS createSctpSession (PSctpSessionCallbacks pSctpSessionCallbacks, TIMER_QUEUE_HANDLE timerQueueHandle, PSctpSession *ppSctpSession)
STATUS freeSctpSession (PSctpSession *ppSctpSession)
VOID sctpSessionSetSendInfo (struct sctp_sendv_spa *pSpa, UINT32 streamId, BOOL isBinary, PRtcDataChannelInit pRtcDataChannelInit, BOOL forceOrdered)
STATUS sctpSessionWriteMessage (PSctpSession pSctpSession, UINT32 streamId, BOOL isBinary, PBYTE pMessage, UINT32 pMessageLen, PRtcDataChannelInit pRtcDataChannelInit, BOOL forceOrdered)
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 sctpTimerCallback (UINT32 timerID, UINT64 currentTime, UINT64 customData)
VOID dcepParseChannelParameters (PBYTE data, PRtcDataChannelInit pRtcDataChannelInit)
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)

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "SCTP"

Function Documentation

◆ acquireSctpContext()

PSctpContext acquireSctpContext ( )
Here is the caller graph for this function:

◆ cleanupSctpContext()

STATUS cleanupSctpContext ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ configureSctpSocket()

STATUS configureSctpSocket ( struct socket * socket)
Here is the caller graph for this function:

◆ createSctpContext()

STATUS createSctpContext ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createSctpSession()

STATUS createSctpSession ( PSctpSessionCallbacks pSctpSessionCallbacks,
TIMER_QUEUE_HANDLE timerQueueHandle,
PSctpSession * ppSctpSession )
Here is the call graph for this function:

◆ dcepParseChannelParameters()

VOID dcepParseChannelParameters ( PBYTE data,
PRtcDataChannelInit pRtcDataChannelInit )
Here is the caller graph for this function:

◆ deinitSctpSession()

VOID deinitSctpSession ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeSctpSession()

STATUS freeSctpSession ( PSctpSession * ppSctpSession)
Here is the caller graph for this function:

◆ handleDcepPacket()

STATUS handleDcepPacket ( PSctpSession pSctpSession,
UINT32 streamId,
PBYTE data,
SIZE_T length )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSctpAddrConn()

STATUS initSctpAddrConn ( PSctpSession pSctpSession,
struct sockaddr_conn * sconn )
Here is the caller graph for this function:

◆ initSctpSession()

STATUS initSctpSession ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSctpInboundPacket()

INT32 onSctpInboundPacket ( struct socket * sock,
union sctp_sockstore addr,
PVOID data,
ULONG length,
struct sctp_rcvinfo rcv,
INT32 flags,
PVOID ulp_info )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSctpOutboundPacket()

INT32 onSctpOutboundPacket ( PVOID addr,
PVOID data,
ULONG length,
UINT8 tos,
UINT8 set_df )
Here is the caller graph for this function:

◆ putSctpPacket()

STATUS putSctpPacket ( PSctpSession pSctpSession,
PBYTE buf,
UINT32 bufLen )
Here is the caller graph for this function:

◆ releaseSctpContext()

VOID releaseSctpContext ( PSctpContext pSctpContext)
Here is the caller graph for this function:

◆ sctpSessionSetSendInfo()

VOID sctpSessionSetSendInfo ( struct sctp_sendv_spa * pSpa,
UINT32 streamId,
BOOL isBinary,
PRtcDataChannelInit pRtcDataChannelInit,
BOOL forceOrdered )
Here is the caller graph for this function:

◆ sctpSessionWriteDcep()

STATUS sctpSessionWriteDcep ( PSctpSession pSctpSession,
UINT32 streamId,
PCHAR pChannelName,
UINT32 pChannelNameLen,
PRtcDataChannelInit pRtcDataChannelInit )

◆ sctpSessionWriteMessage()

STATUS sctpSessionWriteMessage ( PSctpSession pSctpSession,
UINT32 streamId,
BOOL isBinary,
PBYTE pMessage,
UINT32 pMessageLen,
PRtcDataChannelInit pRtcDataChannelInit,
BOOL forceOrdered )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sctpTimerCallback()

STATUS sctpTimerCallback ( UINT32 timerID,
UINT64 currentTime,
UINT64 customData )
Here is the call graph for this function:
Here is the caller graph for this function: