Home
last modified time | relevance | path

Searched refs:Ip (Results 1 – 11 of 11) sorted by relevance

/smoltcp-0.9.1/src/phy/
Dmod.rs249 Medium::Ip => self.max_transmission_unit, in ip_mtu()
272 Ip, enumerator
283 return Medium::Ip; in default()
Dpcap_writer.rs16 Ip = 101,
134 Medium::Ip => PcapLinkType::Ip, in new()
Dtracer.rs158 Medium::Ip => match crate::wire::IpVersion::of_packet(self.buffer) { in fmt()
/smoltcp-0.9.1/src/iface/interface/
Dethernet.rs38 .map(EthernetPacket::Ip) in process_ethernet()
44 .map(EthernetPacket::Ip) in process_ethernet()
Dmod.rs315 Ip(IpPacket<'a>), enumerator
486 Medium::Ip => { in new()
855 Medium::Ip => { in socket_ingress()
1119 medium: crate::phy::Medium::Ip, in mock()
1482 EthernetPacket::Ip(packet) => self.dispatch_ip(tx_token, packet, frag), in dispatch()
1518 Medium::Ip => true, in has_neighbor()
1542 Medium::Ip => unreachable!(), in lookup_hardware_addr()
1574 Medium::Ip => unreachable!(), in lookup_hardware_addr()
Dtests.rs21 const MEDIUM: Medium = Medium::Ip;
30 Medium::Ip => create_ip(), in create()
40 let mut device = Loopback::new(Medium::Ip); in create_ip()
805 Some(EthernetPacket::Ip(IpPacket::Icmpv6(( in test_handle_valid_ndisc_request()
1119 Medium::Ip => Ipv4Packet::new_checked(&frame[..]).ok()?, in test_handle_igmp()
/smoltcp-0.9.1/src/phy/sys/
Dtuntap_interface.rs42 Medium::Ip => imp::IFF_TUN, in attach_interface()
74 Medium::Ip => ip_mtu, in interface_mtu()
Draw_socket.rs25 Medium::Ip => imp::ETH_P_ALL, in new()
/smoltcp-0.9.1/utils/
Dpacket2pcap.rs54 Some("ip") => Some(PcapLinkType::Ip), in main()
/smoltcp-0.9.1/examples/
Dutils.rs104 (Some(tun), None) => TunTapInterface::new(&tun, Medium::Ip).unwrap(), in parse_tuntap_options()
/smoltcp-0.9.1/src/wire/
Dmod.rs422 Medium::Ip => unreachable!(), in parse()