Lines Matching refs:to
265 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) in dccp_encode_value_var() argument
268 *to++ = (value & 0xFF0000000000ull) >> 40; in dccp_encode_value_var()
270 *to++ = (value & 0xFF00000000ull) >> 32; in dccp_encode_value_var()
272 *to++ = (value & 0xFF000000) >> 24; in dccp_encode_value_var()
274 *to++ = (value & 0xFF0000) >> 16; in dccp_encode_value_var()
276 *to++ = (value & 0xFF00) >> 8; in dccp_encode_value_var()
278 *to++ = (value & 0xFF); in dccp_encode_value_var()
291 unsigned char *to; in dccp_insert_option() local
298 to = skb_push(skb, len + 2); in dccp_insert_option()
299 *to++ = option; in dccp_insert_option()
300 *to++ = len + 2; in dccp_insert_option()
302 memcpy(to, value, len); in dccp_insert_option()
356 unsigned char *to; in dccp_insert_option_timestamp_echo() local
377 to = skb_push(skb, len); in dccp_insert_option_timestamp_echo()
378 *to++ = DCCPO_TIMESTAMP_ECHO; in dccp_insert_option_timestamp_echo()
379 *to++ = len; in dccp_insert_option_timestamp_echo()
381 memcpy(to, &tstamp_echo, 4); in dccp_insert_option_timestamp_echo()
382 to += 4; in dccp_insert_option_timestamp_echo()
386 memcpy(to, &var16, 2); in dccp_insert_option_timestamp_echo()
389 memcpy(to, &var32, 4); in dccp_insert_option_timestamp_echo()
406 unsigned char *to; in dccp_insert_option_ackvec() local
428 to = skb_push(skb, len); in dccp_insert_option_ackvec()
445 *to++ = DCCPO_ACK_VECTOR_0 + av->av_buf_nonce[i]; in dccp_insert_option_ackvec()
446 *to++ = copylen + 2; in dccp_insert_option_ackvec()
452 memcpy(to, from, tailsize); in dccp_insert_option_ackvec()
453 to += tailsize; in dccp_insert_option_ackvec()
459 memcpy(to, from, copylen); in dccp_insert_option_ackvec()
461 to += copylen; in dccp_insert_option_ackvec()
503 u8 tot_len, *to; in dccp_insert_fn_opt() local
521 to = skb_push(skb, tot_len); in dccp_insert_fn_opt()
522 *to++ = type; in dccp_insert_fn_opt()
523 *to++ = tot_len; in dccp_insert_fn_opt()
524 *to++ = feat; in dccp_insert_fn_opt()
527 *to++ = *val; in dccp_insert_fn_opt()
529 memcpy(to, val, len); in dccp_insert_fn_opt()