Lines Matching refs:dreq
51 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() argument
102 if (dreq != NULL && (opt >= DCCPO_MIN_RX_CCID_SPECIFIC || in dccp_parse_options()
128 rc = dccp_feat_parse_options(sk, dreq, mandatory, opt, in dccp_parse_options()
147 if (dreq != NULL) { in dccp_parse_options()
148 dreq->dreq_timestamp_echo = ntohl(opt_val); in dccp_parse_options()
149 dreq->dreq_timestamp_time = dccp_timestamp(); in dccp_parse_options()
356 struct dccp_request_sock *dreq, in dccp_insert_option_timestamp_echo() argument
363 if (dreq != NULL) { in dccp_insert_option_timestamp_echo()
364 elapsed_time = dccp_timestamp() - dreq->dreq_timestamp_time; in dccp_insert_option_timestamp_echo()
365 tstamp_echo = htonl(dreq->dreq_timestamp_echo); in dccp_insert_option_timestamp_echo()
366 dreq->dreq_timestamp_echo = 0; in dccp_insert_option_timestamp_echo()
592 int dccp_insert_options_rsk(struct dccp_request_sock *dreq, struct sk_buff *skb) in dccp_insert_options_rsk() argument
596 if (dccp_feat_insert_opts(NULL, dreq, skb)) in dccp_insert_options_rsk()
603 if (dreq->dreq_timestamp_echo != 0 && in dccp_insert_options_rsk()
604 dccp_insert_option_timestamp_echo(NULL, dreq, skb)) in dccp_insert_options_rsk()