Lines Matching refs:DCCP_SKB_CB
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()
327 DCCP_SKB_CB(skb)->dccpd_opt_len += len; in dccp_insert_option_ndp()
373 if (DCCP_SKB_CB(skb)->dccpd_opt_len + len > DCCP_MAX_OPT_LEN) in dccp_insert_option_timestamp_echo()
376 DCCP_SKB_CB(skb)->dccpd_opt_len += len; in dccp_insert_option_timestamp_echo()
400 struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); in dccp_insert_option_ackvec()
482 if (DCCP_SKB_CB(skb)->dccpd_opt_len >= DCCP_MAX_OPT_LEN) in dccp_insert_option_mandatory()
485 DCCP_SKB_CB(skb)->dccpd_opt_len++; in dccp_insert_option_mandatory()
519 if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) { in dccp_insert_fn_opt()
523 DCCP_SKB_CB(skb)->dccpd_opt_len += tot_len; in dccp_insert_fn_opt()
540 int padding = DCCP_SKB_CB(skb)->dccpd_opt_len % 4; in dccp_insert_option_padding()
545 DCCP_SKB_CB(skb)->dccpd_opt_len += padding; in dccp_insert_option_padding()
553 DCCP_SKB_CB(skb)->dccpd_opt_len = 0; in dccp_insert_options()
558 if (DCCP_SKB_CB(skb)->dccpd_type != DCCP_PKT_DATA) { in dccp_insert_options()
564 if (DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_REQUEST) { in dccp_insert_options()
594 DCCP_SKB_CB(skb)->dccpd_opt_len = 0; in dccp_insert_options_rsk()