Hi Harald and Pau,
The GTP_ROLE_SGSN part is set in gtp_new(), for both the sgsn-emu.c
and the ggsn.c code. What I cant figure out is what to change in order
for that to be passed to the GTP kernel module... Spent some time
modifying the sgsnemu.c but the only thing I achieved was a
segmentation fault...
I am not even sure how can I distinguish which part is using the
kernel GTP headers and which part is using the internal GTP
implementation...
Modifying the tun_new() function to set the use_kernel parameter to
true is definitely not enough:
Line 1905 (sgsnemu.c):
if (tun_new((struct tun_t **)&tun, options.tun_dev_name, true, -1, -1)) {
Regards,
Csaba