Home
last modified time | relevance | path

Searched refs:DCCP_SKB_CB (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/dccp/
Doptions.c53 const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_parse_options()
155 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_parse_options()
171 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_parse_options()
257 DCCP_SKB_CB(skb)->dccpd_reset_code = rc; in dccp_parse_options()
258 DCCP_SKB_CB(skb)->dccpd_reset_data[0] = opt; in dccp_parse_options()
259 DCCP_SKB_CB(skb)->dccpd_reset_data[1] = len > 0 ? value[0] : 0; in dccp_parse_options()
260 DCCP_SKB_CB(skb)->dccpd_reset_data[2] = len > 1 ? value[1] : 0; in dccp_parse_options()
294 if (DCCP_SKB_CB(skb)->dccpd_opt_len + len + 2 > DCCP_MAX_OPT_LEN) in dccp_insert_option()
297 DCCP_SKB_CB(skb)->dccpd_opt_len += len + 2; in dccp_insert_option()
324 if (DCCP_SKB_CB(skb)->dccpd_opt_len + len > DCCP_MAX_OPT_LEN) in dccp_insert_option_ndp()
[all …]
Dinput.c100 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); in dccp_rcv_closereq()
165 if (DCCP_SKB_CB(skb)->dccpd_ack_seq != DCCP_PKT_WITHOUT_ACK_SEQ) in dccp_handle_ackvec_processing()
166 dccp_ackvec_clear_state(av, DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_handle_ackvec_processing()
189 u64 lswl, lawl, seqno = DCCP_SKB_CB(skb)->dccpd_seq, in dccp_check_seqno()
190 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; in dccp_check_seqno()
339 DCCP_SKB_CB(skb)->dccpd_seq) >= 0) { in __dccp_rcv_established()
341 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, in __dccp_rcv_established()
346 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, in __dccp_rcv_established()
405 if (!between48(DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_rcv_request_sent_state_process()
410 (unsigned long long)DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_rcv_request_sent_state_process()
[all …]
Doutput.c48 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_transmit_skb()
270 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
272 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
274 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATA; in dccp_xmit_packet()
416 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESPONSE; in dccp_make_response()
417 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response()
432 DCCP_SKB_CB(skb)->dccpd_opt_len) / 4; in dccp_make_response()
456 struct dccp_skb_cb *dcb = DCCP_SKB_CB(rcv_skb); in dccp_ctl_make_reset()
523 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESET; in dccp_send_reset()
524 DCCP_SKB_CB(skb)->dccpd_reset_code = code; in dccp_send_reset()
[all …]
Dminisocks.c159 if (after48(DCCP_SKB_CB(skb)->dccpd_seq, dreq->dreq_gsr)) { in dccp_check_req()
161 dreq->dreq_gsr = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_check_req()
173 DCCP_SKB_CB(skb)->dccpd_reset_code = DCCP_RESET_CODE_PACKET_ERROR; in dccp_check_req()
180 if (!between48(DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_check_req()
185 DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_check_req()
201 DCCP_SKB_CB(skb)->dccpd_reset_code = DCCP_RESET_CODE_TOO_BUSY; in dccp_check_req()
Dipv4.c583 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v4_conn_request()
798 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v4_rcv()
799 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v4_rcv()
805 (unsigned long long) DCCP_SKB_CB(skb)->dccpd_seq); in dccp_v4_rcv()
808 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v4_rcv()
811 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v4_rcv()
813 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_v4_rcv()
894 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v4_rcv()
Ddccp.h354 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) macro
359 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_non_data_packet()
372 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_data_packet()
382 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_packet_without_ack()
Dipv6.c314 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v6_conn_request()
671 &DCCP_SKB_CB(opt_skb)->header.h6)) { in dccp_v6_do_rcv()
674 &DCCP_SKB_CB(opt_skb)->header.h6, in dccp_v6_do_rcv()
708 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v6_rcv()
709 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v6_rcv()
712 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v6_rcv()
714 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v6_rcv()
793 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v6_rcv()
Dackvec.c248 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_ackvec_input()
/kernel/linux/linux-5.10/net/dccp/ccids/lib/
Dpacket_history.c103 entry->tfrchrx_seqno = DCCP_SKB_CB(skb)->dccpd_seq; in tfrc_rx_hist_entry_from_skb()
122 const u64 seq = DCCP_SKB_CB(skb)->dccpd_seq; in tfrc_rx_hist_duplicate()
155 s1 = DCCP_SKB_CB(skb)->dccpd_seq; in __do_track_loss()
167 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss()
205 s3 = DCCP_SKB_CB(skb)->dccpd_seq; in __two_after_loss()
Dloss_interval.c93 len = dccp_delta_seqno(cur->li_seqno, DCCP_SKB_CB(skb)->dccpd_seq) + 1; in tfrc_lh_update_i_mean()
/kernel/linux/linux-5.10/net/dccp/ccids/
Dccid3.c337 DCCP_SKB_CB(skb)->dccpd_ccval = hc->tx_last_win_count; in ccid3_hc_tx_send_packet()
363 if (!(DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_ACK || in ccid3_hc_tx_packet_recv()
364 DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_DATAACK)) in ccid3_hc_tx_packet_recv()
Dccid2.c518 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in ccid2_hc_tx_packet_recv()
562 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; in ccid2_hc_tx_packet_recv()