Home
last modified time | relevance | path

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

/Linux-v6.1/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()
97 qpol_table[dccp_sk(sk)->dccps_qpolicy].push(sk, skb); in dccp_qpolicy_push()
102 return qpol_table[dccp_sk(sk)->dccps_qpolicy].full(sk); in dccp_qpolicy_full()
115 return qpol_table[dccp_sk(sk)->dccps_qpolicy].top(sk); in dccp_qpolicy_top()
135 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()
727 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()
251 struct dccp_sock *dp = dccp_sk(sk); in dccp_disconnect()
404 struct dccp_sock *dp = dccp_sk(sk); in dccp_setsockopt_service()
463 dccp_sk(sk)->dccps_pcrlen = cscov; in dccp_setsockopt_cscov()
465 dccp_sk(sk)->dccps_pcslen = cscov; in dccp_setsockopt_cscov()
499 struct dccp_sock *dp = dccp_sk(sk); in do_dccp_setsockopt()
578 const struct dccp_sock *dp = dccp_sk(sk); in dccp_getsockopt_service()
[all …]
Doutput.c47 struct dccp_sock *dp = dccp_sk(sk); in dccp_transmit_skb()
164 struct dccp_sock *dp = dccp_sk(sk); in dccp_sync_mss()
248 struct dccp_sock *dp = dccp_sk(sk); in dccp_xmit_packet()
313 struct dccp_sock *dp = dccp_sk(sk); in dccp_flush_write_queue()
352 struct dccp_sock *dp = dccp_sk(sk); in dccp_write_xmit()
544 struct dccp_sock *dp = dccp_sk(sk); in dccp_connect()
554 if (dccp_feat_finalise_settings(dccp_sk(sk))) in dccp_connect()
664 dccp_sk(sk)->dccps_sync_scheduled = 0; in dccp_send_sync()
678 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()
763 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local, in dccp_feat_register_sp()
778 struct dccp_sock *dp = dccp_sk(sk); in dccp_feat_nn_get()
807 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; in dccp_feat_signal_nn_change()
[all …]
Ddccp.h314 const struct dccp_sock *dp = dccp_sk(sk); in dccp_bad_service_code()
403 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gsr()
431 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gss()
444 return dccp_sk(sk)->dccps_hc_rx_ackvec != NULL && in dccp_ackvec_pending()
445 !dccp_ackvec_is_empty(dccp_sk(sk)->dccps_hc_rx_ackvec); in dccp_ackvec_pending()
Doptions.c51 struct dccp_sock *dp = dccp_sk(sk); in dccp_parse_options()
311 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_option_ndp()
398 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_option_ackvec()
551 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_options()
Dtimer.c229 sk_reset_timer(sk, &dccp_sk(sk)->dccps_xmit_timer, jiffies + 1); in dccp_write_xmitlet()
245 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.c49 struct dccp_sock *dp = dccp_sk(sk); in dccp_v4_connect()
163 const struct dccp_sock *dp = dccp_sk(sk); in dccp_do_pmtu_discovery()
295 dp = dccp_sk(sk); in dccp_v4_err()
624 if (dccp_reqsk_init(req, dccp_sk(sk), skb)) in dccp_v4_conn_request()
883 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.c122 dp = dccp_sk(sk); in dccp_v6_err()
355 if (dccp_reqsk_init(req, dccp_sk(sk), skb)) in dccp_v6_conn_request()
779 min_cov = dccp_sk(sk)->dccps_pcrlen; in dccp_v6_rcv()
825 struct dccp_sock *dp = dccp_sk(sk); in dccp_v6_connect()
Dminisocks.c93 struct dccp_sock *newdp = dccp_sk(newsk); in dccp_create_openreq_child()
/Linux-v6.1/net/dccp/ccids/
Dccid2.c119 struct tasklet_struct *t = &dccp_sk(sk)->dccps_xmitlet; in dccp_tasklet_schedule()
202 u32 init_win = rfc3390_bytes_to_packets(dccp_sk(sk)->dccps_mss_cache), in ccid2_cwnd_application_limited()
221 iwnd = rfc3390_bytes_to_packets(dccp_sk(sk)->dccps_mss_cache); in ccid2_cwnd_restart()
240 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_packet_sent()
377 hc->tx_rtt_seq = dccp_sk(sk)->dccps_gss; in ccid2_rtt_estimator()
412 if (after48(dccp_sk(sk)->dccps_gar, hc->tx_rtt_seq)) { in ccid2_rtt_estimator()
416 hc->tx_rtt_seq = dccp_sk(sk)->dccps_gss; in ccid2_rtt_estimator()
438 struct dccp_sock *dp = dccp_sk(sk); in ccid2_new_ack()
513 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_packet_recv()
721 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.c274 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_tx_send_packet()
355 if (tfrc_tx_hist_add(&hc->tx_hist, dccp_sk(sk)->dccps_gss)) in ccid3_hc_tx_packet_sent()
594 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_rx_send_feedback()
711 const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; in ccid3_hc_rx_packet_recv()
/Linux-v6.1/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()