On Fri, Mar 21, 2014 at 12:08:49PM +0100, pablo(a)gnumonks.org wrote:
From: Pablo Neira Ayuso <pablo(a)gnumonks.org>
This field needs to be in network byte order as well. This problem
may manifest if you use ggsn and sgsn with different endianness.
It also show up when using the gtp kernel mode since the downlink
packets are using network byte order in the 64-bits teid field,
which osmo-sgsn / libgtp doesn't expect.
---
v2: Add function to encapsulate the code to access and to build
the teid as Holger suggested.
looks good.