Lines Matching full:mru
152 ctx->lcp.my_options.mru = net_if_get_mtu(ctx->iface); in lcp_lower_up()
192 /* TODO: Set MRU/MTU of the network interface here */ in lcp_up()
220 return net_pkt_write_be16(pkt, ctx->lcp.my_options.mru); in lcp_add_mru()
227 uint16_t mru; in lcp_ack_mru() local
230 if (oplen != sizeof(mru)) { in lcp_ack_mru()
234 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_ack_mru()
238 if (mru != ctx->lcp.my_options.mru) { in lcp_ack_mru()
239 /* Didn't acked our MRU: */ in lcp_ack_mru()
250 uint16_t mru; in lcp_nak_mru() local
253 if (oplen != sizeof(mru)) { in lcp_nak_mru()
257 ret = net_pkt_read(pkt, &mru, sizeof(mru)); in lcp_nak_mru()
262 if (mru <= ctx->lcp.my_options.mru) { in lcp_nak_mru()
263 /* OK, reset the MRU also in our side: */ in lcp_nak_mru()
264 ctx->lcp.my_options.mru = mru; in lcp_nak_mru()
294 if (!ctx->lcp.my_options.mru) { in lcp_config_info_nack()
313 ctx->lcp.my_options.mru = net_if_get_mtu(ctx->iface); in lcp_init()