commit | 59d72ca4370e4d602df88e76ba93ca6553c8dba5 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 13:59:49 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Dec 03 13:59:50 2015 +0100 |
tree | e6a013f23bfc90f5865a2bad619c4c2d2f2f57bc | |
parent | 3ebea0756658986945be7b0ad54bd3da28a4c87a [diff] |
gtphub: prepare: keep tunnel ref in gtp_packet_desc. Rather than passing a tunnel pointer as function arguments, keep it in the gtp_packet_desc struct passed around anyway. Reason: in the next commit (will add sgsn_use_sender), I need the tunnel to be passed back out to gtphub_handle_buf(), and besides simplifying existing code, this also makes passing the tunnel back out trivial. Sponsored-by: On-Waves ehi