Lines Matching full:flow
254 /* Helper routine to compress Traffic class and Flow label */
256 * |Version| Traffic Class | Flow Label |
258 * version: 4 bits, Traffic Class: 8 bits, Flow label: 20 bits
276 if (((ipv6->tcflow & 0x0F) == 0U) && (ipv6->flow == 0U)) { in compress_tfl()
278 NET_DBG("Traffic class and Flow label elided"); in compress_tfl()
280 /* Traffic class and Flow label elided */ in compress_tfl()
283 NET_DBG("Flow label elided"); in compress_tfl()
285 /* Flow label elided */ in compress_tfl()
293 NET_DBG("ECN + 2-bit Pad + Flow Label, DSCP is elided"); in compress_tfl()
295 /* ECN + 2-bit Pad + Flow Label, DSCP is elided.*/ in compress_tfl()
298 inline_ptr -= sizeof(ipv6->flow); in compress_tfl()
299 memmove(inline_ptr, &ipv6->flow, sizeof(ipv6->flow)); in compress_tfl()
304 NET_DBG("ECN + DSCP + 4-bit Pad + Flow Label"); in compress_tfl()
306 /* ECN + DSCP + 4-bit Pad + Flow Label */ in compress_tfl()
309 inline_ptr -= sizeof(ipv6->flow); in compress_tfl()
310 memmove(inline_ptr, &ipv6->flow, sizeof(ipv6->flow)); in compress_tfl()
842 /* Helper to uncompress Traffic class and Flow label */
848 /* Uncompress tcl and flow label */ in uncompress_tfl()
851 NET_DBG("ECN + DSCP + 4-bit Pad + Flow Label"); in uncompress_tfl()
861 memmove(&ipv6->flow, cursor, sizeof(ipv6->flow)); in uncompress_tfl()
862 cursor += sizeof(ipv6->flow); in uncompress_tfl()
865 NET_DBG("ECN + 2-bit Pad + Flow Label, DSCP is elided"); in uncompress_tfl()
871 memmove(&ipv6->flow, cursor, sizeof(ipv6->flow)); in uncompress_tfl()
872 cursor += sizeof(ipv6->flow); in uncompress_tfl()
876 NET_DBG("Flow label elided"); in uncompress_tfl()
884 ipv6->flow = 0U; in uncompress_tfl()
888 NET_DBG("Tcl and Flow label elided"); in uncompress_tfl()
891 ipv6->flow = 0U; in uncompress_tfl()
1430 /* Uncompress Traffic class and Flow label */ in uncompress_IPHC_header()