Searched refs:p_header (Results 1 – 2 of 2) sorted by relevance
660 struct pdu *p_header; in ctcmpc_transmit_skb() local679 p_header = kmalloc(PDU_HEADER_LENGTH, gfp_type()); in ctcmpc_transmit_skb()681 if (!p_header) { in ctcmpc_transmit_skb()686 p_header->pdu_offset = skb->len; in ctcmpc_transmit_skb()687 p_header->pdu_proto = 0x01; in ctcmpc_transmit_skb()688 p_header->pdu_flag = 0x00; in ctcmpc_transmit_skb()690 p_header->pdu_flag |= PDU_FIRST | PDU_CNTL; in ctcmpc_transmit_skb()692 p_header->pdu_flag |= PDU_FIRST; in ctcmpc_transmit_skb()694 p_header->pdu_seq = 0; in ctcmpc_transmit_skb()695 memcpy(skb_push(skb, PDU_HEADER_LENGTH), p_header, in ctcmpc_transmit_skb()[all …]
1233 struct pdu *p_header; in ctcmpc_chx_txdone() local1280 p_header = NULL; in ctcmpc_chx_txdone()1289 p_header = (struct pdu *) in ctcmpc_chx_txdone()1291 p_header->pdu_flag = 0x00; in ctcmpc_chx_txdone()1293 p_header->pdu_flag |= 0x60; in ctcmpc_chx_txdone()1295 p_header->pdu_flag |= 0x20; in ctcmpc_chx_txdone()1301 CTCM_D3_DUMP((char *)p_header, min_t(int, skb->len, 32)); in ctcmpc_chx_txdone()1315 if (p_header) in ctcmpc_chx_txdone()1316 p_header->pdu_flag |= PDU_LAST; /*Say it's the last one*/ in ctcmpc_chx_txdone()