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.c469 net_if_get_mtu(net_pkt_iface(pkt))); in net_ipv4_prepare_for_send()
Dipv4_fragment.c647 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.c4416 return net_if_get_mtu(iface); in get_ipv6_destination_mtu()
4425 return net_if_get_mtu(iface); in get_ipv6_destination_mtu()
4442 return net_if_get_mtu(iface); in get_ipv4_destination_mtu()
4451 return net_if_get_mtu(iface); in get_ipv4_destination_mtu()
Dipv6_nbr.c818 mtu = net_if_get_mtu(net_pkt_iface(pkt)); in net_ipv6_prepare_for_send()
923 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.c1079 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/drivers/modem/
Dhl7800.c4321 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4UDPH_LEN)) { in start_socket_rx()
4323 net_if_get_mtu(iface_ctx.iface) - NET_IPV4UDPH_LEN; in start_socket_rx()
4327 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6UDPH_LEN)) { in start_socket_rx()
4329 net_if_get_mtu(iface_ctx.iface) - NET_IPV6UDPH_LEN; in start_socket_rx()
4336 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV4TCPH_LEN)) { in start_socket_rx()
4338 net_if_get_mtu(iface_ctx.iface) - NET_IPV4TCPH_LEN; in start_socket_rx()
4342 if (rx_size > (net_if_get_mtu(iface_ctx.iface) - NET_IPV6TCPH_LEN)) { in start_socket_rx()
4344 net_if_get_mtu(iface_ctx.iface) - NET_IPV6TCPH_LEN; in start_socket_rx()
/Zephyr-latest/subsys/net/lib/shell/
Diface.c270 PR("MTU : %d\n", net_if_get_mtu(iface)); in iface_cb()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h1330 static inline uint16_t net_if_get_mtu(struct net_if *iface) in net_if_get_mtu() function