Lines Matching refs:mtu
292 if(Global_Clatd_Config.mtu > MAXMTU) { in configure_interface()
293 logmsg(ANDROID_LOG_WARN,"Max MTU is %d, requested %d", MAXMTU, Global_Clatd_Config.mtu); in configure_interface()
294 Global_Clatd_Config.mtu = MAXMTU; in configure_interface()
296 if(Global_Clatd_Config.mtu <= 0) { in configure_interface()
297 Global_Clatd_Config.mtu = getifmtu(Global_Clatd_Config.default_pdp_interface); in configure_interface()
298 logmsg(ANDROID_LOG_WARN,"ifmtu=%d",Global_Clatd_Config.mtu); in configure_interface()
300 if(Global_Clatd_Config.mtu < 1280) { in configure_interface()
301 logmsg(ANDROID_LOG_WARN,"mtu too small = %d", Global_Clatd_Config.mtu); in configure_interface()
302 Global_Clatd_Config.mtu = 1280; in configure_interface()
306 Global_Clatd_Config.ipv4mtu > Global_Clatd_Config.mtu - MTU_DELTA) { in configure_interface()
307 Global_Clatd_Config.ipv4mtu = Global_Clatd_Config.mtu - MTU_DELTA; in configure_interface()