Lines Matching defs:header
225 * Dump header and first 16 bytes of an sk_buff for debugging purposes.
233 struct th_header *header;
242 header = (struct th_header *)p;
247 switch (header->th_ch_flag) {
252 if ((header->th_blk_flag == TH_DATA_IS_XID) &&
253 (header->th_is_xid == 0x01))
272 ctcm_pr_debug("th->seg : %02x\n", header->th_seg);
273 ctcm_pr_debug("th->ch : %02x\n", header->th_ch_flag);
274 ctcm_pr_debug("th->blk_flag: %02x\n", header->th_blk_flag);
276 (header->th_is_xid) ? "DATA" : "XID");
277 ctcm_pr_debug("th->seqnum : %04x\n", header->th_seq_num);
644 struct th_sweep *header;
658 header = skb_put_zero(sweep_skb, TH_SWEEP_LENGTH);
659 header->th.th_ch_flag = TH_SWEEP_RESP;
660 header->sw.th_last_seq = ch->th_seq_num;
1035 struct th_header *header = NULL;
1046 header = (struct th_header *)pskb->data;
1047 if ((header->th_seg == 0) &&
1048 (header->th_ch_flag == 0) &&
1049 (header->th_blk_flag == 0) &&
1050 (header->th_seq_num == 0))
1054 CTCM_D3_DUMP((char *)header, TH_HEADER_LENGTH);
1061 if (likely(header->th_ch_flag == TH_HAS_PDU)) {
1065 (header->th_seq_num != ch->th_seq_num + 1) &&
1078 ch->th_seq_num + 1, header->th_seq_num);
1083 ch->th_seq_num = header->th_seq_num;
1172 mpcginfo->th = header;
1179 if (header->th_ch_flag == TH_SWEEP_REQ)
1181 else if (header->th_ch_flag == TH_SWEEP_RESP)
1183 else if (header->th_blk_flag == TH_DATA_IS_XID) {
1188 } else if (header->th_blk_flag == TH_DISCONTACT)
1190 else if (header->th_seq_num != 0) {