ltm rule command GTP headerΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

GTP::header
       Allows for the parsing of GTP header information.

SYNOPSIS
       GTP::header ('version' | 'type') ('-message' MESSAGE)?

       GTP::header ('teid' | 'npdu' | 'sequence') ('-message' MESSAGE)?

       GTP::header ('teid' | 'npdu' | 'sequence') 'set' ('-message' MESSAGE)? VALUE

       GTP::header ('teid' | 'npdu' | 'sequence') 'remove' ('-message' MESSAGE)?

       GTP::header 'extension' ('exists' | 'length' | 'value' | 'remove') ('-message' MESSAGE)? EXTENTION

       GTP::header 'extension' 'count' ('-message' MESSAGE)? (TYPE)?

       GTP::header 'extension' 'list' ('-message' MESSAGE)?

       GTP::header 'extension' ('set' | 'append') ('-message' MESSAGE)? TYPE VALUE

DESCRIPTION
       Allows for the parsing of GTP header information. UINT -- Unsigned integer value of n bits. For n > 8,
       appropriate network to host byte order conversion happens transparently.

       Syntax

       GTP::header version

	    * GTPv1: 1 , GTPv2-C: 2

       GTP::header type

	    * GTPv1: UINT8 , GTPv2-C: UINT8

       GTP::header teid

	    * If absent, empty value is returned, not null

       GTP::header sequence

	    * If absent, empty value is returned, not null

       GTP::header npdu

	    * If absent, empty value is returned, not null

RETURN VALUE
VALID DURING
EXAMPLES
	when GTP_SIGNALLING_INGRESS {
	    log local0. "GTP version [GTP::header version]"
	    log local0. "GTP type [GTP::header type]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.5.0 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)