Searched refs:net_if_get_mtu (Results 1 – 14 of 14) 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()
318 orig_mtu = net_if_get_mtu(remote_iface); in net_capture_setup()327 orig_mtu = net_if_get_mtu(remote_iface); in net_capture_setup()
265 config->mtu = net_if_get_mtu(iface); in interface_get_config()
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()
581 config->mtu = net_if_get_mtu(iface); in interface_get_config()
627 uint16_t mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv4_prepare_for_send()
453 NET_ASSERT(net_pkt_get_len(pkt) <= net_if_get_mtu(pkt->iface)); in _tp_output()
4402 if (iface && net_if_get_mtu(iface) >= NET_IPV4TCPH_LEN) { in net_tcp_get_supported_mss()4406 mss = net_if_get_mtu(iface) - NET_IPV4TCPH_LEN; in net_tcp_get_supported_mss()4423 if (iface && net_if_get_mtu(iface) >= NET_IPV6TCPH_LEN) { in net_tcp_get_supported_mss()4427 mss = net_if_get_mtu(iface) - NET_IPV6TCPH_LEN; in net_tcp_get_supported_mss()
955 max_len = net_if_get_mtu(net_pkt_iface(pkt));
812 uint16_t mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv6_prepare_for_send()
268 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()
1236 static inline uint16_t net_if_get_mtu(struct net_if *iface) in net_if_get_mtu() function