mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
#5889: Sync with libutp before its API changed
This commit is contained in:
parent
72f9dc6f92
commit
7f46aeeccf
1 changed files with 1 additions and 1 deletions
2
third-party/libutp/utp_utils.cpp
vendored
2
third-party/libutp/utp_utils.cpp
vendored
|
@ -184,7 +184,7 @@ uint32 UTP_GetMilliseconds()
|
|||
|
||||
#define UDP_IPV4_MTU (ETHERNET_MTU - IPV4_HEADER_SIZE - UDP_HEADER_SIZE - GRE_HEADER_SIZE - PPPOE_HEADER_SIZE - MPPE_HEADER_SIZE - FUDGE_HEADER_SIZE)
|
||||
#define UDP_IPV6_MTU (ETHERNET_MTU - IPV6_HEADER_SIZE - UDP_HEADER_SIZE - GRE_HEADER_SIZE - PPPOE_HEADER_SIZE - MPPE_HEADER_SIZE - FUDGE_HEADER_SIZE)
|
||||
#define UDP_TEREDO_MTU (TEREDO_MTU - UDP_HEADER_SIZE)
|
||||
#define UDP_TEREDO_MTU (TEREDO_MTU - IPV6_HEADER_SIZE - UDP_HEADER_SIZE)
|
||||
|
||||
uint16 UTP_GetUDPMTU(const struct sockaddr *remote, socklen_t remotelen)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue