Lines Matching defs:elapsed_time
65 u32 elapsed_time;
197 elapsed_time = ntohs(opt_val2);
200 elapsed_time = ntohl(opt_val);
203 dccp_pr_debug_cat(", ELAPSED_TIME=%u\n", elapsed_time);
206 if (elapsed_time > opt_recv->dccpor_elapsed_time)
207 opt_recv->dccpor_elapsed_time = elapsed_time;
215 elapsed_time = ntohs(opt_val2);
218 elapsed_time = ntohl(opt_val);
223 if (elapsed_time > opt_recv->dccpor_elapsed_time)
224 opt_recv->dccpor_elapsed_time = elapsed_time;
227 dccp_role(sk), elapsed_time);
351 static inline int dccp_elapsed_time_len(const u32 elapsed_time)
353 return elapsed_time == 0 ? 0 : elapsed_time <= 0xFFFF ? 2 : 4;
356 int dccp_insert_option_elapsed_time(struct sk_buff *skb, u32 elapsed_time)
358 const int elapsed_time_len = dccp_elapsed_time_len(elapsed_time);
375 const __be16 var16 = htons((u16)elapsed_time);
378 const __be32 var32 = htonl(elapsed_time);
404 u32 elapsed_time, elapsed_time_len, len;
407 elapsed_time = dccp_timestamp() - dreq->dreq_timestamp_time;
411 elapsed_time = dccp_timestamp() - dp->dccps_timestamp_time;
416 elapsed_time_len = dccp_elapsed_time_len(elapsed_time);
432 const __be16 var16 = htons((u16)elapsed_time);
435 const __be32 var32 = htonl(elapsed_time);