USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
 
Loading...
Searching...
No Matches
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
13static const size_t IP_PROTOCOL_MIN_MTU_SIZE = 576; // bytes
14static const size_t IP_PROTOCOL_UDP_PLUS_IP_HEADER =
15 28; // bytes. Note that this is the minimum value!
16
17#endif /* INCLUDED_UHD_TRANSPORT_UDP_CONSTANTS_HPP */