cp_header
struct cp_header *cp;
sizeof(struct cp_header) + magic_len + len);
cp = skb_put(skb, sizeof(struct cp_header));
cp->len = htons(sizeof(struct cp_header) + magic_len + len);
sprintf(ptr, " %02X", skb->data[sizeof(struct cp_header) + i]);
struct cp_header *cp;
if (len < sizeof(struct cp_header) /* no complete CP header? */ ||
skb_pull(skb, sizeof(struct cp_header));
len -= sizeof(struct cp_header);
len += sizeof(struct cp_header);
struct cp_header cp_header;
*((u64 *)&pd_info->cp_header) = readq(pd_info->sst_base + pd_info->sst_header.cp_offset);