Changeset 14579


Ignore:
Timestamp:
Oct 16, 2015, 8:27:52 PM (6 years ago)
Author:
mikedld
Message:

#5889: Sync with libutp before its API changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libutp/utp_utils.cpp

    r13317 r14579  
    185185#define UDP_IPV4_MTU (ETHERNET_MTU - IPV4_HEADER_SIZE - UDP_HEADER_SIZE - GRE_HEADER_SIZE - PPPOE_HEADER_SIZE - MPPE_HEADER_SIZE - FUDGE_HEADER_SIZE)
    186186#define UDP_IPV6_MTU (ETHERNET_MTU - IPV6_HEADER_SIZE - UDP_HEADER_SIZE - GRE_HEADER_SIZE - PPPOE_HEADER_SIZE - MPPE_HEADER_SIZE - FUDGE_HEADER_SIZE)
    187 #define UDP_TEREDO_MTU (TEREDO_MTU - UDP_HEADER_SIZE)
     187#define UDP_TEREDO_MTU (TEREDO_MTU - IPV6_HEADER_SIZE - UDP_HEADER_SIZE)
    188188
    189189uint16 UTP_GetUDPMTU(const struct sockaddr *remote, socklen_t remotelen)
Note: See TracChangeset for help on using the changeset viewer.