SCTP::payload¶
Description¶
Returns the accumulated SCTP data content, or replaces collected
payload with the specified data.
Syntax¶
SCTP::payload [<size>]
SCTP::payload replace <offset> <length> <data>
SCTP::payload length
SCTP::payload ppi
SCTP::payload sid
Examples¶
when CLIENT_ACCEPTED {
SCTP::collect 15
}
when CLIENT_DATA {
if { [SCTP::payload 15] contains "XYZ" } {
pool xyz_servers
} else {
pool web_servers
}
SCTP::release
}