USRP Hardware Driver and USRP Manual Version: 4.1.0.3
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#pragma once
9
10// Constants related to UDP (over Ethernet)
11
12static const size_t IP_PROTOCOL_MIN_MTU_SIZE = 576; // bytes
13static const size_t IP_PROTOCOL_UDP_PLUS_IP_HEADER =
14 28; // bytes. Note that this is the minimum value!