Documentation ¶
Index ¶
- func GetNotfication(buf []byte, flags int) (*types.Notification, error)
- func IsMsgEORSet(flags int) bool
- func IsNotification(flags int) bool
- func IsSCTPAdaptationIndication(notification *types.Notification) bool
- func IsSCTPAssocChange(notification *types.Notification) bool
- func IsSCTPAuthenticationIndication(notification *types.Notification) bool
- func IsSCTPPartialDeliveryEvent(notification *types.Notification) bool
- func IsSCTPPeerAddrChange(notification *types.Notification) bool
- func IsSCTPRemoteError(notification *types.Notification) bool
- func IsSCTPSendFailed(notification *types.Notification) bool
- func IsSCTPSenderDryEvent(notification *types.Notification) bool
- func IsSCTPShutdownEvent(notification *types.Notification) bool
- func IsType(notification *types.Notification, notificationType types.NotificationType) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNotfication ¶
func GetNotfication(buf []byte, flags int) (*types.Notification, error)
GetNotfication extracts notfication from a given message
func IsMsgEORSet ¶
IsMsgEORSet checks if MsgEOR is set or not. If all data in a single message has been delivered, MSG_EOR will be set in the msg_flags field of the msghdr structure
func IsNotification ¶
IsNotification checks whether the given message is notification
func IsSCTPAdaptationIndication ¶
func IsSCTPAdaptationIndication(notification *types.Notification) bool
IsSCTPAdaptationIndication checks whether the given notfication is SCTP adaptation indication event
func IsSCTPAssocChange ¶
func IsSCTPAssocChange(notification *types.Notification) bool
IsSCTPAssocChange checks whether the given notfication is SCTP Association change event
func IsSCTPAuthenticationIndication ¶
func IsSCTPAuthenticationIndication(notification *types.Notification) bool
IsSCTPAuthenticationIndication checks whether the given notfication is SCTP authentication indication event
func IsSCTPPartialDeliveryEvent ¶
func IsSCTPPartialDeliveryEvent(notification *types.Notification) bool
IsSCTPPartialDeliveryEvent checks whether the given notfication is SCTP partial delivery event
func IsSCTPPeerAddrChange ¶
func IsSCTPPeerAddrChange(notification *types.Notification) bool
IsSCTPPeerAddrChange checks whether the given notfication is SCTP peer address change event
func IsSCTPRemoteError ¶
func IsSCTPRemoteError(notification *types.Notification) bool
IsSCTPRemoteError checks whether the given notfication is SCTP remote error event
func IsSCTPSendFailed ¶
func IsSCTPSendFailed(notification *types.Notification) bool
IsSCTPSendFailed checks whether the given notfication is SCTP send failed event
func IsSCTPSenderDryEvent ¶
func IsSCTPSenderDryEvent(notification *types.Notification) bool
IsSCTPSenderDryEvent checks whether the given notfication is SCTP sender dry event
func IsSCTPShutdownEvent ¶
func IsSCTPShutdownEvent(notification *types.Notification) bool
IsSCTPShutdownEvent checks whether the given notfication is SCTP shutdown
func IsType ¶
func IsType(notification *types.Notification, notificationType types.NotificationType) bool
IsType checks whether the given notification is of the given type
Types ¶
This section is empty.