Home
last modified time | relevance | path

Searched refs:has_ipaddr (Results 1 – 2 of 2) sorted by relevance

/webrtc/util/src/vnet/
H A Dnet.rs199 pub(crate) fn has_ipaddr(&self, ip: IpAddr) -> bool { in has_ipaddr() method
233 } else if self.has_ipaddr(ip) { in allocate_local_addr()
328 if !self.has_ipaddr(local_addr.ip()) { in bind()
/webrtc/util/src/vnet/net/
H A Dnet_test.rs227 assert!(net.has_ipaddr(ip), "the IP addr {ip} should exist"); in test_net_virtual_has_ipaddr()
230 assert!(net.has_ipaddr(ip), "the IP addr {ip} should exist"); in test_net_virtual_has_ipaddr()
233 assert!(!net.has_ipaddr(ip), "the IP addr {ip} should exist"); in test_net_virtual_has_ipaddr()