Count number of GTP data packets on the N3 interface

Hi @muthuramanecs03g,

Thank you for the response.
However, I am not clear on how to get the tx and rx statistics per PDR. I’ll outline the steps I did below.

  • I updated the gtp5g source code (following the instructions here)

    Please find below the output of modinfo gtp5g

  • I downloaded the latest free5gc code and followed the instructions to install the latest nightly build.

  • I ran free5gc (including the UPF) along with UERANSIM. A PDU session was established, and I can list the PDRs using the libgtp5gnl scripts. This is the latest libgtp5gnl from the free5gc repo here.

  • I sent some packets through the UERANSIM interface and now I want to see the packet Tx and Rx statistics per PDU session. For this it would be useful to get the stats per PDR.

I cannot see any gtp5g interface in /proc
If I try to create a new gtp5g interface following the instructions here (Step 3), I get the following.

The free5gc UPF function created a upfgtp interface that is being used.
I am not sure what the relation between this upfgtp and gtp5g interface is.
I would like to see the tx and rx statistics per PDR.

Thanks for your help.