Home
last modified time | relevance | path

Searched refs:dreq (Results 1 – 9 of 9) sorted by relevance

/net/dccp/
Dminisocks.c94 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_create_openreq_child() local
101 newdp->dccps_service = dreq->dreq_service; in dccp_create_openreq_child()
102 newdp->dccps_timestamp_echo = dreq->dreq_timestamp_echo; in dccp_create_openreq_child()
103 newdp->dccps_timestamp_time = dreq->dreq_timestamp_time; in dccp_create_openreq_child()
118 newdp->dccps_iss = dreq->dreq_iss; in dccp_create_openreq_child()
119 newdp->dccps_gss = dreq->dreq_gss; in dccp_create_openreq_child()
121 newdp->dccps_isr = dreq->dreq_isr; in dccp_create_openreq_child()
122 newdp->dccps_gsr = dreq->dreq_gsr; in dccp_create_openreq_child()
127 if (dccp_feat_activate_values(newsk, &dreq->dreq_featneg)) { in dccp_create_openreq_child()
152 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_check_req() local
[all …]
Doptions.c51 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()
[all …]
Doutput.c397 struct dccp_request_sock *dreq; in dccp_make_response() local
416 dreq = dccp_rsk(req); in dccp_make_response()
418 dccp_inc_seqno(&dreq->dreq_gss); in dccp_make_response()
420 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response()
423 if (dccp_feat_server_ccid_dependencies(dreq)) in dccp_make_response()
426 if (dccp_insert_options_rsk(dreq, skb)) in dccp_make_response()
438 dccp_hdr_set_seq(dh, dreq->dreq_gss); in dccp_make_response()
439 dccp_hdr_set_ack(dccp_hdr_ack_bits(skb), dreq->dreq_gsr); in dccp_make_response()
440 dccp_hdr_response(skb)->dccph_resp_service = dreq->dreq_service; in dccp_make_response()
Dipv4.c576 struct dccp_request_sock *dreq; in dccp_v4_conn_request() local
613 dreq = dccp_rsk(req); in dccp_v4_conn_request()
614 if (dccp_parse_options(sk, dreq, skb)) in dccp_v4_conn_request()
633 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v4_conn_request()
634 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v4_conn_request()
635 dreq->dreq_iss = dccp_v4_init_sequence(skb); in dccp_v4_conn_request()
636 dreq->dreq_gss = dreq->dreq_iss; in dccp_v4_conn_request()
637 dreq->dreq_service = service; in dccp_v4_conn_request()
Dipv6.c308 struct dccp_request_sock *dreq; in dccp_v6_conn_request() local
341 dreq = dccp_rsk(req); in dccp_v6_conn_request()
342 if (dccp_parse_options(sk, dreq, skb)) in dccp_v6_conn_request()
373 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v6_conn_request()
374 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v6_conn_request()
375 dreq->dreq_iss = dccp_v6_init_sequence(skb); in dccp_v6_conn_request()
376 dreq->dreq_gss = dreq->dreq_iss; in dccp_v6_conn_request()
377 dreq->dreq_service = service; in dccp_v6_conn_request()
Dfeat.c634 int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq, in dccp_feat_insert_opts() argument
637 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_insert_opts()
998 int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq) in dccp_feat_server_ccid_dependencies() argument
1000 struct list_head *fn = &dreq->dreq_featneg; in dccp_feat_server_ccid_dependencies()
1394 int dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_feat_parse_options() argument
1398 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_parse_options()
Ddccp.h474 int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq);
/net/sunrpc/
Dcache.c536 static void __unhash_deferred_req(struct cache_deferred_req *dreq) in __unhash_deferred_req() argument
538 hlist_del_init(&dreq->hash); in __unhash_deferred_req()
539 if (!list_empty(&dreq->recent)) { in __unhash_deferred_req()
540 list_del_init(&dreq->recent); in __unhash_deferred_req()
545 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument
549 INIT_LIST_HEAD(&dreq->recent); in __hash_deferred_req()
550 hlist_add_head(&dreq->hash, &cache_defer_hash[hash]); in __hash_deferred_req()
553 static void setup_deferral(struct cache_deferred_req *dreq, in setup_deferral() argument
558 dreq->item = item; in setup_deferral()
562 __hash_deferred_req(dreq, item); in setup_deferral()
[all …]
Dsvc_xprt.c1170 static void svc_revisit(struct cache_deferred_req *dreq, int too_many) in svc_revisit() argument
1173 container_of(dreq, struct svc_deferred_req, handle); in svc_revisit()