Home
last modified time | relevance | path

Searched refs:r (Results 1 – 5 of 5) sorted by relevance

/smoltcp-0.9.1/src/socket/
Ddhcpv4.rs1044 ClientState::Renewing(r) => { in test_bind()
1045 assert_eq!(r.renew_at, Instant::from_secs(500)); in test_bind()
1046 assert_eq!(r.expires_at, Instant::from_secs(1000)); in test_bind()
1079 ClientState::Renewing(r) => { in test_bind_different_ports()
1080 assert_eq!(r.renew_at, Instant::from_secs(500)); in test_bind_different_ports()
1081 assert_eq!(r.expires_at, Instant::from_secs(1000)); in test_bind_different_ports()
1120 ClientState::Renewing(r) => { in test_request_retransmit()
1121 assert_eq!(r.renew_at, Instant::from_secs(20 + 500)); in test_request_retransmit()
1122 assert_eq!(r.expires_at, Instant::from_secs(20 + 1000)); in test_request_retransmit()
1170 ClientState::Renewing(r) => { in test_renew()
[all …]
Ddns.rs431 let (payload2, r) = match Record::parse(payload) { in process()
440 match eq_names(p.parse_name(r.name), p.parse_name(&pq.name)) { in process()
443 net_trace!("answer name mismatch: {:?}", r); in process()
452 match r.data { in process()
Dtcp.rs6964 let mut r = Timer::new(); in test_timer_retransmit() localVariable
6965 assert_eq!(r.should_retransmit(Instant::from_secs(1)), None); in test_timer_retransmit()
6966 r.set_for_retransmit(Instant::from_millis(1000), RTO); in test_timer_retransmit()
6967 assert_eq!(r.should_retransmit(Instant::from_millis(1000)), None); in test_timer_retransmit()
6968 assert_eq!(r.should_retransmit(Instant::from_millis(1050)), None); in test_timer_retransmit()
6970 r.should_retransmit(Instant::from_millis(1101)), in test_timer_retransmit()
6973 r.set_for_retransmit(Instant::from_millis(1101), RTO); in test_timer_retransmit()
6974 assert_eq!(r.should_retransmit(Instant::from_millis(1101)), None); in test_timer_retransmit()
6975 assert_eq!(r.should_retransmit(Instant::from_millis(1150)), None); in test_timer_retransmit()
6976 assert_eq!(r.should_retransmit(Instant::from_millis(1200)), None); in test_timer_retransmit()
[all …]
/smoltcp-0.9.1/src/iface/
Droute.rs115 .find(|(_, r)| r.cidr == IPV4_DEFAULT) in remove_default_ipv4_route()
132 .find(|(_, r)| r.cidr == IPV6_DEFAULT) in remove_default_ipv6_route()
/smoltcp-0.9.1/src/wire/
Ddns.rs512 let (p, r) = Question::parse(payload)?; in parse()
513 questions.push(r); in parse()
517 let (p, r) = Record::parse(payload)?; in parse()
518 answers.push(r); in parse()
522 let (p, r) = Record::parse(payload)?; in parse()
523 authorities.push(r); in parse()
527 let (p, r) = Record::parse(payload)?; in parse()
528 additionals.push(r); in parse()