From 9a2652361a4285f3d30be9f8c77930dfd26cd7b2 Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Thu, 13 Apr 2017 16:21:03 -0700 Subject: transports: Added get_local_port() method to UDP transports --- host/include/uhd/transport/udp_zero_copy.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/transport/udp_zero_copy.hpp b/host/include/uhd/transport/udp_zero_copy.hpp index dcf020460..851e004d7 100644 --- a/host/include/uhd/transport/udp_zero_copy.hpp +++ b/host/include/uhd/transport/udp_zero_copy.hpp @@ -67,6 +67,8 @@ public: udp_zero_copy::buff_params& buff_params_out, const device_addr_t &hints = device_addr_t() ); + + virtual uint16_t get_local_port(void) const = 0; }; }} //namespace -- cgit v1.2.3