Lines Matching refs:addr
7 let addr = MappedAddress { in test_mapped_address() localVariable
11 assert_eq!(addr.to_string(), "122.12.34.5:5412", "bad string {addr}"); in test_mapped_address()
15 addr.add_to(&mut m)?; in test_mapped_address()
21 assert_eq!(got.ip, addr.ip, "got bad IP: {}", got.ip); in test_mapped_address()
69 let addr = MappedAddress { in test_mapped_address_v6() localVariable
76 addr.add_to(&mut m)?; in test_mapped_address_v6()
82 assert_eq!(got.ip, addr.ip, "got bad IP: {}", got.ip); in test_mapped_address_v6()
108 let addr = MappedAddress { in test_alternate_server() localVariable
115 addr.add_to(&mut m)?; in test_alternate_server()
121 assert_eq!(got.ip, addr.ip, "got bad IP: {}", got.ip); in test_alternate_server()
148 let addr = OtherAddress { in test_other_address() localVariable
155 addr.add_to(&mut m)?; in test_other_address()
161 assert_eq!(got.ip, addr.ip, "got bad IP: {}", got.ip); in test_other_address()