Lines Matching refs:cid
153 #define LOWPAN_IPHC_CID_DCI(cid) (cid & 0x0f) argument
154 #define LOWPAN_IPHC_CID_SCI(cid) ((cid & 0xf0) >> 4) argument
617 u8 iphc0, iphc1, cid = 0; in lowpan_header_decompress() local
631 if (lowpan_fetch_skb(skb, &cid, sizeof(cid))) in lowpan_header_decompress()
661 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_SCI(cid)); in lowpan_header_decompress()
689 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid)); in lowpan_header_decompress()
713 ci = lowpan_iphc_ctx_get_by_id(dev, LOWPAN_IPHC_CID_DCI(cid)); in lowpan_header_decompress()
1134 u8 iphc0, iphc1, *hc_ptr, cid = 0; in lowpan_header_compress() local
1173 cid |= dci->id; in lowpan_header_compress()
1181 cid |= (sci->id << 4); in lowpan_header_compress()
1186 if (cid) { in lowpan_header_compress()
1188 lowpan_push_hc_data(&hc_ptr, &cid, sizeof(cid)); in lowpan_header_compress()