Home
last modified time | relevance | path

Searched refs:dccp_sk (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/net/dccp/
Dqpolicy.c22 return dccp_sk(sk)->dccps_tx_qlen && in qpolicy_simple_full()
23 sk->sk_write_queue.qlen >= dccp_sk(sk)->dccps_tx_qlen; in qpolicy_simple_full()
95 qpol_table[dccp_sk(sk)->dccps_qpolicy].push(sk, skb); in dccp_qpolicy_push()
100 return qpol_table[dccp_sk(sk)->dccps_qpolicy].full(sk); in dccp_qpolicy_full()
113 return qpol_table[dccp_sk(sk)->dccps_qpolicy].top(sk); in dccp_qpolicy_top()
133 return (qpol_table[dccp_sk(sk)->dccps_qpolicy].params & param) == param; in dccp_qpolicy_param_ok()
Dinput.c65 if (dccp_sk(sk)->dccps_role != DCCP_ROLE_CLIENT) in dccp_rcv_close()
99 if (dccp_sk(sk)->dccps_role != DCCP_ROLE_CLIENT) { in dccp_rcv_closereq()
161 struct dccp_ackvec *av = dccp_sk(sk)->dccps_hc_rx_ackvec; in dccp_handle_ackvec_processing()
172 const struct dccp_sock *dp = dccp_sk(sk); in dccp_deliver_input_to_ccids()
188 struct dccp_sock *dp = dccp_sk(sk); in dccp_check_seqno()
286 struct dccp_sock *dp = dccp_sk(sk); in __dccp_rcv_established()
402 struct dccp_sock *dp = dccp_sk(sk); in dccp_rcv_request_sent_state_process()
522 struct dccp_sock *dp = dccp_sk(sk); in dccp_rcv_respond_partopen_state_process()
574 struct dccp_sock *dp = dccp_sk(sk); in dccp_rcv_state_process()
726 delta -= dccp_sk(sk)->dccps_options_received.dccpor_elapsed_time * 10; in dccp_sample_rtt()
Dproto.c92 dccp_feat_list_purge(&dccp_sk(sk)->dccps_featneg); in dccp_set_state()
176 struct dccp_sock *dp = dccp_sk(sk); in dccp_sk_destruct()
185 struct dccp_sock *dp = dccp_sk(sk); in dccp_init_sock()
213 struct dccp_sock *dp = dccp_sk(sk); in dccp_destroy_sock()
243 struct dccp_sock *dp = dccp_sk(sk); in dccp_listen_start()
262 struct dccp_sock *dp = dccp_sk(sk); in dccp_disconnect()
407 struct dccp_sock *dp = dccp_sk(sk); in dccp_setsockopt_service()
467 dccp_sk(sk)->dccps_pcrlen = cscov; in dccp_setsockopt_cscov()
469 dccp_sk(sk)->dccps_pcslen = cscov; in dccp_setsockopt_cscov()
503 struct dccp_sock *dp = dccp_sk(sk); in do_dccp_setsockopt()
[all …]
Doutput.c47 struct dccp_sock *dp = dccp_sk(sk); in dccp_transmit_skb()
162 struct dccp_sock *dp = dccp_sk(sk); in dccp_sync_mss()
244 struct dccp_sock *dp = dccp_sk(sk); in dccp_xmit_packet()
306 struct dccp_sock *dp = dccp_sk(sk); in dccp_flush_write_queue()
345 struct dccp_sock *dp = dccp_sk(sk); in dccp_write_xmit()
535 struct dccp_sock *dp = dccp_sk(sk); in dccp_connect()
545 if (dccp_feat_finalise_settings(dccp_sk(sk))) in dccp_connect()
655 dccp_sk(sk)->dccps_sync_scheduled = 0; in dccp_send_sync()
669 struct dccp_sock *dp = dccp_sk(sk); in dccp_send_close()
Dfeat.c38 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_ccid()
56 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_seq_win()
73 dccp_sk(sk)->dccps_r_ack_ratio = ratio; in dccp_hdlr_ack_ratio()
75 dccp_sk(sk)->dccps_l_ack_ratio = ratio; in dccp_hdlr_ack_ratio()
81 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_ackvec()
99 dccp_sk(sk)->dccps_send_ndp_count = (enable > 0); in dccp_hdlr_ndp()
114 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_min_cscov()
759 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local, in dccp_feat_register_sp()
774 struct dccp_sock *dp = dccp_sk(sk); in dccp_feat_nn_get()
803 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; in dccp_feat_signal_nn_change()
[all …]
Ddccp.h330 const struct dccp_sock *dp = dccp_sk(sk); in dccp_bad_service_code()
419 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gsr()
447 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gss()
460 return dccp_sk(sk)->dccps_hc_rx_ackvec != NULL && in dccp_ackvec_pending()
461 !dccp_ackvec_is_empty(dccp_sk(sk)->dccps_hc_rx_ackvec); in dccp_ackvec_pending()
Doptions.c50 struct dccp_sock *dp = dccp_sk(sk); in dccp_parse_options()
310 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_option_ndp()
397 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_option_ackvec()
547 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_options()
Dtimer.c227 sk_reset_timer(sk, &dccp_sk(sk)->dccps_xmit_timer, jiffies + 1); in dccp_write_xmitlet()
244 struct dccp_sock *dp = dccp_sk(sk); in dccp_init_xmit_timers()
Ddiag.c18 struct dccp_sock *dp = dccp_sk(sk); in dccp_get_info()
Dipv4.c42 struct dccp_sock *dp = dccp_sk(sk); in dccp_v4_connect()
149 const struct dccp_sock *dp = dccp_sk(sk); in dccp_do_pmtu_discovery()
281 dp = dccp_sk(sk); in dccp_v4_err()
605 if (dccp_reqsk_init(req, dccp_sk(sk), skb)) in dccp_v4_conn_request()
862 min_cov = dccp_sk(sk)->dccps_pcrlen; in dccp_v4_rcv()
Dtrace.h40 if (ccid_get_current_tx_ccid(dccp_sk(sk)) == DCCPC_CCID3)
Dipv6.c115 dp = dccp_sk(sk); in dccp_v6_err()
340 if (dccp_reqsk_init(req, dccp_sk(sk), skb)) in dccp_v6_conn_request()
764 min_cov = dccp_sk(sk)->dccps_pcrlen; in dccp_v6_rcv()
810 struct dccp_sock *dp = dccp_sk(sk); in dccp_v6_connect()
Dminisocks.c92 struct dccp_sock *newdp = dccp_sk(newsk); in dccp_create_openreq_child()
/Linux-v5.4/net/dccp/ccids/
Dccid2.c119 struct tasklet_struct *t = &dccp_sk(sk)->dccps_xmitlet; in dccp_tasklet_schedule()
199 u32 init_win = rfc3390_bytes_to_packets(dccp_sk(sk)->dccps_mss_cache), in ccid2_cwnd_application_limited()
218 iwnd = rfc3390_bytes_to_packets(dccp_sk(sk)->dccps_mss_cache); in ccid2_cwnd_restart()
237 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_packet_sent()
372 hc->tx_rtt_seq = dccp_sk(sk)->dccps_gss; in ccid2_rtt_estimator()
407 if (after48(dccp_sk(sk)->dccps_gar, hc->tx_rtt_seq)) { in ccid2_rtt_estimator()
411 hc->tx_rtt_seq = dccp_sk(sk)->dccps_gss; in ccid2_rtt_estimator()
433 struct dccp_sock *dp = dccp_sk(sk); in ccid2_new_ack()
508 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_packet_recv()
716 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_init()
[all …]
Dccid2.h114 return ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid); in ccid2_hc_tx_sk()
119 return ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid); in ccid2_hc_rx_sk()
Dccid3.h104 struct ccid3_hc_tx_sock *hctx = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid); in ccid3_hc_tx_sk()
143 struct ccid3_hc_rx_sock *hcrx = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid); in ccid3_hc_rx_sk()
Dccid3.c269 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_tx_send_packet()
350 if (tfrc_tx_hist_add(&hc->tx_hist, dccp_sk(sk)->dccps_gss)) in ccid3_hc_tx_packet_sent()
589 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_rx_send_feedback()
705 const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; in ccid3_hc_rx_packet_recv()
/Linux-v5.4/include/linux/
Ddccp.h308 static inline struct dccp_sock *dccp_sk(const struct sock *sk) in dccp_sk() function
315 switch (dccp_sk(sk)->dccps_role) { in dccp_role()