Searched refs:net_if_get_mtu (Results 1 – 16 of 16) sorted by relevance
152 ctx->lcp.my_options.mru = net_if_get_mtu(ctx->iface); in lcp_lower_up()313 ctx->lcp.my_options.mru = net_if_get_mtu(ctx->iface); in lcp_init()
310 conf.ipv4.udp.mtu = net_if_get_mtu(iface); in event_handler()
320 orig_mtu = net_if_get_mtu(remote_iface); in net_capture_setup()329 orig_mtu = net_if_get_mtu(remote_iface); in net_capture_setup()
265 config->mtu = net_if_get_mtu(iface); in interface_get_config()
467 net_if_get_mtu(net_pkt_iface(pkt))); in net_ipv4_prepare_for_send()
645 mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv4_prepare_for_send_fragment()
453 NET_ASSERT(net_pkt_get_len(pkt) <= net_if_get_mtu(pkt->iface)); in _tp_output()
4406 return net_if_get_mtu(iface); in get_ipv6_destination_mtu()4415 return net_if_get_mtu(iface); in get_ipv6_destination_mtu()4432 return net_if_get_mtu(iface); in get_ipv4_destination_mtu()4441 return net_if_get_mtu(iface); in get_ipv4_destination_mtu()
831 mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv6_prepare_for_send()936 net_if_get_mtu(iface)); in net_ipv6_prepare_for_send()
1933 mtu = net_if_get_mtu(iface); in get_context_mtu()1945 mtu = net_if_get_mtu(iface); in get_context_mtu()
1080 max_len = net_if_get_mtu(net_pkt_iface(pkt));
162 zassert_true(pkt_is_of_size(pkt, net_if_get_mtu(eth_if) + L2_HDR_SIZE), in ZTEST()197 net_if_get_mtu(eth_if), in ZTEST()
594 config->mtu = net_if_get_mtu(iface); in interface_get_config()
271 PR("MTU : %d\n", net_if_get_mtu(iface)); in iface_cb()
4258 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4UDPH_LEN)) { in start_socket_rx()4260 net_if_get_mtu(iface_ctx.iface) - NET_IPV4UDPH_LEN; in start_socket_rx()4264 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6UDPH_LEN)) { in start_socket_rx()4266 net_if_get_mtu(iface_ctx.iface) - NET_IPV6UDPH_LEN; in start_socket_rx()4273 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4TCPH_LEN)) { in start_socket_rx()4275 net_if_get_mtu(iface_ctx.iface) - NET_IPV4TCPH_LEN; in start_socket_rx()4279 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6TCPH_LEN)) { in start_socket_rx()4281 net_if_get_mtu(iface_ctx.iface) - NET_IPV6TCPH_LEN; in start_socket_rx()
1265 static inline uint16_t net_if_get_mtu(struct net_if *iface) in net_if_get_mtu() function