Lines Matching refs:hdr
59 #define CDC_GET_IF_IDX(hdr) \
60 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
61 #define CDC_SET_IF_IDX(hdr, idx) \
62 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
90 #define BDC_GET_IF_IDX(hdr) \
91 ((int)((((hdr)->flags2) & BDC_FLAG2_IF_MASK) >> BDC_FLAG2_IF_SHIFT))
92 #define BDC_SET_IF_IDX(hdr, idx) \
93 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT)))