Home
last modified time | relevance | path

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

/net/dccp/
Dminisocks.c90 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_create_openreq_child() local
99 newdp->dccps_service = dreq->dreq_service; in dccp_create_openreq_child()
100 newdp->dccps_timestamp_echo = dreq->dreq_timestamp_echo; in dccp_create_openreq_child()
101 newdp->dccps_timestamp_time = dreq->dreq_timestamp_time; in dccp_create_openreq_child()
116 newdp->dccps_iss = dreq->dreq_iss; in dccp_create_openreq_child()
117 newdp->dccps_gss = dreq->dreq_gss; in dccp_create_openreq_child()
119 newdp->dccps_isr = dreq->dreq_isr; in dccp_create_openreq_child()
120 newdp->dccps_gsr = dreq->dreq_gsr; in dccp_create_openreq_child()
125 if (dccp_feat_activate_values(newsk, &dreq->dreq_featneg)) { in dccp_create_openreq_child()
146 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_check_req() local
[all …]
Doptions.c47 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() argument
98 if (dreq != NULL && (opt >= DCCPO_MIN_RX_CCID_SPECIFIC || in dccp_parse_options()
124 rc = dccp_feat_parse_options(sk, dreq, mandatory, opt, in dccp_parse_options()
143 if (dreq != NULL) { in dccp_parse_options()
144 dreq->dreq_timestamp_echo = ntohl(opt_val); in dccp_parse_options()
145 dreq->dreq_timestamp_time = dccp_timestamp(); in dccp_parse_options()
352 struct dccp_request_sock *dreq, in dccp_insert_option_timestamp_echo() argument
359 if (dreq != NULL) { in dccp_insert_option_timestamp_echo()
360 elapsed_time = dccp_timestamp() - dreq->dreq_timestamp_time; in dccp_insert_option_timestamp_echo()
361 tstamp_echo = htonl(dreq->dreq_timestamp_echo); in dccp_insert_option_timestamp_echo()
[all …]
Doutput.c394 struct dccp_request_sock *dreq; in dccp_make_response() local
413 dreq = dccp_rsk(req); in dccp_make_response()
415 dccp_inc_seqno(&dreq->dreq_gss); in dccp_make_response()
417 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response()
420 if (dccp_feat_server_ccid_dependencies(dreq)) in dccp_make_response()
423 if (dccp_insert_options_rsk(dreq, skb)) in dccp_make_response()
435 dccp_hdr_set_seq(dh, dreq->dreq_gss); in dccp_make_response()
436 dccp_hdr_set_ack(dccp_hdr_ack_bits(skb), dreq->dreq_gsr); in dccp_make_response()
437 dccp_hdr_response(skb)->dccph_resp_service = dreq->dreq_service; in dccp_make_response()
Dipv4.c579 struct dccp_request_sock *dreq; in dccp_v4_conn_request() local
610 dreq = dccp_rsk(req); in dccp_v4_conn_request()
611 if (dccp_parse_options(sk, dreq, skb)) in dccp_v4_conn_request()
631 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v4_conn_request()
632 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v4_conn_request()
633 dreq->dreq_iss = dccp_v4_init_sequence(skb); in dccp_v4_conn_request()
634 dreq->dreq_gss = dreq->dreq_iss; in dccp_v4_conn_request()
635 dreq->dreq_service = service; in dccp_v4_conn_request()
Dipv6.c310 struct dccp_request_sock *dreq; in dccp_v6_conn_request() local
348 dreq = dccp_rsk(req); in dccp_v6_conn_request()
349 if (dccp_parse_options(sk, dreq, skb)) in dccp_v6_conn_request()
381 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v6_conn_request()
382 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v6_conn_request()
383 dreq->dreq_iss = dccp_v6_init_sequence(skb); in dccp_v6_conn_request()
384 dreq->dreq_gss = dreq->dreq_iss; in dccp_v6_conn_request()
385 dreq->dreq_service = service; in dccp_v6_conn_request()
Dfeat.c629 int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq, in dccp_feat_insert_opts() argument
632 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.h472 int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq);
/net/sunrpc/
Dcache.c568 static void __unhash_deferred_req(struct cache_deferred_req *dreq) in __unhash_deferred_req() argument
570 hlist_del_init(&dreq->hash); in __unhash_deferred_req()
571 if (!list_empty(&dreq->recent)) { in __unhash_deferred_req()
572 list_del_init(&dreq->recent); in __unhash_deferred_req()
577 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument
581 INIT_LIST_HEAD(&dreq->recent); in __hash_deferred_req()
582 hlist_add_head(&dreq->hash, &cache_defer_hash[hash]); in __hash_deferred_req()
585 static void setup_deferral(struct cache_deferred_req *dreq, in setup_deferral() argument
590 dreq->item = item; in setup_deferral()
594 __hash_deferred_req(dreq, item); in setup_deferral()
[all …]
Dsvc_xprt.c1148 static void svc_revisit(struct cache_deferred_req *dreq, int too_many) in svc_revisit() argument
1151 container_of(dreq, struct svc_deferred_req, handle); in svc_revisit()