commit | d53c6046bc315cd2ddbdeac86d3b574b371985b6 | [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 | e5a0798c9cc7f8b0d13f577791700a8633de308b [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