Searched refs:DCCP_SKB_CB (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/net/dccp/ |
D | options.c | 53 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 …]
|
D | input.c | 100 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 …]
|
D | output.c | 48 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 …]
|
D | minisocks.c | 159 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()
|
D | ipv4.c | 583 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()
|
D | dccp.h | 354 #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()
|
D | ipv6.c | 314 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()
|
D | ackvec.c | 248 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_ackvec_input()
|
/kernel/linux/linux-5.10/net/dccp/ccids/lib/ |
D | packet_history.c | 103 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()
|
D | loss_interval.c | 93 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/ |
D | ccid3.c | 337 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()
|
D | ccid2.c | 518 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()
|