Searched refs:IpVersion (Results 1 – 8 of 8) sorted by relevance
/smoltcp-0.9.1/src/socket/ |
D | raw.rs | 11 use crate::wire::{IpProtocol, IpRepr, IpVersion}; 51 ip_version: IpVersion, 65 ip_version: IpVersion, in new() argument 119 pub fn ip_version(&self) -> IpVersion { in ip_version() argument 328 match IpVersion::of_packet(buffer) { in dispatch() 330 Ok(IpVersion::Ipv4) => { in dispatch() 362 Ok(IpVersion::Ipv6) => { in dispatch() 434 IpVersion::Ipv4, in socket() 465 IpVersion::Ipv6, in socket() 770 IpVersion::Ipv4, in test_doesnt_accept_wrong_proto() [all …]
|
/smoltcp-0.9.1/src/phy/ |
D | tracer.rs | 158 Medium::Ip => match crate::wire::IpVersion::of_packet(self.buffer) { in fmt() 160 Ok(crate::wire::IpVersion::Ipv4) => { in fmt() 168 Ok(crate::wire::IpVersion::Ipv6) => { in fmt()
|
/smoltcp-0.9.1/examples/ |
D | multicast.rs | 10 EthernetAddress, IgmpPacket, IgmpRepr, IpAddress, IpCidr, IpProtocol, IpVersion, Ipv4Address, 66 IpVersion::Ipv4, in main()
|
/smoltcp-0.9.1/src/iface/interface/ |
D | ipv4.rs | 361 IpVersion::Ipv4 => frame.set_ethertype(EthernetProtocol::Ipv4), in dispatch_ipv4_frag() 363 IpVersion::Ipv6 => frame.set_ethertype(EthernetProtocol::Ipv6), in dispatch_ipv4_frag()
|
D | mod.rs | 1290 match IpVersion::of_packet(ip_payload.as_ref()) { in process_ip() 1292 Ok(IpVersion::Ipv4) => { in process_ip() 1298 Ok(IpVersion::Ipv6) => { in process_ip() 1741 IpVersion::Ipv4 => frame.set_ethertype(EthernetProtocol::Ipv4), in dispatch_ip() 1743 IpVersion::Ipv6 => frame.set_ethertype(EthernetProtocol::Ipv6), in dispatch_ip()
|
D | tests.rs | 1202 use crate::wire::{IpVersion, Ipv4Packet, UdpPacket, UdpRepr}; in test_raw_socket_no_reply() 1213 let raw_socket = raw::Socket::new(IpVersion::Ipv4, IpProtocol::Udp, rx_buffer, tx_buffer); in test_raw_socket_no_reply() 1272 use crate::wire::{IpEndpoint, IpVersion, Ipv4Packet, UdpPacket, UdpRepr}; in test_raw_socket_with_udp_socket() 1297 IpVersion::Ipv4, in test_raw_socket_with_udp_socket()
|
/smoltcp-0.9.1/src/wire/ |
D | mod.rs | 167 Version as IpVersion,
|
/smoltcp-0.9.1/ |
D | CHANGELOG.md | 58 - wire/ip: Remove `IpRepr::Unspecified`, `IpVersion::Unspecified`, `IpAddress::Unspecified` (#579, …
|