VCAP_CID_LOOKUP_SIZE
int link_val = target_cid % VCAP_CID_LOOKUP_SIZE;
int link_val = target_cid % VCAP_CID_LOOKUP_SIZE;
(VCAP_CID_INGRESS_L5 + VCAP_CID_LOOKUP_SIZE - 1) /* IS0/CLM Max */
(VCAP_CID_INGRESS_STAGE2_L3 + VCAP_CID_LOOKUP_SIZE - 1) /* IS2 Max */
(VCAP_CID_EGRESS_STAGE2_L1 + VCAP_CID_LOOKUP_SIZE - 1) /* ES2 Max */
int cid_next = admin->first_cid + VCAP_CID_LOOKUP_SIZE;
cid += VCAP_CID_LOOKUP_SIZE, cid_next += VCAP_CID_LOOKUP_SIZE)
to_cid %= VCAP_CID_LOOKUP_SIZE;
diff %= VCAP_CID_LOOKUP_SIZE; /* Limit to a value within a lookup */
next_cid = roundup(src_cid + 1, VCAP_CID_LOOKUP_SIZE);
int cid = rounddown(dst_cid, VCAP_CID_LOOKUP_SIZE);
int next_chain = chain + VCAP_CID_LOOKUP_SIZE;
if (src_cid % VCAP_CID_LOOKUP_SIZE)
if (dst_cid % VCAP_CID_LOOKUP_SIZE)
int max_cid = roundup(cid + 1, VCAP_CID_LOOKUP_SIZE);
int min_cid = rounddown(cid, VCAP_CID_LOOKUP_SIZE);