commit | e921e32c828e4c4a62fa3edc17bf49abf8e6d8d7 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Wed Nov 11 00:45:50 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon Nov 16 15:16:37 2015 +0100 |
tree | 3577da8104efab204e0579d0ac16306a16bb61b9 | |
parent | c227594394ddd00e11b8e57cfd16182338cef131 [diff] |
gtphub: fix User plane decoding, add unit test. Split decoding return code GTP_RC_PDU in GTP_RC_PDU_C and GTP_RC_PDU_U. Don't do IEs in GTP_RC_PDU_U. Add a unit test for User plane data, expected to fail (nonstandard port case). In gtphub_test.c, tweak logging so that it is easily visible which test produced which output. Also add the global resolved_sgsn_addr and ggsn_sender, symmetrically to resolved_ggsn_add and sgsn_sender. Sponsored-by: On-Waves ehi