#include "../Include_i.h"
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) |
| #define LOG_CLASS "SCTP" |
| PSctpContext acquireSctpContext | ( | ) |

| STATUS cleanupSctpContext | ( | ) |


| STATUS configureSctpSocket | ( | struct socket * | socket | ) |

| STATUS createSctpContext | ( | ) |


| STATUS createSctpSession | ( | PSctpSessionCallbacks | pSctpSessionCallbacks, |
| TIMER_QUEUE_HANDLE | timerQueueHandle, | ||
| PSctpSession * | ppSctpSession ) |

| VOID dcepParseChannelParameters | ( | PBYTE | data, |
| PRtcDataChannelInit | pRtcDataChannelInit ) |

| 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 ) |

| VOID releaseSctpContext | ( | PSctpContext | pSctpContext | ) |

| VOID sctpSessionSetSendInfo | ( | struct sctp_sendv_spa * | pSpa, |
| UINT32 | streamId, | ||
| BOOL | isBinary, | ||
| PRtcDataChannelInit | pRtcDataChannelInit, | ||
| BOOL | forceOrdered ) |

| STATUS sctpSessionWriteDcep | ( | PSctpSession | pSctpSession, |
| UINT32 | streamId, | ||
| PCHAR | pChannelName, | ||
| UINT32 | pChannelNameLen, | ||
| PRtcDataChannelInit | pRtcDataChannelInit ) |
| STATUS sctpSessionWriteMessage | ( | PSctpSession | pSctpSession, |
| UINT32 | streamId, | ||
| BOOL | isBinary, | ||
| PBYTE | pMessage, | ||
| UINT32 | pMessageLen, | ||
| PRtcDataChannelInit | pRtcDataChannelInit, | ||
| BOOL | forceOrdered ) |


| STATUS sctpTimerCallback | ( | UINT32 | timerID, |
| UINT64 | currentTime, | ||
| UINT64 | customData ) |

