USRP Hardware Driver and USRP Manual  Version: 3.13.0.HEAD-0-gf114cfa0
UHD and USRP Manual
udp_constants.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2014 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #ifndef INCLUDED_UHD_TRANSPORT_UDP_CONSTANTS_HPP
9 #define INCLUDED_UHD_TRANSPORT_UDP_CONSTANTS_HPP
10 
11 // Constants related to UDP (over Ethernet)
12 
13 static const size_t IP_PROTOCOL_MIN_MTU_SIZE = 576; //bytes
14 static const size_t IP_PROTOCOL_UDP_PLUS_IP_HEADER = 28; //bytes. Note that this is the minimum value!
15 
16 #endif /* INCLUDED_UHD_TRANSPORT_UDP_CONSTANTS_HPP */