aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorAndrej Rode <andrej.rode@ettus.com>2017-04-13 16:21:03 -0700
committerMartin Braun <martin.braun@ettus.com>2017-04-14 09:20:08 -0700
commit9a2652361a4285f3d30be9f8c77930dfd26cd7b2 (patch)
tree28917d11622ce6a7090445ac4e10325f4a57dac6 /host/include
parent60cd1f601e7b8c6a1bef5bd52efcc4e312b1c9fa (diff)
downloaduhd-9a2652361a4285f3d30be9f8c77930dfd26cd7b2.tar.gz
uhd-9a2652361a4285f3d30be9f8c77930dfd26cd7b2.tar.bz2
uhd-9a2652361a4285f3d30be9f8c77930dfd26cd7b2.zip
transports: Added get_local_port() method to UDP transports
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/udp_zero_copy.hpp2
1 files changed, 2 insertions, 0 deletions
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