32 lines
1.1 KiB
C
Executable File
32 lines
1.1 KiB
C
Executable File
/// \file
|
|
/// \brief \b [Internal] Defines the default maximum transfer unit.
|
|
///
|
|
/// This file is part of RakNet Copyright 2003 Jenkins Software LLC
|
|
///
|
|
/// Usage of RakNet is subject to the appropriate license agreement.
|
|
|
|
|
|
#ifndef MAXIMUM_MTU_SIZE
|
|
|
|
/// \li \em 17914 16 Mbit/Sec Token Ring
|
|
/// \li \em 4464 4 Mbits/Sec Token Ring
|
|
/// \li \em 4352 FDDI
|
|
/// \li \em 1500. The largest Ethernet packet size \b recommended. This is the typical setting for non-PPPoE, non-VPN connections. The default value for NETGEAR routers, adapters and switches.
|
|
/// \li \em 1492. The size PPPoE prefers.
|
|
/// \li \em 1472. Maximum size to use for pinging. (Bigger packets are fragmented.)
|
|
/// \li \em 1468. The size DHCP prefers.
|
|
/// \li \em 1460. Usable by AOL if you don't have large email attachments, etc.
|
|
/// \li \em 1430. The size VPN and PPTP prefer.
|
|
/// \li \em 1400. Maximum size for AOL DSL.
|
|
/// \li \em 576. Typical value to connect to dial-up ISPs.
|
|
/// The largest value for an UDP datagram
|
|
|
|
|
|
|
|
#define MAXIMUM_MTU_SIZE 1492
|
|
|
|
|
|
#define MINIMUM_MTU_SIZE 400
|
|
|
|
#endif
|