Lines Matching defs:ecn
503 /* get the ecn values from iphc tf format and set it to ipv6hdr */
506 /* get the two higher bits which is ecn */
507 u8 ecn = tf[0] & 0xc0;
510 hdr->flow_lbl[0] |= (ecn >> 2);
993 u8 dscp, ecn;
1000 ecn = (hdr->flow_lbl[0] & 0x30);
1001 /* for pretty debug output, also shift ecn to get the ecn value */
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) */