GTP::new

Description

Creates a new GTP message for given version & request-type. Valid values for version are 1 or 2 only. - Request-type: A value less than 256. - Returns a TCL object of type “GTP-Message”

See also GTP::parse

Syntax

GTP::new <version> <type>

Examples

when CLIENT_ACCEPTED {
    set t2 [GTP::new 2 10]
    log local0. "GTP version [GTP::header version -message $t2]"
    log local0. "GTP type [GTP::header type -message $t2]"
}

  • Introduced: BIGIP-11.6.0

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.