Lines Matching refs:mru
147 lcp_allowoptions[0].mru = conn->mtu; in PPPOEConnectDevice()
148 lcp_wantoptions[0].mru = conn->mru; in PPPOEConnectDevice()
164 if (lcp_allowoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice()
165 lcp_allowoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice()
166 if (lcp_wantoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice()
167 lcp_wantoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice()
242 PPPOERecvConfig(int mru, in PPPOERecvConfig() argument
248 if (mru > MAX_PPPOE_MTU) in PPPOERecvConfig()
249 warn("Couldn't increase MRU to %d", mru); in PPPOERecvConfig()
410 if (lcp_allowoptions[0].mru > MAX_PPPOE_MTU) in pppoe_check_options()
411 lcp_allowoptions[0].mru = MAX_PPPOE_MTU; in pppoe_check_options()
412 if (lcp_wantoptions[0].mru > MAX_PPPOE_MTU) in pppoe_check_options()
413 lcp_wantoptions[0].mru = MAX_PPPOE_MTU; in pppoe_check_options()
416 conn->mtu = lcp_allowoptions[0].mru; in pppoe_check_options()
417 conn->mru = lcp_wantoptions[0].mru; in pppoe_check_options()