Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 25 of 73) sorted by relevance

123

/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dmultilink.c125 int l, mtu; in mp_join_bundle() local
145 mtu = ho->neg_mru? ho->mru: PPP_MRU; in mp_join_bundle()
146 if (mtu > ao->mru) in mp_join_bundle()
147 mtu = ao->mru; in mp_join_bundle()
151 netif_set_mtu(pcb, mtu); in mp_join_bundle()
156 netif_set_mtu(pcb, mtu); in mp_join_bundle()
198 mtu = LWIP_MIN(ho->mrru, ao->mru); in mp_join_bundle()
201 netif_set_mtu(pcb, mtu); in mp_join_bundle()
248 netif_set_mtu(pcb, mtu); in mp_join_bundle()
A Dppp.c1029 int ppp_send_config(ppp_pcb *pcb, int mtu, u32_t accm, int pcomp, int accomp) { in ppp_send_config() argument
1030 LWIP_UNUSED_ARG(mtu); in ppp_send_config()
1338 void netif_set_mtu(ppp_pcb *pcb, int mtu) { in netif_set_mtu() argument
1340 pcb->netif->mtu = mtu; in netif_set_mtu()
1341 PPPDEBUG(LOG_INFO, ("netif_set_mtu[%d]: mtu=%d\n", pcb->netif->num, mtu)); in netif_set_mtu()
1349 return pcb->netif->mtu; in netif_get_mtu()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dmultilink.c125 int l, mtu; in mp_join_bundle() local
145 mtu = ho->neg_mru? ho->mru: PPP_MRU; in mp_join_bundle()
146 if (mtu > ao->mru) in mp_join_bundle()
147 mtu = ao->mru; in mp_join_bundle()
151 netif_set_mtu(pcb, mtu); in mp_join_bundle()
156 netif_set_mtu(pcb, mtu); in mp_join_bundle()
198 mtu = LWIP_MIN(ho->mrru, ao->mru); in mp_join_bundle()
201 netif_set_mtu(pcb, mtu); in mp_join_bundle()
248 netif_set_mtu(pcb, mtu); in mp_join_bundle()
A Dppp.c1044 int ppp_send_config(ppp_pcb *pcb, int mtu, u32_t accm, int pcomp, int accomp) { in ppp_send_config() argument
1045 LWIP_UNUSED_ARG(mtu); in ppp_send_config()
1334 void netif_set_mtu(ppp_pcb *pcb, int mtu) { in netif_set_mtu() argument
1336 pcb->netif->mtu = mtu; in netif_set_mtu()
1337 PPPDEBUG(LOG_INFO, ("netif_set_mtu[%d]: mtu=%d\n", pcb->netif->num, mtu)); in netif_set_mtu()
1345 return pcb->netif->mtu; in netif_get_mtu()
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dicmp6.h58 void icmp6_packet_too_big(struct pbuf *p, u32_t mtu);
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dicmp6.h58 void icmp6_packet_too_big(struct pbuf *p, u32_t mtu);
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A Dip_frag.c681 u16_t mtu = netif->mtu; in ip_frag() local
702 rambuf->tot_len = rambuf->len = mtu; in ip_frag()
720 nfb = (mtu - IP_HLEN) / 8; in ip_frag()
723 last = (left <= mtu - IP_HLEN); in ip_frag()
A Dip.c269 if (netif->mtu && (p->tot_len > netif->mtu)) { in ip_forward()
818 if (netif->mtu && (p->tot_len > netif->mtu)) {
/components/net/lwip/port/
A Dethernetif.c366 netdev->mtu = lwip_netif->mtu; in netdev_flags_sync()
508 netif->mtu = ETHERNET_MTU; in eth_netif_device_init()
599 netif->mtu = ETHERNET_MTU; in eth_device_init_with_flag()
696 netif->mtu = ETHERNET_MTU; in af_unix_eth_netif_device_init()
782 netif->mtu = ETHERNET_MTU; in af_unix_eth_device_init_with_flag()
1109 rt_kprintf("MTU: %d\n", netif->mtu); in list_if()
/components/net/lwip/lwip-2.0.3/src/core/ipv6/
A Dicmp6.c230 icmp6_packet_too_big(struct pbuf *p, u32_t mtu) in icmp6_packet_too_big() argument
232 icmp6_send_response(p, 0, mtu, ICMP6_TYPE_PTB); in icmp6_packet_too_big()
A Dip6_frag.c674 u16_t mtu; in ip6_frag() local
683 mtu = nd6_get_destination_mtu(dest, netif); in ip6_frag()
688 nfb = (mtu - (IP6_HLEN + IP6_FRAG_HLEN)) & IP6_FRAG_OFFSET_MASK; in ip6_frag()
A Dip6.c347 if (netif->mtu && (p->tot_len > netif->mtu)) { in ip6_forward()
351 icmp6_packet_too_big(p, netif->mtu); in ip6_forward()
910 if (netif->mtu && (p->tot_len > nd6_get_destination_mtu(dest, netif))) { in ip6_output_if_src()
A Dnd6.c495 if (lwip_htonl(mtu_opt->mtu) >= 1280) { in nd6_input()
497 inp->mtu = (u16_t)lwip_htonl(mtu_opt->mtu); in nd6_input()
1655 destination_cache[nd6_cached_destination_index].pmtu = netif->mtu; in nd6_get_next_hop_entry()
1660 destination_cache[nd6_cached_destination_index].pmtu = netif->mtu; in nd6_get_next_hop_entry()
1671 …destination_cache[nd6_cached_destination_index].pmtu = netif->mtu; /* Start with netif mtu, correc… in nd6_get_next_hop_entry()
1983 return netif->mtu; in nd6_get_destination_mtu()
/components/drivers/virtio/
A Dvirtio_net.h88 rt_uint16_t mtu; member
/components/net/lwip/lwip-2.1.2/src/core/ipv6/
A Dicmp6.c236 icmp6_packet_too_big(struct pbuf *p, u32_t mtu) in icmp6_packet_too_big() argument
238 icmp6_send_response(p, 0, mtu, ICMP6_TYPE_PTB); in icmp6_packet_too_big()
/components/net/lwip/lwip-2.0.3/doc/
A DNO_SYS_SampleCode.c55 netif->mtu = ETHERNET_MTU; in netif_init()
/components/net/lwip/lwip-2.1.2/doc/
A DNO_SYS_SampleCode.c55 netif->mtu = ETHERNET_MTU; in netif_init()
/components/net/lwip/lwip-2.0.3/test/fuzz/
A Dfuzz.c57 netif->mtu = 1500; in testif_init()
/components/net/lwip/lwip-2.0.3/src/core/
A Dtcp.c1924 s16_t mtu; in tcp_eff_send_mss_impl() local
1933 mtu = nd6_get_destination_mtu(ip_2_ip6(dest), outif); in tcp_eff_send_mss_impl()
1944 mtu = outif->mtu; in tcp_eff_send_mss_impl()
1948 if (mtu != 0) { in tcp_eff_send_mss_impl()
1954 mss_s = mtu - IP6_HLEN - TCP_HLEN; in tcp_eff_send_mss_impl()
1962 mss_s = mtu - IP_HLEN - TCP_HLEN; in tcp_eff_send_mss_impl()
/components/net/lwip/lwip-2.1.2/test/fuzz/
A Dfuzz.c74 netif->mtu = 1500; in testif_init()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dip4.c336 if (netif->mtu && (p->tot_len > netif->mtu)) { in ip4_forward()
955 if (netif->mtu && (p->tot_len > netif->mtu)) {
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dip4.c349 if (netif->mtu && (p->tot_len > netif->mtu)) { in ip4_forward()
1001 if (netif->mtu && (p->tot_len > netif->mtu)) {
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dppp.c206 u16_t mtu; /* Peer's mru */ member
1022 st = pc->mtu; in pppMTU()
1151 ppp_send_config( int unit, u16_t mtu, u32_t asyncmap, int pcomp, int accomp) in ppp_send_config() argument
1156 pc->mtu = mtu; in ppp_send_config()
1328 netif->mtu = pppMTU((int)(size_t)netif->state); in pppifNetifInit()
/components/net/lwip/lwip-2.1.2/src/include/lwip/prot/
A Dnd6.h224 PACK_STRUCT_FIELD(u32_t mtu);
/components/net/lwip/lwip-2.0.3/src/include/lwip/prot/
A Dnd6.h224 PACK_STRUCT_FIELD(u32_t mtu);

Completed in 59 milliseconds

123