Lines Matching refs:tcl
271 uint8_t tcl; in compress_tfl() local
273 tcl = ((ipv6->vtc & 0x0F) << 4) | ((ipv6->tcflow & 0xF0) >> 4); in compress_tfl()
274 tcl = (tcl << 6) | (tcl >> 2); /* ECN(2), DSCP(6) */ in compress_tfl()
288 inline_ptr -= sizeof(tcl); in compress_tfl()
289 *inline_ptr = tcl; in compress_tfl()
302 *inline_ptr = (tcl & 0xC0) | (ipv6->tcflow & 0x0F); in compress_tfl()
314 inline_ptr -= sizeof(tcl); in compress_tfl()
315 *inline_ptr = tcl; in compress_tfl()
846 uint8_t tcl; in uncompress_tfl() local
853 tcl = *cursor; in uncompress_tfl()
855 tcl = (tcl >> 6) | (tcl << 2); in uncompress_tfl()
857 ipv6->vtc |= ((tcl & 0xF0) >> 4); in uncompress_tfl()
858 ipv6->tcflow = ((tcl & 0x0F) << 4) | (*cursor & 0x0F); in uncompress_tfl()
867 tcl = ((*cursor & 0xF0) >> 6); in uncompress_tfl()
868 ipv6->tcflow = ((tcl & 0x0F) << 4) | (*cursor & 0x0F); in uncompress_tfl()
878 tcl = *cursor; in uncompress_tfl()
880 tcl = (tcl >> 6) | (tcl << 2); in uncompress_tfl()
882 ipv6->vtc |= ((tcl & 0xF0) >> 4); in uncompress_tfl()
883 ipv6->tcflow = (tcl & 0x0F) << 4; in uncompress_tfl()