Home
last modified time | relevance | path

Searched refs:net_if_get_mtu (Results 1 – 14 of 14) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/l2/ppp/
Dlcp.c152 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()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_client/src/
Decho-client.c310 conf.ipv4.udp.mtu = net_if_get_mtu(iface); in event_handler()
/Zephyr-Core-3.7.0/subsys/net/lib/capture/
Dcapture.c318 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()
Dcooked.c265 config->mtu = net_if_get_mtu(iface); in interface_get_config()
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/
Dmain.c162 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()
/Zephyr-Core-3.7.0/subsys/net/l2/virtual/ipip/
Dipip.c581 config->mtu = net_if_get_mtu(iface); in interface_get_config()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dipv4_fragment.c627 uint16_t mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv4_prepare_for_send()
Dtp.c453 NET_ASSERT(net_pkt_get_len(pkt) <= net_if_get_mtu(pkt->iface)); in _tp_output()
Dtcp.c4402 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()
Dnet_pkt.c955 max_len = net_if_get_mtu(net_pkt_iface(pkt));
Dipv6_nbr.c812 uint16_t mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv6_prepare_for_send()
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Diface.c268 PR("MTU : %d\n", net_if_get_mtu(iface)); in iface_cb()
/Zephyr-Core-3.7.0/drivers/modem/
Dhl7800.c4258 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()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dnet_if.h1236 static inline uint16_t net_if_get_mtu(struct net_if *iface) in net_if_get_mtu() function