Home
last modified time | relevance | path

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

/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()
274 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
276 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
278 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATA; in dccp_xmit_packet()
425 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESPONSE; in dccp_make_response()
426 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response()
441 DCCP_SKB_CB(skb)->dccpd_opt_len) / 4; in dccp_make_response()
465 struct dccp_skb_cb *dcb = DCCP_SKB_CB(rcv_skb); in dccp_ctl_make_reset()
532 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESET; in dccp_send_reset()
533 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.c593 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v4_conn_request()
808 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v4_rcv()
809 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v4_rcv()
815 (unsigned long long) DCCP_SKB_CB(skb)->dccpd_seq); in dccp_v4_rcv()
818 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v4_rcv()
821 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v4_rcv()
823 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_v4_rcv()
904 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v4_rcv()
Dipv6.c324 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v6_conn_request()
679 &DCCP_SKB_CB(opt_skb)->header.h6)) { in dccp_v6_do_rcv()
681 &DCCP_SKB_CB(opt_skb)->header.h6, in dccp_v6_do_rcv()
715 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v6_rcv()
716 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v6_rcv()
719 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v6_rcv()
721 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v6_rcv()
800 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v6_rcv()
Ddccp.h355 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) macro
360 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_non_data_packet()
373 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_data_packet()
383 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_packet_without_ack()
Dackvec.c250 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_ackvec_input()
/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.c96 len = dccp_delta_seqno(cur->li_seqno, DCCP_SKB_CB(skb)->dccpd_seq) + 1; in tfrc_lh_update_i_mean()
/net/dccp/ccids/
Dccid3.c342 DCCP_SKB_CB(skb)->dccpd_ccval = hc->tx_last_win_count; in ccid3_hc_tx_send_packet()
368 if (!(DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_ACK || in ccid3_hc_tx_packet_recv()
369 DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_DATAACK)) in ccid3_hc_tx_packet_recv()
Dccid2.c523 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in ccid2_hc_tx_packet_recv()
567 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; in ccid2_hc_tx_packet_recv()