Searched refs:Ip (Results 1 – 11 of 11) sorted by relevance
/smoltcp-0.9.1/src/phy/ |
D | mod.rs | 249 Medium::Ip => self.max_transmission_unit, in ip_mtu() 272 Ip, enumerator 283 return Medium::Ip; in default()
|
D | pcap_writer.rs | 16 Ip = 101, 134 Medium::Ip => PcapLinkType::Ip, in new()
|
D | tracer.rs | 158 Medium::Ip => match crate::wire::IpVersion::of_packet(self.buffer) { in fmt()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ethernet.rs | 38 .map(EthernetPacket::Ip) in process_ethernet() 44 .map(EthernetPacket::Ip) in process_ethernet()
|
D | mod.rs | 315 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()
|
D | tests.rs | 21 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/ |
D | tuntap_interface.rs | 42 Medium::Ip => imp::IFF_TUN, in attach_interface() 74 Medium::Ip => ip_mtu, in interface_mtu()
|
D | raw_socket.rs | 25 Medium::Ip => imp::ETH_P_ALL, in new()
|
/smoltcp-0.9.1/utils/ |
D | packet2pcap.rs | 54 Some("ip") => Some(PcapLinkType::Ip), in main()
|
/smoltcp-0.9.1/examples/ |
D | utils.rs | 104 (Some(tun), None) => TunTapInterface::new(&tun, Medium::Ip).unwrap(), in parse_tuntap_options()
|
/smoltcp-0.9.1/src/wire/ |
D | mod.rs | 422 Medium::Ip => unreachable!(), in parse()
|