Home
last modified time | relevance | path

Searched refs:UNSPECIFIED (Results 1 – 9 of 9) sorted by relevance

/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs523 client_ip: Ipv4Address::UNSPECIFIED, in dispatch()
524 your_ip: Ipv4Address::UNSPECIFIED, in dispatch()
525 server_ip: Ipv4Address::UNSPECIFIED, in dispatch()
528 relay_agent_ip: Ipv4Address::UNSPECIFIED, in dispatch()
551 src_addr: Ipv4Address::UNSPECIFIED, in dispatch()
828 src_addr: Ipv4Address::UNSPECIFIED,
885 client_ip: Ipv4Address::UNSPECIFIED,
886 your_ip: Ipv4Address::UNSPECIFIED,
887 server_ip: Ipv4Address::UNSPECIFIED,
890 relay_agent_ip: Ipv4Address::UNSPECIFIED,
Dudp.rs610 addr: IpvXAddress::UNSPECIFIED.into(), in test_send_unaddressable()
Dtcp.rs3126 .connect(&mut s.cx, REMOTE_END, (IpvXAddress::UNSPECIFIED, 0)), in test_connect_validation()
3131 .connect(&mut s.cx, REMOTE_END, (IpvXAddress::UNSPECIFIED, 1024)), in test_connect_validation()
3136 .connect(&mut s.cx, (IpvXAddress::UNSPECIFIED, 0), LOCAL_END), in test_connect_validation()
/smoltcp-0.9.1/src/wire/
Dipv6.rs37 pub const UNSPECIFIED: Address = Address([0x00; ADDR_SIZE]); constant
798 assert_eq!("::", format!("{}", Address::UNSPECIFIED)); in test_address_format()
819 assert_eq!(Address::new(0, 0, 0, 0, 0, 0, 0, 0), Address::UNSPECIFIED); in test_new()
839 Address::UNSPECIFIED in test_from_parts()
892 assert!(!Address::UNSPECIFIED.is_ipv4_mapped()); in test_is_ipv4_mapped()
899 assert_eq!(None, Address::UNSPECIFIED.as_ipv4()); in test_as_ipv4()
Dipv4.rs44 pub const UNSPECIFIED: Address = Address([0x00; ADDR_SIZE]); constant
934 assert!(Address::UNSPECIFIED.is_unspecified()); in test_unspecified()
935 assert!(!Address::UNSPECIFIED.is_broadcast()); in test_unspecified()
936 assert!(!Address::UNSPECIFIED.is_multicast()); in test_unspecified()
937 assert!(!Address::UNSPECIFIED.is_link_local()); in test_unspecified()
938 assert!(!Address::UNSPECIFIED.is_loopback()); in test_unspecified()
Dip.rs898 pub(crate) const MOCK_UNSPECIFIED: IpAddress = IpAddress::Ipv6(Ipv6Address::UNSPECIFIED);
909 pub(crate) const MOCK_UNSPECIFIED: IpAddress = IpAddress::Ipv4(Ipv4Address::UNSPECIFIED);
Dsixlowpan.rs130 (_, AddressMode::Unspecified) => Ok(ipv6::Address::UNSPECIFIED), in resolve()
996 if src_addr == ipv6::Address::UNSPECIFIED { in set_src_address()
1214 len += if self.src_addr == ipv6::Address::UNSPECIFIED { in buffer_len()
/smoltcp-0.9.1/examples/
Ddhcp_client.rs77 set_ipv4_addr(&mut iface, Ipv4Cidr::new(Ipv4Address::UNSPECIFIED, 0)); in main()
/smoltcp-0.9.1/src/
Dparsers.rs559 assert_eq!(Ipv6Address::from_str("::"), Ok(Ipv6Address::UNSPECIFIED)); in test_ipv6()
702 ("::/128", Ok(Ipv6Cidr::new(Ipv6Address::UNSPECIFIED, 128u8))), in test_cidr_ipv6()