Lines Matching refs:ifaddr
1654 addrs.find(|ifaddr| { in loopback_address()
1655 ifaddr.flags.contains(InterfaceFlags::IFF_LOOPBACK) in loopback_address()
1656 && ifaddr.address.as_ref().and_then(SockaddrLike::family) in loopback_address()
1691 Some(ifaddr) => ( in test_recv_ipv4pktinfo()
1692 ifaddr.interface_name, in test_recv_ipv4pktinfo()
1693 ifaddr.address.expect("Expect IPv4 address on interface"), in test_recv_ipv4pktinfo()
1785 Some(ifaddr) => ( in test_recvif()
1786 ifaddr.interface_name, in test_recvif()
1787 ifaddr.address.expect("Expect IPv4 address on interface"), in test_recvif()
1884 Some(ifaddr) => ( in test_recvif_ipv4()
1885 ifaddr.interface_name, in test_recvif_ipv4()
1886 ifaddr.address.expect("Expect IPv4 address on interface"), in test_recvif_ipv4()
1969 Some(ifaddr) => ( in test_recvif_ipv6()
1970 ifaddr.interface_name, in test_recvif_ipv6()
1971 ifaddr.address.expect("Expect IPv6 address on interface"), in test_recvif_ipv6()
2074 Some(ifaddr) => ( in test_recv_ipv6pktinfo()
2075 ifaddr.interface_name, in test_recv_ipv6pktinfo()
2076 ifaddr.address.expect("Expect IPv6 address on interface"), in test_recv_ipv6pktinfo()