Lines Matching defs:dscp
513 /* get the dscp values from iphc tf format and set it to ipv6hdr */
517 u8 dscp = tf[0] & 0x3f;
520 hdr->priority |= ((dscp & 0x3c) >> 2);
522 hdr->flow_lbl[0] |= ((dscp & 0x03) << 6);
993 u8 dscp, ecn;
995 /* hdr->priority contains the higher bits of dscp, lower are part of
998 dscp = (hdr->priority << 2) | ((hdr->flow_lbl[0] & 0xc0) >> 6);
1002 pr_debug("ecn 0x%02x dscp 0x%02x\n", ecn >> 4, dscp);
1004 return (ecn << 2) | dscp;
1019 /* get ecn dscp data in a byteformat as: ECN(hi) + DSCP(lo) */
1041 /* check if dscp is zero, it's after the first two bit */