free5gc / gtp5g

GTP-U Linux Kernel Module
GNU General Public License v2.0
53 stars 63 forks source link

Support GTP-U Sequence number for DL pkt in psaUPF #91

Closed jessetu75 closed 7 months ago

jessetu75 commented 7 months ago

Support GTP-U sequence number in GTP-U optional header, the S bit is set to 1 in the GTP-U header. The sequence number ranges from 0 - 65535 (u16) and wraps around to 0 when the value reaches 65536. The sequence number is handled on a per GTP-U Tunnel (that is TEID) basis. [1] This is a configurable feature that can be turned on/off by sending a value to /proc/gtp5g/seq. This feature is enabled by default and can be disabled by executing echo 0 > /proc/gtp5g/seq.

[1] TS 29.281 4.3.1 Handling of Sequence Numbers