Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/samples/net/sockets/echo_client/src/
Decho-client.c310 conf.ipv4.udp.mtu = net_if_get_mtu(iface); in event_handler()
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c320 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()
Dcooked.c265 config->mtu = net_if_get_mtu(iface); in interface_get_config()
/Zephyr-latest/subsys/net/ip/
Dipv4.c467 net_if_get_mtu(net_pkt_iface(pkt))); in net_ipv4_prepare_for_send()
Dipv4_fragment.c645 mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv4_prepare_for_send_fragment()
Dtp.c453 NET_ASSERT(net_pkt_get_len(pkt) <= net_if_get_mtu(pkt->iface)); in _tp_output()
Dtcp.c4406 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()
Dipv6_nbr.c831 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()
Dnet_context.c1933 mtu = net_if_get_mtu(iface); in get_context_mtu()
1945 mtu = net_if_get_mtu(iface); in get_context_mtu()
Dnet_pkt.c1080 max_len = net_if_get_mtu(net_pkt_iface(pkt));
/Zephyr-latest/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-latest/subsys/net/l2/virtual/ipip/
Dipip.c594 config->mtu = net_if_get_mtu(iface); in interface_get_config()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c271 PR("MTU : %d\n", net_if_get_mtu(iface)); in iface_cb()
/Zephyr-latest/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-latest/include/zephyr/net/
Dnet_if.h1265 static inline uint16_t net_if_get_mtu(struct net_if *iface) in net_if_get_mtu() function