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

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)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "SCTP"

Function Documentation

◆ configureSctpSocket()

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

◆ createSctpSession()

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

◆ deinitSctpSession()

VOID deinitSctpSession ( )

◆ 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 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:

◆ 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:

◆ 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 
)
Here is the caller graph for this function: