events

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

func IsMsgEORSet(flags int) bool

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

func IsNotification(flags int) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL