Hi Csaba and Pau,
On Fri, Dec 23, 2022 at 06:38:55PM +0100, Pau Espin Pedrol wrote:
You could try passing use_kernel=true to tun_new(), and see how far you can get. Patches welcome.
The GTP kernel module needs to be told if it operates in SGSN or GGSN mode.
grep for GTP_ROLE_SGSN in libgtpnl. I don't know all of the related functions off my head, but on the SGSN side you need to make sure to initialize the kernel GTP with GTP_ROLE_SGSN instead of GTP_ROLE_GGSN.