Lines Matching refs:String
62 pub(crate) name: String,
70 proto: String, // "udp" or "tcp"
71 local: String, // "<local-ip>:<local-port>"
72 mapped: String, // "<mapped-ip>:<mapped-port>"
73 bound: String, // key: "[<remote-ip>[:<remote-port>]]"
74 filters: Arc<Mutex<HashSet<String>>>, // key: "[<remote-ip>[:<remote-port>]]"
81 proto: String::new(), // "udp" or "tcp" in default()
82 local: String::new(), // "<local-ip>:<local-port>" in default()
83 mapped: String::new(), // "<mapped-ip>:<mapped-port>" in default()
84 bound: String::new(), // key: "[<remote-ip>[:<remote-port>]]" in default()
93 pub(crate) name: String,
97 …pub(crate) outbound_map: Arc<Mutex<HashMap<String, Arc<Mapping>>>>, // key: "<proto>:<local-ip>:<l…
98 …pub(crate) inbound_map: Arc<Mutex<HashMap<String, Arc<Mapping>>>>, // key: "<proto>:<mapped-ip>:<m…
387 (String::new(), String::new()) in find_outbound_mapping()
426 (String::new(), String::new()) in find_inbound_mapping()
446 fn get_outbound_map_key(m: &Mapping) -> String { in get_outbound_map_key() argument
450 fn get_inbound_map_key(m: &Mapping) -> String { in get_inbound_map_key() argument