Lines Matching refs:hop_limit
366 hop_limit: Option<u8>, field
457 hop_limit: None, in new()
623 pub fn hop_limit(&self) -> Option<u8> { in hop_limit() method
624 self.hop_limit in hop_limit()
638 pub fn set_hop_limit(&mut self, hop_limit: Option<u8>) { in set_hop_limit()
640 if let Some(0) = hop_limit { in set_hop_limit()
644 self.hop_limit = hop_limit in set_hop_limit()
2040 self.hop_limit.unwrap_or(64), in dispatch()
2360 hop_limit: 64,
2380 hop_limit: 64,
2430 hop_limit: 64, in send()
6291 assert_eq!(ip_repr.hop_limit(), 0x2a); in test_set_hop_limit()
6300 assert_eq!(s.hop_limit(), Some(0x2a)); in test_set_hop_limit()
6934 hop_limit: 64, in test_doesnt_accept_wrong_ip()
6943 hop_limit: 64, in test_doesnt_accept_wrong_ip()
6952 hop_limit: 64, in test_doesnt_accept_wrong_ip()