Home
last modified time | relevance | path

Searched refs:ip_mtu (Results 1 – 6 of 6) sorted by relevance

/smoltcp-0.9.1/src/phy/sys/
Dtuntap_interface.rs61 let ip_mtu = ifreq_ioctl(lower, &mut self.ifreq, imp::SIOCGIFMTU).map(|mtu| mtu as usize); in interface_mtu() localVariable
68 let ip_mtu = ip_mtu?; in interface_mtu() localVariable
74 Medium::Ip => ip_mtu, in interface_mtu()
76 Medium::Ethernet => ip_mtu + EthernetFrame::<&[u8]>::header_len(), in interface_mtu()
/smoltcp-0.9.1/src/phy/
Dmod.rs242 pub fn ip_mtu(&self) -> usize { in ip_mtu() method
/smoltcp-0.9.1/src/iface/interface/
Dipv4.rs336 let mtu_max = self.ip_mtu(); in dispatch_ipv4_frag()
Dmod.rs1061 pub(crate) fn ip_mtu(&self) -> usize { in ip_mtu() method
1062 self.caps.ip_mtu() in ip_mtu()
1772 let first_frag_ip_len = self.caps.ip_mtu(); in dispatch_ip()
/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs537 max_size: Some((cx.ip_mtu() - MAX_IPV4_HEADER_LEN - UDP_HEADER_LEN) as u16), in dispatch()
Dtcp.rs1878 let local_mss = cx.ip_mtu() - ip_header_len - TCP_HEADER_LEN; in seq_to_transmit()
2116 .min(cx.ip_mtu() - ip_repr.header_len() - TCP_HEADER_LEN); in dispatch()
2178 let max_segment_size = cx.ip_mtu() - ip_repr.header_len() - TCP_HEADER_LEN; in dispatch()