Home
last modified time | relevance | path

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

/net/dccp/
Doptions.c56 const u8 pkt_type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_parse_options()
158 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_parse_options()
174 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_parse_options()
260 DCCP_SKB_CB(skb)->dccpd_reset_code = rc; in dccp_parse_options()
261 DCCP_SKB_CB(skb)->dccpd_reset_data[0] = opt; in dccp_parse_options()
262 DCCP_SKB_CB(skb)->dccpd_reset_data[1] = len > 0 ? value[0] : 0; in dccp_parse_options()
263 DCCP_SKB_CB(skb)->dccpd_reset_data[2] = len > 1 ? value[1] : 0; in dccp_parse_options()
297 if (DCCP_SKB_CB(skb)->dccpd_opt_len + len + 2 > DCCP_MAX_OPT_LEN) in dccp_insert_option()
300 DCCP_SKB_CB(skb)->dccpd_opt_len += len + 2; in dccp_insert_option()
327 if (DCCP_SKB_CB(skb)->dccpd_opt_len + len > DCCP_MAX_OPT_LEN) in dccp_insert_option_ndp()
[all …]
Dinput.c104 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); in dccp_rcv_closereq()
169 if (DCCP_SKB_CB(skb)->dccpd_ack_seq != DCCP_PKT_WITHOUT_ACK_SEQ) in dccp_handle_ackvec_processing()
170 dccp_ackvec_clear_state(av, DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_handle_ackvec_processing()
193 u64 lswl, lawl, seqno = DCCP_SKB_CB(skb)->dccpd_seq, in dccp_check_seqno()
194 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; in dccp_check_seqno()
343 DCCP_SKB_CB(skb)->dccpd_seq) >= 0) { in __dccp_rcv_established()
345 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, in __dccp_rcv_established()
350 dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, in __dccp_rcv_established()
409 if (!between48(DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_rcv_request_sent_state_process()
414 (unsigned long long)DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_rcv_request_sent_state_process()
[all …]
Doutput.c51 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_transmit_skb()
273 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
275 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATAACK; in dccp_xmit_packet()
277 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_DATA; in dccp_xmit_packet()
414 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESPONSE; in dccp_make_response()
415 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response()
430 DCCP_SKB_CB(skb)->dccpd_opt_len) / 4; in dccp_make_response()
454 struct dccp_skb_cb *dcb = DCCP_SKB_CB(rcv_skb); in dccp_ctl_make_reset()
521 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESET; in dccp_send_reset()
522 DCCP_SKB_CB(skb)->dccpd_reset_code = code; in dccp_send_reset()
[all …]
Dminisocks.c169 if (after48(DCCP_SKB_CB(skb)->dccpd_seq, dreq->dreq_gsr)) { in dccp_check_req()
171 dreq->dreq_gsr = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_check_req()
183 DCCP_SKB_CB(skb)->dccpd_reset_code = DCCP_RESET_CODE_PACKET_ERROR; in dccp_check_req()
190 if (!between48(DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_check_req()
195 DCCP_SKB_CB(skb)->dccpd_ack_seq, in dccp_check_req()
215 DCCP_SKB_CB(skb)->dccpd_reset_code = DCCP_RESET_CODE_TOO_BUSY; in dccp_check_req()
Dipv4.c601 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v4_conn_request()
829 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v4_rcv()
830 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v4_rcv()
836 (unsigned long long) DCCP_SKB_CB(skb)->dccpd_seq); in dccp_v4_rcv()
839 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v4_rcv()
842 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v4_rcv()
844 DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_v4_rcv()
904 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v4_rcv()
Ddccp.h374 #define DCCP_SKB_CB(__skb) ((struct dccp_skb_cb *)&((__skb)->cb[0])) macro
379 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_non_data_packet()
392 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_data_packet()
402 const __u8 type = DCCP_SKB_CB(skb)->dccpd_type; in dccp_packet_without_ack()
Dipv6.c369 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_v6_conn_request()
761 DCCP_SKB_CB(skb)->dccpd_seq = dccp_hdr_seq(dh); in dccp_v6_rcv()
762 DCCP_SKB_CB(skb)->dccpd_type = dh->dccph_type; in dccp_v6_rcv()
765 DCCP_SKB_CB(skb)->dccpd_ack_seq = DCCP_PKT_WITHOUT_ACK_SEQ; in dccp_v6_rcv()
767 DCCP_SKB_CB(skb)->dccpd_ack_seq = dccp_hdr_ack_seq(skb); in dccp_v6_rcv()
823 DCCP_SKB_CB(skb)->dccpd_reset_code = in dccp_v6_rcv()
Dackvec.c251 u64 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in dccp_ackvec_input()
/net/dccp/ccids/lib/
Dpacket_history.c116 entry->tfrchrx_seqno = DCCP_SKB_CB(skb)->dccpd_seq; in tfrc_rx_hist_entry_from_skb()
135 const u64 seq = DCCP_SKB_CB(skb)->dccpd_seq; in tfrc_rx_hist_duplicate()
170 s1 = DCCP_SKB_CB(skb)->dccpd_seq; in __do_track_loss()
182 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss()
220 s3 = DCCP_SKB_CB(skb)->dccpd_seq; in __two_after_loss()
Dloss_interval.c97 len = dccp_delta_seqno(cur->li_seqno, DCCP_SKB_CB(skb)->dccpd_seq) + 1; in tfrc_lh_update_i_mean()
/net/dccp/ccids/
Dccid3.c350 DCCP_SKB_CB(skb)->dccpd_ccval = hc->tx_last_win_count; in ccid3_hc_tx_send_packet()
376 if (!(DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_ACK || in ccid3_hc_tx_packet_recv()
377 DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_DATAACK)) in ccid3_hc_tx_packet_recv()
Dccid2.c515 seqno = DCCP_SKB_CB(skb)->dccpd_seq; in ccid2_hc_tx_packet_recv()
559 ackno = DCCP_SKB_CB(skb)->dccpd_ack_seq; in ccid2_hc_tx_packet_recv()