Lines Matching refs:mtu
364 if (Global_Clatd_Config.mtu > MAXMTU) { in configure_interface()
365 logmsg(ANDROID_LOG_WARN, "Max MTU is %d, requested %d", MAXMTU, Global_Clatd_Config.mtu); in configure_interface()
366 Global_Clatd_Config.mtu = MAXMTU; in configure_interface()
368 if (Global_Clatd_Config.mtu <= 0) { in configure_interface()
369 Global_Clatd_Config.mtu = getifmtu(Global_Clatd_Config.default_pdp_interface); in configure_interface()
370 logmsg(ANDROID_LOG_WARN, "ifmtu=%d", Global_Clatd_Config.mtu); in configure_interface()
372 if (Global_Clatd_Config.mtu < 1280) { in configure_interface()
373 logmsg(ANDROID_LOG_WARN, "mtu too small = %d", Global_Clatd_Config.mtu); in configure_interface()
374 Global_Clatd_Config.mtu = 1280; in configure_interface()
378 Global_Clatd_Config.ipv4mtu > Global_Clatd_Config.mtu - MTU_DELTA) { in configure_interface()
379 Global_Clatd_Config.ipv4mtu = Global_Clatd_Config.mtu - MTU_DELTA; in configure_interface()