diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-02 15:43:10 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-12-03 11:47:12 +0100 |
commit | 996ec1d73150366fa105b7d42ba8003fb018fcf8 (patch) | |
tree | e28855041a38c61e5d437d40202e017e5145a10e /openbsc/include | |
parent | 18d304961249c7815cf3a78ebd1697a4efd9ab42 (diff) |
gtphub: wrap gtphub_write() for test suite.
Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gtphub.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gtphub.h b/openbsc/include/openbsc/gtphub.h index a260fed75..c98603b4e 100644 --- a/openbsc/include/openbsc/gtphub.h +++ b/openbsc/include/openbsc/gtphub.h @@ -510,3 +510,7 @@ void gtphub_resolved_ggsn(struct gtphub *hub, const char *apn_oi_str, time_t now); const char *gtphub_port_str(struct gtphub_peer_port *port); + +int gtphub_write(const struct osmo_fd *to, + const struct osmo_sockaddr *to_addr, + const uint8_t *buf, size_t buf_len); |