ofp-print.c:ds_put_char:
   94|  1.40M|{
   95|  1.40M|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 1.38M, False: 18.4k]
  ------------------
   96|  1.38M|        ds->string[ds->length++] = c;
   97|  1.38M|        ds->string[ds->length] = '\0';
   98|  1.38M|    } else {
   99|  18.4k|        ds_put_char__(ds, c);
  100|  18.4k|    }
  101|  1.40M|}
ofp-queue.c:ds_put_char:
   94|  60.1k|{
   95|  60.1k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 56.6k, False: 3.53k]
  ------------------
   96|  56.6k|        ds->string[ds->length++] = c;
   97|  56.6k|        ds->string[ds->length] = '\0';
   98|  56.6k|    } else {
   99|  3.53k|        ds_put_char__(ds, c);
  100|  3.53k|    }
  101|  60.1k|}
ofp-switch.c:ds_put_char:
   94|  8.46k|{
   95|  8.46k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 8.16k, False: 299]
  ------------------
   96|  8.16k|        ds->string[ds->length++] = c;
   97|  8.16k|        ds->string[ds->length] = '\0';
   98|  8.16k|    } else {
   99|    299|        ds_put_char__(ds, c);
  100|    299|    }
  101|  8.46k|}
ofp-table.c:ds_put_char:
   94|   610k|{
   95|   610k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 603k, False: 6.80k]
  ------------------
   96|   603k|        ds->string[ds->length++] = c;
   97|   603k|        ds->string[ds->length] = '\0';
   98|   603k|    } else {
   99|  6.80k|        ds_put_char__(ds, c);
  100|  6.80k|    }
  101|   610k|}
dynamic-string.c:ds_put_char:
   94|  76.4M|{
   95|  76.4M|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 75.9M, False: 447k]
  ------------------
   96|  75.9M|        ds->string[ds->length++] = c;
   97|  75.9M|        ds->string[ds->length] = '\0';
   98|  75.9M|    } else {
   99|   447k|        ds_put_char__(ds, c);
  100|   447k|    }
  101|  76.4M|}
flow.c:ds_put_char:
   94|  48.9k|{
   95|  48.9k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 47.4k, False: 1.50k]
  ------------------
   96|  47.4k|        ds->string[ds->length++] = c;
   97|  47.4k|        ds->string[ds->length] = '\0';
   98|  47.4k|    } else {
   99|  1.50k|        ds_put_char__(ds, c);
  100|  1.50k|    }
  101|  48.9k|}
match.c:ds_put_char:
   94|   393k|{
   95|   393k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 384k, False: 9.55k]
  ------------------
   96|   384k|        ds->string[ds->length++] = c;
   97|   384k|        ds->string[ds->length] = '\0';
   98|   384k|    } else {
   99|  9.55k|        ds_put_char__(ds, c);
  100|  9.55k|    }
  101|   393k|}
meta-flow.c:ds_put_char:
   94|  1.12k|{
   95|  1.12k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 1.11k, False: 18]
  ------------------
   96|  1.11k|        ds->string[ds->length++] = c;
   97|  1.11k|        ds->string[ds->length] = '\0';
   98|  1.11k|    } else {
   99|     18|        ds_put_char__(ds, c);
  100|     18|    }
  101|  1.12k|}
netdev.c:ds_put_char:
   94|  83.7k|{
   95|  83.7k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 83.6k, False: 125]
  ------------------
   96|  83.6k|        ds->string[ds->length++] = c;
   97|  83.6k|        ds->string[ds->length] = '\0';
   98|  83.6k|    } else {
   99|    125|        ds_put_char__(ds, c);
  100|    125|    }
  101|  83.7k|}
nx-match.c:ds_put_char:
   94|  16.9k|{
   95|  16.9k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 16.2k, False: 654]
  ------------------
   96|  16.2k|        ds->string[ds->length++] = c;
   97|  16.2k|        ds->string[ds->length] = '\0';
   98|  16.2k|    } else {
   99|    654|        ds_put_char__(ds, c);
  100|    654|    }
  101|  16.9k|}
ofp-actions.c:ds_put_char:
   94|   106k|{
   95|   106k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 102k, False: 3.59k]
  ------------------
   96|   102k|        ds->string[ds->length++] = c;
   97|   102k|        ds->string[ds->length] = '\0';
   98|   102k|    } else {
   99|  3.59k|        ds_put_char__(ds, c);
  100|  3.59k|    }
  101|   106k|}
ofp-bundle.c:ds_put_char:
   94|  7.09k|{
   95|  7.09k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 7.09k, False: 0]
  ------------------
   96|  7.09k|        ds->string[ds->length++] = c;
   97|  7.09k|        ds->string[ds->length] = '\0';
   98|  7.09k|    } else {
   99|      0|        ds_put_char__(ds, c);
  100|      0|    }
  101|  7.09k|}
ofp-connection.c:ds_put_char:
   94|   217k|{
   95|   217k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 216k, False: 1.29k]
  ------------------
   96|   216k|        ds->string[ds->length++] = c;
   97|   216k|        ds->string[ds->length] = '\0';
   98|   216k|    } else {
   99|  1.29k|        ds_put_char__(ds, c);
  100|  1.29k|    }
  101|   217k|}
ofp-ct.c:ds_put_char:
   94|  2.59k|{
   95|  2.59k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 1.99k, False: 600]
  ------------------
   96|  1.99k|        ds->string[ds->length++] = c;
   97|  1.99k|        ds->string[ds->length] = '\0';
   98|  1.99k|    } else {
   99|    600|        ds_put_char__(ds, c);
  100|    600|    }
  101|  2.59k|}
ofp-flow.c:ds_put_char:
   94|   202k|{
   95|   202k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 192k, False: 9.67k]
  ------------------
   96|   192k|        ds->string[ds->length++] = c;
   97|   192k|        ds->string[ds->length] = '\0';
   98|   192k|    } else {
   99|  9.67k|        ds_put_char__(ds, c);
  100|  9.67k|    }
  101|   202k|}
ofp-group.c:ds_put_char:
   94|  83.8k|{
   95|  83.8k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 76.9k, False: 6.96k]
  ------------------
   96|  76.9k|        ds->string[ds->length++] = c;
   97|  76.9k|        ds->string[ds->length] = '\0';
   98|  76.9k|    } else {
   99|  6.96k|        ds_put_char__(ds, c);
  100|  6.96k|    }
  101|  83.8k|}
ofp-ipfix.c:ds_put_char:
   94|  24.6k|{
   95|  24.6k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 22.9k, False: 1.65k]
  ------------------
   96|  22.9k|        ds->string[ds->length++] = c;
   97|  22.9k|        ds->string[ds->length] = '\0';
   98|  22.9k|    } else {
   99|  1.65k|        ds_put_char__(ds, c);
  100|  1.65k|    }
  101|  24.6k|}
ofp-match.c:ds_put_char:
   94|  1.65k|{
   95|  1.65k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 1.65k, False: 0]
  ------------------
   96|  1.65k|        ds->string[ds->length++] = c;
   97|  1.65k|        ds->string[ds->length] = '\0';
   98|  1.65k|    } else {
   99|      0|        ds_put_char__(ds, c);
  100|      0|    }
  101|  1.65k|}
ofp-meter.c:ds_put_char:
   94|  9.43k|{
   95|  9.43k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 8.34k, False: 1.08k]
  ------------------
   96|  8.34k|        ds->string[ds->length++] = c;
   97|  8.34k|        ds->string[ds->length] = '\0';
   98|  8.34k|    } else {
   99|  1.08k|        ds_put_char__(ds, c);
  100|  1.08k|    }
  101|  9.43k|}
ofp-monitor.c:ds_put_char:
   94|  11.7k|{
   95|  11.7k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 10.5k, False: 1.18k]
  ------------------
   96|  10.5k|        ds->string[ds->length++] = c;
   97|  10.5k|        ds->string[ds->length] = '\0';
   98|  10.5k|    } else {
   99|  1.18k|        ds_put_char__(ds, c);
  100|  1.18k|    }
  101|  11.7k|}
ofp-packet.c:ds_put_char:
   94|  99.7k|{
   95|  99.7k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 94.4k, False: 5.26k]
  ------------------
   96|  94.4k|        ds->string[ds->length++] = c;
   97|  94.4k|        ds->string[ds->length] = '\0';
   98|  94.4k|    } else {
   99|  5.26k|        ds_put_char__(ds, c);
  100|  5.26k|    }
  101|  99.7k|}
ofp-port.c:ds_put_char:
   94|   131k|{
   95|   131k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 128k, False: 3.66k]
  ------------------
   96|   128k|        ds->string[ds->length++] = c;
   97|   128k|        ds->string[ds->length] = '\0';
   98|   128k|    } else {
   99|  3.66k|        ds_put_char__(ds, c);
  100|  3.66k|    }
  101|   131k|}
packets.c:ds_put_char:
   94|  1.08k|{
   95|  1.08k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 1.08k, False: 0]
  ------------------
   96|  1.08k|        ds->string[ds->length++] = c;
   97|  1.08k|        ds->string[ds->length] = '\0';
   98|  1.08k|    } else {
   99|      0|        ds_put_char__(ds, c);
  100|      0|    }
  101|  1.08k|}
tun-metadata.c:ds_put_char:
   94|  14.4k|{
   95|  14.4k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 13.2k, False: 1.25k]
  ------------------
   96|  13.2k|        ds->string[ds->length++] = c;
   97|  13.2k|        ds->string[ds->length] = '\0';
   98|  13.2k|    } else {
   99|  1.25k|        ds_put_char__(ds, c);
  100|  1.25k|    }
  101|  14.4k|}
bundle.c:ds_put_char:
   94|  10.2k|{
   95|  10.2k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 9.41k, False: 873]
  ------------------
   96|  9.41k|        ds->string[ds->length++] = c;
   97|  9.41k|        ds->string[ds->length] = '\0';
   98|  9.41k|    } else {
   99|    873|        ds_put_char__(ds, c);
  100|    873|    }
  101|  10.2k|}
learn.c:ds_put_char:
   94|  36.1k|{
   95|  36.1k|    if (ds->length < ds->allocated) {
  ------------------
  |  Branch (95:9): [True: 34.9k, False: 1.24k]
  ------------------
   96|  34.9k|        ds->string[ds->length++] = c;
   97|  34.9k|        ds->string[ds->length] = '\0';
   98|  34.9k|    } else {
   99|  1.24k|        ds_put_char__(ds, c);
  100|  1.24k|    }
  101|  36.1k|}

nx-match.c:hmap_insert_at:
  306|    474|{
  307|    474|    hmap_insert_fast(hmap, node, hash);
  308|    474|    if (hmap->n / 2 > hmap->mask) {
  ------------------
  |  Branch (308:9): [True: 12, False: 462]
  ------------------
  309|     12|        hmap_expand_at(hmap, where);
  310|     12|    }
  311|    474|}
nx-match.c:hmap_insert_fast:
  289|    474|{
  290|    474|    struct hmap_node **bucket = &hmap->buckets[hash & hmap->mask];
  291|    474|    node->hash = hash;
  292|    474|    node->next = *bucket;
  293|    474|    *bucket = node;
  294|    474|    hmap->n++;
  295|    474|}
nx-match.c:hmap_first_in_bucket:
  367|  10.6M|{
  368|  10.6M|    return hmap->buckets[hash & hmap->mask];
  369|  10.6M|}
nx-match.c:hmap_next_in_bucket:
  381|  9.88M|{
  382|  9.88M|    return node->next;
  383|  9.88M|}
ofp-actions.c:hmap_first_with_hash:
  359|   332k|{
  360|   332k|    return hmap_next_with_hash__(hmap->buckets[hash & hmap->mask], hash);
  361|   332k|}
ofp-actions.c:hmap_next_with_hash__:
  348|   332k|{
  349|   608k|    while (node != NULL && node->hash != hash) {
  ------------------
  |  Branch (349:12): [True: 590k, False: 17.3k]
  |  Branch (349:28): [True: 275k, False: 315k]
  ------------------
  350|   275k|        node = node->next;
  351|   275k|    }
  352|   332k|    return CONST_CAST(struct hmap_node *, node);
  ------------------
  |  |   85|   332k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   332k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   332k|     (TYPE) (POINTER))
  ------------------
  353|   332k|}
ofp-actions.c:hmap_insert_at:
  306|    384|{
  307|    384|    hmap_insert_fast(hmap, node, hash);
  308|    384|    if (hmap->n / 2 > hmap->mask) {
  ------------------
  |  Branch (308:9): [True: 7, False: 377]
  ------------------
  309|      7|        hmap_expand_at(hmap, where);
  310|      7|    }
  311|    384|}
ofp-actions.c:hmap_insert_fast:
  289|    384|{
  290|    384|    struct hmap_node **bucket = &hmap->buckets[hash & hmap->mask];
  291|    384|    node->hash = hash;
  292|    384|    node->next = *bucket;
  293|    384|    *bucket = node;
  294|    384|    hmap->n++;
  295|    384|}
ofp-msgs.c:hmap_insert_at:
  306|  1.46k|{
  307|  1.46k|    hmap_insert_fast(hmap, node, hash);
  308|  1.46k|    if (hmap->n / 2 > hmap->mask) {
  ------------------
  |  Branch (308:9): [True: 9, False: 1.45k]
  ------------------
  309|      9|        hmap_expand_at(hmap, where);
  310|      9|    }
  311|  1.46k|}
ofp-msgs.c:hmap_insert_fast:
  289|  1.46k|{
  290|  1.46k|    struct hmap_node **bucket = &hmap->buckets[hash & hmap->mask];
  291|  1.46k|    node->hash = hash;
  292|  1.46k|    node->next = *bucket;
  293|  1.46k|    *bucket = node;
  294|  1.46k|    hmap->n++;
  295|  1.46k|}
ofp-msgs.c:hmap_first_with_hash:
  359|  3.89M|{
  360|  3.89M|    return hmap_next_with_hash__(hmap->buckets[hash & hmap->mask], hash);
  361|  3.89M|}
ofp-msgs.c:hmap_next_with_hash__:
  348|  3.89M|{
  349|  5.78M|    while (node != NULL && node->hash != hash) {
  ------------------
  |  Branch (349:12): [True: 5.27M, False: 502k]
  |  Branch (349:28): [True: 1.88M, False: 3.39M]
  ------------------
  350|  1.88M|        node = node->next;
  351|  1.88M|    }
  352|  3.89M|    return CONST_CAST(struct hmap_node *, node);
  ------------------
  |  |   85|  3.89M|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  3.89M|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  3.89M|     (TYPE) (POINTER))
  ------------------
  353|  3.89M|}
ofp-msgs.c:hmap_next_with_hash:
  395|    336|{
  396|    336|    return hmap_next_with_hash__(node->next, node->hash);
  397|    336|}
hmap.c:hmap_insert_fast:
  289|  3.04k|{
  290|  3.04k|    struct hmap_node **bucket = &hmap->buckets[hash & hmap->mask];
  291|  3.04k|    node->hash = hash;
  292|  3.04k|    node->next = *bucket;
  293|  3.04k|    *bucket = node;
  294|  3.04k|    hmap->n++;
  295|  3.04k|}

ofpbuf.c:ovs_list_poison:
  157|  1.69M|{
  158|  1.69M|    *list = OVS_LIST_POISON;
  159|  1.69M|}
vlog.c:ovs_list_insert:
  164|    182|{
  165|    182|    elem->prev = before->prev;
  166|    182|    elem->next = before;
  167|    182|    before->prev->next = elem;
  168|    182|    before->prev = elem;
  169|    182|}
nx-match.c:ovs_list_init:
  149|    211|{
  150|    211|    list->next = list->prev = list;
  151|    211|}
nx-match.c:ovs_list_push_back:
  204|    237|{
  205|    237|    ovs_list_insert(list, elem);
  206|    237|}
nx-match.c:ovs_list_insert:
  164|    237|{
  165|    237|    elem->prev = before->prev;
  166|    237|    elem->next = before;
  167|    237|    before->prev->next = elem;
  168|    237|    before->prev = elem;
  169|    237|}
ofp-group.c:ovs_list_is_empty:
  320|  55.7k|{
  321|  55.7k|    return list->next == list;
  322|  55.7k|}
ofp-group.c:ovs_list_pop_front:
  261|  15.4k|{
  262|  15.4k|    struct ovs_list *front = list->next;
  263|       |
  264|  15.4k|    ovs_list_remove(front);
  265|  15.4k|    return front;
  266|  15.4k|}
ofp-group.c:ovs_list_remove:
  251|  15.4k|{
  252|  15.4k|    elem->prev->next = elem->next;
  253|  15.4k|    elem->next->prev = elem->prev;
  254|  15.4k|    return elem->next;
  255|  15.4k|}
ofp-group.c:ovs_list_push_back:
  204|  15.4k|{
  205|  15.4k|    ovs_list_insert(list, elem);
  206|  15.4k|}
ofp-group.c:ovs_list_insert:
  164|  15.4k|{
  165|  15.4k|    elem->prev = before->prev;
  166|  15.4k|    elem->next = before;
  167|  15.4k|    before->prev->next = elem;
  168|  15.4k|    before->prev = elem;
  169|  15.4k|}
ofp-group.c:ovs_list_init:
  149|  37.8k|{
  150|  37.8k|    list->next = list->prev = list;
  151|  37.8k|}
ofp-group.c:ovs_list_is_short:
  334|  1.24k|{
  335|  1.24k|    return list->next == list->prev;
  336|  1.24k|}
ofp-group.c:ovs_list_is_singleton:
  327|  1.24k|{
  328|  1.24k|    return ovs_list_is_short(list) && !ovs_list_is_empty(list);
  ------------------
  |  Branch (328:12): [True: 1.23k, False: 10]
  |  Branch (328:39): [True: 958, False: 280]
  ------------------
  329|  1.24k|}
ofp-match.c:ovs_list_init:
  149|  4.69k|{
  150|  4.69k|    list->next = list->prev = list;
  151|  4.69k|}
ofp-match.c:ovs_list_push_back:
  204|  10.3k|{
  205|  10.3k|    ovs_list_insert(list, elem);
  206|  10.3k|}
ofp-match.c:ovs_list_insert:
  164|  10.3k|{
  165|  10.3k|    elem->prev = before->prev;
  166|  10.3k|    elem->next = before;
  167|  10.3k|    before->prev->next = elem;
  168|  10.3k|    before->prev = elem;
  169|  10.3k|}
ofp-match.c:ovs_list_is_empty:
  320|  15.0k|{
  321|  15.0k|    return list->next == list;
  322|  15.0k|}
ofp-match.c:ovs_list_pop_front:
  261|  10.3k|{
  262|  10.3k|    struct ovs_list *front = list->next;
  263|       |
  264|  10.3k|    ovs_list_remove(front);
  265|  10.3k|    return front;
  266|  10.3k|}
ofp-match.c:ovs_list_remove:
  251|  10.3k|{
  252|  10.3k|    elem->prev->next = elem->next;
  253|  10.3k|    elem->next->prev = elem->prev;
  254|  10.3k|    return elem->next;
  255|  10.3k|}

ofp-table.c:mf_from_id:
 2363|   345k|{
 2364|   345k|    extern const struct mf_field mf_fields[MFF_N_IDS];
 2365|   345k|    ovs_assert((unsigned int) id < MFF_N_IDS);
  ------------------
  |  |   62|   345k|#define ovs_assert ovs_ignore
  ------------------
 2366|   345k|    return &mf_fields[id];
 2367|   345k|}
meta-flow.c:mf_from_id:
 2363|  16.2k|{
 2364|  16.2k|    extern const struct mf_field mf_fields[MFF_N_IDS];
 2365|  16.2k|    ovs_assert((unsigned int) id < MFF_N_IDS);
  ------------------
  |  |   62|  16.2k|#define ovs_assert ovs_ignore
  ------------------
 2366|  16.2k|    return &mf_fields[id];
 2367|  16.2k|}
nx-match.c:mf_from_id:
 2363|   507k|{
 2364|   507k|    extern const struct mf_field mf_fields[MFF_N_IDS];
 2365|   507k|    ovs_assert((unsigned int) id < MFF_N_IDS);
  ------------------
  |  |   62|   507k|#define ovs_assert ovs_ignore
  ------------------
 2366|   507k|    return &mf_fields[id];
 2367|   507k|}

flow.c:nsh_get_ver:
  286|  9.30k|{
  287|  9.30k|    return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK) >> NSH_VER_SHIFT;
  ------------------
  |  |  226|  9.30k|#define NSH_VER_MASK       0xc000
  ------------------
                  return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK) >> NSH_VER_SHIFT;
  ------------------
  |  |  227|  9.30k|#define NSH_VER_SHIFT      14
  ------------------
  288|  9.30k|}
flow.c:nsh_get_flags:
  292|  9.30k|{
  293|  9.30k|    return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK) >> NSH_FLAGS_SHIFT;
  ------------------
  |  |  228|  9.30k|#define NSH_FLAGS_MASK     0x3000
  ------------------
                  return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK) >> NSH_FLAGS_SHIFT;
  ------------------
  |  |  229|  9.30k|#define NSH_FLAGS_SHIFT    12
  ------------------
  294|  9.30k|}
flow.c:nsh_hdr_len:
  273|  9.30k|{
  274|  9.30k|    return ((ntohs(nsh->ver_flags_ttl_len) & NSH_LEN_MASK)
  ------------------
  |  |  232|  9.30k|#define NSH_LEN_MASK       0x003f
  ------------------
  275|  9.30k|            >> NSH_LEN_SHIFT) << 2;
  ------------------
  |  |  233|  9.30k|#define NSH_LEN_SHIFT      0
  ------------------
  276|  9.30k|}
flow.c:nsh_get_ttl:
  304|  9.30k|{
  305|  9.30k|    return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK) >> NSH_TTL_SHIFT;
  ------------------
  |  |  230|  9.30k|#define NSH_TTL_MASK       0x0fc0
  ------------------
                  return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK) >> NSH_TTL_SHIFT;
  ------------------
  |  |  231|  9.30k|#define NSH_TTL_SHIFT      6
  ------------------
  306|  9.30k|}
flow.c:nsh_get_path_hdr:
  326|  6.17k|{
  327|  6.17k|    return nsh_16aligned_be32(&nsh->path_hdr);
  328|  6.17k|}
flow.c:nsh_16aligned_be32:
  311|  6.17k|{
  312|       |#ifdef WORDS_BIGENDIAN
  313|       |    return ((ovs_be32) x->hi << 16) | (ovs_be32) x->lo;
  314|       |#else
  315|  6.17k|    return ((ovs_be32) x->lo << 16) | (ovs_be32) x->hi;
  316|  6.17k|#endif
  317|  6.17k|}
match.c:nsh_path_hdr_to_spi:
  346|  33.5k|{
  347|  33.5k|    uint32_t hv = (ntohl(path_hdr) & NSH_SPI_MASK) >> NSH_SPI_SHIFT;
  ------------------
  |  |  238|  33.5k|#define NSH_SPI_MASK       0xffffff00
  ------------------
                  uint32_t hv = (ntohl(path_hdr) & NSH_SPI_MASK) >> NSH_SPI_SHIFT;
  ------------------
  |  |  239|  33.5k|#define NSH_SPI_SHIFT      8
  ------------------
  348|       |    return htonl(hv);
  349|  33.5k|}
match.c:nsh_path_hdr_to_si:
  359|  33.5k|{
  360|  33.5k|    return (ntohl(path_hdr) & NSH_SI_MASK) >> NSH_SI_SHIFT;
  ------------------
  |  |  240|  33.5k|#define NSH_SI_MASK        0x000000ff
  ------------------
                  return (ntohl(path_hdr) & NSH_SI_MASK) >> NSH_SI_SHIFT;
  ------------------
  |  |  241|  33.5k|#define NSH_SI_SHIFT       0
  ------------------
  361|  33.5k|}
meta-flow.c:nsh_path_hdr_set_spi:
  395|     37|{
  396|     37|    uint32_t hvph  = ntohl(*path_hdr);
  397|     37|    uint32_t hvspi = ntohl(spi);
  398|       |    *path_hdr = htonl(( hvph & ~NSH_SPI_MASK) |
  399|     37|                      ((hvspi << NSH_SPI_SHIFT) & NSH_SPI_MASK));
  400|     37|}
meta-flow.c:nsh_path_hdr_set_si:
  404|    358|{
  405|    358|    uint32_t hvph  = ntohl(*path_hdr);
  406|       |    *path_hdr = htonl((hvph & ~NSH_SI_MASK) |
  407|    358|                      ((si << NSH_SI_SHIFT) & NSH_SI_MASK));
  408|    358|}

ofp-actions.c:ofpact_next:
  212|   547k|{
  213|   547k|    return ALIGNED_CAST(struct ofpact *,
  ------------------
  |  |  434|   547k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  214|   547k|                        (uint8_t *) ofpact + OFPACT_ALIGN(ofpact->len));
  215|   547k|}
ofp-actions.c:ofpact_get_CLONE:
 1289|  2.30k|    {                                                                   \
 1290|  2.30k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  2.30k|#define ovs_assert ovs_ignore
  ------------------
 1291|  2.30k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  2.30k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  2.30k|    }                                                                   \
ofp-actions.c:ofpact_get_CT:
 1289|  3.34k|    {                                                                   \
 1290|  3.34k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.34k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.34k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.34k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.34k|    }                                                                   \
ofp-actions.c:ofpact_get_WRITE_ACTIONS:
 1289|  11.0k|    {                                                                   \
 1290|  11.0k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  11.0k|#define ovs_assert ovs_ignore
  ------------------
 1291|  11.0k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  11.0k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  11.0k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_FIELD:
 1303|  19.1k|    {                                                                   \
 1304|  19.1k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  19.1k|                                            sizeof(struct STRUCT));     \
 1306|  19.1k|    }                                                                   \
ofp-actions.c:ofpact_finish_SET_FIELD:
 1317|  19.1k|    {                                                                   \
 1318|  19.1k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  19.1k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  19.1k|#define ovs_assert ovs_ignore
  ------------------
 1320|  19.1k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  19.1k|    }
ofp-actions.c:ofpact_end:
  221|   936k|{
  222|   936k|    return ofpacts
  ------------------
  |  Branch (222:12): [True: 924k, False: 12.2k]
  ------------------
  223|   936k|           ? ALIGNED_CAST(struct ofpact *, (uint8_t *) ofpacts + ofpacts_len)
  ------------------
  |  |  434|   924k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  224|       |           : NULL;
  225|   936k|}
ofp-actions.c:ofpact_put_METER:
 1303|  2.88k|    {                                                                   \
 1304|  2.88k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.88k|                                            sizeof(struct STRUCT));     \
 1306|  2.88k|    }                                                                   \
ofp-actions.c:ofpact_put_OUTPUT:
 1303|  17.6k|    {                                                                   \
 1304|  17.6k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  17.6k|                                            sizeof(struct STRUCT));     \
 1306|  17.6k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_VLAN_VID:
 1303|  7.05k|    {                                                                   \
 1304|  7.05k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  7.05k|                                            sizeof(struct STRUCT));     \
 1306|  7.05k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_VLAN_PCP:
 1303|  5.89k|    {                                                                   \
 1304|  5.89k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  5.89k|                                            sizeof(struct STRUCT));     \
 1306|  5.89k|    }                                                                   \
ofp-actions.c:ofpact_put_PUSH_VLAN:
 1303|  1.58k|    {                                                                   \
 1304|  1.58k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.58k|                                            sizeof(struct STRUCT));     \
 1306|  1.58k|    }                                                                   \
ofp-actions.c:ofpact_put_STRIP_VLAN:
 1303|  9.40k|    {                                                                   \
 1304|  9.40k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  9.40k|                                            sizeof(struct STRUCT));     \
 1306|  9.40k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_ETH_SRC:
 1303|    409|    {                                                                   \
 1304|    409|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    409|                                            sizeof(struct STRUCT));     \
 1306|    409|    }                                                                   \
ofp-actions.c:ofpact_put_SET_ETH_DST:
 1303|    360|    {                                                                   \
 1304|    360|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    360|                                            sizeof(struct STRUCT));     \
 1306|    360|    }                                                                   \
ofp-actions.c:ofpact_put_SET_IPV4_SRC:
 1303|  5.02k|    {                                                                   \
 1304|  5.02k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  5.02k|                                            sizeof(struct STRUCT));     \
 1306|  5.02k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_IPV4_DST:
 1303|  8.89k|    {                                                                   \
 1304|  8.89k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  8.89k|                                            sizeof(struct STRUCT));     \
 1306|  8.89k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_IP_DSCP:
 1303|  8.28k|    {                                                                   \
 1304|  8.28k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  8.28k|                                            sizeof(struct STRUCT));     \
 1306|  8.28k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_IP_ECN:
 1303|  3.84k|    {                                                                   \
 1304|  3.84k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  3.84k|                                            sizeof(struct STRUCT));     \
 1306|  3.84k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_L4_SRC_PORT:
 1303|  14.6k|    {                                                                   \
 1304|  14.6k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  14.6k|                                            sizeof(struct STRUCT));     \
 1306|  14.6k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_L4_DST_PORT:
 1303|  6.72k|    {                                                                   \
 1304|  6.72k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  6.72k|                                            sizeof(struct STRUCT));     \
 1306|  6.72k|    }                                                                   \
ofp-actions.c:ofpact_put_ENQUEUE:
 1303|    455|    {                                                                   \
 1304|    455|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    455|                                            sizeof(struct STRUCT));     \
 1306|    455|    }                                                                   \
ofp-actions.c:ofpact_put_SET_MPLS_LABEL:
 1303|  3.81k|    {                                                                   \
 1304|  3.81k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  3.81k|                                            sizeof(struct STRUCT));     \
 1306|  3.81k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_MPLS_TC:
 1303|  1.45k|    {                                                                   \
 1304|  1.45k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.45k|                                            sizeof(struct STRUCT));     \
 1306|  1.45k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_MPLS_TTL:
 1303|  3.97k|    {                                                                   \
 1304|  3.97k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  3.97k|                                            sizeof(struct STRUCT));     \
 1306|  3.97k|    }                                                                   \
ofp-actions.c:ofpact_put_DEC_MPLS_TTL:
 1303|  6.76k|    {                                                                   \
 1304|  6.76k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  6.76k|                                            sizeof(struct STRUCT));     \
 1306|  6.76k|    }                                                                   \
ofp-actions.c:ofpact_put_PUSH_MPLS:
 1303|  4.52k|    {                                                                   \
 1304|  4.52k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  4.52k|                                            sizeof(struct STRUCT));     \
 1306|  4.52k|    }                                                                   \
ofp-actions.c:ofpact_put_POP_MPLS:
 1303|  5.71k|    {                                                                   \
 1304|  5.71k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  5.71k|                                            sizeof(struct STRUCT));     \
 1306|  5.71k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_QUEUE:
 1303|    287|    {                                                                   \
 1304|    287|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    287|                                            sizeof(struct STRUCT));     \
 1306|    287|    }                                                                   \
ofp-actions.c:ofpact_put_GROUP:
 1303|    599|    {                                                                   \
 1304|    599|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    599|                                            sizeof(struct STRUCT));     \
 1306|    599|    }                                                                   \
ofp-actions.c:ofpact_put_SET_IP_TTL:
 1303|  1.35k|    {                                                                   \
 1304|  1.35k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.35k|                                            sizeof(struct STRUCT));     \
 1306|  1.35k|    }                                                                   \
ofp-actions.c:ofpact_put_DEC_TTL:
 1303|  5.92k|    {                                                                   \
 1304|  5.92k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  5.92k|                                            sizeof(struct STRUCT));     \
 1306|  5.92k|    }                                                                   \
ofp-actions.c:ofpact_finish_DEC_TTL:
 1317|  5.24k|    {                                                                   \
 1318|  5.24k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  5.24k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  5.24k|#define ovs_assert ovs_ignore
  ------------------
 1320|  5.24k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  5.24k|    }
ofp-actions.c:ofpact_put_REG_MOVE:
 1303|  8.80k|    {                                                                   \
 1304|  8.80k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  8.80k|                                            sizeof(struct STRUCT));     \
 1306|  8.80k|    }                                                                   \
ofp-actions.c:ofpact_put_RESUBMIT:
 1303|  1.19k|    {                                                                   \
 1304|  1.19k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.19k|                                            sizeof(struct STRUCT));     \
 1306|  1.19k|    }                                                                   \
ofp-actions.c:ofpact_put_SET_TUNNEL:
 1303|  1.90k|    {                                                                   \
 1304|  1.90k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.90k|                                            sizeof(struct STRUCT));     \
 1306|  1.90k|    }                                                                   \
ofp-actions.c:ofpact_put_POP_QUEUE:
 1303|  2.74k|    {                                                                   \
 1304|  2.74k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.74k|                                            sizeof(struct STRUCT));     \
 1306|  2.74k|    }                                                                   \
ofp-actions.c:ofpact_put_NOTE:
 1303|  11.7k|    {                                                                   \
 1304|  11.7k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  11.7k|                                            sizeof(struct STRUCT));     \
 1306|  11.7k|    }                                                                   \
ofp-actions.c:ofpact_finish_NOTE:
 1317|  11.7k|    {                                                                   \
 1318|  11.7k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  11.7k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  11.7k|#define ovs_assert ovs_ignore
  ------------------
 1320|  11.7k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  11.7k|    }
ofp-actions.c:ofpact_put_MULTIPATH:
 1303|  2.46k|    {                                                                   \
 1304|  2.46k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.46k|                                            sizeof(struct STRUCT));     \
 1306|  2.46k|    }                                                                   \
ofp-actions.c:ofpact_put_BUNDLE:
 1303|  4.44k|    {                                                                   \
 1304|  4.44k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  4.44k|                                            sizeof(struct STRUCT));     \
 1306|  4.44k|    }                                                                   \
ofp-actions.c:ofpact_finish_BUNDLE:
 1317|  4.20k|    {                                                                   \
 1318|  4.20k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  4.20k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  4.20k|#define ovs_assert ovs_ignore
  ------------------
 1320|  4.20k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  4.20k|    }
ofp-actions.c:ofpact_put_OUTPUT_REG:
 1303|  1.43k|    {                                                                   \
 1304|  1.43k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.43k|                                            sizeof(struct STRUCT));     \
 1306|  1.43k|    }                                                                   \
ofp-actions.c:ofpact_put_LEARN:
 1303|  26.1k|    {                                                                   \
 1304|  26.1k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  26.1k|                                            sizeof(struct STRUCT));     \
 1306|  26.1k|    }                                                                   \
ofp-actions.c:ofpact_finish_LEARN:
 1317|  21.1k|    {                                                                   \
 1318|  21.1k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  21.1k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  21.1k|#define ovs_assert ovs_ignore
  ------------------
 1320|  21.1k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  21.1k|    }
ofp-actions.c:ofpact_put_EXIT:
 1303|    341|    {                                                                   \
 1304|    341|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    341|                                            sizeof(struct STRUCT));     \
 1306|    341|    }                                                                   \
ofp-actions.c:ofpact_put_FIN_TIMEOUT:
 1303|  1.03k|    {                                                                   \
 1304|  1.03k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.03k|                                            sizeof(struct STRUCT));     \
 1306|  1.03k|    }                                                                   \
ofp-actions.c:ofpact_put_CONTROLLER:
 1303|  2.27k|    {                                                                   \
 1304|  2.27k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.27k|                                            sizeof(struct STRUCT));     \
 1306|  2.27k|    }                                                                   \
ofp-actions.c:ofpact_finish_CONTROLLER:
 1317|  1.92k|    {                                                                   \
 1318|  1.92k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  1.92k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.92k|#define ovs_assert ovs_ignore
  ------------------
 1320|  1.92k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  1.92k|    }
ofp-actions.c:ofpact_put_STACK_PUSH:
 1303|  1.36k|    {                                                                   \
 1304|  1.36k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.36k|                                            sizeof(struct STRUCT));     \
 1306|  1.36k|    }                                                                   \
ofp-actions.c:ofpact_put_STACK_POP:
 1303|  2.08k|    {                                                                   \
 1304|  2.08k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.08k|                                            sizeof(struct STRUCT));     \
 1306|  2.08k|    }                                                                   \
ofp-actions.c:ofpact_put_SAMPLE:
 1303|  8.00k|    {                                                                   \
 1304|  8.00k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  8.00k|                                            sizeof(struct STRUCT));     \
 1306|  8.00k|    }                                                                   \
ofp-actions.c:ofpact_put_CONJUNCTION:
 1303|  3.85k|    {                                                                   \
 1304|  3.85k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  3.85k|                                            sizeof(struct STRUCT));     \
 1306|  3.85k|    }                                                                   \
ofp-actions.c:ofpact_put_CT:
 1303|  9.51k|    {                                                                   \
 1304|  9.51k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  9.51k|                                            sizeof(struct STRUCT));     \
 1306|  9.51k|    }                                                                   \
ofp-actions.c:ofpact_finish_CT:
 1317|  6.28k|    {                                                                   \
 1318|  6.28k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  6.28k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  6.28k|#define ovs_assert ovs_ignore
  ------------------
 1320|  6.28k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  6.28k|    }
ofp-actions.c:ofpact_get_NAT:
 1289|  4.57k|    {                                                                   \
 1290|  4.57k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  4.57k|#define ovs_assert ovs_ignore
  ------------------
 1291|  4.57k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  4.57k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  4.57k|    }                                                                   \
ofp-actions.c:ofpact_put_NAT:
 1303|  28.0k|    {                                                                   \
 1304|  28.0k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  28.0k|                                            sizeof(struct STRUCT));     \
 1306|  28.0k|    }                                                                   \
ofp-actions.c:ofpact_put_OUTPUT_TRUNC:
 1303|  1.14k|    {                                                                   \
 1304|  1.14k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.14k|                                            sizeof(struct STRUCT));     \
 1306|  1.14k|    }                                                                   \
ofp-actions.c:ofpact_put_CLONE:
 1303|  2.95k|    {                                                                   \
 1304|  2.95k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  2.95k|                                            sizeof(struct STRUCT));     \
 1306|  2.95k|    }                                                                   \
ofp-actions.c:ofpact_finish_CLONE:
 1317|  2.89k|    {                                                                   \
 1318|  2.89k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  2.89k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  2.89k|#define ovs_assert ovs_ignore
  ------------------
 1320|  2.89k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  2.89k|    }
ofp-actions.c:ofpact_put_CT_CLEAR:
 1303|    138|    {                                                                   \
 1304|    138|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    138|                                            sizeof(struct STRUCT));     \
 1306|    138|    }                                                                   \
ofp-actions.c:ofpact_put_ENCAP:
 1303|  5.89k|    {                                                                   \
 1304|  5.89k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  5.89k|                                            sizeof(struct STRUCT));     \
 1306|  5.89k|    }                                                                   \
ofp-actions.c:ofpact_finish_ENCAP:
 1317|  3.67k|    {                                                                   \
 1318|  3.67k|        struct ofpact *ofpact = &(*ofpactp)->ofpact;                    \
 1319|  3.67k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.67k|#define ovs_assert ovs_ignore
  ------------------
 1320|  3.67k|        *ofpactp = (struct STRUCT *) ofpact_finish(ofpbuf, ofpact);     \
 1321|  3.67k|    }
ofp-actions.c:ofpact_put_DECAP:
 1303|  13.8k|    {                                                                   \
 1304|  13.8k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  13.8k|                                            sizeof(struct STRUCT));     \
 1306|  13.8k|    }                                                                   \
ofp-actions.c:ofpact_put_DEC_NSH_TTL:
 1303|  1.26k|    {                                                                   \
 1304|  1.26k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.26k|                                            sizeof(struct STRUCT));     \
 1306|  1.26k|    }                                                                   \
ofp-actions.c:ofpact_put_CHECK_PKT_LARGER:
 1303|    422|    {                                                                   \
 1304|    422|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    422|                                            sizeof(struct STRUCT));     \
 1306|    422|    }                                                                   \
ofp-actions.c:ofpact_put_DELETE_FIELD:
 1303|    113|    {                                                                   \
 1304|    113|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    113|                                            sizeof(struct STRUCT));     \
 1306|    113|    }                                                                   \
ofp-actions.c:ofpact_put_CLEAR_ACTIONS:
 1303|    148|    {                                                                   \
 1304|    148|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|    148|                                            sizeof(struct STRUCT));     \
 1306|    148|    }                                                                   \
ofp-actions.c:ofpact_put_WRITE_METADATA:
 1303|  1.25k|    {                                                                   \
 1304|  1.25k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.25k|                                            sizeof(struct STRUCT));     \
 1306|  1.25k|    }                                                                   \
ofp-actions.c:ofpact_put_GOTO_TABLE:
 1303|  1.99k|    {                                                                   \
 1304|  1.99k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  1.99k|                                            sizeof(struct STRUCT));     \
 1306|  1.99k|    }                                                                   \
ofp-actions.c:ofpact_get_OUTPUT:
 1289|  5.12k|    {                                                                   \
 1290|  5.12k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  5.12k|#define ovs_assert ovs_ignore
  ------------------
 1291|  5.12k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  5.12k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  5.12k|    }                                                                   \
ofp-actions.c:ofpact_get_CONTROLLER:
 1289|    367|    {                                                                   \
 1290|    367|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    367|#define ovs_assert ovs_ignore
  ------------------
 1291|    367|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    367|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    367|    }                                                                   \
ofp-actions.c:ofpact_get_ENQUEUE:
 1289|    133|    {                                                                   \
 1290|    133|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    133|#define ovs_assert ovs_ignore
  ------------------
 1291|    133|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    133|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    133|    }                                                                   \
ofp-actions.c:ofpact_get_OUTPUT_REG:
 1289|    815|    {                                                                   \
 1290|    815|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    815|#define ovs_assert ovs_ignore
  ------------------
 1291|    815|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    815|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    815|    }                                                                   \
ofp-actions.c:ofpact_get_BUNDLE:
 1289|    692|    {                                                                   \
 1290|    692|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    692|#define ovs_assert ovs_ignore
  ------------------
 1291|    692|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    692|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    692|    }                                                                   \
ofp-actions.c:ofpact_get_SET_FIELD:
 1289|  3.08k|    {                                                                   \
 1290|  3.08k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.08k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.08k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.08k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.08k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_VLAN_VID:
 1289|  3.46k|    {                                                                   \
 1290|  3.46k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.46k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.46k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.46k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.46k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_VLAN_PCP:
 1289|  4.41k|    {                                                                   \
 1290|  4.41k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  4.41k|#define ovs_assert ovs_ignore
  ------------------
 1291|  4.41k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  4.41k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  4.41k|    }                                                                   \
ofp-actions.c:ofpact_get_STRIP_VLAN:
 1289|  7.54k|    {                                                                   \
 1290|  7.54k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  7.54k|#define ovs_assert ovs_ignore
  ------------------
 1291|  7.54k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  7.54k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  7.54k|    }                                                                   \
ofp-actions.c:ofpact_get_PUSH_VLAN:
 1289|  1.32k|    {                                                                   \
 1290|  1.32k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.32k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.32k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.32k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.32k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_ETH_SRC:
 1289|    387|    {                                                                   \
 1290|    387|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    387|#define ovs_assert ovs_ignore
  ------------------
 1291|    387|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    387|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    387|    }                                                                   \
ofp-actions.c:ofpact_get_SET_ETH_DST:
 1289|    282|    {                                                                   \
 1290|    282|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    282|#define ovs_assert ovs_ignore
  ------------------
 1291|    282|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    282|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    282|    }                                                                   \
ofp-actions.c:ofpact_get_SET_IPV4_SRC:
 1289|  3.80k|    {                                                                   \
 1290|  3.80k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.80k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.80k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.80k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.80k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_IPV4_DST:
 1289|  7.25k|    {                                                                   \
 1290|  7.25k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  7.25k|#define ovs_assert ovs_ignore
  ------------------
 1291|  7.25k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  7.25k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  7.25k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_IP_DSCP:
 1289|  6.48k|    {                                                                   \
 1290|  6.48k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  6.48k|#define ovs_assert ovs_ignore
  ------------------
 1291|  6.48k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  6.48k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  6.48k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_IP_ECN:
 1289|  3.45k|    {                                                                   \
 1290|  3.45k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.45k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.45k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.45k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.45k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_IP_TTL:
 1289|  1.31k|    {                                                                   \
 1290|  1.31k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.31k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.31k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.31k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.31k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_L4_SRC_PORT:
 1289|  5.73k|    {                                                                   \
 1290|  5.73k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  5.73k|#define ovs_assert ovs_ignore
  ------------------
 1291|  5.73k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  5.73k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  5.73k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_L4_DST_PORT:
 1289|  6.28k|    {                                                                   \
 1290|  6.28k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  6.28k|#define ovs_assert ovs_ignore
  ------------------
 1291|  6.28k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  6.28k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  6.28k|    }                                                                   \
ofp-actions.c:ofpact_get_REG_MOVE:
 1289|     70|    {                                                                   \
 1290|     70|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     70|#define ovs_assert ovs_ignore
  ------------------
 1291|     70|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     70|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     70|    }                                                                   \
ofp-actions.c:ofpact_get_STACK_PUSH:
 1289|    144|    {                                                                   \
 1290|    144|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    144|#define ovs_assert ovs_ignore
  ------------------
 1291|    144|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    144|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    144|    }                                                                   \
ofp-actions.c:ofpact_get_STACK_POP:
 1289|  1.43k|    {                                                                   \
 1290|  1.43k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.43k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.43k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.43k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.43k|    }                                                                   \
ofp-actions.c:ofpact_get_DEC_TTL:
 1289|  1.35k|    {                                                                   \
 1290|  1.35k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.35k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.35k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.35k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.35k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_MPLS_LABEL:
 1289|  3.71k|    {                                                                   \
 1290|  3.71k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.71k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.71k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.71k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.71k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_MPLS_TC:
 1289|  1.40k|    {                                                                   \
 1290|  1.40k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.40k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.40k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.40k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.40k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_MPLS_TTL:
 1289|  1.96k|    {                                                                   \
 1290|  1.96k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.96k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.96k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.96k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.96k|    }                                                                   \
ofp-actions.c:ofpact_get_DEC_MPLS_TTL:
 1289|  6.01k|    {                                                                   \
 1290|  6.01k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  6.01k|#define ovs_assert ovs_ignore
  ------------------
 1291|  6.01k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  6.01k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  6.01k|    }                                                                   \
ofp-actions.c:ofpact_get_PUSH_MPLS:
 1289|  3.76k|    {                                                                   \
 1290|  3.76k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  3.76k|#define ovs_assert ovs_ignore
  ------------------
 1291|  3.76k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  3.76k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  3.76k|    }                                                                   \
ofp-actions.c:ofpact_get_POP_MPLS:
 1289|  4.66k|    {                                                                   \
 1290|  4.66k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  4.66k|#define ovs_assert ovs_ignore
  ------------------
 1291|  4.66k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  4.66k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  4.66k|    }                                                                   \
ofp-actions.c:ofpact_get_DEC_NSH_TTL:
 1289|  1.18k|    {                                                                   \
 1290|  1.18k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.18k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.18k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.18k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.18k|    }                                                                   \
ofp-actions.c:ofpact_get_DELETE_FIELD:
 1289|     60|    {                                                                   \
 1290|     60|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     60|#define ovs_assert ovs_ignore
  ------------------
 1291|     60|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     60|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     60|    }                                                                   \
ofp-actions.c:ofpact_get_ENCAP:
 1289|  2.58k|    {                                                                   \
 1290|  2.58k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  2.58k|#define ovs_assert ovs_ignore
  ------------------
 1291|  2.58k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  2.58k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  2.58k|    }                                                                   \
ofp-actions.c:ofpact_get_DECAP:
 1289|  11.6k|    {                                                                   \
 1290|  11.6k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  11.6k|#define ovs_assert ovs_ignore
  ------------------
 1291|  11.6k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  11.6k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  11.6k|    }                                                                   \
ofp-actions.c:ofpact_get_SET_TUNNEL:
 1289|     76|    {                                                                   \
 1290|     76|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     76|#define ovs_assert ovs_ignore
  ------------------
 1291|     76|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     76|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     76|    }                                                                   \
ofp-actions.c:ofpact_get_SET_QUEUE:
 1289|     99|    {                                                                   \
 1290|     99|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     99|#define ovs_assert ovs_ignore
  ------------------
 1291|     99|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     99|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     99|    }                                                                   \
ofp-actions.c:ofpact_get_POP_QUEUE:
 1289|    819|    {                                                                   \
 1290|    819|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    819|#define ovs_assert ovs_ignore
  ------------------
 1291|    819|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    819|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    819|    }                                                                   \
ofp-actions.c:ofpact_get_FIN_TIMEOUT:
 1289|    149|    {                                                                   \
 1290|    149|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    149|#define ovs_assert ovs_ignore
  ------------------
 1291|    149|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    149|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    149|    }                                                                   \
ofp-actions.c:ofpact_get_RESUBMIT:
 1289|    524|    {                                                                   \
 1290|    524|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    524|#define ovs_assert ovs_ignore
  ------------------
 1291|    524|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    524|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    524|    }                                                                   \
ofp-actions.c:ofpact_get_LEARN:
 1289|  19.7k|    {                                                                   \
 1290|  19.7k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  19.7k|#define ovs_assert ovs_ignore
  ------------------
 1291|  19.7k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  19.7k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  19.7k|    }                                                                   \
ofp-actions.c:ofpact_get_CONJUNCTION:
 1289|     79|    {                                                                   \
 1290|     79|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     79|#define ovs_assert ovs_ignore
  ------------------
 1291|     79|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     79|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     79|    }                                                                   \
ofp-actions.c:ofpact_get_MULTIPATH:
 1289|    291|    {                                                                   \
 1290|    291|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    291|#define ovs_assert ovs_ignore
  ------------------
 1291|    291|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    291|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    291|    }                                                                   \
ofp-actions.c:ofpact_get_NOTE:
 1289|     72|    {                                                                   \
 1290|     72|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     72|#define ovs_assert ovs_ignore
  ------------------
 1291|     72|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     72|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     72|    }                                                                   \
ofp-actions.c:ofpact_get_EXIT:
 1289|    230|    {                                                                   \
 1290|    230|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    230|#define ovs_assert ovs_ignore
  ------------------
 1291|    230|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    230|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    230|    }                                                                   \
ofp-actions.c:ofpact_get_SAMPLE:
 1289|    293|    {                                                                   \
 1290|    293|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    293|#define ovs_assert ovs_ignore
  ------------------
 1291|    293|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    293|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    293|    }                                                                   \
ofp-actions.c:ofpact_ct_get_action_len:
  723|  7.69k|{
  724|       |    return oc->ofpact.len - offsetof(struct ofpact_conntrack, actions);
  725|  7.69k|}
ofp-actions.c:ofpact_get_CT_CLEAR:
 1289|     19|    {                                                                   \
 1290|     19|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     19|#define ovs_assert ovs_ignore
  ------------------
 1291|     19|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     19|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     19|    }                                                                   \
ofp-actions.c:ofpact_get_OUTPUT_TRUNC:
 1289|    983|    {                                                                   \
 1290|    983|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    983|#define ovs_assert ovs_ignore
  ------------------
 1291|    983|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    983|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    983|    }                                                                   \
ofp-actions.c:ofpact_nest_get_action_len:
  673|  26.3k|{
  674|       |    return on->ofpact.len - offsetof(struct ofpact_nest, actions);
  675|  26.3k|}
ofp-actions.c:ofpact_get_CHECK_PKT_LARGER:
 1289|     10|    {                                                                   \
 1290|     10|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|     10|#define ovs_assert ovs_ignore
  ------------------
 1291|     10|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|     10|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|     10|    }                                                                   \
ofp-actions.c:ofpact_get_CLEAR_ACTIONS:
 1289|    145|    {                                                                   \
 1290|    145|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    145|#define ovs_assert ovs_ignore
  ------------------
 1291|    145|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    145|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    145|    }                                                                   \
ofp-actions.c:ofpact_get_WRITE_METADATA:
 1289|    148|    {                                                                   \
 1290|    148|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    148|#define ovs_assert ovs_ignore
  ------------------
 1291|    148|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    148|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    148|    }                                                                   \
ofp-actions.c:ofpact_get_GOTO_TABLE:
 1289|  1.06k|    {                                                                   \
 1290|  1.06k|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|  1.06k|#define ovs_assert ovs_ignore
  ------------------
 1291|  1.06k|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|  1.06k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|  1.06k|    }                                                                   \
ofp-actions.c:ofpact_get_GROUP:
 1289|    517|    {                                                                   \
 1290|    517|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    517|#define ovs_assert ovs_ignore
  ------------------
 1291|    517|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    517|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    517|    }                                                                   \
ofp-actions.c:ofpact_get_METER:
 1289|    166|    {                                                                   \
 1290|    166|        ovs_assert(ofpact->type == OFPACT_##ENUM);                      \
  ------------------
  |  |   62|    166|#define ovs_assert ovs_ignore
  ------------------
 1291|    166|        return ALIGNED_CAST(struct STRUCT *, ofpact);                   \
  ------------------
  |  |  434|    166|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 1292|    166|    }                                                                   \
ofp-packet.c:ofpact_put_UNROLL_XLATE:
 1303|  9.92k|    {                                                                   \
 1304|  9.92k|        return (struct STRUCT *) ofpact_put(ofpacts, OFPACT_##ENUM,     \
 1305|  9.92k|                                            sizeof(struct STRUCT));     \
 1306|  9.92k|    }                                                                   \
learn.c:ofpact_learn_spec_end:
  894|   111k|{
  895|   111k|    return ALIGNED_CAST(const struct ofpact_learn_spec *,
  ------------------
  |  |  434|   111k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  896|   111k|                        ofpact_next(&learn->ofpact));
  897|   111k|}
learn.c:ofpact_next:
  212|   111k|{
  213|   111k|    return ALIGNED_CAST(struct ofpact *,
  ------------------
  |  |  434|   111k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  214|   111k|                        (uint8_t *) ofpact + OFPACT_ALIGN(ofpact->len));
  215|   111k|}
learn.c:ofpact_learn_spec_imm:
  850|  70.3k|{
  851|  70.3k|    return spec + 1;
  852|  70.3k|}
learn.c:ofpact_learn_spec_next:
  856|  73.5k|{
  857|  73.5k|    if (spec->src_type == NX_LEARN_SRC_IMMEDIATE) {
  ------------------
  |  |  822|  73.5k|#define NX_LEARN_SRC_IMMEDIATE (1 << 13) /* Copy from immediate value. */
  ------------------
  |  Branch (857:9): [True: 71.7k, False: 1.80k]
  ------------------
  858|  71.7k|        unsigned int n_bytes = OFPACT_ALIGN(DIV_ROUND_UP(spec->n_bits, 8));
  ------------------
  |  |  205|  71.7k|#define OFPACT_ALIGN(SIZE) ROUND_UP(SIZE, OFPACT_ALIGNTO)
  |  |  ------------------
  |  |  |  |  303|  71.7k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|  71.7k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  859|  71.7k|        return ALIGNED_CAST(const struct ofpact_learn_spec *,
  ------------------
  |  |  434|  71.7k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  860|  71.7k|                            (const uint8_t *)(spec + 1) + n_bytes);
  861|  71.7k|    }
  862|  1.80k|    return spec + 1;
  863|  73.5k|}

ofp-group.c:ofputil_bucket_has_liveness:
   80|  7.29k|{
   81|  7.29k|    return (bucket->watch_port != OFPP_ANY ||
  ------------------
  |  |   80|  7.29k|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|  7.29k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|  14.5k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (81:13): [True: 539, False: 6.76k]
  ------------------
   82|  6.76k|            bucket->watch_group != OFPG_ANY);
  ------------------
  |  Branch (82:13): [True: 545, False: 6.21k]
  ------------------
   83|  7.29k|}

ofp-connection.c:ofpprop_is_experimenter:
   73|  13.1k|{
   74|       |    return type > UINT16_MAX;
   75|  13.1k|}
ofp-prop.c:ofpprop_is_experimenter:
   73|  30.9k|{
   74|       |    return type > UINT16_MAX;
   75|  30.9k|}

ofp_print_target.c:ofpbuf_at:
  183|  4.46M|{
  184|  4.46M|    if (offset + size <= b->size) {
  ------------------
  |  Branch (184:9): [True: 4.43M, False: 35.6k]
  ------------------
  185|  4.43M|        ovs_assert(b->data);
  ------------------
  |  |   62|  4.43M|#define ovs_assert ovs_ignore
  ------------------
  186|  4.43M|        return (char *) b->data + offset;
  187|  4.43M|    }
  188|  35.6k|    return NULL;
  189|  4.46M|}
ofp_print_target.c:ofpbuf_pull:
  258|  2.21M|{
  259|  2.21M|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  2.21M|#define ovs_assert ovs_ignore
  ------------------
  260|  2.21M|    void *data = b->data;
  261|       |
  262|  2.21M|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 2.21M]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  2.21M|    b->data = (char*)b->data + size;
  267|  2.21M|    b->size = b->size - size;
  268|  2.21M|    return data;
  269|  2.21M|}
ofp-print.c:ofpbuf_const_initializer:
   97|  89.7k|{
   98|  89.7k|    return (struct ofpbuf) {
   99|  89.7k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  89.7k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  89.7k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  89.7k|     (TYPE) (POINTER))
  ------------------
  100|  89.7k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  89.7k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  89.7k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  89.7k|     (TYPE) (POINTER))
  ------------------
  101|  89.7k|        .size = size,
  102|  89.7k|        .allocated = size,
  103|  89.7k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  89.7k|        .list_node = OVS_LIST_POISON,
  106|  89.7k|        .source = OFPBUF_STACK,
  107|  89.7k|    };
  108|  89.7k|}
ofp-protocol.c:ofpbuf_const_initializer:
   97|    670|{
   98|    670|    return (struct ofpbuf) {
   99|    670|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|    670|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|    670|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|    670|     (TYPE) (POINTER))
  ------------------
  100|    670|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|    670|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|    670|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|    670|     (TYPE) (POINTER))
  ------------------
  101|    670|        .size = size,
  102|    670|        .allocated = size,
  103|    670|        .header = NULL,
  104|       |        .msg = NULL,
  105|    670|        .list_node = OVS_LIST_POISON,
  106|    670|        .source = OFPBUF_STACK,
  107|    670|    };
  108|    670|}
ofp-protocol.c:ofpbuf_pull:
  258|    670|{
  259|    670|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|    670|#define ovs_assert ovs_ignore
  ------------------
  260|    670|    void *data = b->data;
  261|       |
  262|    670|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 670]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|    670|    b->data = (char*)b->data + size;
  267|    670|    b->size = b->size - size;
  268|    670|    return data;
  269|    670|}
ofp-queue.c:ofpbuf_const_initializer:
   97|  32.3k|{
   98|  32.3k|    return (struct ofpbuf) {
   99|  32.3k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  32.3k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  32.3k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  32.3k|     (TYPE) (POINTER))
  ------------------
  100|  32.3k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  32.3k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  32.3k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  32.3k|     (TYPE) (POINTER))
  ------------------
  101|  32.3k|        .size = size,
  102|  32.3k|        .allocated = size,
  103|  32.3k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  32.3k|        .list_node = OVS_LIST_POISON,
  106|  32.3k|        .source = OFPBUF_STACK,
  107|  32.3k|    };
  108|  32.3k|}
ofp-queue.c:ofpbuf_pull:
  258|  80.4k|{
  259|  80.4k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  80.4k|#define ovs_assert ovs_ignore
  ------------------
  260|  80.4k|    void *data = b->data;
  261|       |
  262|  80.4k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 8.56k, False: 71.9k]
  ------------------
  263|  8.56k|        return data;
  264|  8.56k|    }
  265|       |
  266|  71.9k|    b->data = (char*)b->data + size;
  267|  71.9k|    b->size = b->size - size;
  268|  71.9k|    return data;
  269|  80.4k|}
ofp-queue.c:ofpbuf_at_assert:
  195|  8.69k|{
  196|  8.69k|    ovs_assert(offset + size <= b->size);
  ------------------
  |  |   62|  8.69k|#define ovs_assert ovs_ignore
  ------------------
  197|  8.69k|    ovs_assert(b->data);
  ------------------
  |  |   62|  8.69k|#define ovs_assert ovs_ignore
  ------------------
  198|  8.69k|    return (char *) b->data + offset;
  199|  8.69k|}
ofp-queue.c:ofpbuf_try_pull:
  275|  56.0k|{
  276|  56.0k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 55.0k, False: 954]
  ------------------
  277|  56.0k|}
ofp-switch.c:ofpbuf_pull:
  258|  7.82k|{
  259|  7.82k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  7.82k|#define ovs_assert ovs_ignore
  ------------------
  260|  7.82k|    void *data = b->data;
  261|       |
  262|  7.82k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 7.82k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  7.82k|    b->data = (char*)b->data + size;
  267|  7.82k|    b->size = b->size - size;
  268|  7.82k|    return data;
  269|  7.82k|}
ofp-switch.c:ofpbuf_const_initializer:
   97|  4.42k|{
   98|  4.42k|    return (struct ofpbuf) {
   99|  4.42k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  4.42k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  4.42k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  4.42k|     (TYPE) (POINTER))
  ------------------
  100|  4.42k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  4.42k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  4.42k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  4.42k|     (TYPE) (POINTER))
  ------------------
  101|  4.42k|        .size = size,
  102|  4.42k|        .allocated = size,
  103|  4.42k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  4.42k|        .list_node = OVS_LIST_POISON,
  106|  4.42k|        .source = OFPBUF_STACK,
  107|  4.42k|    };
  108|  4.42k|}
ofp-table.c:ofpbuf_const_initializer:
   97|  21.8k|{
   98|  21.8k|    return (struct ofpbuf) {
   99|  21.8k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  21.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  21.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  21.8k|     (TYPE) (POINTER))
  ------------------
  100|  21.8k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  21.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  21.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  21.8k|     (TYPE) (POINTER))
  ------------------
  101|  21.8k|        .size = size,
  102|  21.8k|        .allocated = size,
  103|  21.8k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  21.8k|        .list_node = OVS_LIST_POISON,
  106|  21.8k|        .source = OFPBUF_STACK,
  107|  21.8k|    };
  108|  21.8k|}
ofp-table.c:ofpbuf_pull:
  258|  91.9k|{
  259|  91.9k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  91.9k|#define ovs_assert ovs_ignore
  ------------------
  260|  91.9k|    void *data = b->data;
  261|       |
  262|  91.9k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 1.81k, False: 90.1k]
  ------------------
  263|  1.81k|        return data;
  264|  1.81k|    }
  265|       |
  266|  90.1k|    b->data = (char*)b->data + size;
  267|  90.1k|    b->size = b->size - size;
  268|  90.1k|    return data;
  269|  91.9k|}
ofp-table.c:ofpbuf_try_pull:
  275|  44.6k|{
  276|  44.6k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 44.6k, False: 0]
  ------------------
  277|  44.6k|}
ofp-util.c:ofpbuf_const_initializer:
   97|  42.1k|{
   98|  42.1k|    return (struct ofpbuf) {
   99|  42.1k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  42.1k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  42.1k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  42.1k|     (TYPE) (POINTER))
  ------------------
  100|  42.1k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  42.1k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  42.1k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  42.1k|     (TYPE) (POINTER))
  ------------------
  101|  42.1k|        .size = size,
  102|  42.1k|        .allocated = size,
  103|  42.1k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  42.1k|        .list_node = OVS_LIST_POISON,
  106|  42.1k|        .source = OFPBUF_STACK,
  107|  42.1k|    };
  108|  42.1k|}
ofp-util.c:ofpbuf_pull:
  258|  52.5k|{
  259|  52.5k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  52.5k|#define ovs_assert ovs_ignore
  ------------------
  260|  52.5k|    void *data = b->data;
  261|       |
  262|  52.5k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 52.5k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  52.5k|    b->data = (char*)b->data + size;
  267|  52.5k|    b->size = b->size - size;
  268|  52.5k|    return data;
  269|  52.5k|}
ofp-util.c:ofpbuf_try_pull:
  275|  31.9k|{
  276|  31.9k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 10.3k, False: 21.6k]
  ------------------
  277|  31.9k|}
ofpbuf.c:ofpbuf_tailroom:
  228|  1.31M|{
  229|  1.31M|    return (char*)ofpbuf_end(b) - (char*)ofpbuf_tail(b);
  230|  1.31M|}
ofpbuf.c:ofpbuf_end:
  211|  1.31M|{
  212|  1.31M|    ovs_assert(b->base || !b->allocated);
  ------------------
  |  |   62|  1.31M|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (212:16): [True: 871k, False: 445k]
  |  Branch (212:27): [True: 445k, False: 0]
  ------------------
  213|  1.31M|    return b->base ? (char *) b->base + b->allocated : NULL;
  ------------------
  |  Branch (213:12): [True: 871k, False: 445k]
  ------------------
  214|  1.31M|}
ofpbuf.c:ofpbuf_headroom:
  221|  1.23M|{
  222|  1.23M|    return (char*)b->data - (char*)b->base;
  223|  1.23M|}
ofpbuf.c:ofpbuf_tail:
  203|  1.93M|{
  204|  1.93M|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  1.93M|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 1.47M, False: 467k]
  |  Branch (204:27): [True: 467k, False: 0]
  ------------------
  205|  1.93M|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 1.47M, False: 467k]
  ------------------
  206|  1.93M|}
nx-match.c:ofpbuf_try_pull:
  275|   524k|{
  276|   524k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 492k, False: 31.2k]
  ------------------
  277|   524k|}
nx-match.c:ofpbuf_pull:
  258|   936k|{
  259|   936k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   936k|#define ovs_assert ovs_ignore
  ------------------
  260|   936k|    void *data = b->data;
  261|       |
  262|   936k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 165k, False: 770k]
  ------------------
  263|   165k|        return data;
  264|   165k|    }
  265|       |
  266|   770k|    b->data = (char*)b->data + size;
  267|   770k|    b->size = b->size - size;
  268|   770k|    return data;
  269|   936k|}
nx-match.c:ofpbuf_const_initializer:
   97|   182k|{
   98|   182k|    return (struct ofpbuf) {
   99|   182k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|   182k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   182k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   182k|     (TYPE) (POINTER))
  ------------------
  100|   182k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|   182k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   182k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   182k|     (TYPE) (POINTER))
  ------------------
  101|   182k|        .size = size,
  102|   182k|        .allocated = size,
  103|   182k|        .header = NULL,
  104|       |        .msg = NULL,
  105|   182k|        .list_node = OVS_LIST_POISON,
  106|   182k|        .source = OFPBUF_STACK,
  107|   182k|    };
  108|   182k|}
nx-match.c:ofpbuf_tail:
  203|  4.11k|{
  204|  4.11k|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  4.11k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 4.11k, False: 0]
  |  Branch (204:27): [True: 0, False: 0]
  ------------------
  205|  4.11k|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 4.11k, False: 0]
  ------------------
  206|  4.11k|}
ofp-actions.c:ofpbuf_clear:
  250|   223k|{
  251|   223k|    b->data = b->base;
  252|   223k|    b->size = 0;
  253|   223k|}
ofp-actions.c:ofpbuf_try_pull:
  275|   256k|{
  276|   256k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 254k, False: 2.02k]
  ------------------
  277|   256k|}
ofp-actions.c:ofpbuf_pull:
  258|   615k|{
  259|   615k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   615k|#define ovs_assert ovs_ignore
  ------------------
  260|   615k|    void *data = b->data;
  261|       |
  262|   615k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 53.3k, False: 562k]
  ------------------
  263|  53.3k|        return data;
  264|  53.3k|    }
  265|       |
  266|   562k|    b->data = (char*)b->data + size;
  267|   562k|    b->size = b->size - size;
  268|   562k|    return data;
  269|   615k|}
ofp-actions.c:ofpbuf_const_initializer:
   97|  45.4k|{
   98|  45.4k|    return (struct ofpbuf) {
   99|  45.4k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  45.4k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  45.4k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  45.4k|     (TYPE) (POINTER))
  ------------------
  100|  45.4k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  45.4k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  45.4k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  45.4k|     (TYPE) (POINTER))
  ------------------
  101|  45.4k|        .size = size,
  102|  45.4k|        .allocated = size,
  103|  45.4k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  45.4k|        .list_node = OVS_LIST_POISON,
  106|  45.4k|        .source = OFPBUF_STACK,
  107|  45.4k|    };
  108|  45.4k|}
ofp-actions.c:ofpbuf_msgsize:
  244|    356|{
  245|    356|    return (char *)ofpbuf_tail(b) - (char *)b->msg;
  246|    356|}
ofp-actions.c:ofpbuf_at_assert:
  195|   107k|{
  196|   107k|    ovs_assert(offset + size <= b->size);
  ------------------
  |  |   62|   107k|#define ovs_assert ovs_ignore
  ------------------
  197|   107k|    ovs_assert(b->data);
  ------------------
  |  |   62|   107k|#define ovs_assert ovs_ignore
  ------------------
  198|   107k|    return (char *) b->data + offset;
  199|   107k|}
ofp-actions.c:ofpbuf_tail:
  203|  76.6k|{
  204|  76.6k|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  76.6k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 76.6k, False: 0]
  |  Branch (204:27): [True: 0, False: 0]
  ------------------
  205|  76.6k|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 76.6k, False: 0]
  ------------------
  206|  76.6k|}
ofp-bundle.c:ofpbuf_const_initializer:
   97|  7.76k|{
   98|  7.76k|    return (struct ofpbuf) {
   99|  7.76k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  7.76k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  7.76k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  7.76k|     (TYPE) (POINTER))
  ------------------
  100|  7.76k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  7.76k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  7.76k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  7.76k|     (TYPE) (POINTER))
  ------------------
  101|  7.76k|        .size = size,
  102|  7.76k|        .allocated = size,
  103|  7.76k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  7.76k|        .list_node = OVS_LIST_POISON,
  106|  7.76k|        .source = OFPBUF_STACK,
  107|  7.76k|    };
  108|  7.76k|}
ofp-bundle.c:ofpbuf_pull:
  258|  3.09k|{
  259|  3.09k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  3.09k|#define ovs_assert ovs_ignore
  ------------------
  260|  3.09k|    void *data = b->data;
  261|       |
  262|  3.09k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 3.09k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  3.09k|    b->data = (char*)b->data + size;
  267|  3.09k|    b->size = b->size - size;
  268|  3.09k|    return data;
  269|  3.09k|}
ofp-connection.c:ofpbuf_const_initializer:
   97|  40.6k|{
   98|  40.6k|    return (struct ofpbuf) {
   99|  40.6k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  40.6k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  40.6k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  40.6k|     (TYPE) (POINTER))
  ------------------
  100|  40.6k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  40.6k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  40.6k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  40.6k|     (TYPE) (POINTER))
  ------------------
  101|  40.6k|        .size = size,
  102|  40.6k|        .allocated = size,
  103|  40.6k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  40.6k|        .list_node = OVS_LIST_POISON,
  106|  40.6k|        .source = OFPBUF_STACK,
  107|  40.6k|    };
  108|  40.6k|}
ofp-ct.c:ofpbuf_const_initializer:
   97|  14.8k|{
   98|  14.8k|    return (struct ofpbuf) {
   99|  14.8k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  14.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  14.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  14.8k|     (TYPE) (POINTER))
  ------------------
  100|  14.8k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  14.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  14.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  14.8k|     (TYPE) (POINTER))
  ------------------
  101|  14.8k|        .size = size,
  102|  14.8k|        .allocated = size,
  103|  14.8k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  14.8k|        .list_node = OVS_LIST_POISON,
  106|  14.8k|        .source = OFPBUF_STACK,
  107|  14.8k|    };
  108|  14.8k|}
ofp-ct.c:ofpbuf_pull:
  258|  14.8k|{
  259|  14.8k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  14.8k|#define ovs_assert ovs_ignore
  ------------------
  260|  14.8k|    void *data = b->data;
  261|       |
  262|  14.8k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 14.8k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  14.8k|    b->data = (char*)b->data + size;
  267|  14.8k|    b->size = b->size - size;
  268|  14.8k|    return data;
  269|  14.8k|}
ofp-ct.c:ofpbuf_msgsize:
  244|  12.9k|{
  245|  12.9k|    return (char *)ofpbuf_tail(b) - (char *)b->msg;
  246|  12.9k|}
ofp-ct.c:ofpbuf_tail:
  203|  12.9k|{
  204|  12.9k|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  12.9k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 12.9k, False: 0]
  |  Branch (204:27): [True: 0, False: 0]
  ------------------
  205|  12.9k|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 12.9k, False: 0]
  ------------------
  206|  12.9k|}
ofp-errors.c:ofpbuf_const_initializer:
   97|   812k|{
   98|   812k|    return (struct ofpbuf) {
   99|   812k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|   812k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   812k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   812k|     (TYPE) (POINTER))
  ------------------
  100|   812k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|   812k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   812k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   812k|     (TYPE) (POINTER))
  ------------------
  101|   812k|        .size = size,
  102|   812k|        .allocated = size,
  103|   812k|        .header = NULL,
  104|       |        .msg = NULL,
  105|   812k|        .list_node = OVS_LIST_POISON,
  106|   812k|        .source = OFPBUF_STACK,
  107|   812k|    };
  108|   812k|}
ofp-errors.c:ofpbuf_pull:
  258|  1.02M|{
  259|  1.02M|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  1.02M|#define ovs_assert ovs_ignore
  ------------------
  260|  1.02M|    void *data = b->data;
  261|       |
  262|  1.02M|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 1.02M]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  1.02M|    b->data = (char*)b->data + size;
  267|  1.02M|    b->size = b->size - size;
  268|  1.02M|    return data;
  269|  1.02M|}
ofp-errors.c:ofpbuf_try_pull:
  275|   228k|{
  276|   228k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 211k, False: 16.8k]
  ------------------
  277|   228k|}
ofp-flow.c:ofpbuf_const_initializer:
   97|   116k|{
   98|   116k|    return (struct ofpbuf) {
   99|   116k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|   116k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   116k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   116k|     (TYPE) (POINTER))
  ------------------
  100|   116k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|   116k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   116k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   116k|     (TYPE) (POINTER))
  ------------------
  101|   116k|        .size = size,
  102|   116k|        .allocated = size,
  103|   116k|        .header = NULL,
  104|       |        .msg = NULL,
  105|   116k|        .list_node = OVS_LIST_POISON,
  106|   116k|        .source = OFPBUF_STACK,
  107|   116k|    };
  108|   116k|}
ofp-flow.c:ofpbuf_pull:
  258|   127k|{
  259|   127k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   127k|#define ovs_assert ovs_ignore
  ------------------
  260|   127k|    void *data = b->data;
  261|       |
  262|   127k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 127k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|   127k|    b->data = (char*)b->data + size;
  267|   127k|    b->size = b->size - size;
  268|   127k|    return data;
  269|   127k|}
ofp-flow.c:ofpbuf_try_pull:
  275|  20.7k|{
  276|  20.7k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 16.4k, False: 4.25k]
  ------------------
  277|  20.7k|}
ofp-group.c:ofpbuf_const_initializer:
   97|  70.8k|{
   98|  70.8k|    return (struct ofpbuf) {
   99|  70.8k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  70.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  70.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  70.8k|     (TYPE) (POINTER))
  ------------------
  100|  70.8k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  70.8k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  70.8k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  70.8k|     (TYPE) (POINTER))
  ------------------
  101|  70.8k|        .size = size,
  102|  70.8k|        .allocated = size,
  103|  70.8k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  70.8k|        .list_node = OVS_LIST_POISON,
  106|  70.8k|        .source = OFPBUF_STACK,
  107|  70.8k|    };
  108|  70.8k|}
ofp-group.c:ofpbuf_pull:
  258|   109k|{
  259|   109k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   109k|#define ovs_assert ovs_ignore
  ------------------
  260|   109k|    void *data = b->data;
  261|       |
  262|   109k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 17.4k, False: 92.4k]
  ------------------
  263|  17.4k|        return data;
  264|  17.4k|    }
  265|       |
  266|  92.4k|    b->data = (char*)b->data + size;
  267|  92.4k|    b->size = b->size - size;
  268|  92.4k|    return data;
  269|   109k|}
ofp-group.c:ofpbuf_try_pull:
  275|  45.5k|{
  276|  45.5k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 43.5k, False: 2.00k]
  ------------------
  277|  45.5k|}
ofp-ipfix.c:ofpbuf_try_pull:
  275|  13.7k|{
  276|  13.7k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 13.7k, False: 0]
  ------------------
  277|  13.7k|}
ofp-ipfix.c:ofpbuf_pull:
  258|  13.7k|{
  259|  13.7k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  13.7k|#define ovs_assert ovs_ignore
  ------------------
  260|  13.7k|    void *data = b->data;
  261|       |
  262|  13.7k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 13.7k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  13.7k|    b->data = (char*)b->data + size;
  267|  13.7k|    b->size = b->size - size;
  268|  13.7k|    return data;
  269|  13.7k|}
ofp-ipfix.c:ofpbuf_const_initializer:
   97|  2.89k|{
   98|  2.89k|    return (struct ofpbuf) {
   99|  2.89k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  2.89k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  2.89k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  2.89k|     (TYPE) (POINTER))
  ------------------
  100|  2.89k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  2.89k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  2.89k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  2.89k|     (TYPE) (POINTER))
  ------------------
  101|  2.89k|        .size = size,
  102|  2.89k|        .allocated = size,
  103|  2.89k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  2.89k|        .list_node = OVS_LIST_POISON,
  106|  2.89k|        .source = OFPBUF_STACK,
  107|  2.89k|    };
  108|  2.89k|}
ofp-match.c:ofpbuf_pull:
  258|  23.3k|{
  259|  23.3k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  23.3k|#define ovs_assert ovs_ignore
  ------------------
  260|  23.3k|    void *data = b->data;
  261|       |
  262|  23.3k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 23.3k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  23.3k|    b->data = (char*)b->data + size;
  267|  23.3k|    b->size = b->size - size;
  268|  23.3k|    return data;
  269|  23.3k|}
ofp-match.c:ofpbuf_const_initializer:
   97|  5.37k|{
   98|  5.37k|    return (struct ofpbuf) {
   99|  5.37k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  5.37k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  5.37k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  5.37k|     (TYPE) (POINTER))
  ------------------
  100|  5.37k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  5.37k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  5.37k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  5.37k|     (TYPE) (POINTER))
  ------------------
  101|  5.37k|        .size = size,
  102|  5.37k|        .allocated = size,
  103|  5.37k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  5.37k|        .list_node = OVS_LIST_POISON,
  106|  5.37k|        .source = OFPBUF_STACK,
  107|  5.37k|    };
  108|  5.37k|}
ofp-meter.c:ofpbuf_const_initializer:
   97|  4.44k|{
   98|  4.44k|    return (struct ofpbuf) {
   99|  4.44k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  4.44k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  4.44k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  4.44k|     (TYPE) (POINTER))
  ------------------
  100|  4.44k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  4.44k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  4.44k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  4.44k|     (TYPE) (POINTER))
  ------------------
  101|  4.44k|        .size = size,
  102|  4.44k|        .allocated = size,
  103|  4.44k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  4.44k|        .list_node = OVS_LIST_POISON,
  106|  4.44k|        .source = OFPBUF_STACK,
  107|  4.44k|    };
  108|  4.44k|}
ofp-meter.c:ofpbuf_pull:
  258|  14.1k|{
  259|  14.1k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  14.1k|#define ovs_assert ovs_ignore
  ------------------
  260|  14.1k|    void *data = b->data;
  261|       |
  262|  14.1k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 2.50k, False: 11.6k]
  ------------------
  263|  2.50k|        return data;
  264|  2.50k|    }
  265|       |
  266|  11.6k|    b->data = (char*)b->data + size;
  267|  11.6k|    b->size = b->size - size;
  268|  11.6k|    return data;
  269|  14.1k|}
ofp-meter.c:ofpbuf_try_pull:
  275|  11.2k|{
  276|  11.2k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 9.68k, False: 1.58k]
  ------------------
  277|  11.2k|}
ofp-meter.c:ofpbuf_clear:
  250|  4.30k|{
  251|  4.30k|    b->data = b->base;
  252|  4.30k|    b->size = 0;
  253|  4.30k|}
ofp-monitor.c:ofpbuf_const_initializer:
   97|  13.7k|{
   98|  13.7k|    return (struct ofpbuf) {
   99|  13.7k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  13.7k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  13.7k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  13.7k|     (TYPE) (POINTER))
  ------------------
  100|  13.7k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  13.7k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  13.7k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  13.7k|     (TYPE) (POINTER))
  ------------------
  101|  13.7k|        .size = size,
  102|  13.7k|        .allocated = size,
  103|  13.7k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  13.7k|        .list_node = OVS_LIST_POISON,
  106|  13.7k|        .source = OFPBUF_STACK,
  107|  13.7k|    };
  108|  13.7k|}
ofp-monitor.c:ofpbuf_pull:
  258|  38.9k|{
  259|  38.9k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  38.9k|#define ovs_assert ovs_ignore
  ------------------
  260|  38.9k|    void *data = b->data;
  261|       |
  262|  38.9k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 38.9k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  38.9k|    b->data = (char*)b->data + size;
  267|  38.9k|    b->size = b->size - size;
  268|  38.9k|    return data;
  269|  38.9k|}
ofp-monitor.c:ofpbuf_try_pull:
  275|  6.07k|{
  276|  6.07k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 5.77k, False: 299]
  ------------------
  277|  6.07k|}
ofp-monitor.c:ofpbuf_clear:
  250|  46.1k|{
  251|  46.1k|    b->data = b->base;
  252|  46.1k|    b->size = 0;
  253|  46.1k|}
ofp-msgs.c:ofpbuf_const_initializer:
   97|  2.40M|{
   98|  2.40M|    return (struct ofpbuf) {
   99|  2.40M|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  2.40M|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  2.40M|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  2.40M|     (TYPE) (POINTER))
  ------------------
  100|  2.40M|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  2.40M|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  2.40M|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  2.40M|     (TYPE) (POINTER))
  ------------------
  101|  2.40M|        .size = size,
  102|  2.40M|        .allocated = size,
  103|  2.40M|        .header = NULL,
  104|       |        .msg = NULL,
  105|  2.40M|        .list_node = OVS_LIST_POISON,
  106|  2.40M|        .source = OFPBUF_STACK,
  107|  2.40M|    };
  108|  2.40M|}
ofp-msgs.c:ofpbuf_pull:
  258|  3.27M|{
  259|  3.27M|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  3.27M|#define ovs_assert ovs_ignore
  ------------------
  260|  3.27M|    void *data = b->data;
  261|       |
  262|  3.27M|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 3.27M]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|  3.27M|    b->data = (char*)b->data + size;
  267|  3.27M|    b->size = b->size - size;
  268|  3.27M|    return data;
  269|  3.27M|}
ofp-packet.c:ofpbuf_const_initializer:
   97|   291k|{
   98|   291k|    return (struct ofpbuf) {
   99|   291k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|   291k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   291k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   291k|     (TYPE) (POINTER))
  ------------------
  100|   291k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|   291k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   291k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   291k|     (TYPE) (POINTER))
  ------------------
  101|   291k|        .size = size,
  102|   291k|        .allocated = size,
  103|   291k|        .header = NULL,
  104|       |        .msg = NULL,
  105|   291k|        .list_node = OVS_LIST_POISON,
  106|   291k|        .source = OFPBUF_STACK,
  107|   291k|    };
  108|   291k|}
ofp-packet.c:ofpbuf_pull:
  258|   315k|{
  259|   315k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   315k|#define ovs_assert ovs_ignore
  ------------------
  260|   315k|    void *data = b->data;
  261|       |
  262|   315k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 315k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|   315k|    b->data = (char*)b->data + size;
  267|   315k|    b->size = b->size - size;
  268|   315k|    return data;
  269|   315k|}
ofp-packet.c:ofpbuf_try_pull:
  275|  51.6k|{
  276|  51.6k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 47.4k, False: 4.17k]
  ------------------
  277|  51.6k|}
ofp-packet.c:ofpbuf_msgsize:
  244|  31.0k|{
  245|  31.0k|    return (char *)ofpbuf_tail(b) - (char *)b->msg;
  246|  31.0k|}
ofp-packet.c:ofpbuf_tail:
  203|  31.0k|{
  204|  31.0k|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  31.0k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 31.0k, False: 0]
  |  Branch (204:27): [True: 0, False: 0]
  ------------------
  205|  31.0k|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 31.0k, False: 0]
  ------------------
  206|  31.0k|}
ofp-packet.c:ofpbuf_headersize:
  236|  17.8k|{
  237|  17.8k|    return (char *)b->msg - (char *)b->header;
  238|  17.8k|}
ofp-packet.c:ofpbuf_clear:
  250|   184k|{
  251|   184k|    b->data = b->base;
  252|   184k|    b->size = 0;
  253|   184k|}
ofp-port.c:ofpbuf_const_initializer:
   97|  31.9k|{
   98|  31.9k|    return (struct ofpbuf) {
   99|  31.9k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  31.9k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  31.9k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  31.9k|     (TYPE) (POINTER))
  ------------------
  100|  31.9k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  31.9k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  31.9k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  31.9k|     (TYPE) (POINTER))
  ------------------
  101|  31.9k|        .size = size,
  102|  31.9k|        .allocated = size,
  103|  31.9k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  31.9k|        .list_node = OVS_LIST_POISON,
  106|  31.9k|        .source = OFPBUF_STACK,
  107|  31.9k|    };
  108|  31.9k|}
ofp-port.c:ofpbuf_pull:
  258|   256k|{
  259|   256k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   256k|#define ovs_assert ovs_ignore
  ------------------
  260|   256k|    void *data = b->data;
  261|       |
  262|   256k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 20.1k, False: 236k]
  ------------------
  263|  20.1k|        return data;
  264|  20.1k|    }
  265|       |
  266|   236k|    b->data = (char*)b->data + size;
  267|   236k|    b->size = b->size - size;
  268|   236k|    return data;
  269|   256k|}
ofp-port.c:ofpbuf_try_pull:
  275|   247k|{
  276|   247k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 237k, False: 10.6k]
  ------------------
  277|   247k|}
ofp-prop.c:ofpbuf_pull:
  258|   234k|{
  259|   234k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|   234k|#define ovs_assert ovs_ignore
  ------------------
  260|   234k|    void *data = b->data;
  261|       |
  262|   234k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 0, False: 234k]
  ------------------
  263|      0|        return data;
  264|      0|    }
  265|       |
  266|   234k|    b->data = (char*)b->data + size;
  267|   234k|    b->size = b->size - size;
  268|   234k|    return data;
  269|   234k|}
ofp-prop.c:ofpbuf_msgsize:
  244|  44.8k|{
  245|  44.8k|    return (char *)ofpbuf_tail(b) - (char *)b->msg;
  246|  44.8k|}
ofp-prop.c:ofpbuf_tail:
  203|  44.8k|{
  204|  44.8k|    ovs_assert(b->data || !b->size);
  ------------------
  |  |   62|  44.8k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (204:16): [True: 44.8k, False: 0]
  |  Branch (204:27): [True: 0, False: 0]
  ------------------
  205|  44.8k|    return b->data ? (char *) b->data + b->size : NULL;
  ------------------
  |  Branch (205:12): [True: 44.8k, False: 0]
  ------------------
  206|  44.8k|}
ofp-prop.c:ofpbuf_headersize:
  236|  27.7k|{
  237|  27.7k|    return (char *)b->msg - (char *)b->header;
  238|  27.7k|}
ox-stat.c:ofpbuf_try_pull:
  275|  11.6k|{
  276|  11.6k|    return b->size >= size ? ofpbuf_pull(b, size) : NULL;
  ------------------
  |  Branch (276:12): [True: 9.40k, False: 2.24k]
  ------------------
  277|  11.6k|}
ox-stat.c:ofpbuf_pull:
  258|  12.7k|{
  259|  12.7k|    ovs_assert(b->size >= size);
  ------------------
  |  |   62|  12.7k|#define ovs_assert ovs_ignore
  ------------------
  260|  12.7k|    void *data = b->data;
  261|       |
  262|  12.7k|    if (!size) {
  ------------------
  |  Branch (262:9): [True: 1.30k, False: 11.4k]
  ------------------
  263|  1.30k|        return data;
  264|  1.30k|    }
  265|       |
  266|  11.4k|    b->data = (char*)b->data + size;
  267|  11.4k|    b->size = b->size - size;
  268|  11.4k|    return data;
  269|  12.7k|}
ox-stat.c:ofpbuf_const_initializer:
   97|  7.48k|{
   98|  7.48k|    return (struct ofpbuf) {
   99|  7.48k|        .base = CONST_CAST(void *, data),
  ------------------
  |  |   85|  7.48k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  7.48k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  7.48k|     (TYPE) (POINTER))
  ------------------
  100|  7.48k|        .data = CONST_CAST(void *, data),
  ------------------
  |  |   85|  7.48k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  7.48k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  7.48k|     (TYPE) (POINTER))
  ------------------
  101|  7.48k|        .size = size,
  102|  7.48k|        .allocated = size,
  103|  7.48k|        .header = NULL,
  104|       |        .msg = NULL,
  105|  7.48k|        .list_node = OVS_LIST_POISON,
  106|  7.48k|        .source = OFPBUF_STACK,
  107|  7.48k|    };
  108|  7.48k|}

nx-match.c:ovsthread_once_start:
  156|  21.0M|{
  157|       |    /* We may be reading 'done' at the same time as the first thread
  158|       |     * is writing on it, or we can be using a stale copy of it.  The
  159|       |     * worst that can happen is that we call ovsthread_once_start__()
  160|       |     * once when strictly not necessary. */
  161|  21.0M|    return OVS_UNLIKELY(!once->done && ovsthread_once_start__(once));
  ------------------
  |  |   66|  21.0M|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:53): [True: 1, False: 21.0M]
  |  |  |  Branch (66:53): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  162|  21.0M|}
ofp-actions.c:ovsthread_once_start:
  156|   332k|{
  157|       |    /* We may be reading 'done' at the same time as the first thread
  158|       |     * is writing on it, or we can be using a stale copy of it.  The
  159|       |     * worst that can happen is that we call ovsthread_once_start__()
  160|       |     * once when strictly not necessary. */
  161|   332k|    return OVS_UNLIKELY(!once->done && ovsthread_once_start__(once));
  ------------------
  |  |   66|   332k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:53): [True: 1, False: 332k]
  |  |  |  Branch (66:53): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  162|   332k|}
ofp-msgs.c:ovsthread_once_start:
  156|  10.3M|{
  157|       |    /* We may be reading 'done' at the same time as the first thread
  158|       |     * is writing on it, or we can be using a stale copy of it.  The
  159|       |     * worst that can happen is that we call ovsthread_once_start__()
  160|       |     * once when strictly not necessary. */
  161|  10.3M|    return OVS_UNLIKELY(!once->done && ovsthread_once_start__(once));
  ------------------
  |  |   66|  10.3M|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:53): [True: 1, False: 10.3M]
  |  |  |  Branch (66:53): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  162|  10.3M|}

ofp-actions.c:is_pow2:
  399|  2.46k|{
  400|  2.46k|    return IS_POW2(x);
  ------------------
  |  |  312|  2.46k|#define IS_POW2(X) ((X) && !((X) & ((X) - 1)))
  |  |  ------------------
  |  |  |  Branch (312:21): [True: 2.46k, False: 0]
  |  |  |  Branch (312:28): [True: 1.87k, False: 589]
  |  |  ------------------
  ------------------
  401|  2.46k|}
hmap.c:is_pow2:
  399|     28|{
  400|     28|    return IS_POW2(x);
  ------------------
  |  |  312|     28|#define IS_POW2(X) ((X) && !((X) & ((X) - 1)))
  |  |  ------------------
  |  |  |  Branch (312:21): [True: 28, False: 0]
  |  |  |  Branch (312:28): [True: 28, False: 0]
  |  |  ------------------
  ------------------
  401|     28|}

ofp-protocol.c:init_this_module_ofp_protocol:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-queue.c:init_this_module_ofp_queue:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-table.c:init_this_module_ofp_table:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-util.c:init_this_module_ofp_util:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
util.c:init_this_module_util:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
vlog.c:init_this_module_vlog:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
backtrace.c:init_this_module_backtrace:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
coverage.c:init_this_module_coverage:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
flow.c:init_this_module_flow:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
meta-flow.c:init_this_module_meta_flow:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netdev.c:init_this_module_netdev:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
nx-match.c:init_this_module_nx_match:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-actions.c:init_this_module_ofp_actions:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-bundle.c:init_this_module_ofp_bundle:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-connection.c:init_this_module_ofp_connection:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-ct.c:init_this_module_ofp_ct:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-errors.c:init_this_module_ofp_errors:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-flow.c:init_this_module_ofp_flow:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-group.c:init_this_module_ofp_group:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-match.c:init_this_module_ofp_match:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-meter.c:init_this_module_ofp_meter:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-monitor.c:init_this_module_ofp_monitor:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-msgs.c:init_this_module_ofp_msgs:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-packet.c:init_this_module_ofp_packet:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ofp-port.c:init_this_module_ofp_port:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovs-rcu.c:init_this_module_ovs_rcu:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovs-router.c:init_this_module_ovs_router:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovs-thread.c:init_this_module_ovs_thread:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ox-stat.c:init_this_module_ox_stat:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
poll-loop.c:init_this_module_poll_loop:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
socket-util.c:init_this_module_socket_util:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
svec.c:init_this_module_svec:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
timeval.c:init_this_module_timeval:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
unixctl.c:init_this_module_unixctl:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
userspace-tso.c:init_this_module_userspace_tso:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
uuid.c:init_this_module_uuid:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
socket-util-unix.c:init_this_module_socket_util_unix:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netdev-linux.c:init_this_module_netdev_linux:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netlink-socket.c:init_this_module_netlink_socket:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
route-table.c:init_this_module_route_table:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
tc.c:init_this_module_tc:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
bundle.c:init_this_module_bundle:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
command-line.c:init_this_module_command_line:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
cooperative-multitasking.c:init_this_module_cooperative_multitasking:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dp-packet-gso.c:init_this_module_dp_packet_gso:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-offload.c:init_this_module_dpif_offload:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-offload-dummy.c:init_this_module_dpif_offload_dummy:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif.c:init_this_module_dpif:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
entropy.c:init_this_module_entropy:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
fatal-signal.c:init_this_module_fatal_signal:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
hmap.c:init_this_module_hmap:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
jsonrpc.c:init_this_module_jsonrpc:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netdev-dummy.c:init_this_module_netdev_dummy:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netdev-vport.c:init_this_module_netdev_vport:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netlink.c:init_this_module_netlink:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
odp-execute.c:init_this_module_odp_execute:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
odp-util.c:init_this_module_odp_util:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovs-replay.c:init_this_module_ovs_replay:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
pcap-file.c:init_this_module_pcap:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
reconnect.c:init_this_module_reconnect:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
sha1.c:init_this_module_sha1:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream.c:init_this_module_stream:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netdev-native-tnl.c:init_this_module_native_tnl:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
daemon-unix.c:init_this_module_daemon_unix:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
signals.c:init_this_module_signals:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream-unix.c:init_this_module_stream_unix:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-netlink.c:init_this_module_dpif_netlink:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-netlink-rtnl.c:init_this_module_dpif_netlink_rtnl:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-offload-tc.c:init_this_module_dpif_offload_tc:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-offload-tc-netdev.c:init_this_module_dpif_offload_tc_netdev:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netlink-conntrack.c:init_this_module_netlink_conntrack:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
netlink-notifier.c:init_this_module_netlink_notifier:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream-ssl.c:init_this_module_stream_ssl:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
conntrack.c:init_this_module_conntrack:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ct-dpif.c:init_this_module_ct_dpif:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
daemon.c:init_this_module_daemon:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-netdev.c:init_this_module_dpif_netdev:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ipf.c:init_this_module_ipf:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
lockfile.c:init_this_module_lockfile:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovs-numa.c:init_this_module_ovs_numa:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
process.c:init_this_module_process:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream-fd.c:init_this_module_stream_fd:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream-replay.c:init_this_module_stream_replay:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
stream-tcp.c:init_this_module_stream_tcp:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpdk-stub.c:init_this_module_dpdk:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
conntrack-tp.c:init_this_module_conntrack_tp:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-netdev-dpcls.c:init_this_module_dpif_netdev_dpcls:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
dpif-netdev-perf.c:init_this_module_pmd_perf:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovsdb-error.c:init_this_module_ovsdb_error:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovsdb-idl.c:init_this_module_ovsdb_idl:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \
ovsdb-cs.c:init_this_module_ovsdb_cs:
  191|      2|        OVS_CONSTRUCTOR(init_this_module_##MODULE) {                    \
  192|      2|            vlog_insert_module(&this_module.list);                      \
  193|      2|        }                                                               \

ofp-table.c:bitmap_n_bytes:
   44|  1.91k|{
   45|  1.91k|    return bitmap_n_longs(n_bits) * sizeof(unsigned long int);
   46|  1.91k|}
ofp-table.c:bitmap_n_longs:
   38|  1.91k|{
   39|  1.91k|    return BITMAP_N_LONGS(n_bits);
  ------------------
  |  |  424|  1.91k|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|  1.91k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
   40|  1.91k|}
ofp-table.c:bitmap_set1:
   96|   151k|{
   97|   151k|    *bitmap_unit__(bitmap, offset) |= bitmap_bit__(offset);
   98|   151k|    return bitmap;
   99|   151k|}
ofp-table.c:bitmap_bit__:
   32|   153k|{
   33|       |    return 1UL << (offset % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|   153k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
   34|   153k|}
ofp-table.c:bitmap_unit__:
   26|  1.24M|{
   27|  1.24M|    return CONST_CAST(unsigned long *, &bitmap[offset / BITMAP_ULONG_BITS]);
  ------------------
  |  |   85|  1.24M|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  1.24M|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  1.24M|     (TYPE) (POINTER))
  ------------------
   28|  1.24M|}
ofp-table.c:bitmap_or:
  179|  24.7k|{
  180|  24.7k|    size_t i;
  181|       |
  182|   123k|    for (i = 0; i < BITMAP_N_LONGS(n); i++) {
  ------------------
  |  |  424|   123k|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|   123k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (182:17): [True: 98.8k, False: 24.7k]
  ------------------
  183|  98.8k|        dst[i] |= arg[i];
  184|  98.8k|    }
  185|  24.7k|    return dst;
  186|  24.7k|}
ofp-table.c:bitmap_and:
  167|  2.26k|{
  168|  2.26k|    size_t i;
  169|       |
  170|  11.3k|    for (i = 0; i < BITMAP_N_LONGS(n); i++) {
  ------------------
  |  |  424|  11.3k|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|  11.3k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (170:17): [True: 9.04k, False: 2.26k]
  ------------------
  171|  9.04k|        dst[i] &= arg[i];
  172|  9.04k|    }
  173|  2.26k|    return dst;
  174|  2.26k|}
ofp-table.c:bitmap_scan:
  227|   622k|{
  228|   622k|    if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|   622k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 622k, False: 0]
  |  |  ------------------
  ------------------
  229|   622k|        unsigned long *p, unit;
  230|       |
  231|   622k|        p = bitmap_unit__(bitmap, start);
  232|   622k|        unit = (target ? *p : ~*p) >> (start % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|   622k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (232:17): [True: 622k, False: 0]
  ------------------
  233|   622k|        if (!unit) {
  ------------------
  |  Branch (233:13): [True: 352k, False: 269k]
  ------------------
  234|   352k|            start -= start % BITMAP_ULONG_BITS; /* Round down. */
  ------------------
  |  |  423|   352k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  235|   352k|            start += BITMAP_ULONG_BITS; /* Start of the next unit. */
  ------------------
  |  |  423|   352k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  236|       |
  237|   915k|            for (; start < end; start += BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|   562k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (237:20): [True: 713k, False: 201k]
  ------------------
  238|   713k|                unit = target ? *++p : ~*++p;
  ------------------
  |  Branch (238:24): [True: 713k, False: 0]
  ------------------
  239|   713k|                if (unit) {
  ------------------
  |  Branch (239:21): [True: 150k, False: 562k]
  ------------------
  240|   150k|                    goto found;
  241|   150k|                }
  242|   713k|            }
  243|   201k|            return end;
  244|   352k|        }
  245|   420k|found:
  246|   420k|        start += raw_ctz(unit);  /* unit != 0 */
  247|   420k|        if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|   420k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 420k, False: 0]
  |  |  ------------------
  ------------------
  248|   420k|            return start;
  249|   420k|        }
  250|   420k|    }
  251|      0|    return end;
  252|   622k|}
ofp-table.c:bitmap_is_set:
   90|  1.56k|{
   91|  1.56k|    return (*bitmap_unit__(bitmap, offset) & bitmap_bit__(offset)) != 0;
   92|  1.56k|}
ofp-table.c:bitmap_is_all_zeros:
  273|   231k|{
  274|       |    return bitmap_scan(bitmap, true, 0, n) == n;
  275|   231k|}
ofp-table.c:bitmap_equal:
  207|   258k|{
  208|   258k|    if (memcmp(a, b, n / BITMAP_ULONG_BITS * sizeof(unsigned long))) {
  ------------------
  |  |  423|   258k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (208:9): [True: 25.5k, False: 232k]
  ------------------
  209|  25.5k|        return false;
  210|  25.5k|    }
  211|   232k|    if (n % BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|   232k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (211:9): [True: 232k, False: 0]
  ------------------
  212|   232k|        unsigned long mask = (1UL << n % BITMAP_ULONG_BITS) - 1;
  ------------------
  |  |  423|   232k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  213|   232k|        unsigned long diff = *bitmap_unit__(a, n) ^ *bitmap_unit__(b, n);
  214|       |
  215|   232k|        return !(diff & mask);
  216|   232k|    }
  217|      0|    return true;
  218|   232k|}
meta-flow.c:bitmap_scan:
  227|  16.2k|{
  228|  16.2k|    if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|  16.2k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 15.0k, False: 1.16k]
  |  |  ------------------
  ------------------
  229|  15.0k|        unsigned long *p, unit;
  230|       |
  231|  15.0k|        p = bitmap_unit__(bitmap, start);
  232|  15.0k|        unit = (target ? *p : ~*p) >> (start % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|  15.0k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (232:17): [True: 15.0k, False: 0]
  ------------------
  233|  15.0k|        if (!unit) {
  ------------------
  |  Branch (233:13): [True: 11.6k, False: 3.44k]
  ------------------
  234|  11.6k|            start -= start % BITMAP_ULONG_BITS; /* Round down. */
  ------------------
  |  |  423|  11.6k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  235|  11.6k|            start += BITMAP_ULONG_BITS; /* Start of the next unit. */
  ------------------
  |  |  423|  11.6k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  236|       |
  237|  18.5k|            for (; start < end; start += BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|  6.91k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (237:20): [True: 11.0k, False: 7.50k]
  ------------------
  238|  11.0k|                unit = target ? *++p : ~*++p;
  ------------------
  |  Branch (238:24): [True: 11.0k, False: 0]
  ------------------
  239|  11.0k|                if (unit) {
  ------------------
  |  Branch (239:21): [True: 4.11k, False: 6.91k]
  ------------------
  240|  4.11k|                    goto found;
  241|  4.11k|                }
  242|  11.0k|            }
  243|  7.50k|            return end;
  244|  11.6k|        }
  245|  7.55k|found:
  246|  7.55k|        start += raw_ctz(unit);  /* unit != 0 */
  247|  7.55k|        if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|  7.55k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 7.29k, False: 266]
  |  |  ------------------
  ------------------
  248|  7.29k|            return start;
  249|  7.29k|        }
  250|  7.55k|    }
  251|  1.43k|    return end;
  252|  16.2k|}
meta-flow.c:bitmap_unit__:
   26|  32.9k|{
   27|  32.9k|    return CONST_CAST(unsigned long *, &bitmap[offset / BITMAP_ULONG_BITS]);
  ------------------
  |  |   85|  32.9k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  32.9k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  32.9k|     (TYPE) (POINTER))
  ------------------
   28|  32.9k|}
meta-flow.c:bitmap_is_set:
   90|  8.93k|{
   91|  8.93k|    return (*bitmap_unit__(bitmap, offset) & bitmap_bit__(offset)) != 0;
   92|  8.93k|}
meta-flow.c:bitmap_bit__:
   32|  17.8k|{
   33|       |    return 1UL << (offset % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|  17.8k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
   34|  17.8k|}
meta-flow.c:bitmap_set1:
   96|  8.93k|{
   97|  8.93k|    *bitmap_unit__(bitmap, offset) |= bitmap_bit__(offset);
   98|  8.93k|    return bitmap;
   99|  8.93k|}
meta-flow.c:bitmap_and:
  167|   131k|{
  168|   131k|    size_t i;
  169|       |
  170|   659k|    for (i = 0; i < BITMAP_N_LONGS(n); i++) {
  ------------------
  |  |  424|   659k|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|   659k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (170:17): [True: 527k, False: 131k]
  ------------------
  171|   527k|        dst[i] &= arg[i];
  172|   527k|    }
  173|   131k|    return dst;
  174|   131k|}
meta-flow.c:bitmap_not:
  191|  65.9k|{
  192|  65.9k|    size_t i;
  193|       |
  194|   263k|    for (i = 0; i < n / BITMAP_ULONG_BITS; i++) {
  ------------------
  |  |  423|   263k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (194:17): [True: 197k, False: 65.9k]
  ------------------
  195|   197k|        dst[i] = ~dst[i];
  196|   197k|    }
  197|  65.9k|    if (n % BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|  65.9k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (197:9): [True: 65.9k, False: 0]
  ------------------
  198|       |        dst[i] ^= (1UL << (n % BITMAP_ULONG_BITS)) - 1;
  ------------------
  |  |  423|  65.9k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  199|  65.9k|    }
  200|  65.9k|    return dst;
  201|  65.9k|}
nx-match.c:bitmap_is_set:
   90|  9.14k|{
   91|  9.14k|    return (*bitmap_unit__(bitmap, offset) & bitmap_bit__(offset)) != 0;
   92|  9.14k|}
nx-match.c:bitmap_unit__:
   26|   399k|{
   27|   399k|    return CONST_CAST(unsigned long *, &bitmap[offset / BITMAP_ULONG_BITS]);
  ------------------
  |  |   85|   399k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   399k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   399k|     (TYPE) (POINTER))
  ------------------
   28|   399k|}
nx-match.c:bitmap_bit__:
   32|   387k|{
   33|       |    return 1UL << (offset % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|   387k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
   34|   387k|}
nx-match.c:bitmap_scan:
  227|  11.8k|{
  228|  11.8k|    if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|  11.8k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 11.6k, False: 188]
  |  |  ------------------
  ------------------
  229|  11.6k|        unsigned long *p, unit;
  230|       |
  231|  11.6k|        p = bitmap_unit__(bitmap, start);
  232|  11.6k|        unit = (target ? *p : ~*p) >> (start % BITMAP_ULONG_BITS);
  ------------------
  |  |  423|  11.6k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (232:17): [True: 11.6k, False: 0]
  ------------------
  233|  11.6k|        if (!unit) {
  ------------------
  |  Branch (233:13): [True: 8.85k, False: 2.79k]
  ------------------
  234|  8.85k|            start -= start % BITMAP_ULONG_BITS; /* Round down. */
  ------------------
  |  |  423|  8.85k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  235|  8.85k|            start += BITMAP_ULONG_BITS; /* Start of the next unit. */
  ------------------
  |  |  423|  8.85k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  236|       |
  237|  13.0k|            for (; start < end; start += BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|  4.17k|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (237:20): [True: 9.91k, False: 3.11k]
  ------------------
  238|  9.91k|                unit = target ? *++p : ~*++p;
  ------------------
  |  Branch (238:24): [True: 9.91k, False: 0]
  ------------------
  239|  9.91k|                if (unit) {
  ------------------
  |  Branch (239:21): [True: 5.74k, False: 4.17k]
  ------------------
  240|  5.74k|                    goto found;
  241|  5.74k|                }
  242|  9.91k|            }
  243|  3.11k|            return end;
  244|  8.85k|        }
  245|  8.53k|found:
  246|  8.53k|        start += raw_ctz(unit);  /* unit != 0 */
  247|  8.53k|        if (OVS_LIKELY(start < end)) {
  ------------------
  |  |   65|  8.53k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 8.53k, False: 0]
  |  |  ------------------
  ------------------
  248|  8.53k|            return start;
  249|  8.53k|        }
  250|  8.53k|    }
  251|    188|    return end;
  252|  11.8k|}
nx-match.c:bitmap_set1:
   96|   378k|{
   97|   378k|    *bitmap_unit__(bitmap, offset) |= bitmap_bit__(offset);
   98|   378k|    return bitmap;
   99|   378k|}
ofp-group.c:bitmap_count1:
  153|  3.77k|{
  154|  3.77k|    size_t i;
  155|  3.77k|    size_t count = 0;
  156|       |
  157|  3.77k|    BUILD_ASSERT(ULONG_MAX <= UINT64_MAX);
  ------------------
  |  |  271|  3.77k|#define BUILD_ASSERT(EXPR) (void) ({ _Static_assert(EXPR, #EXPR); })
  ------------------
  158|  18.8k|    for (i = 0; i < BITMAP_N_LONGS(n); i++) {
  ------------------
  |  |  424|  18.8k|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|  18.8k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (158:17): [True: 15.0k, False: 3.77k]
  ------------------
  159|  15.0k|        count += count_1bits(bitmap[i]);
  160|  15.0k|    }
  161|  3.77k|    return count;
  162|  3.77k|}

bundle_check:
  111|  3.28k|{
  112|  3.28k|    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|  3.28k|        {                                                                 \
  |  |  111|  3.28k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  13.1k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 3.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  3.28k|            0,                              /* first_dropped */           \
  |  |  113|  3.28k|            0,                              /* last_dropped */            \
  |  |  114|  3.28k|            0,                              /* n_dropped */               \
  |  |  115|  3.28k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  3.28k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  3.28k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  3.28k|        }
  ------------------
  113|  3.28k|    size_t i;
  114|       |
  115|  3.28k|    if (bundle->dst.field) {
  ------------------
  |  Branch (115:9): [True: 2.27k, False: 1.00k]
  ------------------
  116|  2.27k|        enum ofperr error = mf_check_dst(&bundle->dst, match);
  117|  2.27k|        if (error) {
  ------------------
  |  Branch (117:13): [True: 28, False: 2.25k]
  ------------------
  118|     28|            return error;
  119|     28|        }
  120|  2.27k|    }
  121|       |
  122|  20.4k|    for (i = 0; i < bundle->n_members; i++) {
  ------------------
  |  Branch (122:17): [True: 18.1k, False: 2.39k]
  ------------------
  123|  18.1k|        ofp_port_t ofp_port = bundle->members[i];
  124|       |
  125|  18.1k|        if (ofp_port != OFPP_NONE) {
  ------------------
  |  |   47|  18.1k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  18.1k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (125:13): [True: 15.2k, False: 2.88k]
  ------------------
  126|  15.2k|            enum ofperr error = ofpact_check_output_port(ofp_port, max_ports);
  127|  15.2k|            if (error) {
  ------------------
  |  Branch (127:17): [True: 456, False: 14.7k]
  ------------------
  128|    456|                VLOG_WARN_RL(&rl, "invalid member %"PRIu32, ofp_port);
  ------------------
  |  |  224|    456|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    456|    do {                                                                \
  |  |  |  |  288|    456|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    456|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 456]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    456|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 456]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    456|                return error;
  130|    456|            }
  131|  15.2k|        }
  132|       |        /* Controller members are unsupported due to the lack of a max_len
  133|       |         * argument. This may or may not change in the future.  There doesn't
  134|       |         * seem to be a real-world use-case for supporting it. */
  135|  17.6k|        if (ofp_port == OFPP_CONTROLLER) {
  ------------------
  |  |   45|  17.6k|#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
  |  |  ------------------
  |  |  |  |  157|  17.6k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (135:13): [True: 408, False: 17.2k]
  ------------------
  136|    408|            VLOG_WARN_RL(&rl, "unsupported controller member");
  ------------------
  |  |  224|    408|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    408|    do {                                                                \
  |  |  |  |  288|    408|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    408|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 408]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    408|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 408]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|    408|            return OFPERR_OFPBAC_BAD_OUT_PORT;
  138|    408|        }
  139|  17.6k|    }
  140|       |
  141|  2.39k|    return 0;
  142|  3.25k|}
bundle_format:
  305|  1.69k|{
  306|  1.69k|    const char *action, *fields, *algorithm;
  307|  1.69k|    size_t i;
  308|       |
  309|  1.69k|    fields = flow_hash_fields_to_str(bundle->fields);
  310|       |
  311|  1.69k|    switch (bundle->algorithm) {
  312|    270|    case NX_BD_ALG_HRW:
  ------------------
  |  Branch (312:5): [True: 270, False: 1.42k]
  ------------------
  313|    270|        algorithm = "hrw";
  314|    270|        break;
  315|    842|    case NX_BD_ALG_ACTIVE_BACKUP:
  ------------------
  |  Branch (315:5): [True: 842, False: 856]
  ------------------
  316|    842|        algorithm = "active_backup";
  317|    842|        break;
  318|    586|    default:
  ------------------
  |  Branch (318:5): [True: 586, False: 1.11k]
  ------------------
  319|    586|        algorithm = "<unknown>";
  320|  1.69k|    }
  321|       |
  322|  1.69k|    action = bundle->dst.field ? "bundle_load" : "bundle";
  ------------------
  |  Branch (322:14): [True: 1.07k, False: 621]
  ------------------
  323|       |
  324|  1.69k|    ds_put_format(s, "%s%s(%s%s,%"PRIu16",%s,%s,", colors.paren, action,
  325|  1.69k|                  colors.end, fields, bundle->basis, algorithm, "ofport");
  326|       |
  327|  1.69k|    if (bundle->dst.field) {
  ------------------
  |  Branch (327:9): [True: 1.07k, False: 621]
  ------------------
  328|  1.07k|        mf_format_subfield(&bundle->dst, s);
  329|  1.07k|        ds_put_char(s, ',');
  330|  1.07k|    }
  331|       |
  332|  1.69k|    ds_put_format(s, "%smembers:%s", colors.param, colors.end);
  333|  12.3k|    for (i = 0; i < bundle->n_members; i++) {
  ------------------
  |  Branch (333:17): [True: 10.6k, False: 1.69k]
  ------------------
  334|  10.6k|        if (i) {
  ------------------
  |  Branch (334:13): [True: 9.21k, False: 1.42k]
  ------------------
  335|  9.21k|            ds_put_char(s, ',');
  336|  9.21k|        }
  337|       |
  338|  10.6k|        ofputil_format_port(bundle->members[i], port_map, s);
  339|  10.6k|    }
  340|       |
  341|  1.69k|    ds_put_format(s, "%s)%s", colors.paren, colors.end);
  342|  1.69k|}

ofp-queue.c:ntohll:
   35|  51.7k|{
   36|  51.7k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 51.7k]
  ------------------
   37|  51.7k|}
ofp-switch.c:ntohll:
   35|  3.40k|{
   36|  3.40k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 3.40k]
  ------------------
   37|  3.40k|}
ofp-table.c:ntohll:
   35|   102k|{
   36|   102k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 102k]
  ------------------
   37|   102k|}
util.c:htonll:
   29|  8.63k|{
   30|  8.63k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 8.63k]
  ------------------
   31|  8.63k|}
util.c:ntohll:
   35|  2.47k|{
   36|  2.47k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 2.47k]
  ------------------
   37|  2.47k|}
flow.c:be32_to_be16:
  135|  72.7k|static inline ovs_be16 be32_to_be16(ovs_be32 x) { return x >> 16; }
flow.c:bytes_to_be32:
  110|  8.80k|{
  111|       |#if WORDS_BIGENDIAN
  112|       |    uint32_t x = ((uint32_t) b0 << 24) | (b1 << 16) | (b2 << 8) | b3;
  113|       |#else
  114|  8.80k|    uint32_t x = ((uint32_t) b3 << 24) | (b2 << 16) | (b1 << 8) | b0;
  115|  8.80k|#endif
  116|  8.80k|    return (OVS_FORCE ovs_be32) x;
  117|  8.80k|}
match.c:hton128:
   48|  1.02k|{
   49|  1.02k|    ovs_be128 dst;
   50|       |
   51|  1.02k|    dst.be64.hi = htonll(src.u64.hi);
   52|  1.02k|    dst.be64.lo = htonll(src.u64.lo);
   53|  1.02k|    return dst;
   54|  1.02k|}
match.c:htonll:
   29|   417k|{
   30|   417k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 417k]
  ------------------
   31|   417k|}
match.c:be32_to_be16:
  135|  33.0k|static inline ovs_be16 be32_to_be16(ovs_be32 x) { return x >> 16; }
match.c:ntohll:
   35|  8.72k|{
   36|  8.72k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 8.72k]
  ------------------
   37|  8.72k|}
meta-flow.c:be32_to_be16:
  135|  16.2k|static inline ovs_be16 be32_to_be16(ovs_be32 x) { return x >> 16; }
meta-flow.c:hton128:
   48|    562|{
   49|    562|    ovs_be128 dst;
   50|       |
   51|    562|    dst.be64.hi = htonll(src.u64.hi);
   52|    562|    dst.be64.lo = htonll(src.u64.lo);
   53|    562|    return dst;
   54|    562|}
meta-flow.c:htonll:
   29|  6.27k|{
   30|  6.27k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 6.27k]
  ------------------
   31|  6.27k|}
meta-flow.c:ntoh128:
   58|  5.19k|{
   59|  5.19k|    ovs_u128 dst;
   60|       |
   61|  5.19k|    dst.u64.hi = ntohll(src.be64.hi);
   62|  5.19k|    dst.u64.lo = ntohll(src.be64.lo);
   63|  5.19k|    return dst;
   64|  5.19k|}
meta-flow.c:ntohll:
   35|  20.1k|{
   36|  20.1k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 20.1k]
  ------------------
   37|  20.1k|}
nx-match.c:ntohll:
   35|  14.4k|{
   36|  14.4k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 14.4k]
  ------------------
   37|  14.4k|}
nx-match.c:htonll:
   29|  1.72M|{
   30|  1.72M|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 1.72M]
  ------------------
   31|  1.72M|}
ofp-actions.c:ntohll:
   35|  14.7k|{
   36|  14.7k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 14.7k]
  ------------------
   37|  14.7k|}
ofp-actions.c:be32_to_be16:
  135|  16.9k|static inline ovs_be16 be32_to_be16(ovs_be32 x) { return x >> 16; }
ofp-connection.c:ntohll:
   35|  6.21k|{
   36|  6.21k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 6.21k]
  ------------------
   37|  6.21k|}
ofp-ct.c:hton128:
   48|  1.51k|{
   49|  1.51k|    ovs_be128 dst;
   50|       |
   51|  1.51k|    dst.be64.hi = htonll(src.u64.hi);
   52|  1.51k|    dst.be64.lo = htonll(src.u64.lo);
   53|  1.51k|    return dst;
   54|  1.51k|}
ofp-ct.c:htonll:
   29|  3.02k|{
   30|  3.02k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 3.02k]
  ------------------
   31|  3.02k|}
ofp-flow.c:htonll:
   29|   267k|{
   30|   267k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 267k]
  ------------------
   31|   267k|}
ofp-flow.c:ntohll:
   35|  66.3k|{
   36|  66.3k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 66.3k]
  ------------------
   37|  66.3k|}
ofp-group.c:ntohll:
   35|  27.1k|{
   36|  27.1k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 27.1k]
  ------------------
   37|  27.1k|}
ofp-ipfix.c:ntohll:
   35|   137k|{
   36|   137k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 137k]
  ------------------
   37|   137k|}
ofp-meter.c:ntohll:
   35|  5.77k|{
   36|  5.77k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 5.77k]
  ------------------
   37|  5.77k|}
ofp-monitor.c:ntohll:
   35|  12.7k|{
   36|  12.7k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 12.7k]
  ------------------
   37|  12.7k|}
ofp-monitor.c:htonll:
   29|  3.43k|{
   30|  3.43k|    return htonl(1) == 1 ? n : ((uint64_t) htonl(n) << 32) | htonl(n >> 32);
  ------------------
  |  Branch (30:12): [True: 0, False: 3.43k]
  ------------------
   31|  3.43k|}
ofp-packet.c:ntohll:
   35|  1.00k|{
   36|  1.00k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 1.00k]
  ------------------
   37|  1.00k|}
ofp-port.c:ntohll:
   35|   309k|{
   36|   309k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 309k]
  ------------------
   37|   309k|}
ofp-prop.c:ntohll:
   35|  1.55k|{
   36|  1.55k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 1.55k]
  ------------------
   37|  1.55k|}
ofp-prop.c:ntoh128:
   58|    775|{
   59|    775|    ovs_u128 dst;
   60|       |
   61|    775|    dst.u64.hi = ntohll(src.be64.hi);
   62|    775|    dst.u64.lo = ntohll(src.be64.lo);
   63|    775|    return dst;
   64|    775|}
ox-stat.c:ntohll:
   35|  1.64k|{
   36|  1.64k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 1.64k]
  ------------------
   37|  1.64k|}
learn.c:ntohll:
   35|  17.9k|{
   36|  17.9k|    return htonl(1) == 1 ? n : ((uint64_t) ntohl(n) << 32) | ntohl(n >> 32);
  ------------------
  |  Branch (36:12): [True: 0, False: 17.9k]
  ------------------
   37|  17.9k|}

coverage_counter_register:
   53|    264|{
   54|    264|    if (n_coverage_counters >= allocated_coverage_counters) {
  ------------------
  |  Branch (54:9): [True: 18, False: 246]
  ------------------
   55|     18|        coverage_counters = x2nrealloc(coverage_counters,
   56|     18|                                       &allocated_coverage_counters,
   57|     18|                                       sizeof(struct coverage_counter*));
   58|     18|    }
   59|    264|    coverage_counters[n_coverage_counters++] = counter;
   60|    264|}

util.c:util_xalloc_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
util.c:util_xalloc_add:
   72|  11.4M|        {                                                               \
   73|  11.4M|            *counter_##COUNTER##_get() += n;                            \
   74|  11.4M|        }                                                               \
dp-packet.c:dp_packet_batch_grow_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:flow_extract_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:miniflow_extract_ipv4_pkt_len_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:miniflow_extract_ipv4_pkt_too_short_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:miniflow_extract_ipv6_pkt_len_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:miniflow_extract_ipv6_pkt_too_short_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:miniflow_malloc_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
flow.c:flow_extract_add:
   72|  58.3k|        {                                                               \
   73|  58.3k|            *counter_##COUNTER##_get() += n;                            \
   74|  58.3k|        }                                                               \
flow.c:miniflow_extract_ipv4_pkt_too_short_add:
   72|     76|        {                                                               \
   73|     76|            *counter_##COUNTER##_get() += n;                            \
   74|     76|        }                                                               \
flow.c:miniflow_extract_ipv4_pkt_len_error_add:
   72|    268|        {                                                               \
   73|    268|            *counter_##COUNTER##_get() += n;                            \
   74|    268|        }                                                               \
flow.c:miniflow_extract_ipv6_pkt_too_short_add:
   72|    662|        {                                                               \
   73|    662|            *counter_##COUNTER##_get() += n;                            \
   74|    662|        }                                                               \
flow.c:miniflow_extract_ipv6_pkt_len_error_add:
   72|    182|        {                                                               \
   73|    182|            *counter_##COUNTER##_get() += n;                            \
   74|    182|        }                                                               \
flow.c:miniflow_malloc_add:
   72|  46.7k|        {                                                               \
   73|  46.7k|            *counter_##COUNTER##_get() += n;                            \
   74|  46.7k|        }                                                               \
netdev.c:netdev_received_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev.c:netdev_sent_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev.c:netdev_add_router_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev.c:netdev_get_stats_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev.c:netdev_push_header_drops_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
poll-loop.c:poll_create_node_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
poll-loop.c:poll_zero_timeout_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
seq.c:seq_change_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
timeval.c:long_poll_interval_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
unixctl.c:unixctl_received_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
unixctl.c:unixctl_replied_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_set_policing_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_arp_lookup_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_get_ifindex_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_get_hwaddr_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_set_hwaddr_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_get_ethtool_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_set_ethtool_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_linux_invalid_l4_csum_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-linux.c:netdev_linux_unknown_l4_csum_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netlink-socket.c:netlink_overflow_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netlink-socket.c:netlink_received_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netlink-socket.c:netlink_recv_jumbo_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netlink-socket.c:netlink_sent_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
route-table.c:route_table_dump_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
tc.c:tc_netlink_malformed_reply_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ccmap.c:ccmap_expand_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ccmap.c:ccmap_shrink_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
cmap.c:cmap_expand_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
cmap.c:cmap_shrink_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dp-packet-gso.c:dp_packet_gso_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dp-packet-gso.c:dp_packet_partial_gso_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_destroy_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_execute_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_execute_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_execute_with_help_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_del_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_del_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_flush_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_get_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_get_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_put_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_flow_put_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_meter_del_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_meter_get_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_meter_set_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_port_add_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_port_del_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif.c:dpif_purge_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hmap.c:hmap_pathological_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hmap.c:hmap_expand_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hmap.c:hmap_shrink_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hmap.c:hmap_reserve_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hmap.c:hmap_expand_add:
   72|     28|        {                                                               \
   73|     28|            *counter_##COUNTER##_get() += n;                            \
   74|     28|        }                                                               \
hmap.c:hmap_pathological_add:
   72|      6|        {                                                               \
   73|      6|            *counter_##COUNTER##_get() += n;                            \
   74|      6|        }                                                               \
jsonrpc.c:jsonrpc_recv_incomplete_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:datapath_drop_sample_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:datapath_drop_nsh_decap_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_of_pipeline_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_bridge_not_found_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_recursion_too_deep_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_too_many_resubmit_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_stack_too_deep_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_no_recirculation_context_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_recirculation_conflict_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_too_many_mpls_labels_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_invalid_tunnel_metadata_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_unsupported_packet_type_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_congestion_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_forwarding_disabled_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_tunnel_routing_failed_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_tunnel_output_no_ethernet_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_tunnel_neigh_cache_miss_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
odp-execute.c:drop_action_tunnel_header_build_failed_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
stream.c:pstream_open_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
stream.c:stream_open_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-native-tnl.c:native_tnl_l3csum_checked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-native-tnl.c:native_tnl_l3csum_err_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-native-tnl.c:native_tnl_l4csum_checked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netdev-native-tnl.c:native_tnl_l4csum_err_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
netlink-notifier.c:nln_changed_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_full_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_l3csum_checked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_l3csum_err_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_l4csum_checked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_l4csum_err_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_lookup_natted_miss_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack.c:conntrack_zone_full_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_meter_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_upcall_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_lock_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_userspace_action_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_tunnel_push_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_tunnel_pop_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_recirc_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_invalid_port_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_invalid_bond_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_invalid_tnl_port_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_rx_invalid_packet_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_hw_post_process_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:datapath_drop_hw_post_process_consumed_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:dpif_netdev_output_grow_queues_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
dpif-netdev.c:dpif_netdev_recirc_big_batch_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hindex.c:hindex_pathological_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hindex.c:hindex_expand_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hindex.c:hindex_shrink_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
hindex.c:hindex_reserve_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ipf.c:ipf_stuck_frag_list_expired_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ipf.c:ipf_stuck_frag_list_purged_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ipf.c:ipf_l3csum_checked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ipf.c:ipf_l3csum_err_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
lockfile.c:lockfile_lock_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
lockfile.c:lockfile_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
lockfile.c:lockfile_unlock_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
process.c:process_start_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack-tcp.c:conntrack_tcp_seq_chk_bypass_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack-tcp.c:conntrack_tcp_seq_chk_failed_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
conntrack-tcp.c:conntrack_invalid_tcp_flags_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_uncommitted_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_unchanged_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_incomplete_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_aborted_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_success_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_try_again_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_not_locked_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }
ovsdb-idl.c:txn_error_init_coverage:
   78|      2|        OVS_CONSTRUCTOR(COUNTER##_init_coverage) {                      \
   79|      2|            coverage_counter_register(&counter_##COUNTER);              \
   80|      2|        }

dp_packet_use_const:
  113|  58.3k|{
  114|  58.3k|    dp_packet_use__(b, CONST_CAST(void *, data), size, DPBUF_STACK);
  ------------------
  |  |   85|  58.3k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  58.3k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  58.3k|     (TYPE) (POINTER))
  ------------------
  115|  58.3k|    dp_packet_set_size(b, size);
  116|  58.3k|}
dp-packet.c:dp_packet_use__:
   50|  58.3k|{
   51|  58.3k|    dp_packet_set_base(b, base);
   52|  58.3k|    dp_packet_set_data(b, base);
   53|  58.3k|    dp_packet_set_size(b, 0);
   54|       |
   55|  58.3k|    dp_packet_init__(b, allocated, source);
   56|  58.3k|}
dp-packet.c:dp_packet_init__:
   33|  58.3k|{
   34|  58.3k|    dp_packet_set_allocated(b, allocated);
   35|  58.3k|    b->source = source;
   36|  58.3k|    dp_packet_reset_offsets(b);
   37|  58.3k|    pkt_metadata_init(&b->md, 0);
   38|  58.3k|    dp_packet_reset_cutlen(b);
   39|  58.3k|    dp_packet_reset_offload(b);
   40|  58.3k|    dp_packet_set_tso_segsz(b, 0);
   41|       |    /* Initialize implementation-specific fields of dp_packet. */
   42|  58.3k|    dp_packet_init_specific(b);
   43|       |    /* By default assume the packet type to be Ethernet. */
   44|       |    b->packet_type = htonl(PT_ETH);
   45|  58.3k|}

ofp-print.c:dp_packet_l4_size:
  502|  58.3k|{
  503|  58.3k|    return OVS_LIKELY(b->l4_ofs != UINT16_MAX)
  ------------------
  |  |   65|  58.3k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 8.80k, False: 49.5k]
  |  |  ------------------
  ------------------
  504|  58.3k|        ? (const char *)dp_packet_tail(b) - (const char *)dp_packet_l4(b)
  505|  8.80k|        - dp_packet_l2_pad_size(b)
  506|  58.3k|        : 0;
  507|  58.3k|}
ofp-print.c:dp_packet_tail:
  326|  8.80k|{
  327|  8.80k|    return (char *) dp_packet_data(b) + dp_packet_size(b);
  328|  8.80k|}
ofp-print.c:dp_packet_l2_pad_size:
  432|  8.80k|{
  433|  8.80k|    return b->l2_pad_size;
  434|  8.80k|}
ofp-print.c:dp_packet_l4:
  475|  15.8k|{
  476|  15.8k|    return b->l4_ofs != UINT16_MAX
  ------------------
  |  Branch (476:12): [True: 15.8k, False: 0]
  ------------------
  477|  15.8k|           ? (char *) dp_packet_data(b) + b->l4_ofs
  478|       |           : NULL;
  479|  15.8k|}
ofp-print.c:dp_packet_data:
  845|  24.6k|{
  846|  24.6k|    return __packet_data(b) != UINT16_MAX
  ------------------
  |  Branch (846:12): [True: 24.6k, False: 0]
  ------------------
  847|  24.6k|           ? (char *) dp_packet_base(b) + __packet_data(b) : NULL;
  848|  24.6k|}
ofp-print.c:__packet_data:
  774|  49.2k|{
  775|  49.2k|    return b->data_ofs;
  776|  49.2k|}
ofp-print.c:dp_packet_base:
  750|  24.6k|{
  751|  24.6k|    return b->base_;
  752|  24.6k|}
ofp-print.c:dp_packet_size:
  762|  8.80k|{
  763|  8.80k|    return b->size_;
  764|  8.80k|}
dp-packet.c:dp_packet_reset_offsets:
  424|  58.3k|{
  425|  58.3k|    dp_packet_reset_outer_offsets(b);
  426|  58.3k|    b->inner_l3_ofs = UINT16_MAX;
  427|       |    b->inner_l4_ofs = UINT16_MAX;
  428|  58.3k|}
dp-packet.c:dp_packet_reset_outer_offsets:
  413|  58.3k|{
  414|  58.3k|    b->l2_pad_size = 0;
  415|  58.3k|    b->l2_5_ofs = UINT16_MAX;
  416|  58.3k|    b->l3_ofs = UINT16_MAX;
  417|       |    b->l4_ofs = UINT16_MAX;
  418|  58.3k|}
dp-packet.c:dp_packet_reset_cutlen:
  811|  58.3k|{
  812|  58.3k|    b->cutlen = 0;
  813|  58.3k|}
dp-packet.c:dp_packet_reset_offload:
 1069|  58.3k|{
 1070|       |    p->has_hash = p->has_mark = false;
 1071|  58.3k|    p->offloads = 0;
 1072|  58.3k|}
dp-packet.c:dp_packet_init_specific:
  744|  58.3k|{
  745|       |    /* There are no implementation-specific fields for initialization. */
  746|  58.3k|}
dp-packet.c:dp_packet_set_size:
  768|   116k|{
  769|   116k|    b->size_ = v;
  770|   116k|}
dp-packet.c:dp_packet_base:
  750|  58.3k|{
  751|  58.3k|    return b->base_;
  752|  58.3k|}
dp-packet.c:dp_packet_set_tso_segsz:
  804|  58.3k|{
  805|  58.3k|    p->tso_segsz = s;
  806|  58.3k|}
dp-packet.c:dp_packet_set_allocated:
  792|  58.3k|{
  793|  58.3k|    b->allocated_ = s;
  794|  58.3k|}
dp-packet.c:dp_packet_set_base:
  756|  58.3k|{
  757|  58.3k|    b->base_ = d;
  758|  58.3k|}
dp-packet.c:dp_packet_set_data:
  852|  58.3k|{
  853|  58.3k|    if (data) {
  ------------------
  |  Branch (853:9): [True: 58.3k, False: 0]
  ------------------
  854|  58.3k|        __packet_set_data(b, (char *) data - (char *) dp_packet_base(b));
  855|  58.3k|    } else {
  856|       |        __packet_set_data(b, UINT16_MAX);
  857|      0|    }
  858|  58.3k|}
dp-packet.c:__packet_set_data:
  780|  58.3k|{
  781|  58.3k|    b->data_ofs = v;
  782|  58.3k|}
flow.c:dp_packet_data:
  845|  63.2k|{
  846|  63.2k|    return __packet_data(b) != UINT16_MAX
  ------------------
  |  Branch (846:12): [True: 63.2k, False: 0]
  ------------------
  847|  63.2k|           ? (char *) dp_packet_base(b) + __packet_data(b) : NULL;
  848|  63.2k|}
flow.c:__packet_data:
  774|   126k|{
  775|   126k|    return b->data_ofs;
  776|   126k|}
flow.c:dp_packet_base:
  750|  63.2k|{
  751|  63.2k|    return b->base_;
  752|  63.2k|}
flow.c:dp_packet_size:
  762|  68.0k|{
  763|  68.0k|    return b->size_;
  764|  68.0k|}
flow.c:dp_packet_tunnel:
 1135|  58.3k|{
 1136|  58.3k|    return !!(b->offloads & DP_PACKET_OL_TUNNEL_MASK);
  ------------------
  |  |  102|  58.3k|#define DP_PACKET_OL_TUNNEL_MASK (DP_PACKET_OL_TUNNEL_GENEVE \
  |  |  103|  58.3k|                                  | DP_PACKET_OL_TUNNEL_VXLAN)
  ------------------
 1137|  58.3k|}
flow.c:dp_packet_reset_outer_offsets:
  413|  58.3k|{
  414|  58.3k|    b->l2_pad_size = 0;
  415|  58.3k|    b->l2_5_ofs = UINT16_MAX;
  416|  58.3k|    b->l3_ofs = UINT16_MAX;
  417|       |    b->l4_ofs = UINT16_MAX;
  418|  58.3k|}
flow.c:dp_packet_reset_offsets:
  424|  58.3k|{
  425|  58.3k|    dp_packet_reset_outer_offsets(b);
  426|  58.3k|    b->inner_l3_ofs = UINT16_MAX;
  427|       |    b->inner_l4_ofs = UINT16_MAX;
  428|  58.3k|}
flow.c:dp_packet_set_l2_pad_size:
  438|  9.65k|{
  439|  9.65k|    ovs_assert(pad_size <= dp_packet_size(b));
  ------------------
  |  |   62|  9.65k|#define ovs_assert ovs_ignore
  ------------------
  440|  9.65k|    b->l2_pad_size = pad_size;
  441|  9.65k|}
flow.c:dp_packet_update_rss_hash_ipv4_tcp_udp:
 1473|  1.80k|{
 1474|  1.80k|    if (dp_packet_rss_valid(packet)) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 1.80k]
  ------------------
 1475|      0|        return;
 1476|      0|    }
 1477|       |
 1478|  1.80k|    const uint8_t *pkt = dp_packet_data(packet);
 1479|  1.80k|    const void *l4_ports = &pkt[packet->l4_ofs];
 1480|  1.80k|    const uint16_t l3_ofs = packet->l3_ofs;
 1481|  1.80k|    uint32_t hash = 0;
 1482|  1.80k|    uint32_t ports;
 1483|       |
 1484|       |    /* IPv4 Src, Dst and proto. */
 1485|  1.80k|    hash = dp_packet_calc_hash_ipv4(pkt, l3_ofs, hash);
 1486|       |
 1487|       |    /* L4 ports. */
 1488|  1.80k|    memcpy(&ports,  l4_ports, sizeof ports);
 1489|  1.80k|    hash = hash_add(hash, ports);
 1490|       |
 1491|  1.80k|    hash = hash_finish(hash, 42);
 1492|  1.80k|    dp_packet_set_rss_hash(packet, hash);
 1493|  1.80k|}
flow.c:dp_packet_rss_valid:
 1063|  4.89k|{
 1064|  4.89k|    return p->has_hash;
 1065|  4.89k|}
flow.c:dp_packet_calc_hash_ipv4:
 1435|  1.80k|{
 1436|  1.80k|    const void *ipv4_src = &pkt[l3_ofs + offsetof(struct ip_header, ip_src)];
 1437|  1.80k|    const void *ipv4_dst = &pkt[l3_ofs + offsetof(struct ip_header, ip_dst)];
 1438|  1.80k|    uint32_t ip_src, ip_dst;
 1439|       |
 1440|  1.80k|    memcpy(&ip_src, ipv4_src, sizeof ip_src);
 1441|  1.80k|    memcpy(&ip_dst, ipv4_dst, sizeof ip_dst);
 1442|       |
 1443|       |    /* IPv4 Src and Dst. */
 1444|  1.80k|    hash = hash_add(hash, ip_src);
 1445|  1.80k|    hash = hash_add(hash, ip_dst);
 1446|       |
 1447|       |    /* IPv4 proto. */
 1448|  1.80k|    hash = hash_add(hash, pkt[l3_ofs + offsetof(struct ip_header, ip_proto)]);
 1449|       |
 1450|  1.80k|    return hash;
 1451|  1.80k|}
flow.c:dp_packet_set_rss_hash:
 1056|  4.89k|{
 1057|  4.89k|    *dp_packet_rss_ptr(p) = hash;
 1058|       |    p->has_hash = true;
 1059|  4.89k|}
flow.c:dp_packet_rss_ptr:
  645|  4.89k|{
  646|  4.89k|    return CONST_CAST(uint32_t *, &b->rss_hash);
  ------------------
  |  |   85|  4.89k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  4.89k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  4.89k|     (TYPE) (POINTER))
  ------------------
  647|  4.89k|}
flow.c:dp_packet_update_rss_hash_ipv6_tcp_udp:
 1497|  3.09k|{
 1498|  3.09k|    if (dp_packet_rss_valid(packet)) {
  ------------------
  |  Branch (1498:9): [True: 0, False: 3.09k]
  ------------------
 1499|      0|        return;
 1500|      0|    }
 1501|       |
 1502|  3.09k|    const uint8_t *pkt = dp_packet_data(packet);
 1503|  3.09k|    const uint16_t l3_ofs = packet->l3_ofs;
 1504|  3.09k|    uint32_t ipv6_src_off = offsetof(struct ovs_16aligned_ip6_hdr, ip6_src);
 1505|  3.09k|    uint32_t ipv6_dst_off = offsetof(struct ovs_16aligned_ip6_hdr, ip6_dst);
 1506|  3.09k|    uint32_t ipv6_proto_off = offsetof(struct ovs_16aligned_ip6_hdr,
 1507|  3.09k|                                       ip6_ctlun.ip6_un1.ip6_un1_nxt);
 1508|  3.09k|    const void *ipv6_src_l = &pkt[l3_ofs + ipv6_src_off];
 1509|  3.09k|    const void *ipv6_src_h = &pkt[l3_ofs + ipv6_src_off + 8];
 1510|  3.09k|    const void *ipv6_dst_l = &pkt[l3_ofs + ipv6_dst_off];
 1511|  3.09k|    const void *ipv6_dst_h = &pkt[l3_ofs + ipv6_dst_off + 8];
 1512|  3.09k|    const void *l4_ports = &pkt[packet->l4_ofs];
 1513|  3.09k|    uint64_t ipv6_src_lo, ipv6_src_hi;
 1514|  3.09k|    uint64_t ipv6_dst_lo, ipv6_dst_hi;
 1515|  3.09k|    uint32_t ports;
 1516|  3.09k|    uint32_t hash = 0;
 1517|       |
 1518|  3.09k|    memcpy(&ipv6_src_lo, ipv6_src_l, sizeof ipv6_src_lo);
 1519|  3.09k|    memcpy(&ipv6_src_hi, ipv6_src_h, sizeof ipv6_src_hi);
 1520|  3.09k|    memcpy(&ipv6_dst_lo, ipv6_dst_l, sizeof ipv6_dst_lo);
 1521|  3.09k|    memcpy(&ipv6_dst_hi, ipv6_dst_h, sizeof ipv6_dst_hi);
 1522|  3.09k|    memcpy(&ports, l4_ports, sizeof ports);
 1523|       |
 1524|       |    /* IPv6 Src and Dst. */
 1525|  3.09k|    hash = hash_add64(hash, ipv6_src_lo);
 1526|  3.09k|    hash = hash_add64(hash, ipv6_src_hi);
 1527|  3.09k|    hash = hash_add64(hash, ipv6_dst_lo);
 1528|  3.09k|    hash = hash_add64(hash, ipv6_dst_hi);
 1529|       |    /* IPv6 proto. */
 1530|  3.09k|    hash = hash_add(hash, pkt[l3_ofs + ipv6_proto_off]);
 1531|       |    /* L4 ports. */
 1532|  3.09k|    hash = hash_add(hash, ports);
 1533|  3.09k|    hash = hash_finish(hash, 42);
 1534|       |
 1535|  3.09k|    dp_packet_set_rss_hash(packet, hash);
 1536|  3.09k|}
flow.c:dp_packet_l4_proto_set_tcp:
 1266|  3.65k|{
 1267|  3.65k|    b->offloads &= ~DP_PACKET_OL_L4_PROTO_UDP;
 1268|  3.65k|    b->offloads |= DP_PACKET_OL_L4_PROTO_TCP;
 1269|  3.65k|}
flow.c:dp_packet_l4_proto_set_udp:
 1280|  1.24k|{
 1281|  1.24k|    b->offloads &= ~DP_PACKET_OL_L4_PROTO_TCP;
 1282|  1.24k|    b->offloads |= DP_PACKET_OL_L4_PROTO_UDP;
 1283|  1.24k|}
flow.c:dp_packet_l4_proto_set_sctp:
 1294|    225|{
 1295|    225|    b->offloads |= DP_PACKET_OL_L4_PROTO_MASK;
  ------------------
  |  |  105|    225|#define DP_PACKET_OL_L4_PROTO_MASK (DP_PACKET_OL_L4_PROTO_TCP \
  |  |  106|    225|                                    | DP_PACKET_OL_L4_PROTO_UDP)
  ------------------
 1296|    225|}

ds_init:
   30|  2.73M|{
   31|       |    ds->string = NULL;
   32|  2.73M|    ds->length = 0;
   33|  2.73M|    ds->allocated = 0;
   34|  2.73M|}
ds_reserve:
   60|  13.5M|{
   61|  13.5M|    if (min_length > ds->allocated || !ds->string) {
  ------------------
  |  Branch (61:9): [True: 10.4M, False: 3.05M]
  |  Branch (61:39): [True: 0, False: 3.05M]
  ------------------
   62|  10.4M|        ds->allocated += MAX(min_length, ds->allocated);
  ------------------
  |  |   95|  10.4M|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 10.4M, False: 0]
  |  |  ------------------
  ------------------
   63|  10.4M|        ds->allocated = MAX(8, ds->allocated);
  ------------------
  |  |   95|  10.4M|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 12.0k, False: 10.4M]
  |  |  ------------------
  ------------------
   64|  10.4M|        ds->string = xrealloc(ds->string, ds->allocated + 1);
   65|  10.4M|    }
   66|  13.5M|}
ds_put_uninit:
   73|  7.34M|{
   74|  7.34M|    ds_reserve(ds, ds->length + n);
   75|  7.34M|    ds->length += n;
   76|  7.34M|    ds->string[ds->length] = '\0';
   77|  7.34M|    return &ds->string[ds->length - n];
   78|  7.34M|}
ds_put_char__:
   82|   527k|{
   83|   527k|    *ds_put_uninit(ds, 1) = c;
   84|   527k|}
ds_put_char_multiple:
  113|  13.7k|{
  114|  13.7k|    memset(ds_put_uninit(ds, n), c, n);
  115|  13.7k|}
ds_put_cstr:
  125|  6.80M|{
  126|  6.80M|    size_t s_len = strlen(s);
  127|  6.80M|    memcpy(ds_put_uninit(ds, s_len), s, s_len);
  128|  6.80M|}
ds_put_and_free_cstr:
  132|  1.20k|{
  133|  1.20k|    ds_put_cstr(ds, s);
  134|  1.20k|    free(s);
  135|  1.20k|}
ds_put_format:
  139|   123M|{
  140|   123M|    va_list args;
  141|       |
  142|   123M|    va_start(args, format);
  143|   123M|    ds_put_format_valist(ds, format, args);
  144|       |    va_end(args);
  145|   123M|}
ds_put_format_valist:
  149|   123M|{
  150|   123M|    va_list args;
  151|   123M|    size_t available;
  152|   123M|    int needed;
  153|       |
  154|   123M|    va_copy(args, args_);
  155|   123M|    available = ds->string ? ds->allocated - ds->length + 1 : 0;
  ------------------
  |  Branch (155:17): [True: 122M, False: 793k]
  ------------------
  156|   123M|    needed = vsnprintf(ds->string
  ------------------
  |  Branch (156:24): [True: 122M, False: 793k]
  ------------------
  157|   123M|                       ? &ds->string[ds->length]
  158|   123M|                       : NULL,
  159|   123M|                       available, format, args);
  160|   123M|    va_end(args);
  161|       |
  162|   123M|    if (needed < available) {
  ------------------
  |  Branch (162:9): [True: 117M, False: 6.11M]
  ------------------
  163|   117M|        ds->length += needed;
  164|   117M|    } else {
  165|  6.11M|        ds_reserve(ds, ds->length + needed);
  166|       |
  167|  6.11M|        va_copy(args, args_);
  168|  6.11M|        available = ds->allocated - ds->length + 1;
  169|  6.11M|        needed = vsnprintf(&ds->string[ds->length],
  170|  6.11M|                           available, format, args);
  171|  6.11M|        va_end(args);
  172|       |
  173|  6.11M|        ovs_assert(needed < available);
  ------------------
  |  |   62|  6.11M|#define ovs_assert ovs_ignore
  ------------------
  174|  6.11M|        ds->length += needed;
  175|  6.11M|    }
  176|   123M|}
ds_put_printable:
  180|  16.2k|{
  181|  16.2k|    ds_reserve(ds, ds->length + n);
  182|   530k|    while (n-- > 0) {
  ------------------
  |  Branch (182:12): [True: 514k, False: 16.2k]
  ------------------
  183|   514k|        unsigned char c = *s++;
  184|   514k|        if (c < 0x20 || c > 0x7e || c == '\\' || c == '"') {
  ------------------
  |  Branch (184:13): [True: 327k, False: 186k]
  |  Branch (184:25): [True: 98.0k, False: 88.2k]
  |  Branch (184:37): [True: 546, False: 87.7k]
  |  Branch (184:50): [True: 472, False: 87.2k]
  ------------------
  185|   426k|            ds_put_format(ds, "\\%03o", (int) c);
  186|   426k|        } else {
  187|  87.2k|            ds_put_char(ds, c);
  188|  87.2k|        }
  189|   514k|    }
  190|  16.2k|}
ds_cstr:
  343|  2.77M|{
  344|  2.77M|    if (!ds->string) {
  ------------------
  |  Branch (344:9): [True: 0, False: 2.77M]
  ------------------
  345|      0|        ds_reserve(ds, 0);
  346|      0|    }
  347|  2.77M|    ds->string[ds->length] = '\0';
  348|  2.77M|    return ds->string;
  349|  2.77M|}
ds_steal_cstr:
  362|  2.71M|{
  363|  2.71M|    char *s = ds_cstr(ds);
  364|  2.71M|    ds_init(ds);
  365|  2.71M|    return s;
  366|  2.71M|}
ds_destroy:
  370|    627|{
  371|    627|    free(ds->string);
  372|    627|}
ds_put_hex:
  385|  52.9k|{
  386|  52.9k|    const uint8_t *buf = buf_;
  387|  52.9k|    bool printed = false;
  388|  52.9k|    int i;
  389|       |
  390|  1.44M|    for (i = 0; i < size; i++) {
  ------------------
  |  Branch (390:17): [True: 1.39M, False: 52.9k]
  ------------------
  391|  1.39M|        uint8_t val = buf[i];
  392|  1.39M|        if (val || printed) {
  ------------------
  |  Branch (392:13): [True: 64.6k, False: 1.33M]
  |  Branch (392:20): [True: 20.3k, False: 1.31M]
  ------------------
  393|  85.0k|            if (!printed) {
  ------------------
  |  Branch (393:17): [True: 36.1k, False: 48.9k]
  ------------------
  394|  36.1k|                ds_put_format(ds, "0x%"PRIx8, val);
  395|  48.9k|            } else {
  396|  48.9k|                ds_put_format(ds, "%02"PRIx8, val);
  397|  48.9k|            }
  398|  85.0k|            printed = true;
  399|  85.0k|        }
  400|  1.39M|    }
  401|  52.9k|    if (!printed) {
  ------------------
  |  Branch (401:9): [True: 16.8k, False: 36.1k]
  ------------------
  402|  16.8k|        ds_put_char(ds, '0');
  403|  16.8k|    }
  404|  52.9k|}
ds_put_hex_with_delimiter:
  409|  4.68k|{
  410|  4.68k|    const uint8_t *buf = buf_;
  411|  4.68k|    size_t i;
  412|       |
  413|  30.9k|    for (i = 0; i < size; i++) {
  ------------------
  |  Branch (413:17): [True: 26.2k, False: 4.68k]
  ------------------
  414|  26.2k|        if (i && delimiter) {
  ------------------
  |  Branch (414:13): [True: 21.5k, False: 4.68k]
  |  Branch (414:18): [True: 21.5k, False: 0]
  ------------------
  415|  21.5k|            ds_put_format(ds, "%s", delimiter);
  416|  21.5k|        }
  417|       |        ds_put_format(ds, "%02" PRIx8, buf[i]);
  418|  26.2k|    }
  419|  4.68k|}
ds_put_hex_dump:
  484|  1.93M|{
  485|       |    ds_put_hex_dump__(ds, buf_, size, ofs, ascii, false);
  486|  1.93M|}
ds_last:
  499|  46.7k|{
  500|  46.7k|    return ds->length > 0 ? (unsigned char) ds->string[ds->length - 1] : EOF;
  ------------------
  |  Branch (500:12): [True: 46.7k, False: 0]
  ------------------
  501|  46.7k|}
ds_chomp:
  505|  1.16M|{
  506|  1.16M|    if (ds->length > 0 && ds->string[ds->length - 1] == (char) c) {
  ------------------
  |  Branch (506:9): [True: 1.16M, False: 0]
  |  Branch (506:27): [True: 257k, False: 909k]
  ------------------
  507|   257k|        ds->string[--ds->length] = '\0';
  508|   257k|        return true;
  509|   909k|    } else {
  510|       |        return false;
  511|   909k|    }
  512|  1.16M|}
dynamic-string.c:ds_put_hex_dump__:
  424|  1.93M|{
  425|  1.93M|    const uint8_t *buf = buf_;
  426|  1.93M|    const size_t per_line = 16; /* Maximum bytes per line. */
  427|       |
  428|  7.21M|    while (size > 0) {
  ------------------
  |  Branch (428:12): [True: 5.27M, False: 1.93M]
  ------------------
  429|  5.27M|        size_t start, end, n;
  430|  5.27M|        size_t i;
  431|       |
  432|       |        /* Number of bytes on this line. */
  433|  5.27M|        start = ofs % per_line;
  434|  5.27M|        end = per_line;
  435|  5.27M|        if (end - start > size)
  ------------------
  |  Branch (435:13): [True: 1.10M, False: 4.16M]
  ------------------
  436|  1.10M|            end = start + size;
  437|  5.27M|        n = end - start;
  438|       |
  439|  5.27M|        if (skip_zero_lines && is_all_zeros(&buf[start], n)) {
  ------------------
  |  Branch (439:13): [True: 0, False: 5.27M]
  |  Branch (439:32): [True: 0, False: 0]
  ------------------
  440|      0|            goto next;
  441|      0|        }
  442|       |
  443|       |        /* Print line. */
  444|  5.27M|        ds_put_format(ds, "%08"PRIxMAX"  ",
  445|  5.27M|                      (uintmax_t) ROUND_DOWN(ofs, per_line));
  ------------------
  |  |  309|  5.27M|#define ROUND_DOWN(X, Y) ((X) / (Y) * (Y))
  ------------------
  446|  5.27M|        for (i = 0; i < start; i++) {
  ------------------
  |  Branch (446:21): [True: 0, False: 5.27M]
  ------------------
  447|      0|            ds_put_format(ds, "   ");
  448|      0|        }
  449|  81.5M|        for (; i < end; i++) {
  ------------------
  |  Branch (449:16): [True: 76.2M, False: 5.27M]
  ------------------
  450|  76.2M|            ds_put_format(ds, "%02x%c",
  451|  76.2M|                          buf[i - start], i == per_line / 2 - 1? '-' : ' ');
  ------------------
  |  Branch (451:43): [True: 5.07M, False: 71.2M]
  ------------------
  452|  76.2M|        }
  453|  5.27M|        if (ascii) {
  ------------------
  |  Branch (453:13): [True: 5.27M, False: 0]
  ------------------
  454|  13.4M|            for (; i < per_line; i++)
  ------------------
  |  Branch (454:20): [True: 8.12M, False: 5.27M]
  ------------------
  455|  8.12M|                ds_put_format(ds, "   ");
  456|  5.27M|            ds_put_format(ds, "|");
  457|  5.27M|            for (i = 0; i < start; i++)
  ------------------
  |  Branch (457:25): [True: 0, False: 5.27M]
  ------------------
  458|      0|                ds_put_format(ds, " ");
  459|  81.5M|            for (; i < end; i++) {
  ------------------
  |  Branch (459:20): [True: 76.2M, False: 5.27M]
  ------------------
  460|  76.2M|                int c = buf[i - start];
  461|  76.2M|                ds_put_char(ds, c >= 32 && c < 127 ? c : '.');
  ------------------
  |  Branch (461:33): [True: 27.2M, False: 49.0M]
  |  Branch (461:44): [True: 12.8M, False: 14.4M]
  ------------------
  462|  76.2M|            }
  463|  13.4M|            for (; i < per_line; i++)
  ------------------
  |  Branch (463:20): [True: 8.12M, False: 5.27M]
  ------------------
  464|  8.12M|                ds_put_format(ds, " ");
  465|  5.27M|            ds_put_format(ds, "|");
  466|  5.27M|        } else {
  467|      0|            ds_chomp(ds, ' ');
  468|      0|        }
  469|  5.27M|        ds_put_format(ds, "\n");
  470|  5.27M|next:
  471|  5.27M|        ofs += n;
  472|  5.27M|        buf += n;
  473|  5.27M|        size -= n;
  474|  5.27M|    }
  475|  1.93M|}

parse_ipv6_ext_hdrs:
  605|  6.99k|{
  606|  6.99k|    return parse_ipv6_ext_hdrs__(datap, sizep, nw_proto, nw_frag,
  607|  6.99k|                                 frag_hdr, rt_hdr);
  608|  6.99k|}
parse_nsh:
  612|  9.92k|{
  613|  9.92k|    const struct nsh_hdr *nsh = (const struct nsh_hdr *) *datap;
  614|  9.92k|    uint8_t version, length, flags, ttl;
  615|       |
  616|       |    /* Check if it is long enough for NSH header, doesn't support
  617|       |     * MD type 2 yet
  618|       |     */
  619|  9.92k|    if (OVS_UNLIKELY(*sizep < NSH_BASE_HDR_LEN)) {
  ------------------
  |  |   66|  9.92k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 619, False: 9.30k]
  |  |  ------------------
  ------------------
  620|    619|        return false;
  621|    619|    }
  622|       |
  623|  9.30k|    version = nsh_get_ver(nsh);
  624|  9.30k|    flags = nsh_get_flags(nsh);
  625|  9.30k|    length = nsh_hdr_len(nsh);
  626|  9.30k|    ttl = nsh_get_ttl(nsh);
  627|       |
  628|  9.30k|    if (OVS_UNLIKELY(length > *sizep || version != 0)) {
  ------------------
  |  |   66|  15.5k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 3.12k, False: 6.17k]
  |  |  |  Branch (66:53): [True: 3.06k, False: 6.23k]
  |  |  |  Branch (66:53): [True: 58, False: 6.17k]
  |  |  ------------------
  ------------------
  629|  3.12k|        return false;
  630|  3.12k|    }
  631|       |
  632|  6.17k|    key->flags = flags;
  633|  6.17k|    key->ttl = ttl;
  634|  6.17k|    key->mdtype = nsh->md_type;
  635|  6.17k|    key->np = nsh->next_proto;
  636|  6.17k|    key->path_hdr = nsh_get_path_hdr(nsh);
  637|       |
  638|  6.17k|    switch (key->mdtype) {
  639|    974|        case NSH_M_TYPE1:
  ------------------
  |  |  251|    974|#define NSH_M_TYPE1     0x01
  ------------------
  |  Branch (639:9): [True: 974, False: 5.20k]
  ------------------
  640|    974|            if (length != NSH_M_TYPE1_LEN) {
  ------------------
  |  |  263|    974|#define NSH_M_TYPE1_LEN   24
  ------------------
  |  Branch (640:17): [True: 862, False: 112]
  ------------------
  641|    862|                return false;
  642|    862|            }
  643|    560|            for (size_t i = 0; i < 4; i++) {
  ------------------
  |  Branch (643:32): [True: 448, False: 112]
  ------------------
  644|    448|                key->context[i] = get_16aligned_be32(&nsh->md1.context[i]);
  645|    448|            }
  646|    112|            break;
  647|    279|        case NSH_M_TYPE2:
  ------------------
  |  |  252|    279|#define NSH_M_TYPE2     0x02
  ------------------
  |  Branch (647:9): [True: 279, False: 5.89k]
  ------------------
  648|       |            /* Don't support MD type 2 metedata parsing yet */
  649|    279|            if (length < NSH_BASE_HDR_LEN) {
  ------------------
  |  |  260|    279|#define NSH_BASE_HDR_LEN  8
  ------------------
  |  Branch (649:17): [True: 201, False: 78]
  ------------------
  650|    201|                return false;
  651|    201|            }
  652|       |
  653|     78|            memset(key->context, 0, sizeof(key->context));
  654|     78|            break;
  655|  4.92k|        default:
  ------------------
  |  Branch (655:9): [True: 4.92k, False: 1.25k]
  ------------------
  656|       |            /* We don't parse other context headers yet. */
  657|  4.92k|            memset(key->context, 0, sizeof(key->context));
  658|  4.92k|            break;
  659|  6.17k|    }
  660|       |
  661|  5.11k|    data_pull(datap, sizep, length);
  662|       |
  663|       |    return true;
  664|  6.17k|}
flow_extract:
  670|  58.3k|{
  671|  58.3k|    struct {
  672|  58.3k|        struct miniflow mf;
  673|  58.3k|        uint64_t buf[FLOW_U64S];
  674|  58.3k|    } m;
  675|       |
  676|  58.3k|    COVERAGE_INC(flow_extract);
  ------------------
  |  |   83|  58.3k|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|  58.3k|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  677|       |
  678|  58.3k|    miniflow_extract(packet, &m.mf);
  679|  58.3k|    miniflow_expand(&m.mf, flow);
  680|  58.3k|}
miniflow_extract:
  797|  58.3k|{
  798|       |    /* Add code to this function (or its callees) to extract new fields. */
  799|  58.3k|    BUILD_ASSERT_DECL(FLOW_WC_SEQ == 43);
  ------------------
  |  |  270|  58.3k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  ------------------
  800|       |
  801|  58.3k|    const struct pkt_metadata *md = &packet->md;
  802|  58.3k|    const void *data = dp_packet_data(packet);
  803|  58.3k|    size_t size = dp_packet_size(packet);
  804|  58.3k|    ovs_be32 packet_type = packet->packet_type;
  805|  58.3k|    uint64_t *values = miniflow_values(dst);
  806|  58.3k|    struct mf_ctx mf = { FLOWMAP_EMPTY_INITIALIZER, values,
  ------------------
  |  |  286|  58.3k|#define FLOWMAP_EMPTY_INITIALIZER { { 0 } }
  ------------------
  807|  58.3k|                         values + FLOW_U64S };
  ------------------
  |  |  165|  58.3k|#define FLOW_U64S (sizeof(struct flow) / sizeof(uint64_t))
  ------------------
  808|  58.3k|    const char *frame;
  809|  58.3k|    ovs_be16 dl_type = OVS_BE16_MAX;
  ------------------
  |  |   42|  58.3k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  810|  58.3k|    uint8_t nw_frag, nw_tos, nw_ttl, nw_proto;
  811|  58.3k|    uint8_t *ct_nw_proto_p = NULL;
  812|  58.3k|    ovs_be16 ct_tp_src = 0, ct_tp_dst = 0;
  813|       |
  814|       |    /* Metadata. */
  815|  58.3k|    if (flow_tnl_dst_is_set(&md->tunnel)) {
  ------------------
  |  Branch (815:9): [True: 0, False: 58.3k]
  ------------------
  816|      0|        miniflow_push_words(mf, tunnel, &md->tunnel,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  817|      0|                            offsetof(struct flow_tnl, metadata) /
  818|      0|                            sizeof(uint64_t));
  819|       |
  820|      0|        if (!(md->tunnel.flags & FLOW_TNL_F_UDPIF)) {
  ------------------
  |  |   45|      0|#define FLOW_TNL_F_UDPIF (1 << 4)
  ------------------
  |  Branch (820:13): [True: 0, False: 0]
  ------------------
  821|      0|            if (md->tunnel.metadata.present.map) {
  ------------------
  |  Branch (821:17): [True: 0, False: 0]
  ------------------
  822|      0|                miniflow_push_words(mf, tunnel.metadata, &md->tunnel.metadata,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  823|      0|                                    sizeof md->tunnel.metadata /
  824|      0|                                    sizeof(uint64_t));
  825|      0|            }
  826|      0|        } else {
  827|      0|            if (md->tunnel.metadata.present.len) {
  ------------------
  |  Branch (827:17): [True: 0, False: 0]
  ------------------
  828|      0|                miniflow_push_words(mf, tunnel.metadata.present,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  829|      0|                                    &md->tunnel.metadata.present, 1);
  830|      0|                miniflow_push_words(mf, tunnel.metadata.opts.gnv,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  831|      0|                                    md->tunnel.metadata.opts.gnv,
  832|      0|                                    DIV_ROUND_UP(md->tunnel.metadata.present.len,
  833|      0|                                                 sizeof(uint64_t)));
  834|      0|            }
  835|      0|        }
  836|      0|    }
  837|  58.3k|    if (md->skb_priority || md->pkt_mark) {
  ------------------
  |  Branch (837:9): [True: 0, False: 58.3k]
  |  Branch (837:29): [True: 0, False: 58.3k]
  ------------------
  838|      0|        miniflow_push_uint32(mf, skb_priority, md->skb_priority);
  ------------------
  |  |  297|      0|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|      0|                                                \
  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|      0|}
  |  |  ------------------
  ------------------
  839|      0|        miniflow_push_uint32(mf, pkt_mark, md->pkt_mark);
  ------------------
  |  |  297|      0|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|      0|                                                \
  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|      0|}
  |  |  ------------------
  ------------------
  840|      0|    }
  841|  58.3k|    miniflow_push_uint32(mf, dp_hash, md->dp_hash);
  ------------------
  |  |  297|  58.3k|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|  58.3k|    {                                           \
  |  |  |  |  180|  58.3k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|  58.3k|                                                \
  |  |  |  |  182|  58.3k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [True: 58.3k, Folded]
  |  |  |  |  ------------------
  |  |  |  |  183|  58.3k|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|  58.3k|    {                                        \
  |  |  |  |  |  |  160|  58.3k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  58.3k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  58.3k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  58.3k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  58.3k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|   116k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  58.3k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|   116k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|   116k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 58.3k, False: 58.3k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|  58.3k|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|  58.3k|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  58.3k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|  58.3k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|  58.3k|}
  |  |  |  |  ------------------
  |  |  |  |  184|  58.3k|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|  58.3k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|  58.3k|}
  |  |  ------------------
  ------------------
  842|  58.3k|    miniflow_push_uint32(mf, in_port, odp_to_u32(md->in_port.odp_port));
  ------------------
  |  |  297|  58.3k|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|  58.3k|    {                                           \
  |  |  |  |  180|  58.3k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|  58.3k|                                                \
  |  |  |  |  182|  58.3k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [Folded, False: 58.3k]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|  58.3k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [True: 58.3k, Folded]
  |  |  |  |  ------------------
  |  |  |  |  186|  58.3k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  58.3k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|  58.3k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  58.3k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  58.3k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  58.3k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  58.3k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|   116k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  58.3k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|   116k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|   116k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 58.3k, False: 58.3k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|  58.3k|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|  58.3k|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  58.3k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  58.3k|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|  58.3k|        MF.data++;                              \
  |  |  |  |  189|  58.3k|    }                                           \
  |  |  |  |  190|  58.3k|}
  |  |  ------------------
  ------------------
  843|  58.3k|    if (md->ct_state) {
  ------------------
  |  Branch (843:9): [True: 0, False: 58.3k]
  ------------------
  844|      0|        miniflow_push_uint32(mf, recirc_id, md->recirc_id);
  ------------------
  |  |  297|      0|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|      0|                                                \
  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|      0|}
  |  |  ------------------
  ------------------
  845|      0|        miniflow_push_uint8(mf, ct_state, md->ct_state);
  ------------------
  |  |  309|      0|    miniflow_push_uint8_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  215|      0|#define miniflow_push_uint8_(MF, OFS, VALUE)            \
  |  |  |  |  216|      0|{                                                       \
  |  |  |  |  217|      0|    MINIFLOW_ASSERT(MF.data < MF.end);                  \
  |  |  |  |  218|      0|                                                        \
  |  |  |  |  219|      0|    if ((OFS) % 8 == 0) {                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (219:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  220|      0|        miniflow_set_map(MF, OFS / 8);                  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  221|      0|        *(uint8_t *)MF.data = VALUE;                    \
  |  |  |  |  222|      0|    } else if ((OFS) % 8 == 7) {                        \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|        miniflow_assert_in_map(MF, OFS / 8);            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  224|      0|        *((uint8_t *)MF.data + 7) = VALUE;              \
  |  |  |  |  225|      0|        MF.data++;                                      \
  |  |  |  |  226|      0|    } else {                                            \
  |  |  |  |  227|      0|        miniflow_assert_in_map(MF, OFS / 8);            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  228|      0|        *((uint8_t *)MF.data + ((OFS) % 8)) = VALUE;    \
  |  |  |  |  229|      0|    }                                                   \
  |  |  |  |  230|      0|}
  |  |  ------------------
  ------------------
  846|      0|        ct_nw_proto_p = miniflow_pointer(mf, ct_nw_proto);
  ------------------
  |  |  329|      0|    (void *)((uint8_t *)MF.data + ((offsetof(struct flow, FIELD)) % 8))
  ------------------
  847|      0|        miniflow_push_uint8(mf, ct_nw_proto, 0);
  ------------------
  |  |  309|      0|    miniflow_push_uint8_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  215|      0|#define miniflow_push_uint8_(MF, OFS, VALUE)            \
  |  |  |  |  216|      0|{                                                       \
  |  |  |  |  217|      0|    MINIFLOW_ASSERT(MF.data < MF.end);                  \
  |  |  |  |  218|      0|                                                        \
  |  |  |  |  219|      0|    if ((OFS) % 8 == 0) {                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (219:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  220|      0|        miniflow_set_map(MF, OFS / 8);                  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  221|      0|        *(uint8_t *)MF.data = VALUE;                    \
  |  |  |  |  222|      0|    } else if ((OFS) % 8 == 7) {                        \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|        miniflow_assert_in_map(MF, OFS / 8);            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  224|      0|        *((uint8_t *)MF.data + 7) = VALUE;              \
  |  |  |  |  225|      0|        MF.data++;                                      \
  |  |  |  |  226|      0|    } else {                                            \
  |  |  |  |  227|      0|        miniflow_assert_in_map(MF, OFS / 8);            \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  228|      0|        *((uint8_t *)MF.data + ((OFS) % 8)) = VALUE;    \
  |  |  |  |  229|      0|    }                                                   \
  |  |  |  |  230|      0|}
  |  |  ------------------
  ------------------
  848|      0|        miniflow_push_uint16(mf, ct_zone, md->ct_zone);
  ------------------
  |  |  303|      0|    miniflow_push_uint16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  195|      0|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  196|      0|{                                               \
  |  |  |  |  197|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  198|      0|                                                \
  |  |  |  |  199|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (199:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  202|      0|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (208:16): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  213|      0|}
  |  |  ------------------
  ------------------
  849|      0|        miniflow_push_uint32(mf, ct_mark, md->ct_mark);
  ------------------
  |  |  297|      0|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|      0|                                                \
  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|      0|}
  |  |  ------------------
  ------------------
  850|      0|        miniflow_push_be32(mf, packet_type, packet_type);
  ------------------
  |  |  300|      0|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|      0|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|      0|                                                \
  |  |  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|      0|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|      0|        if (!ovs_u128_is_zero(md->ct_label)) {
  ------------------
  |  Branch (851:13): [True: 0, False: 0]
  ------------------
  852|      0|            miniflow_push_words(mf, ct_label, &md->ct_label,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  853|      0|                                sizeof md->ct_label / sizeof(uint64_t));
  854|      0|        }
  855|  58.3k|    } else {
  856|  58.3k|        if (md->recirc_id) {
  ------------------
  |  Branch (856:13): [True: 0, False: 58.3k]
  ------------------
  857|      0|            miniflow_push_uint32(mf, recirc_id, md->recirc_id);
  ------------------
  |  |  297|      0|    miniflow_push_uint32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  179|      0|    {                                           \
  |  |  |  |  180|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  181|      0|                                                \
  |  |  |  |  182|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:9): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  185|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  190|      0|}
  |  |  ------------------
  ------------------
  858|      0|            miniflow_pad_to_64(mf, recirc_id);
  ------------------
  |  |  312|      0|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|      0|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|      0|{                                                               \
  |  |  |  |  234|      0|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|      0|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|      0|                                                                \
  |  |  |  |  237|      0|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|      0|    MF.data++;                                                  \
  |  |  |  |  239|      0|}
  |  |  ------------------
  ------------------
  859|      0|        }
  860|  58.3k|        miniflow_pad_from_64(mf, packet_type);
  ------------------
  |  |  315|  58.3k|    miniflow_pad_from_64_(MF, offsetof(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  241|  58.3k|#define miniflow_pad_from_64_(MF, OFS)                          \
  |  |  |  |  242|  58.3k|{                                                               \
  |  |  |  |  243|  58.3k|    MINIFLOW_ASSERT(MF.data < MF.end);                          \
  |  |  |  |  244|  58.3k|                                                                \
  |  |  |  |  245|  58.3k|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  246|  58.3k|    miniflow_set_map(MF, OFS / 8);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|  58.3k|    {                                        \
  |  |  |  |  |  |  160|  58.3k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  58.3k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  58.3k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  58.3k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  58.3k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|   116k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  58.3k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|   116k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|   116k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 58.3k, False: 58.3k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|  58.3k|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|  58.3k|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  58.3k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|  58.3k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|  58.3k|}
  |  |  |  |  ------------------
  |  |  |  |  247|  58.3k|                                                                \
  |  |  |  |  248|  58.3k|    memset((uint8_t *)MF.data, 0, (OFS) % 8);                   \
  |  |  |  |  249|  58.3k|}
  |  |  ------------------
  ------------------
  861|  58.3k|        miniflow_push_be32(mf, packet_type, packet_type);
  ------------------
  |  |  300|  58.3k|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|  58.3k|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|  58.3k|    {                                           \
  |  |  |  |  |  |  180|  58.3k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|  58.3k|                                                \
  |  |  |  |  |  |  182|  58.3k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 58.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|  58.3k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 58.3k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|  58.3k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  58.3k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  58.3k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  58.3k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  58.3k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  58.3k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  58.3k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  58.3k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  58.3k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  58.3k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  58.3k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 58.3k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  58.3k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|  58.3k|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|  58.3k|        MF.data++;                              \
  |  |  |  |  |  |  189|  58.3k|    }                                           \
  |  |  |  |  |  |  190|  58.3k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|  58.3k|    }
  863|       |
  864|       |    /* Initialize packet's layer pointer and offsets. */
  865|  58.3k|    frame = data;
  866|  58.3k|    if (dp_packet_tunnel(packet)) {
  ------------------
  |  Branch (866:9): [True: 0, False: 58.3k]
  ------------------
  867|       |        /* Preserve inner offsets from previous circulation. */
  868|      0|        dp_packet_reset_outer_offsets(packet);
  869|  58.3k|    } else {
  870|  58.3k|        dp_packet_reset_offsets(packet);
  871|  58.3k|    }
  872|       |
  873|  58.3k|    if (packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (873:9): [True: 46.3k, False: 12.0k]
  ------------------
  874|       |        /* Must have full Ethernet header to proceed. */
  875|  46.3k|        if (OVS_UNLIKELY(size < sizeof(struct eth_header))) {
  ------------------
  |  |   66|  46.3k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 31.2k, False: 15.0k]
  |  |  ------------------
  ------------------
  876|  31.2k|            goto out;
  877|  31.2k|        } else {
  878|       |            /* Link layer. */
  879|  15.0k|            ASSERT_SEQUENTIAL(dl_dst, dl_src);
  ------------------
  |  |   71|  15.0k|    BUILD_ASSERT_DECL(offsetof(struct flow, f0)         \
  |  |  ------------------
  |  |  |  |  270|  15.0k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  |  |  ------------------
  |  |   72|  15.0k|                      + MEMBER_SIZEOF(struct flow, f0)  \
  |  |   73|  15.0k|                      == offsetof(struct flow, f1))
  ------------------
  880|  15.0k|            miniflow_push_macs(mf, dl_dst, data);
  ------------------
  |  |  324|  15.0k|    miniflow_push_macs_(MF, offsetof(struct flow, FIELD), VALUEP)
  |  |  ------------------
  |  |  |  |  289|  15.0k|#define miniflow_push_macs_(MF, OFS, VALUEP)                    \
  |  |  |  |  290|  15.0k|{                                                               \
  |  |  |  |  291|  15.0k|    miniflow_set_maps(MF, (OFS) / 8, 2);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|  15.0k|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|  15.0k|{                                                               \
  |  |  |  |  |  |  259|  15.0k|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|  15.0k|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|  15.0k|                                                                \
  |  |  |  |  |  |  262|  15.0k|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|  15.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  15.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  15.0k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  15.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  15.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  15.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  15.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  15.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  15.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 15.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  15.0k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|  15.0k|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|  15.0k|}
  |  |  |  |  ------------------
  |  |  |  |  292|  15.0k|    memcpy(MF.data, (VALUEP), 2 * ETH_ADDR_LEN);                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  205|  15.0k|#define ETH_ADDR_LEN           6
  |  |  |  |  ------------------
  |  |  |  |  293|  15.0k|    MF.data += 1;                   /* First word only. */      \
  |  |  |  |  294|  15.0k|}
  |  |  ------------------
  ------------------
  881|       |
  882|       |            /* VLAN */
  883|  15.0k|            union flow_vlan_hdr vlans[FLOW_MAX_VLAN_HEADERS];
  884|  15.0k|            size_t num_vlans = parse_vlan(&data, &size, vlans);
  885|       |
  886|  15.0k|            dl_type = parse_ethertype(&data, &size);
  887|  15.0k|            miniflow_push_be16(mf, dl_type, dl_type);
  ------------------
  |  |  306|  15.0k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  15.0k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  15.0k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  15.0k|{                                               \
  |  |  |  |  |  |  197|  15.0k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  15.0k|                                                \
  |  |  |  |  |  |  199|  15.0k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 15.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  15.0k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 15.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  15.0k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 15.0k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|  15.0k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  15.0k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  15.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  15.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  15.0k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  15.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  15.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  15.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  15.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  15.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  15.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 15.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  15.0k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|  15.0k|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  15.0k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  15.0k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|  15.0k|            miniflow_pad_to_64(mf, dl_type);
  ------------------
  |  |  312|  15.0k|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|  15.0k|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|  15.0k|{                                                               \
  |  |  |  |  234|  15.0k|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|  15.0k|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  15.0k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|  15.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  15.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  15.0k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  15.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  15.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  15.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  15.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  15.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  15.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 15.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  15.0k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|  15.0k|                                                                \
  |  |  |  |  237|  15.0k|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|  15.0k|    MF.data++;                                                  \
  |  |  |  |  239|  15.0k|}
  |  |  ------------------
  ------------------
  889|  15.0k|            if (num_vlans > 0) {
  ------------------
  |  Branch (889:17): [True: 397, False: 14.6k]
  ------------------
  890|    397|                miniflow_push_words_32(mf, vlans, vlans, num_vlans);
  ------------------
  |  |  321|    397|    miniflow_push_words_32_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  277|    397|#define miniflow_push_words_32_(MF, OFS, VALUEP, N_WORDS)               \
  |  |  |  |  278|    397|{                                                                       \
  |  |  |  |  279|    397|    miniflow_set_maps(MF, (OFS) / 8, DIV_ROUND_UP(N_WORDS, 2));         \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|    397|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|    397|{                                                               \
  |  |  |  |  |  |  259|    397|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|    397|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|    397|                                                                \
  |  |  |  |  |  |  262|    397|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|    397|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    397|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    397|{                                                                       \
  |  |  |  |  |  |  |  |  151|    397|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    397|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    397|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    397|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    397|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    397|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 397]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    397|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|    397|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|    397|}
  |  |  |  |  ------------------
  |  |  |  |  280|    397|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof(uint32_t));            \
  |  |  |  |  281|    397|    MF.data += DIV_ROUND_UP(N_WORDS, 2);                                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|    397|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  |  |  282|    397|    if ((N_WORDS) & 1) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:9): [True: 153, False: 244]
  |  |  |  |  ------------------
  |  |  |  |  283|    153|        *((uint32_t *)MF.data - 1) = 0;                                 \
  |  |  |  |  284|    153|    }                                                                   \
  |  |  |  |  285|    397|}
  |  |  ------------------
  ------------------
  891|    397|            }
  892|       |
  893|  15.0k|        }
  894|  46.3k|    } else {
  895|       |        /* Take dl_type from packet_type. */
  896|  12.0k|        dl_type = pt_ns_type_be(packet_type);
  897|  12.0k|        miniflow_pad_from_64(mf, dl_type);
  ------------------
  |  |  315|  12.0k|    miniflow_pad_from_64_(MF, offsetof(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  241|  12.0k|#define miniflow_pad_from_64_(MF, OFS)                          \
  |  |  |  |  242|  12.0k|{                                                               \
  |  |  |  |  243|  12.0k|    MINIFLOW_ASSERT(MF.data < MF.end);                          \
  |  |  |  |  244|  12.0k|                                                                \
  |  |  |  |  245|  12.0k|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  246|  12.0k|    miniflow_set_map(MF, OFS / 8);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|  12.0k|    {                                        \
  |  |  |  |  |  |  160|  12.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  12.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  12.0k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  12.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  12.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  12.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  12.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  12.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  12.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 12.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  12.0k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|  12.0k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|  12.0k|}
  |  |  |  |  ------------------
  |  |  |  |  247|  12.0k|                                                                \
  |  |  |  |  248|  12.0k|    memset((uint8_t *)MF.data, 0, (OFS) % 8);                   \
  |  |  |  |  249|  12.0k|}
  |  |  ------------------
  ------------------
  898|  12.0k|        miniflow_push_be16(mf, dl_type, dl_type);
  ------------------
  |  |  306|  12.0k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  12.0k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  12.0k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  12.0k|{                                               \
  |  |  |  |  |  |  197|  12.0k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  12.0k|                                                \
  |  |  |  |  |  |  199|  12.0k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 12.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  12.0k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 12.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  12.0k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 12.0k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|  12.0k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  12.0k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  12.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  12.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  12.0k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  12.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  12.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  12.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  12.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  12.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  12.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 12.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  12.0k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|  12.0k|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  12.0k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  12.0k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  899|       |        /* Do not push vlan_tci, pad instead */
  900|  12.0k|        miniflow_pad_to_64(mf, dl_type);
  ------------------
  |  |  312|  12.0k|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|  12.0k|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|  12.0k|{                                                               \
  |  |  |  |  234|  12.0k|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|  12.0k|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  12.0k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|  12.0k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  12.0k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  12.0k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  12.0k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  12.0k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  12.0k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  12.0k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  12.0k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  12.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 12.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  12.0k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|  12.0k|                                                                \
  |  |  |  |  237|  12.0k|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|  12.0k|    MF.data++;                                                  \
  |  |  |  |  239|  12.0k|}
  |  |  ------------------
  ------------------
  901|  12.0k|    }
  902|       |
  903|       |    /* Parse mpls. */
  904|  27.1k|    if (OVS_UNLIKELY(eth_type_mpls(dl_type))) {
  ------------------
  |  |   66|  27.1k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 736, False: 26.3k]
  |  |  ------------------
  ------------------
  905|    736|        int count;
  906|    736|        const void *mpls = data;
  907|       |
  908|    736|        packet->l2_5_ofs = (char *)data - frame;
  909|    736|        count = parse_mpls(&data, &size);
  910|    736|        miniflow_push_words_32(mf, mpls_lse, mpls, count);
  ------------------
  |  |  321|    736|    miniflow_push_words_32_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  277|    736|#define miniflow_push_words_32_(MF, OFS, VALUEP, N_WORDS)               \
  |  |  |  |  278|    736|{                                                                       \
  |  |  |  |  279|    736|    miniflow_set_maps(MF, (OFS) / 8, DIV_ROUND_UP(N_WORDS, 2));         \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|    736|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|    736|{                                                               \
  |  |  |  |  |  |  259|    736|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|    736|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|    736|                                                                \
  |  |  |  |  |  |  262|    736|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|    736|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    736|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    736|{                                                                       \
  |  |  |  |  |  |  |  |  151|    736|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    736|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    736|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    736|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    736|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    736|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 736]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    736|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|    736|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|    736|}
  |  |  |  |  ------------------
  |  |  |  |  280|    736|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof(uint32_t));            \
  |  |  |  |  281|    736|    MF.data += DIV_ROUND_UP(N_WORDS, 2);                                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|    736|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  |  |  282|    736|    if ((N_WORDS) & 1) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:9): [True: 135, False: 601]
  |  |  |  |  ------------------
  |  |  |  |  283|    135|        *((uint32_t *)MF.data - 1) = 0;                                 \
  |  |  |  |  284|    135|    }                                                                   \
  |  |  |  |  285|    736|}
  |  |  ------------------
  ------------------
  911|    736|    }
  912|       |
  913|       |    /* Network layer. */
  914|  27.1k|    packet->l3_ofs = (char *)data - frame;
  915|       |
  916|  27.1k|    nw_frag = 0;
  917|  27.1k|    if (OVS_LIKELY(dl_type == htons(ETH_TYPE_IP))) {
  ------------------
  |  |   65|  27.1k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 3.00k, False: 24.1k]
  |  |  ------------------
  ------------------
  918|  3.00k|        const struct ip_header *nh = data;
  919|  3.00k|        int ip_len;
  920|  3.00k|        uint16_t tot_len;
  921|       |
  922|  3.00k|        if (OVS_UNLIKELY(!ipv4_sanity_check(nh, size, &ip_len, &tot_len))) {
  ------------------
  |  |   66|  3.00k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 344, False: 2.66k]
  |  |  ------------------
  ------------------
  923|    344|            if (OVS_UNLIKELY(VLOG_IS_DBG_ENABLED())) {
  ------------------
  |  |   66|    344|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 344]
  |  |  ------------------
  ------------------
  924|      0|                dump_invalid_packet(packet, "ipv4_sanity_check");
  925|      0|            }
  926|    344|            goto out;
  927|    344|        }
  928|  2.66k|        dp_packet_set_l2_pad_size(packet, size - tot_len);
  929|  2.66k|        size = tot_len;   /* Never pull padding. */
  930|       |
  931|       |        /* Push both source and destination address at once. */
  932|  2.66k|        miniflow_push_words(mf, nw_src, &nh->ip_src, 1);
  ------------------
  |  |  318|  2.66k|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|  2.66k|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|  2.66k|{                                                               \
  |  |  |  |  270|  2.66k|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|  2.66k|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|  2.66k|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|  2.66k|{                                                               \
  |  |  |  |  |  |  259|  2.66k|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|  2.66k|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|  2.66k|                                                                \
  |  |  |  |  |  |  262|  2.66k|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|  2.66k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  2.66k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  2.66k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  2.66k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  2.66k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  2.66k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  2.66k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  2.66k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  2.66k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 2.66k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  2.66k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|  2.66k|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|  2.66k|}
  |  |  |  |  ------------------
  |  |  |  |  272|  2.66k|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|  2.66k|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|  2.66k|}
  |  |  ------------------
  ------------------
  933|  2.66k|        if (ct_nw_proto_p && !md->ct_orig_tuple_ipv6) {
  ------------------
  |  Branch (933:13): [True: 0, False: 2.66k]
  |  Branch (933:30): [True: 0, False: 0]
  ------------------
  934|      0|            *ct_nw_proto_p = md->ct_orig_tuple.ipv4.ipv4_proto;
  935|      0|            if (*ct_nw_proto_p) {
  ------------------
  |  Branch (935:17): [True: 0, False: 0]
  ------------------
  936|      0|                miniflow_push_words(mf, ct_nw_src,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  937|      0|                                    &md->ct_orig_tuple.ipv4.ipv4_src, 1);
  938|      0|                ct_tp_src = md->ct_orig_tuple.ipv4.src_port;
  939|      0|                ct_tp_dst = md->ct_orig_tuple.ipv4.dst_port;
  940|      0|            }
  941|      0|        }
  942|       |
  943|  2.66k|        miniflow_push_be32(mf, ipv6_label, 0); /* Padding for IPv4. */
  ------------------
  |  |  300|  2.66k|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|  2.66k|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|  2.66k|    {                                           \
  |  |  |  |  |  |  180|  2.66k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|  2.66k|                                                \
  |  |  |  |  |  |  182|  2.66k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 2.66k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|  2.66k|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|  2.66k|    {                                        \
  |  |  |  |  |  |  |  |  160|  2.66k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  2.66k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  2.66k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  2.66k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  2.66k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  2.66k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  2.66k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  2.66k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  2.66k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 2.66k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  2.66k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|  2.66k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|  2.66k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|  2.66k|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|  2.66k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|  2.66k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|       |
  945|  2.66k|        nw_tos = nh->ip_tos;
  946|  2.66k|        nw_ttl = nh->ip_ttl;
  947|  2.66k|        nw_proto = nh->ip_proto;
  948|  2.66k|        nw_frag = ipv4_get_nw_frag(nh);
  949|  2.66k|        data_pull(&data, &size, ip_len);
  950|  24.1k|    } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (950:16): [True: 7.83k, False: 16.2k]
  ------------------
  951|  7.83k|        const struct ovs_16aligned_ip6_hdr *nh = data;
  952|  7.83k|        ovs_be32 tc_flow;
  953|  7.83k|        uint16_t plen;
  954|       |
  955|  7.83k|        if (OVS_UNLIKELY(!ipv6_sanity_check(nh, size))) {
  ------------------
  |  |   66|  7.83k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 844, False: 6.99k]
  |  |  ------------------
  ------------------
  956|    844|            if (OVS_UNLIKELY(VLOG_IS_DBG_ENABLED())) {
  ------------------
  |  |   66|    844|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 844]
  |  |  ------------------
  ------------------
  957|      0|                dump_invalid_packet(packet, "ipv6_sanity_check");
  958|      0|            }
  959|    844|            goto out;
  960|    844|        }
  961|  6.99k|        data_pull(&data, &size, sizeof *nh);
  962|  6.99k|        plen = ntohs(nh->ip6_plen);
  963|  6.99k|        dp_packet_set_l2_pad_size(packet, size - plen);
  964|  6.99k|        size = plen;   /* Never pull padding. */
  965|       |
  966|  6.99k|        miniflow_push_words(mf, ipv6_src, &nh->ip6_src,
  ------------------
  |  |  318|  6.99k|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|  6.99k|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|  6.99k|{                                                               \
  |  |  |  |  270|  6.99k|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|  6.99k|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|  6.99k|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|  6.99k|{                                                               \
  |  |  |  |  |  |  259|  6.99k|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|  6.99k|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|  6.99k|                                                                \
  |  |  |  |  |  |  262|  6.99k|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|  6.99k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  6.99k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  6.99k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  6.99k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  6.99k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  6.99k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  6.99k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  6.99k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  6.99k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 6.99k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  6.99k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|  6.99k|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|  6.99k|}
  |  |  |  |  ------------------
  |  |  |  |  272|  6.99k|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|  6.99k|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|  6.99k|}
  |  |  ------------------
  ------------------
  967|  6.99k|                            sizeof nh->ip6_src / 8);
  968|  6.99k|        miniflow_push_words(mf, ipv6_dst, &nh->ip6_dst,
  ------------------
  |  |  318|  6.99k|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|  6.99k|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|  6.99k|{                                                               \
  |  |  |  |  270|  6.99k|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|  6.99k|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|  6.99k|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|  6.99k|{                                                               \
  |  |  |  |  |  |  259|  6.99k|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|  6.99k|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|  6.99k|                                                                \
  |  |  |  |  |  |  262|  6.99k|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|  6.99k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  6.99k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  6.99k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  6.99k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  6.99k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  6.99k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  6.99k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  6.99k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  6.99k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 6.99k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  6.99k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|  6.99k|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|  6.99k|}
  |  |  |  |  ------------------
  |  |  |  |  272|  6.99k|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|  6.99k|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|  6.99k|}
  |  |  ------------------
  ------------------
  969|  6.99k|                            sizeof nh->ip6_dst / 8);
  970|  6.99k|        if (ct_nw_proto_p && md->ct_orig_tuple_ipv6) {
  ------------------
  |  Branch (970:13): [True: 0, False: 6.99k]
  |  Branch (970:30): [True: 0, False: 0]
  ------------------
  971|      0|            *ct_nw_proto_p = md->ct_orig_tuple.ipv6.ipv6_proto;
  972|      0|            if (*ct_nw_proto_p) {
  ------------------
  |  Branch (972:17): [True: 0, False: 0]
  ------------------
  973|      0|                miniflow_push_words(mf, ct_ipv6_src,
  ------------------
  |  |  318|      0|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|      0|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|      0|{                                                               \
  |  |  |  |  270|      0|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|      0|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|      0|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|      0|{                                                               \
  |  |  |  |  |  |  259|      0|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|      0|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|      0|                                                                \
  |  |  |  |  |  |  262|      0|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|      0|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|      0|}
  |  |  |  |  ------------------
  |  |  |  |  272|      0|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|      0|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|      0|}
  |  |  ------------------
  ------------------
  974|      0|                                    &md->ct_orig_tuple.ipv6.ipv6_src,
  975|      0|                                    2 *
  976|      0|                                    sizeof md->ct_orig_tuple.ipv6.ipv6_src / 8);
  977|      0|                ct_tp_src = md->ct_orig_tuple.ipv6.src_port;
  978|      0|                ct_tp_dst = md->ct_orig_tuple.ipv6.dst_port;
  979|      0|            }
  980|      0|        }
  981|       |
  982|  6.99k|        tc_flow = get_16aligned_be32(&nh->ip6_flow);
  983|  6.99k|        nw_tos = ntohl(tc_flow) >> 20;
  984|  6.99k|        nw_ttl = nh->ip6_hlim;
  985|  6.99k|        nw_proto = nh->ip6_nxt;
  986|       |
  987|  6.99k|        if (!parse_ipv6_ext_hdrs(&data, &size, &nw_proto, &nw_frag,
  ------------------
  |  Branch (987:13): [True: 854, False: 6.14k]
  ------------------
  988|  6.99k|                                 NULL, NULL)) {
  989|    854|            goto out;
  990|    854|        }
  991|       |
  992|       |        /* This needs to be after the parse_ipv6_ext_hdrs__() call because it
  993|       |         * leaves the nw_frag word uninitialized. */
  994|  6.14k|        ASSERT_SEQUENTIAL(ipv6_label, nw_frag);
  ------------------
  |  |   71|  6.14k|    BUILD_ASSERT_DECL(offsetof(struct flow, f0)         \
  |  |  ------------------
  |  |  |  |  270|  6.14k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  |  |  ------------------
  |  |   72|  6.14k|                      + MEMBER_SIZEOF(struct flow, f0)  \
  |  |   73|  6.14k|                      == offsetof(struct flow, f1))
  ------------------
  995|  6.14k|        ovs_be32 label = tc_flow & htonl(IPV6_LABEL_MASK);
  996|  6.14k|        miniflow_push_be32(mf, ipv6_label, label);
  ------------------
  |  |  300|  6.14k|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|  6.14k|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|  6.14k|    {                                           \
  |  |  |  |  |  |  180|  6.14k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|  6.14k|                                                \
  |  |  |  |  |  |  182|  6.14k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 6.14k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|  6.14k|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|  6.14k|    {                                        \
  |  |  |  |  |  |  |  |  160|  6.14k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  6.14k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  6.14k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  6.14k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  6.14k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  6.14k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  6.14k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  6.14k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  6.14k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 6.14k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  6.14k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|  6.14k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|  6.14k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|  6.14k|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|  6.14k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|  6.14k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|  16.2k|    } else {
  998|  16.2k|        if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (998:13): [True: 268, False: 16.0k]
  ------------------
  999|  16.0k|            dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (999:13): [True: 670, False: 15.3k]
  ------------------
 1000|    938|            struct eth_addr arp_buf[2];
 1001|    938|            const struct arp_eth_header *arp = (const struct arp_eth_header *)
 1002|    938|                data_try_pull(&data, &size, ARP_ETH_HEADER_LEN);
  ------------------
  |  |  957|    938|#define ARP_ETH_HEADER_LEN 28
  ------------------
 1003|       |
 1004|    938|            if (OVS_LIKELY(arp) && OVS_LIKELY(arp->ar_hrd == htons(1))
  ------------------
  |  |   65|  1.87k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 674, False: 264]
  |  |  ------------------
  ------------------
                          if (OVS_LIKELY(arp) && OVS_LIKELY(arp->ar_hrd == htons(1))
  ------------------
  |  |   65|  1.61k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 626, False: 48]
  |  |  ------------------
  ------------------
 1005|    626|                && OVS_LIKELY(arp->ar_pro == htons(ETH_TYPE_IP))
  ------------------
  |  |   65|  1.56k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 605, False: 21]
  |  |  ------------------
  ------------------
 1006|    605|                && OVS_LIKELY(arp->ar_hln == ETH_ADDR_LEN)
  ------------------
  |  |   65|  1.54k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 587, False: 18]
  |  |  ------------------
  ------------------
 1007|    587|                && OVS_LIKELY(arp->ar_pln == 4)) {
  ------------------
  |  |   65|    587|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 547, False: 40]
  |  |  ------------------
  ------------------
 1008|    547|                miniflow_push_be32(mf, nw_src,
  ------------------
  |  |  300|    547|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|    547|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|    547|    {                                           \
  |  |  |  |  |  |  180|    547|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|    547|                                                \
  |  |  |  |  |  |  182|    547|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 547, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|    547|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    547|    {                                        \
  |  |  |  |  |  |  |  |  160|    547|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    547|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    547|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    547|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    547|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    547|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    547|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    547|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    547|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 547]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    547|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    547|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    547|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|    547|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|    547|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|    547|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|    547|                                   get_16aligned_be32(&arp->ar_spa));
 1010|    547|                miniflow_push_be32(mf, nw_dst,
  ------------------
  |  |  300|    547|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|    547|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|    547|    {                                           \
  |  |  |  |  |  |  180|    547|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|    547|                                                \
  |  |  |  |  |  |  182|    547|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 547]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|    547|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 547, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|    547|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    547|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    547|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    547|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    547|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    547|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    547|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    547|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    547|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    547|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    547|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 547]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    547|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|    547|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|    547|        MF.data++;                              \
  |  |  |  |  |  |  189|    547|    }                                           \
  |  |  |  |  |  |  190|    547|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|    547|                                   get_16aligned_be32(&arp->ar_tpa));
 1012|       |
 1013|       |                /* We only match on the lower 8 bits of the opcode. */
 1014|    547|                if (OVS_LIKELY(ntohs(arp->ar_op) <= 0xff)) {
  ------------------
  |  |   65|    547|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 21, False: 526]
  |  |  ------------------
  ------------------
 1015|     21|                    miniflow_push_be32(mf, ipv6_label, 0); /* Pad with ARP. */
  ------------------
  |  |  300|     21|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|     21|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|     21|    {                                           \
  |  |  |  |  |  |  180|     21|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|     21|                                                \
  |  |  |  |  |  |  182|     21|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 21, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|     21|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|     21|    {                                        \
  |  |  |  |  |  |  |  |  160|     21|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|     21|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|     21|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|     21|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|     21|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|     21|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|     21|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|     21|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|     21|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 21]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|     21|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|     21|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|     21|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|     21|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|     21|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|     21|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|     21|                    miniflow_push_be32(mf, nw_frag, htonl(ntohs(arp->ar_op)));
  ------------------
  |  |  300|     21|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|     21|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|     21|    {                                           \
  |  |  |  |  |  |  180|     21|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|     21|                                                \
  |  |  |  |  |  |  182|     21|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 21]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|     21|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 21, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|     21|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|     21|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|     21|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|     21|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|     21|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|     21|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|     21|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|     21|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|     21|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|     21|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|     21|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 21]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|     21|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|     21|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|     21|        MF.data++;                              \
  |  |  |  |  |  |  189|     21|    }                                           \
  |  |  |  |  |  |  190|     21|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|     21|                }
 1018|       |
 1019|       |                /* Must be adjacent. */
 1020|    547|                ASSERT_SEQUENTIAL(arp_sha, arp_tha);
  ------------------
  |  |   71|    547|    BUILD_ASSERT_DECL(offsetof(struct flow, f0)         \
  |  |  ------------------
  |  |  |  |  270|    547|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  |  |  ------------------
  |  |   72|    547|                      + MEMBER_SIZEOF(struct flow, f0)  \
  |  |   73|    547|                      == offsetof(struct flow, f1))
  ------------------
 1021|       |
 1022|    547|                arp_buf[0] = arp->ar_sha;
 1023|    547|                arp_buf[1] = arp->ar_tha;
 1024|    547|                miniflow_push_macs(mf, arp_sha, arp_buf);
  ------------------
  |  |  324|    547|    miniflow_push_macs_(MF, offsetof(struct flow, FIELD), VALUEP)
  |  |  ------------------
  |  |  |  |  289|    547|#define miniflow_push_macs_(MF, OFS, VALUEP)                    \
  |  |  |  |  290|    547|{                                                               \
  |  |  |  |  291|    547|    miniflow_set_maps(MF, (OFS) / 8, 2);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|    547|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|    547|{                                                               \
  |  |  |  |  |  |  259|    547|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|    547|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|    547|                                                                \
  |  |  |  |  |  |  262|    547|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|    547|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    547|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    547|{                                                                       \
  |  |  |  |  |  |  |  |  151|    547|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    547|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    547|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    547|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    547|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    547|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 547]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    547|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|    547|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|    547|}
  |  |  |  |  ------------------
  |  |  |  |  292|    547|    memcpy(MF.data, (VALUEP), 2 * ETH_ADDR_LEN);                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  205|    547|#define ETH_ADDR_LEN           6
  |  |  |  |  ------------------
  |  |  |  |  293|    547|    MF.data += 1;                   /* First word only. */      \
  |  |  |  |  294|    547|}
  |  |  ------------------
  ------------------
 1025|    547|                miniflow_pad_to_64(mf, arp_tha);
  ------------------
  |  |  312|    547|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    547|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    547|{                                                               \
  |  |  |  |  234|    547|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    547|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    547|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    547|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    547|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    547|{                                                                       \
  |  |  |  |  |  |  |  |  151|    547|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    547|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    547|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    547|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    547|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    547|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 547]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    547|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    547|                                                                \
  |  |  |  |  237|    547|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    547|    MF.data++;                                                  \
  |  |  |  |  239|    547|}
  |  |  ------------------
  ------------------
 1026|    547|            }
 1027|  15.3k|        } else if (dl_type == htons(ETH_TYPE_NSH)) {
  ------------------
  |  Branch (1027:20): [True: 9.92k, False: 5.40k]
  ------------------
 1028|  9.92k|            struct ovs_key_nsh nsh;
 1029|       |
 1030|  9.92k|            if (OVS_LIKELY(parse_nsh(&data, &size, &nsh))) {
  ------------------
  |  |   65|  9.92k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 5.11k, False: 4.80k]
  |  |  ------------------
  ------------------
 1031|  5.11k|                miniflow_push_words(mf, nsh, &nsh,
  ------------------
  |  |  318|  5.11k|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|  5.11k|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|  5.11k|{                                                               \
  |  |  |  |  270|  5.11k|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|  5.11k|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|  5.11k|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|  5.11k|{                                                               \
  |  |  |  |  |  |  259|  5.11k|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|  5.11k|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|  5.11k|                                                                \
  |  |  |  |  |  |  262|  5.11k|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|  5.11k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  5.11k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  5.11k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  5.11k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  5.11k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  5.11k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  5.11k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  5.11k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  5.11k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 5.11k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  5.11k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|  5.11k|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|  5.11k|}
  |  |  |  |  ------------------
  |  |  |  |  272|  5.11k|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|  5.11k|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|  5.11k|}
  |  |  ------------------
  ------------------
 1032|  5.11k|                                    sizeof(struct ovs_key_nsh) /
 1033|  5.11k|                                    sizeof(uint64_t));
 1034|  5.11k|            }
 1035|  9.92k|        }
 1036|  16.2k|        goto out;
 1037|  16.2k|    }
 1038|       |
 1039|  8.80k|    packet->l4_ofs = (char *)data - frame;
 1040|  8.80k|    miniflow_push_be32(mf, nw_frag,
  ------------------
  |  |  300|  8.80k|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|  8.80k|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|  8.80k|    {                                           \
  |  |  |  |  |  |  180|  8.80k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|  8.80k|                                                \
  |  |  |  |  |  |  182|  8.80k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 8.80k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|  8.80k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 8.80k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|  8.80k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  8.80k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  8.80k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  8.80k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  8.80k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  8.80k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  8.80k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  8.80k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  8.80k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  8.80k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  8.80k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 8.80k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  8.80k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|  8.80k|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|  8.80k|        MF.data++;                              \
  |  |  |  |  |  |  189|  8.80k|    }                                           \
  |  |  |  |  |  |  190|  8.80k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1041|  8.80k|                       bytes_to_be32(nw_frag, nw_tos, nw_ttl, nw_proto));
 1042|       |
 1043|  8.80k|    if (OVS_LIKELY(!(nw_frag & FLOW_NW_FRAG_LATER))) {
  ------------------
  |  |   65|  8.80k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 8.65k, False: 149]
  |  |  ------------------
  ------------------
 1044|  8.65k|        if (OVS_LIKELY(nw_proto == IPPROTO_TCP)) {
  ------------------
  |  |   65|  8.65k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 4.09k, False: 4.55k]
  |  |  ------------------
  ------------------
 1045|  4.09k|            if (OVS_LIKELY(size >= TCP_HEADER_LEN)) {
  ------------------
  |  |   65|  4.09k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 4.02k, False: 77]
  |  |  ------------------
  ------------------
 1046|  4.02k|                const struct tcp_header *tcp = data;
 1047|  4.02k|                size_t tcp_hdr_len = TCP_OFFSET(tcp->tcp_ctl) * 4;
  ------------------
  |  |  906|  4.02k|#define TCP_OFFSET(tcp_ctl) (ntohs(tcp_ctl) >> 12)
  ------------------
 1048|       |
 1049|  4.02k|                if (OVS_LIKELY(tcp_hdr_len >= TCP_HEADER_LEN)
  ------------------
  |  |   65|  8.04k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 3.66k, False: 353]
  |  |  ------------------
  ------------------
 1050|  3.66k|                    && OVS_LIKELY(size >= tcp_hdr_len)) {
  ------------------
  |  |   65|  3.66k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 3.65k, False: 17]
  |  |  ------------------
  ------------------
 1051|       |                    /* tcp_flags are not at the beginning of the block. */
 1052|  3.65k|                    miniflow_pad_from_64(mf, tcp_flags);
  ------------------
  |  |  315|  3.65k|    miniflow_pad_from_64_(MF, offsetof(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  241|  3.65k|#define miniflow_pad_from_64_(MF, OFS)                          \
  |  |  |  |  242|  3.65k|{                                                               \
  |  |  |  |  243|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);                          \
  |  |  |  |  244|  3.65k|                                                                \
  |  |  |  |  245|  3.65k|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  246|  3.65k|    miniflow_set_map(MF, OFS / 8);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|  3.65k|    {                                        \
  |  |  |  |  |  |  160|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|  3.65k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|  3.65k|}
  |  |  |  |  ------------------
  |  |  |  |  247|  3.65k|                                                                \
  |  |  |  |  248|  3.65k|    memset((uint8_t *)MF.data, 0, (OFS) % 8);                   \
  |  |  |  |  249|  3.65k|}
  |  |  ------------------
  ------------------
 1053|  3.65k|                    miniflow_push_be32(mf, tcp_flags,
  ------------------
  |  |  300|  3.65k|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|  3.65k|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|  3.65k|    {                                           \
  |  |  |  |  |  |  180|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|  3.65k|                                                \
  |  |  |  |  |  |  182|  3.65k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|      0|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|  3.65k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [True: 3.65k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|  3.65k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  3.65k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|  3.65k|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|  3.65k|        MF.data++;                              \
  |  |  |  |  |  |  189|  3.65k|    }                                           \
  |  |  |  |  |  |  190|  3.65k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|  3.65k|                                       TCP_FLAGS_BE32(tcp->tcp_ctl));
 1055|  3.65k|                    miniflow_push_be16(mf, tp_src, tcp->tcp_src);
  ------------------
  |  |  306|  3.65k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  3.65k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  3.65k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  3.65k|{                                               \
  |  |  |  |  |  |  197|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  3.65k|                                                \
  |  |  |  |  |  |  199|  3.65k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 3.65k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|  3.65k|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|  3.65k|    {                                        \
  |  |  |  |  |  |  |  |  160|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|  3.65k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|  3.65k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|  3.65k|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  3.65k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  3.65k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|  3.65k|                    miniflow_push_be16(mf, tp_dst, tcp->tcp_dst);
  ------------------
  |  |  306|  3.65k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  3.65k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  3.65k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  3.65k|{                                               \
  |  |  |  |  |  |  197|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  3.65k|                                                \
  |  |  |  |  |  |  199|  3.65k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  3.65k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 3.65k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|  3.65k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  3.65k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|  3.65k|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  3.65k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  3.65k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|  3.65k|                    miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|  3.65k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  3.65k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  3.65k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  3.65k|{                                               \
  |  |  |  |  |  |  197|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  3.65k|                                                \
  |  |  |  |  |  |  199|  3.65k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  3.65k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  3.65k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 3.65k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|  3.65k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  3.65k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|  3.65k|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  3.65k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  3.65k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|  3.65k|                    miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|  3.65k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  3.65k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  3.65k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  3.65k|{                                               \
  |  |  |  |  |  |  197|  3.65k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  3.65k|                                                \
  |  |  |  |  |  |  199|  3.65k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  3.65k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  3.65k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 3.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  3.65k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 3.65k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|  3.65k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  3.65k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  3.65k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  3.65k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  3.65k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  3.65k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  3.65k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  3.65k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  3.65k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  3.65k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  3.65k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 3.65k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  3.65k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|  3.65k|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|  3.65k|        MF.data++;                              \
  |  |  |  |  |  |  212|  3.65k|    }                                           \
  |  |  |  |  |  |  213|  3.65k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1059|  3.65k|                    if (dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1059:25): [True: 1.11k, False: 2.54k]
  ------------------
 1060|  1.11k|                        dp_packet_update_rss_hash_ipv4_tcp_udp(packet);
 1061|  2.54k|                    } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1061:32): [True: 2.54k, False: 0]
  ------------------
 1062|  2.54k|                        dp_packet_update_rss_hash_ipv6_tcp_udp(packet);
 1063|  2.54k|                    }
 1064|  3.65k|                    dp_packet_l4_proto_set_tcp(packet);
 1065|  3.65k|                }
 1066|  4.02k|            }
 1067|  4.55k|        } else if (OVS_LIKELY(nw_proto == IPPROTO_UDP)) {
  ------------------
  |  |   65|  4.55k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 1.31k, False: 3.24k]
  |  |  ------------------
  ------------------
 1068|  1.31k|            if (OVS_LIKELY(size >= UDP_HEADER_LEN)) {
  ------------------
  |  |   65|  1.31k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 1.24k, False: 67]
  |  |  ------------------
  ------------------
 1069|  1.24k|                const struct udp_header *udp = data;
 1070|       |
 1071|  1.24k|                miniflow_push_be16(mf, tp_src, udp->udp_src);
  ------------------
  |  |  306|  1.24k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  1.24k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  1.24k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  1.24k|{                                               \
  |  |  |  |  |  |  197|  1.24k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  1.24k|                                                \
  |  |  |  |  |  |  199|  1.24k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 1.24k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|  1.24k|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|  1.24k|    {                                        \
  |  |  |  |  |  |  |  |  160|  1.24k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  1.24k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  1.24k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  1.24k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  1.24k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  1.24k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  1.24k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  1.24k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  1.24k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 1.24k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  1.24k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|  1.24k|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|  1.24k|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|  1.24k|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  1.24k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  1.24k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|  1.24k|                miniflow_push_be16(mf, tp_dst, udp->udp_dst);
  ------------------
  |  |  306|  1.24k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  1.24k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  1.24k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  1.24k|{                                               \
  |  |  |  |  |  |  197|  1.24k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  1.24k|                                                \
  |  |  |  |  |  |  199|  1.24k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  1.24k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 1.24k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|  1.24k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  1.24k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  1.24k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  1.24k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  1.24k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  1.24k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  1.24k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  1.24k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  1.24k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  1.24k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  1.24k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 1.24k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  1.24k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|  1.24k|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  1.24k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  1.24k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|  1.24k|                miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|  1.24k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  1.24k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  1.24k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  1.24k|{                                               \
  |  |  |  |  |  |  197|  1.24k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  1.24k|                                                \
  |  |  |  |  |  |  199|  1.24k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  1.24k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  1.24k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 1.24k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|  1.24k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  1.24k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  1.24k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  1.24k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  1.24k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  1.24k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  1.24k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  1.24k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  1.24k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  1.24k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  1.24k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 1.24k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  1.24k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|  1.24k|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  1.24k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|  1.24k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  1.24k|                miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|  1.24k|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|  1.24k|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|  1.24k|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|  1.24k|{                                               \
  |  |  |  |  |  |  197|  1.24k|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|  1.24k|                                                \
  |  |  |  |  |  |  199|  1.24k|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|  1.24k|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|  1.24k|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 1.24k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|  1.24k|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 1.24k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|  1.24k|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|  1.24k|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|  1.24k|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|  1.24k|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|  1.24k|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|  1.24k|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|  1.24k|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|  1.24k|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|  1.24k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|  1.24k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|  1.24k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 1.24k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|  1.24k|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|  1.24k|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|  1.24k|        MF.data++;                              \
  |  |  |  |  |  |  212|  1.24k|    }                                           \
  |  |  |  |  |  |  213|  1.24k|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1075|  1.24k|                if (dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1075:21): [True: 693, False: 551]
  ------------------
 1076|    693|                    dp_packet_update_rss_hash_ipv4_tcp_udp(packet);
 1077|    693|                } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1077:28): [True: 551, False: 0]
  ------------------
 1078|    551|                    dp_packet_update_rss_hash_ipv6_tcp_udp(packet);
 1079|    551|                }
 1080|  1.24k|                dp_packet_l4_proto_set_udp(packet);
 1081|  1.24k|            }
 1082|  3.24k|        } else if (OVS_LIKELY(nw_proto == IPPROTO_SCTP)) {
  ------------------
  |  |   65|  3.24k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 424, False: 2.82k]
  |  |  ------------------
  ------------------
 1083|    424|            if (OVS_LIKELY(size >= SCTP_HEADER_LEN)) {
  ------------------
  |  |   65|    424|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 225, False: 199]
  |  |  ------------------
  ------------------
 1084|    225|                const struct sctp_header *sctp = data;
 1085|       |
 1086|    225|                miniflow_push_be16(mf, tp_src, sctp->sctp_src);
  ------------------
  |  |  306|    225|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    225|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    225|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    225|{                                               \
  |  |  |  |  |  |  197|    225|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    225|                                                \
  |  |  |  |  |  |  199|    225|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 225, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|    225|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    225|    {                                        \
  |  |  |  |  |  |  |  |  160|    225|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    225|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    225|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    225|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    225|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    225|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    225|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    225|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    225|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 225]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    225|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    225|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    225|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|    225|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    225|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    225|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|    225|                miniflow_push_be16(mf, tp_dst, sctp->sctp_dst);
  ------------------
  |  |  306|    225|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    225|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    225|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    225|{                                               \
  |  |  |  |  |  |  197|    225|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    225|                                                \
  |  |  |  |  |  |  199|    225|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    225|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 225, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|    225|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    225|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    225|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    225|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    225|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    225|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    225|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    225|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    225|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    225|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    225|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 225]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    225|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|    225|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    225|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    225|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|    225|                miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|    225|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    225|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    225|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    225|{                                               \
  |  |  |  |  |  |  197|    225|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    225|                                                \
  |  |  |  |  |  |  199|    225|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    225|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    225|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 225, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|    225|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    225|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    225|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    225|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    225|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    225|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    225|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    225|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    225|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    225|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    225|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 225]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    225|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|    225|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    225|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    225|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|    225|                miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|    225|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    225|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    225|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    225|{                                               \
  |  |  |  |  |  |  197|    225|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    225|                                                \
  |  |  |  |  |  |  199|    225|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    225|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    225|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    225|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 225, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|    225|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    225|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    225|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    225|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    225|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    225|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    225|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    225|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    225|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    225|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    225|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 225]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    225|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|    225|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|    225|        MF.data++;                              \
  |  |  |  |  |  |  212|    225|    }                                           \
  |  |  |  |  |  |  213|    225|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1090|    225|                dp_packet_l4_proto_set_sctp(packet);
 1091|    225|            }
 1092|  2.82k|        } else if (OVS_LIKELY(nw_proto == IPPROTO_ICMP)) {
  ------------------
  |  |   65|  2.82k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 931, False: 1.89k]
  |  |  ------------------
  ------------------
 1093|    931|            if (OVS_LIKELY(size >= ICMP_HEADER_LEN)) {
  ------------------
  |  |   65|    931|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 865, False: 66]
  |  |  ------------------
  ------------------
 1094|    865|                const struct icmp_header *icmp = data;
 1095|       |
 1096|    865|                miniflow_push_be16(mf, tp_src, htons(icmp->icmp_type));
  ------------------
  |  |  306|    865|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    865|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    865|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    865|{                                               \
  |  |  |  |  |  |  197|    865|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    865|                                                \
  |  |  |  |  |  |  199|    865|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 865, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|    865|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    865|    {                                        \
  |  |  |  |  |  |  |  |  160|    865|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    865|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    865|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    865|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    865|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    865|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    865|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    865|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    865|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 865]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    865|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    865|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    865|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|    865|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    865|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    865|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|    865|                miniflow_push_be16(mf, tp_dst, htons(icmp->icmp_code));
  ------------------
  |  |  306|    865|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    865|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    865|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    865|{                                               \
  |  |  |  |  |  |  197|    865|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    865|                                                \
  |  |  |  |  |  |  199|    865|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    865|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 865, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|    865|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    865|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    865|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    865|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    865|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    865|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    865|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    865|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    865|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    865|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    865|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 865]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    865|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|    865|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    865|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    865|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1098|    865|                miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|    865|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    865|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    865|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    865|{                                               \
  |  |  |  |  |  |  197|    865|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    865|                                                \
  |  |  |  |  |  |  199|    865|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    865|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    865|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 865, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|    865|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    865|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    865|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    865|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    865|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    865|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    865|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    865|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    865|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    865|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    865|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 865]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    865|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|    865|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    865|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    865|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|    865|                miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|    865|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    865|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    865|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    865|{                                               \
  |  |  |  |  |  |  197|    865|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    865|                                                \
  |  |  |  |  |  |  199|    865|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    865|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    865|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 865]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    865|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 865, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|    865|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    865|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    865|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    865|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    865|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    865|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    865|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    865|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    865|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    865|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    865|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 865]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    865|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|    865|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|    865|        MF.data++;                              \
  |  |  |  |  |  |  212|    865|    }                                           \
  |  |  |  |  |  |  213|    865|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|    865|            }
 1101|  1.89k|        } else if (OVS_LIKELY(nw_proto == IPPROTO_IGMP)) {
  ------------------
  |  |   65|  1.89k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 854, False: 1.03k]
  |  |  ------------------
  ------------------
 1102|    854|            if (OVS_LIKELY(size >= IGMP_HEADER_LEN)) {
  ------------------
  |  |   65|    854|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 631, False: 223]
  |  |  ------------------
  ------------------
 1103|    631|                const struct igmp_header *igmp = data;
 1104|       |
 1105|    631|                miniflow_push_be16(mf, tp_src, htons(igmp->igmp_type));
  ------------------
  |  |  306|    631|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    631|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    631|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    631|{                                               \
  |  |  |  |  |  |  197|    631|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    631|                                                \
  |  |  |  |  |  |  199|    631|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 631, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|    631|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    631|    {                                        \
  |  |  |  |  |  |  |  |  160|    631|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    631|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    631|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    631|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    631|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    631|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    631|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    631|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    631|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 631]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    631|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    631|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    631|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|    631|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    631|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    631|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|    631|                miniflow_push_be16(mf, tp_dst, htons(igmp->igmp_code));
  ------------------
  |  |  306|    631|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    631|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    631|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    631|{                                               \
  |  |  |  |  |  |  197|    631|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    631|                                                \
  |  |  |  |  |  |  199|    631|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 631]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    631|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 631, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|    631|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    631|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    631|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    631|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    631|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    631|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    631|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    631|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    631|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    631|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    631|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 631]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    631|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|    631|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    631|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    631|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|       |                /* ct_tp_src/dst are not extracted for IGMP. */
 1108|    631|                miniflow_pad_to_64(mf, tp_dst);
  ------------------
  |  |  312|    631|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    631|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    631|{                                                               \
  |  |  |  |  234|    631|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    631|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    631|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    631|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    631|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    631|{                                                                       \
  |  |  |  |  |  |  |  |  151|    631|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    631|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    631|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    631|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    631|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    631|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 631]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    631|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    631|                                                                \
  |  |  |  |  237|    631|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    631|    MF.data++;                                                  \
  |  |  |  |  239|    631|}
  |  |  ------------------
  ------------------
 1109|    631|                miniflow_push_be32(mf, igmp_group_ip4,
  ------------------
  |  |  300|    631|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|    631|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|    631|    {                                           \
  |  |  |  |  |  |  180|    631|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|    631|                                                \
  |  |  |  |  |  |  182|    631|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 631, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|    631|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    631|    {                                        \
  |  |  |  |  |  |  |  |  160|    631|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    631|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    631|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    631|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    631|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    631|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    631|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    631|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    631|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 631]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    631|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    631|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    631|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|    631|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|    631|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|    631|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|    631|                                   get_16aligned_be32(&igmp->group));
 1111|    631|                miniflow_pad_to_64(mf, igmp_group_ip4);
  ------------------
  |  |  312|    631|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    631|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    631|{                                                               \
  |  |  |  |  234|    631|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    631|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    631|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    631|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    631|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    631|{                                                                       \
  |  |  |  |  |  |  |  |  151|    631|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    631|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    631|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    631|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    631|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    631|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 631]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    631|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    631|                                                                \
  |  |  |  |  237|    631|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    631|    MF.data++;                                                  \
  |  |  |  |  239|    631|}
  |  |  ------------------
  ------------------
 1112|    631|            }
 1113|  1.03k|        } else if (OVS_LIKELY(nw_proto == IPPROTO_ICMPV6)) {
  ------------------
  |  |   65|  1.03k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 700, False: 338]
  |  |  ------------------
  ------------------
 1114|    700|            if (OVS_LIKELY(size >= sizeof(struct icmp6_data_header))) {
  ------------------
  |  |   65|    700|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 649, False: 51]
  |  |  ------------------
  ------------------
 1115|    649|                const union ovs_16aligned_in6_addr *nd_target;
 1116|    649|                struct eth_addr arp_buf[2];
 1117|       |                /* This will populate whether we received Option 1
 1118|       |                 * or Option 2. */
 1119|    649|                uint8_t opt_type;
 1120|       |                /* This holds the ND Reserved field. */
 1121|    649|                ovs_be32 rso_flags;
 1122|    649|                const struct icmp6_data_header *icmp6;
 1123|       |
 1124|    649|                icmp6 = data_pull(&data, &size, sizeof *icmp6);
 1125|    649|                if (parse_icmpv6(&data, &size, icmp6,
  ------------------
  |  Branch (1125:21): [True: 519, False: 130]
  ------------------
 1126|    649|                                 &rso_flags, &nd_target, arp_buf, &opt_type)) {
 1127|    519|                    if (nd_target) {
  ------------------
  |  Branch (1127:25): [True: 302, False: 217]
  ------------------
 1128|    302|                        miniflow_push_words(mf, nd_target, nd_target,
  ------------------
  |  |  318|    302|    miniflow_push_words_(MF, offsetof(struct flow, FIELD), VALUEP, N_WORDS)
  |  |  ------------------
  |  |  |  |  268|    302|#define miniflow_push_words_(MF, OFS, VALUEP, N_WORDS)          \
  |  |  |  |  269|    302|{                                                               \
  |  |  |  |  270|    302|    MINIFLOW_ASSERT((OFS) % 8 == 0);                            \
  |  |  |  |  271|    302|    miniflow_set_maps(MF, (OFS) / 8, (N_WORDS));                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|    302|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|    302|{                                                               \
  |  |  |  |  |  |  259|    302|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|    302|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|    302|                                                                \
  |  |  |  |  |  |  262|    302|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|    302|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    302|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    302|{                                                                       \
  |  |  |  |  |  |  |  |  151|    302|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    302|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    302|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    302|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    302|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    302|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 302]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    302|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|    302|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|    302|}
  |  |  |  |  ------------------
  |  |  |  |  272|    302|    memcpy(MF.data, (VALUEP), (N_WORDS) * sizeof *MF.data);     \
  |  |  |  |  273|    302|    MF.data += (N_WORDS);                                       \
  |  |  |  |  274|    302|}
  |  |  ------------------
  ------------------
 1129|    302|                                            sizeof *nd_target / sizeof(uint64_t));
 1130|    302|                    }
 1131|    519|                    miniflow_push_macs(mf, arp_sha, arp_buf);
  ------------------
  |  |  324|    519|    miniflow_push_macs_(MF, offsetof(struct flow, FIELD), VALUEP)
  |  |  ------------------
  |  |  |  |  289|    519|#define miniflow_push_macs_(MF, OFS, VALUEP)                    \
  |  |  |  |  290|    519|{                                                               \
  |  |  |  |  291|    519|    miniflow_set_maps(MF, (OFS) / 8, 2);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  257|    519|#define miniflow_set_maps(MF, OFS, N_WORDS)                     \
  |  |  |  |  |  |  258|    519|{                                                               \
  |  |  |  |  |  |  259|    519|    size_t ofs = (OFS);                                         \
  |  |  |  |  |  |  260|    519|    size_t n_words = (N_WORDS);                                 \
  |  |  |  |  |  |  261|    519|                                                                \
  |  |  |  |  |  |  262|    519|    MINIFLOW_ASSERT(n_words && MF.data + n_words <= MF.end);    \
  |  |  |  |  |  |  263|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, ofs);                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  264|    519|    flowmap_set(&MF.map, ofs, n_words);                         \
  |  |  |  |  |  |  265|    519|}
  |  |  |  |  ------------------
  |  |  |  |  292|    519|    memcpy(MF.data, (VALUEP), 2 * ETH_ADDR_LEN);                \
  |  |  |  |  ------------------
  |  |  |  |  |  |  205|    519|#define ETH_ADDR_LEN           6
  |  |  |  |  ------------------
  |  |  |  |  293|    519|    MF.data += 1;                   /* First word only. */      \
  |  |  |  |  294|    519|}
  |  |  ------------------
  ------------------
 1132|       |                    /* Populate options field and set the padding
 1133|       |                     * accordingly. */
 1134|    519|                    if (opt_type != 0) {
  ------------------
  |  Branch (1134:25): [True: 172, False: 347]
  ------------------
 1135|    172|                        miniflow_push_be16(mf, tcp_flags, htons(opt_type));
  ------------------
  |  |  306|    172|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    172|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    172|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    172|{                                               \
  |  |  |  |  |  |  197|    172|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    172|                                                \
  |  |  |  |  |  |  199|    172|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 172]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    172|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 172]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    172|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 172, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|    172|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    172|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    172|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    172|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    172|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    172|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    172|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    172|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    172|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    172|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    172|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 172]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    172|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|    172|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    172|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    172|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1136|       |                        /* Pad to align with 64 bits.
 1137|       |                         * This will zero out the pad3 field. */
 1138|    172|                        miniflow_pad_to_64(mf, tcp_flags);
  ------------------
  |  |  312|    172|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    172|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    172|{                                                               \
  |  |  |  |  234|    172|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    172|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    172|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    172|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    172|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    172|{                                                                       \
  |  |  |  |  |  |  |  |  151|    172|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    172|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    172|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    172|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    172|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    172|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 172]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    172|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    172|                                                                \
  |  |  |  |  237|    172|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    172|    MF.data++;                                                  \
  |  |  |  |  239|    172|}
  |  |  ------------------
  ------------------
 1139|    347|                    } else {
 1140|       |                        /* Pad to align with 64 bits.
 1141|       |                         * This will zero out the tcp_flags & pad3 field. */
 1142|    347|                        miniflow_pad_to_64(mf, arp_tha);
  ------------------
  |  |  312|    347|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    347|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    347|{                                                               \
  |  |  |  |  234|    347|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    347|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    347|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    347|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    347|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    347|{                                                                       \
  |  |  |  |  |  |  |  |  151|    347|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    347|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    347|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    347|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    347|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    347|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 347]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    347|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    347|                                                                \
  |  |  |  |  237|    347|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    347|    MF.data++;                                                  \
  |  |  |  |  239|    347|}
  |  |  ------------------
  ------------------
 1143|    347|                    }
 1144|    519|                    miniflow_push_be16(mf, tp_src,
  ------------------
  |  |  306|    519|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    519|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    519|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    519|{                                               \
  |  |  |  |  |  |  197|    519|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    519|                                                \
  |  |  |  |  |  |  199|    519|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 519, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|    519|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    519|    {                                        \
  |  |  |  |  |  |  |  |  160|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    519|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    519|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|    519|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    519|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    519|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1145|    519|                                       htons(icmp6->icmp6_base.icmp6_type));
 1146|    519|                    miniflow_push_be16(mf, tp_dst,
  ------------------
  |  |  306|    519|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    519|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    519|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    519|{                                               \
  |  |  |  |  |  |  197|    519|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    519|                                                \
  |  |  |  |  |  |  199|    519|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 519]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    519|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 519, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|    519|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    519|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|    519|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    519|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    519|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|    519|                                       htons(icmp6->icmp6_base.icmp6_code));
 1148|    519|                    miniflow_pad_to_64(mf, tp_dst);
  ------------------
  |  |  312|    519|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    519|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    519|{                                                               \
  |  |  |  |  234|    519|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    519|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    519|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    519|                                                                \
  |  |  |  |  237|    519|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    519|    MF.data++;                                                  \
  |  |  |  |  239|    519|}
  |  |  ------------------
  ------------------
 1149|       |                    /* Fill ND reserved field. */
 1150|    519|                    miniflow_push_be32(mf, igmp_group_ip4, rso_flags);
  ------------------
  |  |  300|    519|    miniflow_push_be32_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  193|    519|    miniflow_push_uint32_(MF, OFS, (OVS_FORCE uint32_t)(VALUE))
  |  |  |  |  ------------------
  |  |  |  |  |  |  179|    519|    {                                           \
  |  |  |  |  |  |  180|    519|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  181|    519|                                                \
  |  |  |  |  |  |  182|    519|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (182:9): [True: 519, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  183|    519|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    519|    {                                        \
  |  |  |  |  |  |  |  |  160|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    519|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    519|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  184|    519|        *(uint32_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  185|    519|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (185:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  186|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  187|      0|        *((uint32_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  188|      0|        MF.data++;                              \
  |  |  |  |  |  |  189|      0|    }                                           \
  |  |  |  |  |  |  190|    519|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|    519|                    miniflow_pad_to_64(mf, igmp_group_ip4);
  ------------------
  |  |  312|    519|    miniflow_pad_to_64_(MF, OFFSETOFEND(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  232|    519|#define miniflow_pad_to_64_(MF, OFS)                            \
  |  |  |  |  233|    519|{                                                               \
  |  |  |  |  234|    519|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  235|    519|    miniflow_assert_in_map(MF, OFS / 8);                        \
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    519|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  166|    519|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|    519|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|    519|{                                                                       \
  |  |  |  |  |  |  |  |  151|    519|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|    519|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|    519|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|    519|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|    519|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|    519|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 519]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|    519|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  236|    519|                                                                \
  |  |  |  |  237|    519|    memset((uint8_t *)MF.data + (OFS) % 8, 0, 8 - (OFS) % 8);   \
  |  |  |  |  238|    519|    MF.data++;                                                  \
  |  |  |  |  239|    519|}
  |  |  ------------------
  ------------------
 1152|    519|                } else {
 1153|       |                    /* ICMPv6 but not ND. */
 1154|    130|                    miniflow_push_be16(mf, tp_src,
  ------------------
  |  |  306|    130|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    130|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    130|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    130|{                                               \
  |  |  |  |  |  |  197|    130|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    130|                                                \
  |  |  |  |  |  |  199|    130|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [True: 130, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|    130|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|    130|    {                                        \
  |  |  |  |  |  |  |  |  160|    130|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    130|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    130|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    130|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    130|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    130|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    130|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    130|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    130|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 130]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    130|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|    130|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|    130|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|    130|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    130|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    130|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1155|    130|                                       htons(icmp6->icmp6_base.icmp6_type));
 1156|    130|                    miniflow_push_be16(mf, tp_dst,
  ------------------
  |  |  306|    130|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    130|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    130|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    130|{                                               \
  |  |  |  |  |  |  197|    130|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    130|                                                \
  |  |  |  |  |  |  199|    130|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    130|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [True: 130, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|    130|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    130|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    130|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    130|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    130|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    130|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    130|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    130|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    130|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    130|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    130|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 130]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    130|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|    130|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    130|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    130|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|    130|                                       htons(icmp6->icmp6_base.icmp6_code));
 1158|    130|                    miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|    130|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    130|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    130|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    130|{                                               \
  |  |  |  |  |  |  197|    130|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    130|                                                \
  |  |  |  |  |  |  199|    130|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    130|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    130|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 130, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|    130|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    130|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    130|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    130|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    130|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    130|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    130|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    130|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    130|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    130|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    130|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 130]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    130|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|    130|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    130|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|    130|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1159|    130|                    miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|    130|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|    130|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|    130|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|    130|{                                               \
  |  |  |  |  |  |  197|    130|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|    130|                                                \
  |  |  |  |  |  |  199|    130|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|    130|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|    130|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 130]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|    130|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 130, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|    130|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|    130|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|    130|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|    130|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|    130|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|    130|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|    130|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|    130|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|    130|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|    130|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|    130|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 130]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|    130|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|    130|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|    130|        MF.data++;                              \
  |  |  |  |  |  |  212|    130|    }                                           \
  |  |  |  |  |  |  213|    130|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1160|    130|                }
 1161|    649|            }
 1162|    700|        }
 1163|  8.65k|    } else if (ct_nw_proto_p &&
  ------------------
  |  Branch (1163:16): [True: 0, False: 149]
  ------------------
 1164|      0|               (*ct_nw_proto_p == IPPROTO_TCP ||
  ------------------
  |  Branch (1164:17): [True: 0, False: 0]
  ------------------
 1165|      0|                *ct_nw_proto_p == IPPROTO_UDP ||
  ------------------
  |  Branch (1165:17): [True: 0, False: 0]
  ------------------
 1166|      0|                *ct_nw_proto_p == IPPROTO_SCTP ||
  ------------------
  |  Branch (1166:17): [True: 0, False: 0]
  ------------------
 1167|      0|                *ct_nw_proto_p == IPPROTO_ICMP ||
  ------------------
  |  Branch (1167:17): [True: 0, False: 0]
  ------------------
 1168|      0|                (*ct_nw_proto_p == IPPROTO_ICMPV6 && !icmp6_is_nd(data)))) {
  ------------------
  |  Branch (1168:18): [True: 0, False: 0]
  |  Branch (1168:54): [True: 0, False: 0]
  ------------------
 1169|      0|        miniflow_pad_from_64(mf, ct_tp_src);
  ------------------
  |  |  315|      0|    miniflow_pad_from_64_(MF, offsetof(struct flow, FIELD))
  |  |  ------------------
  |  |  |  |  241|      0|#define miniflow_pad_from_64_(MF, OFS)                          \
  |  |  |  |  242|      0|{                                                               \
  |  |  |  |  243|      0|    MINIFLOW_ASSERT(MF.data < MF.end);                          \
  |  |  |  |  244|      0|                                                                \
  |  |  |  |  245|      0|    MINIFLOW_ASSERT((OFS) % 8 != 0);                            \
  |  |  |  |  246|      0|    miniflow_set_map(MF, OFS / 8);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  162|      0|}
  |  |  |  |  ------------------
  |  |  |  |  247|      0|                                                                \
  |  |  |  |  248|      0|    memset((uint8_t *)MF.data, 0, (OFS) % 8);                   \
  |  |  |  |  249|      0|}
  |  |  ------------------
  ------------------
 1170|      0|        miniflow_push_be16(mf, ct_tp_src, ct_tp_src);
  ------------------
  |  |  306|      0|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|      0|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|      0|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|      0|{                                               \
  |  |  |  |  |  |  197|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|      0|                                                \
  |  |  |  |  |  |  199|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|      0|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|      0|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1171|      0|        miniflow_push_be16(mf, ct_tp_dst, ct_tp_dst);
  ------------------
  |  |  306|      0|    miniflow_push_be16_(MF, offsetof(struct flow, FIELD), VALUE)
  |  |  ------------------
  |  |  |  |  252|      0|    miniflow_push_uint16_(MF, OFS, (OVS_FORCE uint16_t)VALUE);
  |  |  |  |  ------------------
  |  |  |  |  |  |  195|      0|#define miniflow_push_uint16_(MF, OFS, VALUE)   \
  |  |  |  |  |  |  196|      0|{                                               \
  |  |  |  |  |  |  197|      0|    MINIFLOW_ASSERT(MF.data < MF.end);          \
  |  |  |  |  |  |  198|      0|                                                \
  |  |  |  |  |  |  199|      0|    if ((OFS) % 8 == 0) {                       \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (199:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  200|      0|        miniflow_set_map(MF, OFS / 8);          \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  159|      0|    {                                        \
  |  |  |  |  |  |  |  |  160|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS));  \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  161|      0|    flowmap_set(&MF.map, (OFS), 1);          \
  |  |  |  |  |  |  |  |  162|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|        *(uint16_t *)MF.data = VALUE;           \
  |  |  |  |  |  |  202|      0|    } else if ((OFS) % 8 == 2) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  203|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  204|      0|        *((uint16_t *)MF.data + 1) = VALUE;     \
  |  |  |  |  |  |  205|      0|    } else if ((OFS) % 8 == 4) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (205:16): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  206|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  207|      0|        *((uint16_t *)MF.data + 2) = VALUE;     \
  |  |  |  |  |  |  208|      0|    } else if ((OFS) % 8 == 6) {                \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (208:16): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  209|      0|        miniflow_assert_in_map(MF, OFS / 8);    \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  165|      0|    MINIFLOW_ASSERT(flowmap_is_set(&MF.map, (OFS))); \
  |  |  |  |  |  |  |  |  166|      0|    ASSERT_FLOWMAP_NOT_SET(&MF.map, (OFS) + 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  149|      0|#define ASSERT_FLOWMAP_NOT_SET(FM, IDX)                                 \
  |  |  |  |  |  |  |  |  |  |  150|      0|{                                                                       \
  |  |  |  |  |  |  |  |  |  |  151|      0|    MINIFLOW_ASSERT(!((FM)->bits[(IDX) / MAP_T_BITS] &                  \
  |  |  |  |  |  |  |  |  |  |  152|      0|                      (MAP_MAX << ((IDX) % MAP_T_BITS))));              \
  |  |  |  |  |  |  |  |  |  |  153|      0|    for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                   for (size_t i = (IDX) / MAP_T_BITS + 1; i < FLOWMAP_UNITS; i++) {   \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  280|      0|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (153:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  154|      0|        MINIFLOW_ASSERT(!(FM)->bits[i]);                                \
  |  |  |  |  |  |  |  |  |  |  155|      0|    }                                                                   \
  |  |  |  |  |  |  |  |  |  |  156|      0|}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|        *((uint16_t *)MF.data + 3) = VALUE;     \
  |  |  |  |  |  |  211|      0|        MF.data++;                              \
  |  |  |  |  |  |  212|      0|    }                                           \
  |  |  |  |  |  |  213|      0|}
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1172|      0|    }
 1173|  58.3k| out:
 1174|  58.3k|    dst->map = mf.map;
 1175|  58.3k|}
flow_zero_wildcards:
 1288|   130k|{
 1289|   130k|    uint64_t *flow_u64 = (uint64_t *) flow;
 1290|   130k|    const uint64_t *wc_u64 = (const uint64_t *) &wildcards->masks;
 1291|   130k|    size_t i;
 1292|       |
 1293|  12.1M|    for (i = 0; i < FLOW_U64S; i++) {
  ------------------
  |  |  165|  12.1M|#define FLOW_U64S (sizeof(struct flow) / sizeof(uint64_t))
  ------------------
  |  Branch (1293:17): [True: 12.0M, False: 130k]
  ------------------
 1294|  12.0M|        flow_u64[i] &= wc_u64[i];
 1295|  12.0M|    }
 1296|   130k|}
ct_state_to_string:
 1416|  51.8k|{
 1417|  51.8k|    switch (state) {
 1418|      0|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
 1419|      0|        CS_STATES
  ------------------
  |  |  926|  1.70k|    CS_STATE(NEW,         0, "new")             \
  |  |  ------------------
  |  |  |  | 1418|  1.70k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.70k, False: 50.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  927|  1.85k|    CS_STATE(ESTABLISHED, 1, "est")             \
  |  |  ------------------
  |  |  |  | 1418|  1.85k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.85k, False: 49.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  928|  1.85k|    CS_STATE(RELATED,     2, "rel")             \
  |  |  ------------------
  |  |  |  | 1418|  1.82k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.82k, False: 49.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  929|  1.82k|    CS_STATE(REPLY_DIR,   3, "rpl")             \
  |  |  ------------------
  |  |  |  | 1418|  1.74k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.74k, False: 50.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  930|  1.86k|    CS_STATE(INVALID,     4, "inv")             \
  |  |  ------------------
  |  |  |  | 1418|  1.86k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.86k, False: 49.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  931|  1.86k|    CS_STATE(TRACKED,     5, "trk")             \
  |  |  ------------------
  |  |  |  | 1418|  1.74k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.74k, False: 50.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  932|  1.74k|    CS_STATE(SRC_NAT,     6, "snat")            \
  |  |  ------------------
  |  |  |  | 1418|  1.70k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.70k, False: 50.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  933|  1.70k|    CS_STATE(DST_NAT,     7, "dnat")
  |  |  ------------------
  |  |  |  | 1418|  1.70k|#define CS_STATE(ENUM, INDEX, NAME) case CS_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1418:37): [True: 1.70k, False: 50.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|      0|#undef CS_STATE
 1421|  37.6k|    default:
  ------------------
  |  Branch (1421:5): [True: 37.6k, False: 14.1k]
  ------------------
 1422|       |        return NULL;
 1423|  51.8k|    }
 1424|  51.8k|}
flow_tun_flag_to_string:
 1539|  2.52k|{
 1540|  2.52k|    switch (flags) {
 1541|     49|    case FLOW_TNL_F_DONT_FRAGMENT:
  ------------------
  |  |   61|     49|#define FLOW_TNL_F_DONT_FRAGMENT (1 << 1)
  ------------------
  |  Branch (1541:5): [True: 49, False: 2.47k]
  ------------------
 1542|     49|        return "df";
 1543|     47|    case FLOW_TNL_F_CSUM:
  ------------------
  |  |   62|     47|#define FLOW_TNL_F_CSUM (1 << 2)
  ------------------
  |  Branch (1543:5): [True: 47, False: 2.47k]
  ------------------
 1544|     47|        return "csum";
 1545|    438|    case FLOW_TNL_F_KEY:
  ------------------
  |  |   63|    438|#define FLOW_TNL_F_KEY (1 << 3)
  ------------------
  |  Branch (1545:5): [True: 438, False: 2.08k]
  ------------------
 1546|    438|        return "key";
 1547|    894|    case FLOW_TNL_F_OAM:
  ------------------
  |  |   56|    894|#define FLOW_TNL_F_OAM (1 << 0)
  ------------------
  |  Branch (1547:5): [True: 894, False: 1.63k]
  ------------------
 1548|    894|        return "oam";
 1549|  1.09k|    default:
  ------------------
  |  Branch (1549:5): [True: 1.09k, False: 1.42k]
  ------------------
 1550|       |        return NULL;
 1551|  2.52k|    }
 1552|  2.52k|}
format_flags:
 1557|  6.94k|{
 1558|  6.94k|    uint32_t bad = 0;
 1559|       |
 1560|  6.94k|    if (!flags) {
  ------------------
  |  Branch (1560:9): [True: 504, False: 6.44k]
  ------------------
 1561|    504|        ds_put_char(ds, '0');
 1562|    504|        return;
 1563|    504|    }
 1564|  39.8k|    while (flags) {
  ------------------
  |  Branch (1564:12): [True: 33.3k, False: 6.44k]
  ------------------
 1565|  33.3k|        uint32_t bit = rightmost_1bit(flags);
 1566|  33.3k|        const char *s;
 1567|       |
 1568|  33.3k|        s = bit_to_string(bit);
 1569|  33.3k|        if (s) {
  ------------------
  |  Branch (1569:13): [True: 29.9k, False: 3.42k]
  ------------------
 1570|  29.9k|            ds_put_format(ds, "%s%c", s, del);
 1571|  29.9k|        } else {
 1572|  3.42k|            bad |= bit;
 1573|  3.42k|        }
 1574|       |
 1575|  33.3k|        flags &= ~bit;
 1576|  33.3k|    }
 1577|       |
 1578|  6.44k|    if (bad) {
  ------------------
  |  Branch (1578:9): [True: 1.92k, False: 4.51k]
  ------------------
 1579|  1.92k|        ds_put_format(ds, "0x%"PRIx32"%c", bad, del);
 1580|  1.92k|    }
 1581|  6.44k|    ds_chomp(ds, del);
 1582|  6.44k|}
format_flags_masked:
 1588|  9.11k|{
 1589|  9.11k|    if (name) {
  ------------------
  |  Branch (1589:9): [True: 4.76k, False: 4.34k]
  ------------------
 1590|  4.76k|        ds_put_format(ds, "%s%s=%s", colors.param, name, colors.end);
 1591|  4.76k|    }
 1592|       |
 1593|  9.11k|    if (mask == max_mask) {
  ------------------
  |  Branch (1593:9): [True: 6.84k, False: 2.26k]
  ------------------
 1594|  6.84k|        format_flags(ds, bit_to_string, flags, '|');
 1595|  6.84k|        return;
 1596|  6.84k|    }
 1597|       |
 1598|  2.26k|    if (!mask) {
  ------------------
  |  Branch (1598:9): [True: 34, False: 2.23k]
  ------------------
 1599|     34|        ds_put_cstr(ds, "0/0");
 1600|     34|        return;
 1601|     34|    }
 1602|       |
 1603|  53.6k|    while (mask) {
  ------------------
  |  Branch (1603:12): [True: 51.4k, False: 2.23k]
  ------------------
 1604|  51.4k|        uint32_t bit = rightmost_1bit(mask);
 1605|  51.4k|        const char *s = bit_to_string(bit);
 1606|       |
 1607|  51.4k|        ds_put_format(ds, "%s%s", (flags & bit) ? "+" : "-",
  ------------------
  |  Branch (1607:35): [True: 14.1k, False: 37.3k]
  ------------------
 1608|  51.4k|                      s ? s : "[Unknown]");
  ------------------
  |  Branch (1608:23): [True: 13.7k, False: 37.6k]
  ------------------
 1609|  51.4k|        mask &= ~bit;
 1610|  51.4k|    }
 1611|  2.23k|}
format_packet_type_masked:
 1633|  24.4k|{
 1634|  24.4k|    if (value == htonl(PT_ETH) && mask == OVS_BE32_MAX) {
  ------------------
  |  |   43|    189|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (1634:9): [True: 189, False: 24.2k]
  |  Branch (1634:35): [True: 189, False: 0]
  ------------------
 1635|    189|        ds_put_cstr(s, "eth");
 1636|  24.2k|    } else {
 1637|  24.2k|        ds_put_cstr(s, "packet_type=(");
 1638|  24.2k|        put_u16_masked(s, pt_ns(value), pt_ns(mask));
 1639|  24.2k|        ds_put_char(s, ',');
 1640|  24.2k|        put_u16_masked(s, pt_ns_type(value), pt_ns_type(mask));
 1641|  24.2k|        ds_put_char(s, ')');
 1642|  24.2k|    }
 1643|  24.4k|}
flow_format:
 1807|  58.3k|{
 1808|  58.3k|    struct match match;
 1809|  58.3k|    struct flow_wildcards *wc = &match.wc;
 1810|       |
 1811|  58.3k|    match_wc_init(&match, flow);
 1812|       |
 1813|       |    /* As this function is most often used for formatting a packet in a
 1814|       |     * packet-in message, skip formatting the packet context fields that are
 1815|       |     * all-zeroes to make the print-out easier on the eyes.  This means that a
 1816|       |     * missing context field implies a zero value for that field.  This is
 1817|       |     * similar to OpenFlow encoding of these fields, as the specification
 1818|       |     * states that all-zeroes context fields should not be encoded in the
 1819|       |     * packet-in messages. */
 1820|  58.3k|    if (!flow->in_port.ofp_port) {
  ------------------
  |  Branch (1820:9): [True: 58.3k, False: 0]
  ------------------
 1821|  58.3k|        WC_UNMASK_FIELD(wc, in_port);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1822|  58.3k|    }
 1823|  58.3k|    if (!flow->skb_priority) {
  ------------------
  |  Branch (1823:9): [True: 58.3k, False: 0]
  ------------------
 1824|  58.3k|        WC_UNMASK_FIELD(wc, skb_priority);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1825|  58.3k|    }
 1826|  58.3k|    if (!flow->pkt_mark) {
  ------------------
  |  Branch (1826:9): [True: 58.3k, False: 0]
  ------------------
 1827|  58.3k|        WC_UNMASK_FIELD(wc, pkt_mark);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1828|  58.3k|    }
 1829|  58.3k|    if (!flow->recirc_id) {
  ------------------
  |  Branch (1829:9): [True: 58.3k, False: 0]
  ------------------
 1830|  58.3k|        WC_UNMASK_FIELD(wc, recirc_id);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1831|  58.3k|    }
 1832|  58.3k|    if (!flow->dp_hash) {
  ------------------
  |  Branch (1832:9): [True: 58.3k, False: 0]
  ------------------
 1833|  58.3k|        WC_UNMASK_FIELD(wc, dp_hash);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1834|  58.3k|    }
 1835|  58.3k|    if (!flow->ct_state) {
  ------------------
  |  Branch (1835:9): [True: 58.3k, False: 0]
  ------------------
 1836|  58.3k|        WC_UNMASK_FIELD(wc, ct_state);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1837|  58.3k|    }
 1838|  58.3k|    if (!flow->ct_zone) {
  ------------------
  |  Branch (1838:9): [True: 58.3k, False: 0]
  ------------------
 1839|  58.3k|        WC_UNMASK_FIELD(wc, ct_zone);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1840|  58.3k|    }
 1841|  58.3k|    if (!flow->ct_mark) {
  ------------------
  |  Branch (1841:9): [True: 58.3k, False: 0]
  ------------------
 1842|  58.3k|        WC_UNMASK_FIELD(wc, ct_mark);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1843|  58.3k|    }
 1844|  58.3k|    if (ovs_u128_is_zero(flow->ct_label)) {
  ------------------
  |  Branch (1844:9): [True: 58.3k, False: 0]
  ------------------
 1845|  58.3k|        WC_UNMASK_FIELD(wc, ct_label);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1846|  58.3k|    }
 1847|  58.3k|    if (!is_ct_valid(flow, &match.wc, NULL) || !flow->ct_nw_proto) {
  ------------------
  |  Branch (1847:9): [True: 58.3k, False: 0]
  |  Branch (1847:48): [True: 0, False: 0]
  ------------------
 1848|  58.3k|        WC_UNMASK_FIELD(wc, ct_nw_proto);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1849|  58.3k|        WC_UNMASK_FIELD(wc, ct_tp_src);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1850|  58.3k|        WC_UNMASK_FIELD(wc, ct_tp_dst);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1851|  58.3k|        if (flow->dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1851:13): [True: 3.00k, False: 55.3k]
  ------------------
 1852|  3.00k|            WC_UNMASK_FIELD(wc, ct_nw_src);
  ------------------
  |  |  205|  3.00k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1853|  3.00k|            WC_UNMASK_FIELD(wc, ct_nw_dst);
  ------------------
  |  |  205|  3.00k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1854|  55.3k|        } else if (flow->dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1854:20): [True: 7.83k, False: 47.5k]
  ------------------
 1855|  7.83k|            WC_UNMASK_FIELD(wc, ct_ipv6_src);
  ------------------
  |  |  205|  7.83k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1856|  7.83k|            WC_UNMASK_FIELD(wc, ct_ipv6_dst);
  ------------------
  |  |  205|  7.83k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1857|  7.83k|        }
 1858|  58.3k|    }
 1859|  1.92M|    for (int i = 0; i < FLOW_N_REGS; i++) {
  ------------------
  |  |   33|  1.92M|#define FLOW_N_REGS 32
  ------------------
  |  Branch (1859:21): [True: 1.86M, False: 58.3k]
  ------------------
 1860|  1.86M|        if (!flow->regs[i]) {
  ------------------
  |  Branch (1860:13): [True: 1.86M, False: 0]
  ------------------
 1861|  1.86M|            WC_UNMASK_FIELD(wc, regs[i]);
  ------------------
  |  |  205|  1.86M|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1862|  1.86M|        }
 1863|  1.86M|    }
 1864|  58.3k|    if (!flow->metadata) {
  ------------------
  |  Branch (1864:9): [True: 58.3k, False: 0]
  ------------------
 1865|  58.3k|        WC_UNMASK_FIELD(wc, metadata);
  ------------------
  |  |  205|  58.3k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 1866|  58.3k|    }
 1867|       |
 1868|  58.3k|    match_format(&match, port_map, ds, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  58.3k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
 1869|  58.3k|}
flow_wildcards_init_catchall:
 1885|   493k|{
 1886|   493k|    memset(&wc->masks, 0, sizeof wc->masks);
 1887|   493k|}
flow_wildcards_init_for_packet:
 1896|  58.3k|{
 1897|  58.3k|    ovs_be16 dl_type = OVS_BE16_MAX;
  ------------------
  |  |   42|  58.3k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
 1898|       |
 1899|  58.3k|    memset(&wc->masks, 0x0, sizeof wc->masks);
 1900|       |
 1901|       |    /* Update this function whenever struct flow changes. */
 1902|  58.3k|    BUILD_ASSERT_DECL(FLOW_WC_SEQ == 43);
  ------------------
  |  |  270|  58.3k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  ------------------
 1903|       |
 1904|  58.3k|    if (flow_tnl_dst_is_set(&flow->tunnel)) {
  ------------------
  |  Branch (1904:9): [True: 0, False: 58.3k]
  ------------------
 1905|      0|        if (flow->tunnel.flags & FLOW_TNL_F_KEY) {
  ------------------
  |  |   63|      0|#define FLOW_TNL_F_KEY (1 << 3)
  ------------------
  |  Branch (1905:13): [True: 0, False: 0]
  ------------------
 1906|      0|            WC_MASK_FIELD(wc, tunnel.tun_id);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1907|      0|        }
 1908|      0|        WC_MASK_FIELD(wc, tunnel.ip_src);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1909|      0|        WC_MASK_FIELD(wc, tunnel.ip_dst);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1910|      0|        WC_MASK_FIELD(wc, tunnel.ipv6_src);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1911|      0|        WC_MASK_FIELD(wc, tunnel.ipv6_dst);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1912|      0|        WC_MASK_FIELD(wc, tunnel.flags);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1913|      0|        WC_MASK_FIELD(wc, tunnel.ip_tos);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1914|      0|        WC_MASK_FIELD(wc, tunnel.ip_ttl);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1915|      0|        WC_MASK_FIELD(wc, tunnel.tp_src);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1916|      0|        WC_MASK_FIELD(wc, tunnel.tp_dst);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1917|      0|        WC_MASK_FIELD(wc, tunnel.gbp_id);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1918|      0|        WC_MASK_FIELD(wc, tunnel.gbp_flags);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1919|      0|        WC_MASK_FIELD(wc, tunnel.erspan_ver);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1920|      0|        WC_MASK_FIELD(wc, tunnel.erspan_idx);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1921|      0|        WC_MASK_FIELD(wc, tunnel.erspan_dir);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1922|      0|        WC_MASK_FIELD(wc, tunnel.erspan_hwid);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1923|      0|        WC_MASK_FIELD(wc, tunnel.gtpu_flags);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1924|      0|        WC_MASK_FIELD(wc, tunnel.gtpu_msgtype);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1925|       |
 1926|      0|        if (!(flow->tunnel.flags & FLOW_TNL_F_UDPIF)) {
  ------------------
  |  |   45|      0|#define FLOW_TNL_F_UDPIF (1 << 4)
  ------------------
  |  Branch (1926:13): [True: 0, False: 0]
  ------------------
 1927|      0|            if (flow->tunnel.metadata.present.map) {
  ------------------
  |  Branch (1927:17): [True: 0, False: 0]
  ------------------
 1928|      0|                wc->masks.tunnel.metadata.present.map =
 1929|      0|                                              flow->tunnel.metadata.present.map;
 1930|      0|                WC_MASK_FIELD(wc, tunnel.metadata.opts.u8);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1931|      0|                WC_MASK_FIELD(wc, tunnel.metadata.tab);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1932|      0|            }
 1933|      0|        } else {
 1934|      0|            WC_MASK_FIELD(wc, tunnel.metadata.present.len);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1935|      0|            memset(wc->masks.tunnel.metadata.opts.gnv, 0xff,
 1936|      0|                   flow->tunnel.metadata.present.len);
 1937|      0|        }
 1938|  58.3k|    } else if (flow->tunnel.tun_id) {
  ------------------
  |  Branch (1938:16): [True: 0, False: 58.3k]
  ------------------
 1939|      0|        WC_MASK_FIELD(wc, tunnel.tun_id);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1940|      0|    }
 1941|       |
 1942|       |    /* metadata, regs, and conj_id wildcarded. */
 1943|       |
 1944|  58.3k|    WC_MASK_FIELD(wc, skb_priority);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1945|  58.3k|    WC_MASK_FIELD(wc, pkt_mark);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1946|  58.3k|    WC_MASK_FIELD(wc, ct_state);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1947|  58.3k|    WC_MASK_FIELD(wc, ct_zone);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1948|  58.3k|    WC_MASK_FIELD(wc, ct_mark);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1949|  58.3k|    WC_MASK_FIELD(wc, ct_label);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1950|  58.3k|    WC_MASK_FIELD(wc, recirc_id);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1951|  58.3k|    WC_MASK_FIELD(wc, dp_hash);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1952|  58.3k|    WC_MASK_FIELD(wc, in_port);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1953|       |
 1954|       |    /* actset_output wildcarded. */
 1955|       |
 1956|  58.3k|    WC_MASK_FIELD(wc, packet_type);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1957|  58.3k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (1957:9): [True: 46.3k, False: 12.0k]
  ------------------
 1958|  46.3k|        WC_MASK_FIELD(wc, dl_dst);
  ------------------
  |  |  201|  46.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1959|  46.3k|        WC_MASK_FIELD(wc, dl_src);
  ------------------
  |  |  201|  46.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1960|  46.3k|        WC_MASK_FIELD(wc, dl_type);
  ------------------
  |  |  201|  46.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1961|       |        /* No need to set mask of inner VLANs that don't exist. */
 1962|  46.9k|        for (int i = 0; i < FLOW_MAX_VLAN_HEADERS; i++) {
  ------------------
  |  |   75|  46.9k|#define FLOW_MAX_VLAN_HEADERS 2
  ------------------
  |  Branch (1962:25): [True: 46.7k, False: 244]
  ------------------
 1963|       |            /* Always show the first zero VLAN. */
 1964|  46.7k|            WC_MASK_FIELD(wc, vlans[i]);
  ------------------
  |  |  201|  46.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1965|  46.7k|            if (flow->vlans[i].tci == htons(0)) {
  ------------------
  |  Branch (1965:17): [True: 46.1k, False: 641]
  ------------------
 1966|  46.1k|                break;
 1967|  46.1k|            }
 1968|  46.7k|        }
 1969|  46.3k|        dl_type = flow->dl_type;
 1970|  46.3k|    } else {
 1971|  12.0k|        dl_type = pt_ns_type_be(flow->packet_type);
 1972|  12.0k|    }
 1973|       |
 1974|  58.3k|    if (dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1974:9): [True: 3.00k, False: 55.3k]
  ------------------
 1975|  3.00k|        WC_MASK_FIELD(wc, nw_src);
  ------------------
  |  |  201|  3.00k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1976|  3.00k|        WC_MASK_FIELD(wc, nw_dst);
  ------------------
  |  |  201|  3.00k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1977|  3.00k|        WC_MASK_FIELD(wc, ct_nw_src);
  ------------------
  |  |  201|  3.00k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1978|  3.00k|        WC_MASK_FIELD(wc, ct_nw_dst);
  ------------------
  |  |  201|  3.00k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1979|  55.3k|    } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1979:16): [True: 7.83k, False: 47.5k]
  ------------------
 1980|  7.83k|        WC_MASK_FIELD(wc, ipv6_src);
  ------------------
  |  |  201|  7.83k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1981|  7.83k|        WC_MASK_FIELD(wc, ipv6_dst);
  ------------------
  |  |  201|  7.83k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1982|  7.83k|        WC_MASK_FIELD(wc, ipv6_label);
  ------------------
  |  |  201|  7.83k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1983|  7.83k|        if (is_nd(flow, wc)) {
  ------------------
  |  Branch (1983:13): [True: 475, False: 7.36k]
  ------------------
 1984|    475|            WC_MASK_FIELD(wc, arp_sha);
  ------------------
  |  |  201|    475|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1985|    475|            WC_MASK_FIELD(wc, arp_tha);
  ------------------
  |  |  201|    475|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1986|    475|            WC_MASK_FIELD(wc, nd_target);
  ------------------
  |  |  201|    475|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1987|  7.36k|        } else {
 1988|  7.36k|            WC_MASK_FIELD(wc, ct_ipv6_src);
  ------------------
  |  |  201|  7.36k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1989|  7.36k|            WC_MASK_FIELD(wc, ct_ipv6_dst);
  ------------------
  |  |  201|  7.36k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1990|  7.36k|        }
 1991|  47.5k|    } else if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (1991:16): [True: 268, False: 47.2k]
  ------------------
 1992|  47.2k|               dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (1992:16): [True: 670, False: 46.6k]
  ------------------
 1993|    938|        WC_MASK_FIELD(wc, nw_src);
  ------------------
  |  |  201|    938|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1994|    938|        WC_MASK_FIELD(wc, nw_dst);
  ------------------
  |  |  201|    938|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1995|    938|        WC_MASK_FIELD(wc, nw_proto);
  ------------------
  |  |  201|    938|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1996|    938|        WC_MASK_FIELD(wc, arp_sha);
  ------------------
  |  |  201|    938|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1997|    938|        WC_MASK_FIELD(wc, arp_tha);
  ------------------
  |  |  201|    938|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1998|    938|        return;
 1999|  46.6k|    } else if (eth_type_mpls(dl_type)) {
  ------------------
  |  Branch (1999:16): [True: 736, False: 45.8k]
  ------------------
 2000|  2.01k|        for (int i = 0; i < FLOW_MAX_MPLS_LABELS; i++) {
  ------------------
  |  |   66|  2.01k|#define FLOW_MAX_MPLS_LABELS 3
  ------------------
  |  Branch (2000:25): [True: 1.68k, False: 326]
  ------------------
 2001|  1.68k|            WC_MASK_FIELD(wc, mpls_lse[i]);
  ------------------
  |  |  201|  1.68k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2002|  1.68k|            if (flow->mpls_lse[i] & htonl(MPLS_BOS_MASK)) {
  ------------------
  |  Branch (2002:17): [True: 410, False: 1.27k]
  ------------------
 2003|    410|                break;
 2004|    410|            }
 2005|  1.68k|        }
 2006|    736|        return;
 2007|  45.8k|    } else if (flow->dl_type == htons(ETH_TYPE_NSH)) {
  ------------------
  |  Branch (2007:16): [True: 9.92k, False: 35.9k]
  ------------------
 2008|  9.92k|        WC_MASK_FIELD(wc, nsh.flags);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2009|  9.92k|        WC_MASK_FIELD(wc, nsh.ttl);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2010|  9.92k|        WC_MASK_FIELD(wc, nsh.mdtype);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2011|  9.92k|        WC_MASK_FIELD(wc, nsh.np);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2012|  9.92k|        WC_MASK_FIELD(wc, nsh.path_hdr);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2013|  9.92k|        WC_MASK_FIELD(wc, nsh.context);
  ------------------
  |  |  201|  9.92k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2014|  35.9k|    } else {
 2015|  35.9k|        return; /* Unknown ethertype. */
 2016|  35.9k|    }
 2017|       |
 2018|       |    /* IPv4 or IPv6. */
 2019|  20.7k|    WC_MASK_FIELD_MASK(wc, nw_frag, FLOW_NW_FRAG_MASK);
  ------------------
  |  |  203|  20.7k|    ((WC)->masks.FIELD |= (MASK))
  ------------------
 2020|  20.7k|    WC_MASK_FIELD(wc, nw_tos);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2021|  20.7k|    WC_MASK_FIELD(wc, nw_ttl);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2022|  20.7k|    WC_MASK_FIELD(wc, nw_proto);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2023|  20.7k|    WC_MASK_FIELD(wc, ct_nw_proto);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2024|  20.7k|    WC_MASK_FIELD(wc, ct_tp_src);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2025|  20.7k|    WC_MASK_FIELD(wc, ct_tp_dst);
  ------------------
  |  |  201|  20.7k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2026|       |
 2027|       |    /* No transport layer header in later fragments. */
 2028|  20.7k|    if (!(flow->nw_frag & FLOW_NW_FRAG_LATER) &&
  ------------------
  |  |   55|  20.7k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (2028:9): [True: 20.6k, False: 149]
  ------------------
 2029|  20.6k|        (flow->nw_proto == IPPROTO_ICMP ||
  ------------------
  |  Branch (2029:10): [True: 931, False: 19.6k]
  ------------------
 2030|  19.6k|         flow->nw_proto == IPPROTO_ICMPV6 ||
  ------------------
  |  Branch (2030:10): [True: 700, False: 18.9k]
  ------------------
 2031|  18.9k|         flow->nw_proto == IPPROTO_TCP ||
  ------------------
  |  Branch (2031:10): [True: 4.09k, False: 14.8k]
  ------------------
 2032|  14.8k|         flow->nw_proto == IPPROTO_UDP ||
  ------------------
  |  Branch (2032:10): [True: 1.31k, False: 13.5k]
  ------------------
 2033|  13.5k|         flow->nw_proto == IPPROTO_SCTP ||
  ------------------
  |  Branch (2033:10): [True: 424, False: 13.1k]
  ------------------
 2034|  13.1k|         flow->nw_proto == IPPROTO_IGMP)) {
  ------------------
  |  Branch (2034:10): [True: 854, False: 12.3k]
  ------------------
 2035|  8.31k|        WC_MASK_FIELD(wc, tp_src);
  ------------------
  |  |  201|  8.31k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2036|  8.31k|        WC_MASK_FIELD(wc, tp_dst);
  ------------------
  |  |  201|  8.31k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2037|       |
 2038|  8.31k|        if (flow->nw_proto == IPPROTO_TCP) {
  ------------------
  |  Branch (2038:13): [True: 4.09k, False: 4.22k]
  ------------------
 2039|  4.09k|            WC_MASK_FIELD(wc, tcp_flags);
  ------------------
  |  |  201|  4.09k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2040|  4.22k|        } else if (flow->nw_proto == IPPROTO_IGMP) {
  ------------------
  |  Branch (2040:20): [True: 854, False: 3.36k]
  ------------------
 2041|    854|            WC_MASK_FIELD(wc, igmp_group_ip4);
  ------------------
  |  |  201|    854|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 2042|    854|        }
 2043|  8.31k|    }
 2044|  20.7k|}
flow_wildcards_equal:
 2230|  66.5k|{
 2231|  66.5k|    return flow_equal(&a->masks, &b->masks);
 2232|  66.5k|}
flow_wildcards_set_reg_mask:
 2275|  15.2k|{
 2276|  15.2k|    wc->masks.regs[idx] = mask;
 2277|  15.2k|}
flow_wildcards_set_xreg_mask:
 2283|  8.62k|{
 2284|  8.62k|    flow_set_xreg(&wc->masks, idx, mask);
 2285|  8.62k|}
flow_wildcards_set_xxreg_mask:
 2292|  4.95k|{
 2293|  4.95k|    flow_set_xxreg(&wc->masks, idx, mask);
 2294|  4.95k|}
flow_hash_fields_to_str:
 2723|  2.95k|{
 2724|  2.95k|    switch (fields) {
 2725|    718|    case NX_HASH_FIELDS_ETH_SRC: return "eth_src";
  ------------------
  |  Branch (2725:5): [True: 718, False: 2.23k]
  ------------------
 2726|    298|    case NX_HASH_FIELDS_SYMMETRIC_L4: return "symmetric_l4";
  ------------------
  |  Branch (2726:5): [True: 298, False: 2.65k]
  ------------------
 2727|    529|    case NX_HASH_FIELDS_SYMMETRIC_L3L4: return "symmetric_l3l4";
  ------------------
  |  Branch (2727:5): [True: 529, False: 2.42k]
  ------------------
 2728|    185|    case NX_HASH_FIELDS_SYMMETRIC_L3L4_UDP: return "symmetric_l3l4+udp";
  ------------------
  |  Branch (2728:5): [True: 185, False: 2.77k]
  ------------------
 2729|     72|    case NX_HASH_FIELDS_NW_SRC: return "nw_src";
  ------------------
  |  Branch (2729:5): [True: 72, False: 2.88k]
  ------------------
 2730|    460|    case NX_HASH_FIELDS_NW_DST: return "nw_dst";
  ------------------
  |  Branch (2730:5): [True: 460, False: 2.49k]
  ------------------
 2731|    287|    case NX_HASH_FIELDS_SYMMETRIC_L3: return "symmetric_l3";
  ------------------
  |  Branch (2731:5): [True: 287, False: 2.66k]
  ------------------
 2732|    406|    default: return "<unknown>";
  ------------------
  |  Branch (2732:5): [True: 406, False: 2.54k]
  ------------------
 2733|  2.95k|    }
 2734|  2.95k|}
flow_hash_fields_valid:
 2739|  6.75k|{
 2740|  6.75k|    return fields == NX_HASH_FIELDS_ETH_SRC
  ------------------
  |  Branch (2740:12): [True: 1.10k, False: 5.65k]
  ------------------
 2741|  5.65k|        || fields == NX_HASH_FIELDS_SYMMETRIC_L4
  ------------------
  |  Branch (2741:12): [True: 750, False: 4.90k]
  ------------------
 2742|  4.90k|        || fields == NX_HASH_FIELDS_SYMMETRIC_L3L4
  ------------------
  |  Branch (2742:12): [True: 1.60k, False: 3.30k]
  ------------------
 2743|  3.30k|        || fields == NX_HASH_FIELDS_SYMMETRIC_L3L4_UDP
  ------------------
  |  Branch (2743:12): [True: 196, False: 3.10k]
  ------------------
 2744|  3.10k|        || fields == NX_HASH_FIELDS_NW_SRC
  ------------------
  |  Branch (2744:12): [True: 102, False: 3.00k]
  ------------------
 2745|  3.00k|        || fields == NX_HASH_FIELDS_NW_DST
  ------------------
  |  Branch (2745:12): [True: 871, False: 2.13k]
  ------------------
 2746|  2.13k|        || fields == NX_HASH_FIELDS_SYMMETRIC_L3;
  ------------------
  |  Branch (2746:12): [True: 295, False: 1.83k]
  ------------------
 2747|  6.75k|}
flow_set_vlan_vid:
 2805|    203|{
 2806|       |    ovs_be16 mask = htons(VLAN_VID_MASK | VLAN_CFI);
 2807|    203|    flow->vlans[0].tci &= ~mask;
 2808|    203|    flow->vlans[0].tci |= vid & mask;
 2809|    203|}
flow_set_vlan_pcp:
 2820|    276|{
 2821|    276|    pcp &= 0x07;
 2822|    276|    flow->vlans[id].tci &= ~htons(VLAN_PCP_MASK);
 2823|       |    flow->vlans[id].tci |= htons((pcp << VLAN_PCP_SHIFT) | VLAN_CFI);
 2824|    276|}
flow_count_vlan_headers:
 2829|  7.54k|{
 2830|  7.54k|    int i;
 2831|       |
 2832|  12.2k|    for (i = 0; i < FLOW_MAX_VLAN_HEADERS; i++) {
  ------------------
  |  |   75|  12.2k|#define FLOW_MAX_VLAN_HEADERS 2
  ------------------
  |  Branch (2832:17): [True: 11.8k, False: 344]
  ------------------
 2833|  11.8k|        if (!(flow->vlans[i].tci & htons(VLAN_CFI))) {
  ------------------
  |  Branch (2833:13): [True: 7.20k, False: 4.69k]
  ------------------
 2834|  7.20k|            break;
 2835|  7.20k|        }
 2836|  11.8k|    }
 2837|  7.54k|    return i;
 2838|  7.54k|}
flow_pop_vlan:
 2860|  7.54k|{
 2861|  7.54k|    int n = flow_count_vlan_headers(flow);
 2862|  7.54k|    if (n > 1) {
  ------------------
  |  Branch (2862:9): [True: 344, False: 7.20k]
  ------------------
 2863|    344|        if (wc) {
  ------------------
  |  Branch (2863:13): [True: 0, False: 344]
  ------------------
 2864|      0|            memset(&wc->masks.vlans[1], 0xff,
 2865|      0|                   sizeof(union flow_vlan_hdr) * (n - 1));
 2866|      0|        }
 2867|    344|        memmove(&flow->vlans[0], &flow->vlans[1],
 2868|    344|                sizeof(union flow_vlan_hdr) * (n - 1));
 2869|    344|    }
 2870|  7.54k|    if (n > 0) {
  ------------------
  |  Branch (2870:9): [True: 4.35k, False: 3.19k]
  ------------------
 2871|  4.35k|        memset(&flow->vlans[n - 1], 0, sizeof(union flow_vlan_hdr));
 2872|  4.35k|    }
 2873|  7.54k|}
flow_push_vlan_uninit:
 2877|  1.11k|{
 2878|  1.11k|    if (wc) {
  ------------------
  |  Branch (2878:9): [True: 0, False: 1.11k]
  ------------------
 2879|      0|        int n = flow_count_vlan_headers(flow);
 2880|      0|        if (n) {
  ------------------
  |  Branch (2880:13): [True: 0, False: 0]
  ------------------
 2881|      0|            memset(wc->masks.vlans, 0xff, sizeof(union flow_vlan_hdr) * n);
 2882|      0|        }
 2883|      0|    }
 2884|  1.11k|    memmove(&flow->vlans[1], &flow->vlans[0],
 2885|  1.11k|            sizeof(union flow_vlan_hdr) * (FLOW_MAX_VLAN_HEADERS - 1));
  ------------------
  |  |   75|  1.11k|#define FLOW_MAX_VLAN_HEADERS 2
  ------------------
 2886|  1.11k|    memset(&flow->vlans[0], 0, sizeof(union flow_vlan_hdr));
 2887|  1.11k|}
flow_set_mpls_label:
 3076|  2.46k|{
 3077|  2.46k|    set_mpls_lse_label(&flow->mpls_lse[idx], label);
 3078|  2.46k|}
flow_set_mpls_ttl:
 3084|    839|{
 3085|    839|    set_mpls_lse_ttl(&flow->mpls_lse[idx], ttl);
 3086|    839|}
flow_set_mpls_tc:
 3092|  1.36k|{
 3093|  1.36k|    set_mpls_lse_tc(&flow->mpls_lse[idx], tc);
 3094|  1.36k|}
flow_set_mpls_bos:
 3099|    298|{
 3100|    298|    set_mpls_lse_bos(&flow->mpls_lse[idx], bos);
 3101|    298|}
miniflow_init:
 3474|  93.5k|{
 3475|  93.5k|    uint64_t *dst_u64 = miniflow_values(dst);
 3476|  93.5k|    size_t idx;
 3477|       |
 3478|   320k|    FLOWMAP_FOR_EACH_INDEX(idx, dst->map) {
  ------------------
  |  |  337|  93.5k|    for (struct flowmap_aux aux__ = FLOWMAP_AUX_INITIALIZER(MAP);   \
  |  |  ------------------
  |  |  |  |  331|  93.5k|#define FLOWMAP_AUX_INITIALIZER(FLOWMAP) { .unit = 0, .map = (FLOWMAP) }
  |  |  ------------------
  |  |  338|   413k|         flowmap_next_index(&aux__, &(IDX));)
  |  |  ------------------
  |  |  |  Branch (338:10): [True: 320k, False: 93.5k]
  |  |  ------------------
  ------------------
 3479|   320k|        *dst_u64++ = flow_u64_value(src, idx);
 3480|   320k|    }
 3481|  93.5k|}
miniflow_map_init:
 3486|  46.7k|{
 3487|       |    /* Initialize map, counting the number of nonzero elements. */
 3488|  46.7k|    flowmap_init(&flow->map);
 3489|  4.35M|    for (size_t i = 0; i < FLOW_U64S; i++) {
  ------------------
  |  |  165|  4.35M|#define FLOW_U64S (sizeof(struct flow) / sizeof(uint64_t))
  ------------------
  |  Branch (3489:24): [True: 4.30M, False: 46.7k]
  ------------------
 3490|  4.30M|        if (flow_u64_value(src, i)) {
  ------------------
  |  Branch (3490:13): [True: 160k, False: 4.14M]
  ------------------
 3491|   160k|            flowmap_set(&flow->map, i, 1);
 3492|   160k|        }
 3493|  4.30M|    }
 3494|  46.7k|}
miniflow_alloc:
 3501|  46.7k|{
 3502|  46.7k|    size_t n_values = miniflow_n_values(src);
 3503|  46.7k|    size_t data_size = MINIFLOW_VALUES_SIZE(n_values);
  ------------------
  |  |  527|  46.7k|#define MINIFLOW_VALUES_SIZE(COUNT) ((COUNT) * sizeof(uint64_t))
  ------------------
 3504|  46.7k|    struct miniflow *dst = xmalloc(n * (sizeof *src + data_size));
 3505|  46.7k|    size_t i;
 3506|       |
 3507|  46.7k|    COVERAGE_INC(miniflow_malloc);
  ------------------
  |  |   83|  46.7k|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|  46.7k|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
 3508|       |
 3509|   140k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3509:17): [True: 93.5k, False: 46.7k]
  ------------------
 3510|  93.5k|        *dst = *src;   /* Copy maps. */
 3511|  93.5k|        dsts[i] = dst;
 3512|  93.5k|        dst += 1;      /* Just past the maps. */
 3513|  93.5k|        dst = (struct miniflow *)((uint64_t *)dst + n_values); /* Skip data. */
 3514|  93.5k|    }
 3515|  46.7k|    return data_size;
 3516|  46.7k|}
miniflow_expand:
 3547|   151k|{
 3548|   151k|    memset(dst, 0, sizeof *dst);
 3549|   151k|    flow_union_with_miniflow(dst, src);
 3550|   151k|}
minimask_init:
 3616|  46.7k|{
 3617|  46.7k|    miniflow_init(&mask->masks, &wc->masks);
 3618|  46.7k|}
minimask_expand:
 3660|  46.7k|{
 3661|  46.7k|    miniflow_expand(&mask->masks, &wc->masks);
 3662|  46.7k|}
flow.c:parse_ipv6_ext_hdrs__:
  491|  6.99k|{
  492|  6.99k|    if (frag_hdr) {
  ------------------
  |  Branch (492:9): [True: 0, False: 6.99k]
  ------------------
  493|      0|        *frag_hdr = NULL;
  494|      0|    }
  495|       |
  496|  6.99k|    if (rt_hdr) {
  ------------------
  |  Branch (496:9): [True: 0, False: 6.99k]
  ------------------
  497|      0|        *rt_hdr = NULL;
  498|      0|    }
  499|       |
  500|  11.8k|    while (1) {
  ------------------
  |  Branch (500:12): [True: 11.8k, Folded]
  ------------------
  501|  11.8k|        if (OVS_LIKELY((*nw_proto != IPPROTO_HOPOPTS)
  ------------------
  |  |   65|  75.4k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 6.09k, False: 5.73k]
  |  |  |  Branch (65:51): [True: 7.36k, False: 4.46k]
  |  |  |  Branch (65:51): [True: 7.04k, False: 318]
  |  |  |  Branch (65:51): [True: 7.01k, False: 24]
  |  |  |  Branch (65:51): [True: 6.71k, False: 305]
  |  |  |  Branch (65:51): [True: 6.09k, False: 620]
  |  |  ------------------
  ------------------
  502|  11.8k|                       && (*nw_proto != IPPROTO_ROUTING)
  503|  11.8k|                       && (*nw_proto != IPPROTO_DSTOPTS)
  504|  11.8k|                       && (*nw_proto != IPPROTO_AH)
  505|  11.8k|                       && (*nw_proto != IPPROTO_FRAGMENT))) {
  506|       |            /* It's either a terminal header (e.g., TCP, UDP) or one we
  507|       |             * don't understand.  In either case, we're done with the
  508|       |             * packet, so use it to fill in 'nw_proto'. */
  509|  6.09k|            return true;
  510|  6.09k|        }
  511|       |
  512|       |        /* We only verify that at least 8 bytes of the next header are
  513|       |         * available, but many of these headers are longer.  Ensure that
  514|       |         * accesses within the extension header are within those first 8
  515|       |         * bytes. All extension headers are required to be at least 8
  516|       |         * bytes. */
  517|  5.73k|        if (OVS_UNLIKELY(*sizep < 8)) {
  ------------------
  |  |   66|  5.73k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 212, False: 5.51k]
  |  |  ------------------
  ------------------
  518|    212|            return false;
  519|    212|        }
  520|       |
  521|  5.51k|        if ((*nw_proto == IPPROTO_HOPOPTS)
  ------------------
  |  Branch (521:13): [True: 4.39k, False: 1.12k]
  ------------------
  522|  4.41k|            || (*nw_proto == IPPROTO_DSTOPTS)) {
  ------------------
  |  Branch (522:16): [True: 22, False: 1.10k]
  ------------------
  523|       |            /* These headers, while different, have the fields we care
  524|       |             * about in the same location and with the same
  525|       |             * interpretation. */
  526|  4.41k|            const struct ip6_ext *ext_hdr = *datap;
  527|  4.41k|            *nw_proto = ext_hdr->ip6e_nxt;
  528|  4.41k|            if (OVS_UNLIKELY(!data_try_pull(datap, sizep,
  ------------------
  |  |   66|  4.41k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 500, False: 3.91k]
  |  |  ------------------
  ------------------
  529|  4.41k|                                            (ext_hdr->ip6e_len + 1) * 8))) {
  530|    500|                return false;
  531|    500|            }
  532|  4.41k|        } else if (*nw_proto == IPPROTO_ROUTING) {
  ------------------
  |  Branch (532:20): [True: 315, False: 791]
  ------------------
  533|    315|            const struct ip6_rt_hdr *tmp;
  534|    315|            if (!rt_hdr) {
  ------------------
  |  Branch (534:17): [True: 170, False: 145]
  ------------------
  535|    170|                rt_hdr = &tmp;
  536|    170|            }
  537|       |
  538|    315|            *rt_hdr = *datap;
  539|    315|            *nw_proto = (*rt_hdr)->nexthdr;
  540|    315|            if (OVS_UNLIKELY(!data_try_pull(datap, sizep,
  ------------------
  |  |   66|    315|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 119, False: 196]
  |  |  ------------------
  ------------------
  541|    315|                                            ((*rt_hdr)->hdrlen + 1) * 8))) {
  542|    119|                return false;
  543|    119|            }
  544|    791|        } else if (*nw_proto == IPPROTO_AH) {
  ------------------
  |  Branch (544:20): [True: 172, False: 619]
  ------------------
  545|       |            /* A standard AH definition isn't available, but the fields
  546|       |             * we care about are in the same location as the generic
  547|       |             * option header--only the header length is calculated
  548|       |             * differently. */
  549|    172|            const struct ip6_ext *ext_hdr = *datap;
  550|    172|            *nw_proto = ext_hdr->ip6e_nxt;
  551|    172|            if (OVS_UNLIKELY(!data_try_pull(datap, sizep,
  ------------------
  |  |   66|    172|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 23, False: 149]
  |  |  ------------------
  ------------------
  552|    172|                                            (ext_hdr->ip6e_len + 2) * 4))) {
  553|     23|                return false;
  554|     23|            }
  555|    619|        } else if (*nw_proto == IPPROTO_FRAGMENT) {
  ------------------
  |  Branch (555:20): [True: 619, False: 0]
  ------------------
  556|    619|            const struct ovs_16aligned_ip6_frag *tmp;
  557|    619|            if (!frag_hdr) {
  ------------------
  |  Branch (557:17): [True: 185, False: 434]
  ------------------
  558|    185|                frag_hdr = &tmp;
  559|    185|            }
  560|       |
  561|    619|            *frag_hdr = *datap;
  562|       |
  563|    619|            *nw_proto = (*frag_hdr)->ip6f_nxt;
  564|    619|            if (!data_try_pull(datap, sizep, sizeof **frag_hdr)) {
  ------------------
  |  Branch (564:17): [True: 0, False: 619]
  ------------------
  565|      0|                return false;
  566|      0|            }
  567|       |
  568|       |            /* We only process the first fragment. */
  569|    619|            if ((*frag_hdr)->ip6f_offlg != htons(0)) {
  ------------------
  |  Branch (569:17): [True: 225, False: 394]
  ------------------
  570|    225|                *nw_frag = FLOW_NW_FRAG_ANY;
  ------------------
  |  |   54|    225|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
  571|    225|                if (((*frag_hdr)->ip6f_offlg & IP6F_OFF_MASK) != htons(0)) {
  ------------------
  |  Branch (571:21): [True: 47, False: 178]
  ------------------
  572|     47|                    *nw_frag |= FLOW_NW_FRAG_LATER;
  ------------------
  |  |   55|     47|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  573|     47|                    *nw_proto = IPPROTO_FRAGMENT;
  574|       |                    return true;
  575|     47|                }
  576|    225|            }
  577|    619|        }
  578|  5.51k|    }
  579|  6.99k|}
flow.c:data_pull:
  110|  54.0k|{
  111|  54.0k|    const char *data = *datap;
  112|  54.0k|    *datap = data + size;
  113|  54.0k|    *sizep -= size;
  114|  54.0k|    return data;
  115|  54.0k|}
flow.c:parse_vlan:
  350|  15.0k|{
  351|  15.0k|    const ovs_be16 *eth_type;
  352|       |
  353|  15.0k|    data_pull(datap, sizep, ETH_ADDR_LEN * 2);
  ------------------
  |  |  205|  15.0k|#define ETH_ADDR_LEN           6
  ------------------
  354|       |
  355|  15.0k|    eth_type = *datap;
  356|       |
  357|  15.0k|    size_t n;
  358|  15.7k|    for (n = 0; eth_type_vlan(*eth_type) && n < flow_vlan_limit; n++) {
  ------------------
  |  Branch (358:17): [True: 861, False: 14.8k]
  |  Branch (358:45): [True: 655, False: 206]
  ------------------
  359|    655|        if (OVS_UNLIKELY(*sizep < sizeof(ovs_be32) + sizeof(ovs_be16))) {
  ------------------
  |  |   66|    655|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 14, False: 641]
  |  |  ------------------
  ------------------
  360|     14|            break;
  361|     14|        }
  362|       |
  363|    641|        memset(vlan_hdrs + n, 0, sizeof(union flow_vlan_hdr));
  364|    641|        const ovs_16aligned_be32 *qp = data_pull(datap, sizep, sizeof *qp);
  365|    641|        vlan_hdrs[n].qtag = get_16aligned_be32(qp);
  366|       |        vlan_hdrs[n].tci |= htons(VLAN_CFI);
  367|    641|        eth_type = *datap;
  368|    641|    }
  369|  15.0k|    return n;
  370|  15.0k|}
flow.c:parse_ethertype:
  374|  15.0k|{
  375|  15.0k|    const struct llc_snap_header *llc;
  376|  15.0k|    ovs_be16 proto;
  377|       |
  378|  15.0k|    proto = *(ovs_be16 *) data_pull(datap, sizep, sizeof proto);
  379|  15.0k|    if (OVS_LIKELY(ntohs(proto) >= ETH_TYPE_MIN)) {
  ------------------
  |  |   65|  15.0k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 13.4k, False: 1.65k]
  |  |  ------------------
  ------------------
  380|  13.4k|        return proto;
  381|  13.4k|    }
  382|       |
  383|  1.65k|    if (OVS_UNLIKELY(*sizep < sizeof *llc)) {
  ------------------
  |  |   66|  1.65k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 260, False: 1.39k]
  |  |  ------------------
  ------------------
  384|    260|        return htons(FLOW_DL_TYPE_NONE);
  385|    260|    }
  386|       |
  387|  1.39k|    llc = *datap;
  388|  1.39k|    if (OVS_UNLIKELY(llc->llc.llc_dsap != LLC_DSAP_SNAP
  ------------------
  |  |   66|  5.55k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 993, False: 403]
  |  |  |  Branch (66:53): [True: 902, False: 494]
  |  |  |  Branch (66:53): [True: 40, False: 454]
  |  |  |  Branch (66:53): [True: 34, False: 420]
  |  |  |  Branch (66:53): [True: 17, False: 403]
  |  |  ------------------
  ------------------
  389|  1.39k|                     || llc->llc.llc_ssap != LLC_SSAP_SNAP
  390|  1.39k|                     || llc->llc.llc_cntl != LLC_CNTL_SNAP
  391|  1.39k|                     || memcmp(llc->snap.snap_org, SNAP_ORG_ETHERNET,
  392|  1.39k|                               sizeof llc->snap.snap_org))) {
  393|    993|        return htons(FLOW_DL_TYPE_NONE);
  394|    993|    }
  395|       |
  396|    403|    data_pull(datap, sizep, sizeof *llc);
  397|       |
  398|    403|    if (OVS_LIKELY(ntohs(llc->snap.snap_type) >= ETH_TYPE_MIN)) {
  ------------------
  |  |   65|    403|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 335, False: 68]
  |  |  ------------------
  ------------------
  399|    335|        return llc->snap.snap_type;
  400|    335|    }
  401|       |
  402|     68|    return htons(FLOW_DL_TYPE_NONE);
  403|    403|}
flow.c:parse_mpls:
  334|    736|{
  335|    736|    const struct mpls_hdr *mh;
  336|    736|    int count = 0;
  337|       |
  338|  1.35k|    while ((mh = data_try_pull(datap, sizep, sizeof *mh))) {
  ------------------
  |  Branch (338:12): [True: 1.02k, False: 325]
  ------------------
  339|  1.02k|        count++;
  340|  1.02k|        if (mh->mpls_lse.lo & htons(1 << MPLS_BOS_SHIFT)) {
  ------------------
  |  Branch (340:13): [True: 411, False: 616]
  ------------------
  341|    411|            break;
  342|    411|        }
  343|  1.02k|    }
  344|    736|    return MIN(count, FLOW_MAX_MPLS_LABELS);
  ------------------
  |  |   91|    736|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 713, False: 23]
  |  |  ------------------
  ------------------
  345|    736|}
flow.c:ipv4_sanity_check:
  685|  3.00k|{
  686|  3.00k|    int ip_len;
  687|  3.00k|    uint16_t tot_len;
  688|       |
  689|  3.00k|    if (OVS_UNLIKELY(size < IP_HEADER_LEN)) {
  ------------------
  |  |   66|  3.00k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 76, False: 2.93k]
  |  |  ------------------
  ------------------
  690|     76|        COVERAGE_INC(miniflow_extract_ipv4_pkt_too_short);
  ------------------
  |  |   83|     76|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|     76|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  691|     76|        return false;
  692|     76|    }
  693|  2.93k|    ip_len = IP_IHL(nh->ip_ihl_ver) * 4;
  ------------------
  |  |  694|  2.93k|#define IP_IHL(ip_ihl_ver) ((ip_ihl_ver) & 15)
  ------------------
  694|       |
  695|  2.93k|    if (OVS_UNLIKELY(ip_len < IP_HEADER_LEN || size < ip_len)) {
  ------------------
  |  |   66|  5.82k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 81, False: 2.85k]
  |  |  |  Branch (66:53): [True: 40, False: 2.89k]
  |  |  |  Branch (66:53): [True: 41, False: 2.85k]
  |  |  ------------------
  ------------------
  696|     81|        COVERAGE_INC(miniflow_extract_ipv4_pkt_len_error);
  ------------------
  |  |   83|     81|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|     81|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  697|     81|        return false;
  698|     81|    }
  699|       |
  700|  2.85k|    tot_len = ntohs(nh->ip_tot_len);
  701|  2.85k|    if (OVS_UNLIKELY(tot_len > size || ip_len > tot_len ||
  ------------------
  |  |   66|  11.0k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 187, False: 2.66k]
  |  |  |  Branch (66:53): [True: 148, False: 2.70k]
  |  |  |  Branch (66:53): [True: 39, False: 2.66k]
  |  |  |  Branch (66:53): [True: 0, False: 2.66k]
  |  |  ------------------
  ------------------
  702|  2.85k|                size - tot_len > UINT16_MAX)) {
  703|    187|        COVERAGE_INC(miniflow_extract_ipv4_pkt_len_error);
  ------------------
  |  |   83|    187|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|    187|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  704|    187|        return false;
  705|    187|    }
  706|       |
  707|  2.66k|    *ip_lenp = ip_len;
  708|  2.66k|    *tot_lenp = tot_len;
  709|       |
  710|       |    return true;
  711|  2.85k|}
flow.c:ipv4_get_nw_frag:
  715|  2.66k|{
  716|  2.66k|    uint8_t nw_frag = 0;
  717|       |
  718|  2.66k|    if (OVS_UNLIKELY(IP_IS_FRAGMENT(nh->ip_frag_off))) {
  ------------------
  |  |   66|  2.66k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 131, False: 2.53k]
  |  |  ------------------
  ------------------
  719|    131|        nw_frag = FLOW_NW_FRAG_ANY;
  ------------------
  |  |   54|    131|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
  720|    131|        if (nh->ip_frag_off & htons(IP_FRAG_OFF_MASK)) {
  ------------------
  |  Branch (720:13): [True: 102, False: 29]
  ------------------
  721|    102|            nw_frag |= FLOW_NW_FRAG_LATER;
  ------------------
  |  |   55|    102|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  722|    102|        }
  723|    131|    }
  724|       |
  725|  2.66k|    return nw_frag;
  726|  2.66k|}
flow.c:ipv6_sanity_check:
  730|  7.83k|{
  731|  7.83k|    uint16_t plen;
  732|       |
  733|  7.83k|    if (OVS_UNLIKELY(size < sizeof *nh)) {
  ------------------
  |  |   66|  7.83k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 662, False: 7.17k]
  |  |  ------------------
  ------------------
  734|    662|        COVERAGE_INC(miniflow_extract_ipv6_pkt_too_short);
  ------------------
  |  |   83|    662|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|    662|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  735|    662|        return false;
  736|    662|    }
  737|       |
  738|  7.17k|    plen = ntohs(nh->ip6_plen);
  739|  7.17k|    if (OVS_UNLIKELY(plen + IPV6_HEADER_LEN > size)) {
  ------------------
  |  |   66|  7.17k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 182, False: 6.99k]
  |  |  ------------------
  ------------------
  740|    182|        COVERAGE_INC(miniflow_extract_ipv6_pkt_len_error);
  ------------------
  |  |   83|    182|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|    182|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  741|    182|        return false;
  742|    182|    }
  743|       |
  744|  6.99k|    if (OVS_UNLIKELY(size - (plen + IPV6_HEADER_LEN) > UINT16_MAX)) {
  ------------------
  |  |   66|  6.99k|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 6.99k]
  |  |  ------------------
  ------------------
  745|      0|        COVERAGE_INC(miniflow_extract_ipv6_pkt_len_error);
  ------------------
  |  |   83|      0|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|      0|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  746|      0|        return false;
  747|      0|    }
  748|       |
  749|  6.99k|    return true;
  750|  6.99k|}
flow.c:data_try_pull:
  122|  8.83k|{
  123|  8.83k|    return OVS_LIKELY(*sizep >= size) ? data_pull(datap, sizep, size) : NULL;
  ------------------
  |  |   65|  8.83k|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 7.47k, False: 1.36k]
  |  |  ------------------
  ------------------
  124|  8.83k|}
flow.c:parse_icmpv6:
  422|    649|{
  423|    649|    if (!icmp6_is_nd(icmp6)) {
  ------------------
  |  Branch (423:9): [True: 130, False: 519]
  ------------------
  424|    130|        return false;
  425|    130|    }
  426|       |
  427|    519|    arp_buf[0] = eth_addr_zero;
  428|    519|    arp_buf[1] = eth_addr_zero;
  429|    519|    *opt_type = 0;
  430|       |
  431|    519|    *rso_flags = get_16aligned_be32(icmp6->icmp6_data.be32);
  432|       |
  433|    519|    *nd_target = data_try_pull(datap, sizep, sizeof **nd_target);
  434|    519|    if (OVS_UNLIKELY(!*nd_target)) {
  ------------------
  |  |   66|    519|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 136, False: 383]
  |  |  ------------------
  ------------------
  435|    136|        return true;
  436|    136|    }
  437|       |
  438|    894|    while (*sizep >= 8) {
  ------------------
  |  Branch (438:12): [True: 789, False: 105]
  ------------------
  439|       |        /* The minimum size of an option is 8 bytes, which also is
  440|       |         * the size of Ethernet link-layer options. */
  441|    789|        const struct ovs_nd_lla_opt *lla_opt = *datap;
  442|    789|        int opt_len = lla_opt->len * ND_LLA_OPT_LEN;
  ------------------
  |  | 1044|    789|#define ND_LLA_OPT_LEN 8
  ------------------
  443|       |
  444|    789|        if (!opt_len || opt_len > *sizep) {
  ------------------
  |  Branch (444:13): [True: 99, False: 690]
  |  Branch (444:25): [True: 98, False: 592]
  ------------------
  445|    197|            return true;
  446|    197|        }
  447|       |
  448|       |        /* Store the link layer address if the appropriate option is
  449|       |         * provided.  It is considered an error if the same link
  450|       |         * layer option is specified twice. */
  451|    592|        if (lla_opt->type == ND_OPT_SOURCE_LINKADDR && opt_len == 8) {
  ------------------
  |  Branch (451:13): [True: 133, False: 459]
  |  Branch (451:56): [True: 122, False: 11]
  ------------------
  452|    122|            if (OVS_LIKELY(eth_addr_is_zero(arp_buf[0]))) {
  ------------------
  |  |   65|    122|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 108, False: 14]
  |  |  ------------------
  ------------------
  453|    108|                arp_buf[0] = lla_opt->mac;
  454|       |                /* We use only first option type present in ND packet. */
  455|    108|                if (*opt_type == 0) {
  ------------------
  |  Branch (455:21): [True: 39, False: 69]
  ------------------
  456|     39|                    *opt_type = lla_opt->type;
  457|     39|                }
  458|    108|            } else {
  459|     14|                goto invalid;
  460|     14|            }
  461|    470|        } else if (lla_opt->type == ND_OPT_TARGET_LINKADDR && opt_len == 8) {
  ------------------
  |  Branch (461:20): [True: 232, False: 238]
  |  Branch (461:63): [True: 222, False: 10]
  ------------------
  462|    222|            if (OVS_LIKELY(eth_addr_is_zero(arp_buf[1]))) {
  ------------------
  |  |   65|    222|#define OVS_LIKELY(CONDITION) __builtin_expect(!!(CONDITION), 1)
  |  |  ------------------
  |  |  |  Branch (65:31): [True: 155, False: 67]
  |  |  ------------------
  ------------------
  463|    155|                arp_buf[1] = lla_opt->mac;
  464|       |                /* We use only first option type present in ND packet. */
  465|    155|                if (*opt_type == 0) {
  ------------------
  |  Branch (465:21): [True: 133, False: 22]
  ------------------
  466|    133|                    *opt_type = lla_opt->type;
  467|    133|                }
  468|    155|            } else {
  469|     67|                goto invalid;
  470|     67|            }
  471|    222|        }
  472|       |
  473|    511|        if (OVS_UNLIKELY(!data_try_pull(datap, sizep, opt_len))) {
  ------------------
  |  |   66|    511|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 511]
  |  |  ------------------
  ------------------
  474|      0|            return true;
  475|      0|        }
  476|    511|    }
  477|    105|    return true;
  478|       |
  479|     81|invalid:
  480|     81|    *nd_target = NULL;
  481|     81|    arp_buf[0] = eth_addr_zero;
  482|     81|    arp_buf[1] = eth_addr_zero;
  483|       |    return true;
  484|    383|}
flow.c:icmp6_is_nd:
  407|    649|{
  408|    649|    return (icmp6->icmp6_base.icmp6_code == 0 &&
  ------------------
  |  Branch (408:13): [True: 586, False: 63]
  ------------------
  409|    586|            (icmp6->icmp6_base.icmp6_type == ND_NEIGHBOR_SOLICIT ||
  ------------------
  |  Branch (409:14): [True: 447, False: 139]
  ------------------
  410|    139|             icmp6->icmp6_base.icmp6_type == ND_NEIGHBOR_ADVERT));
  ------------------
  |  Branch (410:14): [True: 72, False: 67]
  ------------------
  411|    649|}
flow.c:put_u16_masked:
 1615|  48.4k|{
 1616|  48.4k|    if (!mask) {
  ------------------
  |  Branch (1616:9): [True: 0, False: 48.4k]
  ------------------
 1617|      0|        ds_put_char(s, '*');
 1618|  48.4k|    } else {
 1619|  48.4k|        if (value > 9) {
  ------------------
  |  Branch (1619:13): [True: 29.9k, False: 18.4k]
  ------------------
 1620|  29.9k|            ds_put_format(s, "0x%"PRIx16, value);
 1621|  29.9k|        } else {
 1622|  18.4k|            ds_put_format(s, "%"PRIu16, value);
 1623|  18.4k|        }
 1624|       |
 1625|  48.4k|        if (mask != UINT16_MAX) {
  ------------------
  |  Branch (1625:13): [True: 0, False: 48.4k]
  ------------------
 1626|       |            ds_put_format(s, "/0x%"PRIx16, mask);
 1627|      0|        }
 1628|  48.4k|    }
 1629|  48.4k|}

ofp-queue.c:ofp_to_u16:
  196|  30.6k|{
  197|  30.6k|    return (OVS_FORCE uint16_t) ofp_port;
  198|  30.6k|}
ofp-queue.c:u16_to_ofp:
  214|  17.9k|{
  215|  17.9k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  17.9k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  17.9k|}
flow.c:miniflow_values:
  530|   151k|{
  531|   151k|    return (uint64_t *)(mf + 1);
  532|   151k|}
flow.c:flowmap_set:
  385|   349k|{
  386|   349k|    map_t n_bits_mask = (MAP_1 << n_bits) - 1;
  ------------------
  |  |  271|   349k|#define MAP_1 (map_t)1
  ------------------
  387|   349k|    size_t unit = idx / MAP_T_BITS;
  ------------------
  |  |  270|   349k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  388|       |
  389|   349k|    idx %= MAP_T_BITS;
  ------------------
  |  |  270|   349k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  390|       |
  391|   349k|    fm->bits[unit] |= n_bits_mask << idx;
  392|       |    /* The seemingly unnecessary bounds check on 'unit' is a workaround for a
  393|       |     * false-positive array out of bounds error by GCC 4.9. */
  394|   349k|    if (unit + 1 < FLOWMAP_UNITS && idx + n_bits > MAP_T_BITS) {
  ------------------
  |  |  280|   349k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  ------------------
  |  |  |  |  300|   699k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
                  if (unit + 1 < FLOWMAP_UNITS && idx + n_bits > MAP_T_BITS) {
  ------------------
  |  |  270|   174k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  |  Branch (394:9): [True: 174k, False: 175k]
  |  Branch (394:37): [True: 0, False: 174k]
  ------------------
  395|       |        /* 'MAP_T_BITS - idx' bits were set on 'unit', set the remaining
  396|       |         * bits from the next unit. */
  397|       |        fm->bits[unit + 1] |= n_bits_mask >> (MAP_T_BITS - idx);
  ------------------
  |  |  270|      0|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  398|      0|    }
  399|   349k|}
flow.c:odp_to_u32:
  202|  58.3k|{
  203|  58.3k|    return (OVS_FORCE uint32_t) odp_port;
  204|  58.3k|}
flow.c:is_ct_valid:
  954|  58.3k|{
  955|       |    /* Matches are checked with 'mask' and without 'wc'. */
  956|  58.3k|    if (mask && !wc) {
  ------------------
  |  Branch (956:9): [True: 58.3k, False: 0]
  |  Branch (956:17): [True: 58.3k, False: 0]
  ------------------
  957|       |        /* Must match at least one of the bits that implies a valid
  958|       |         * conntrack entry, or an explicit not-invalid. */
  959|  58.3k|        return flow->ct_state & (CS_NEW | CS_ESTABLISHED | CS_RELATED
  ------------------
  |  Branch (959:16): [True: 0, False: 58.3k]
  ------------------
  960|  58.3k|                                 | CS_REPLY_DIR | CS_SRC_NAT | CS_DST_NAT)
  961|  58.3k|            || (flow->ct_state & CS_TRACKED
  ------------------
  |  Branch (961:17): [True: 0, False: 58.3k]
  ------------------
  962|      0|                && mask->masks.ct_state & CS_INVALID
  ------------------
  |  Branch (962:20): [True: 0, False: 0]
  ------------------
  963|      0|                && !(flow->ct_state & CS_INVALID));
  ------------------
  |  Branch (963:20): [True: 0, False: 0]
  ------------------
  964|  58.3k|    }
  965|       |    /* Else we are checking a fully extracted flow, where valid CT state always
  966|       |     * has either 'new', 'established', or 'reply_dir' bit set. */
  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  968|      0|    if (wc) {
  ------------------
  |  Branch (968:9): [True: 0, False: 0]
  ------------------
  969|      0|        wc->masks.ct_state |= CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  970|      0|    }
  971|      0|    return flow->ct_state & CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  972|  58.3k|}
flow.c:is_nd:
 1119|  7.83k|{
 1120|  7.83k|    if (is_icmpv6(flow, wc)) {
  ------------------
  |  Branch (1120:9): [True: 620, False: 7.21k]
  ------------------
 1121|    620|        if (wc) {
  ------------------
  |  Branch (1121:13): [True: 620, False: 0]
  ------------------
 1122|    620|            memset(&wc->masks.tp_dst, 0xff, sizeof wc->masks.tp_dst);
 1123|    620|        }
 1124|    620|        if (flow->tp_dst != htons(0)) {
  ------------------
  |  Branch (1124:13): [True: 52, False: 568]
  ------------------
 1125|     52|            return false;
 1126|     52|        }
 1127|       |
 1128|    568|        if (wc) {
  ------------------
  |  Branch (1128:13): [True: 568, False: 0]
  ------------------
 1129|    568|            memset(&wc->masks.tp_src, 0xff, sizeof wc->masks.tp_src);
 1130|    568|        }
 1131|    568|        return (flow->tp_src == htons(ND_NEIGHBOR_SOLICIT) ||
  ------------------
  |  Branch (1131:17): [True: 446, False: 122]
  ------------------
 1132|    122|                flow->tp_src == htons(ND_NEIGHBOR_ADVERT));
  ------------------
  |  Branch (1132:17): [True: 29, False: 93]
  ------------------
 1133|    620|    }
 1134|  7.21k|    return false;
 1135|  7.83k|}
flow.c:is_icmpv6:
 1107|  7.83k|{
 1108|  7.83k|    if (get_dl_type(flow) == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1108:9): [True: 7.20k, False: 636]
  ------------------
 1109|  7.20k|        if (wc) {
  ------------------
  |  Branch (1109:13): [True: 7.20k, False: 0]
  ------------------
 1110|  7.20k|            memset(&wc->masks.nw_proto, 0xff, sizeof wc->masks.nw_proto);
 1111|  7.20k|        }
 1112|  7.20k|        return flow->nw_proto == IPPROTO_ICMPV6;
 1113|  7.20k|    }
 1114|    636|    return false;
 1115|  7.83k|}
flow.c:get_dl_type:
 1036|  7.83k|{
 1037|  7.83k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (1037:9): [True: 7.02k, False: 817]
  ------------------
 1038|  7.02k|        return flow->dl_type;
 1039|  7.02k|    } else if (pt_ns(flow->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (1039:16): [True: 181, False: 636]
  ------------------
 1040|    181|        return pt_ns_type_be(flow->packet_type);
 1041|    636|    } else {
 1042|       |        return htons(FLOW_DL_TYPE_NONE);
 1043|    636|    }
 1044|  7.83k|}
flow.c:flowmap_init:
  343|  46.7k|{
  344|  46.7k|    memset(fm, 0, sizeof *fm);
  345|  46.7k|}
flow.c:flow_equal:
  184|  66.5k|{
  185|  66.5k|    return !flow_compare_3way(a, b);
  186|  66.5k|}
flow.c:flow_compare_3way:
  178|  66.5k|{
  179|  66.5k|    return memcmp(a, b, sizeof *a);
  180|  66.5k|}
flow.c:flow_set_xreg:
  149|  8.62k|{
  150|  8.62k|    flow->regs[idx * 2] = value >> 32;
  151|  8.62k|    flow->regs[idx * 2 + 1] = value;
  152|  8.62k|}
flow.c:flow_set_xxreg:
  169|  4.95k|{
  170|  4.95k|    flow->regs[idx * 4] = value.u64.hi >> 32;
  171|  4.95k|    flow->regs[idx * 4 + 1] = value.u64.hi;
  172|  4.95k|    flow->regs[idx * 4 + 2] = value.u64.lo >> 32;
  173|  4.95k|    flow->regs[idx * 4 + 3] = value.u64.lo;
  174|  4.95k|}
flow.c:miniflow_get_values:
  535|   151k|{
  536|   151k|    return (const uint64_t *)(mf + 1);
  537|   151k|}
flow.c:flowmap_next_index:
  479|   413k|{
  480|   507k|    for (;;) {
  481|   507k|        map_t *map = &aux->map.bits[aux->unit];
  482|   507k|        if (*map) {
  ------------------
  |  Branch (482:13): [True: 320k, False: 187k]
  ------------------
  483|   320k|            *idx = aux->unit * MAP_T_BITS + raw_ctz(*map);
  ------------------
  |  |  270|   320k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  484|   320k|            *map = zero_rightmost_1bit(*map);
  485|   320k|            return true;
  486|   320k|        }
  487|   187k|        if (++aux->unit >= FLOWMAP_UNITS) {
  ------------------
  |  |  280|   187k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  ------------------
  |  |  |  |  300|   187k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (487:13): [True: 93.5k, False: 93.5k]
  ------------------
  488|       |            return false;
  489|  93.5k|        }
  490|   187k|    }
  491|   413k|}
flow.c:flow_u64_value:
  557|  4.62M|{
  558|  4.62M|    return ((uint64_t *)flow)[index];
  559|  4.62M|}
flow.c:miniflow_n_values:
  568|  46.7k|{
  569|  46.7k|    return flowmap_n_1bits(flow->map);
  570|  46.7k|}
flow.c:flowmap_n_1bits:
  462|  46.7k|{
  463|  46.7k|    unsigned int n_1bits = 0;
  464|  46.7k|    size_t unit;
  465|       |
  466|  93.5k|    FLOWMAP_FOR_EACH_UNIT (unit) {
  ------------------
  |  |  320|   140k|    for ((UNIT) = 0; (UNIT) < FLOWMAP_UNITS; (UNIT)++)
  |  |  ------------------
  |  |  |  |  280|   140k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|   140k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (320:22): [True: 93.5k, False: 46.7k]
  |  |  ------------------
  ------------------
  467|  93.5k|        n_1bits += count_1bits(fm.bits[unit]);
  468|  93.5k|    }
  469|  46.7k|    return n_1bits;
  470|  46.7k|}
flow.c:flow_union_with_miniflow:
  938|   151k|{
  939|   151k|    flow_union_with_miniflow_subset(dst, src, src->map);
  940|   151k|}
flow.c:flow_union_with_miniflow_subset:
  919|   151k|{
  920|   151k|    uint64_t *dst_u64 = (uint64_t *) dst;
  921|   151k|    const uint64_t *p = miniflow_get_values(src);
  922|   151k|    map_t map;
  923|       |
  924|   303k|    FLOWMAP_FOR_EACH_MAP (map, subset) {
  ------------------
  |  |  324|   151k|    for (size_t unit__ = 0;                                       \
  |  |  325|   455k|         unit__ < FLOWMAP_UNITS && ((MAP) = (FLOWMAP).bits[unit__], true); \
  |  |  ------------------
  |  |  |  |  280|   455k|#define FLOWMAP_UNITS DIV_ROUND_UP(FLOW_U64S, MAP_T_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|   911k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (325:10): [True: 303k, False: 151k]
  |  |  |  Branch (325:36): [True: 303k, False: 0]
  |  |  ------------------
  |  |  326|   303k|         unit__++)
  ------------------
  925|   303k|        size_t idx;
  926|       |
  927|   550k|        MAP_FOR_EACH_INDEX(idx, map) {
  ------------------
  |  |  278|   303k|    ULLONG_FOR_EACH_1(IDX, MAP)
  |  |  ------------------
  |  |  |  |  285|   303k|    for (uint64_t map__ = (MAP);                    \
  |  |  |  |  286|   854k|         map__ && (((IDX) = raw_ctz(map__)), true); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (286:10): [True: 550k, False: 303k]
  |  |  |  |  |  Branch (286:19): [True: 550k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  287|   550k|         map__ = zero_rightmost_1bit(map__))
  |  |  ------------------
  ------------------
  928|   550k|            dst_u64[idx] |= *p++;
  929|   550k|        }
  930|       |        dst_u64 += MAP_T_BITS;
  ------------------
  |  |  270|   303k|#define MAP_T_BITS (sizeof(map_t) * CHAR_BIT)
  ------------------
  931|   303k|    }
  932|   151k|}
match.c:flow_set_xreg:
  149|  8.62k|{
  150|  8.62k|    flow->regs[idx * 2] = value >> 32;
  151|  8.62k|    flow->regs[idx * 2 + 1] = value;
  152|  8.62k|}
match.c:flow_set_xxreg:
  169|  4.95k|{
  170|  4.95k|    flow->regs[idx * 4] = value.u64.hi >> 32;
  171|  4.95k|    flow->regs[idx * 4 + 1] = value.u64.hi;
  172|  4.95k|    flow->regs[idx * 4 + 2] = value.u64.lo >> 32;
  173|  4.95k|    flow->regs[idx * 4 + 3] = value.u64.lo;
  174|  4.95k|}
match.c:u16_to_ofp:
  214|   129k|{
  215|   129k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|   129k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|   129k|}
match.c:is_ip_any:
 1059|   207k|{
 1060|   207k|    return dl_type_is_ip_any(get_dl_type(flow));
 1061|   207k|}
match.c:get_dl_type:
 1036|   207k|{
 1037|   207k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (1037:9): [True: 183k, False: 24.0k]
  ------------------
 1038|   183k|        return flow->dl_type;
 1039|   183k|    } else if (pt_ns(flow->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (1039:16): [True: 16.5k, False: 7.56k]
  ------------------
 1040|  16.5k|        return pt_ns_type_be(flow->packet_type);
 1041|  16.5k|    } else {
 1042|       |        return htons(FLOW_DL_TYPE_NONE);
 1043|  7.56k|    }
 1044|   207k|}
meta-flow.c:flow_get_xreg:
  143|  10.9k|{
  144|  10.9k|    return ((uint64_t) flow->regs[idx * 2] << 32) | flow->regs[idx * 2 + 1];
  145|  10.9k|}
meta-flow.c:flow_get_xxreg:
  156|  5.38k|{
  157|  5.38k|    ovs_u128 value;
  158|       |
  159|  5.38k|    value.u64.hi = (uint64_t) flow->regs[idx * 4] << 32;
  160|  5.38k|    value.u64.hi |= flow->regs[idx * 4 + 1];
  161|  5.38k|    value.u64.lo = (uint64_t) flow->regs[idx * 4 + 2] << 32;
  162|  5.38k|    value.u64.lo |= flow->regs[idx * 4 + 3];
  163|       |
  164|  5.38k|    return value;
  165|  5.38k|}
meta-flow.c:get_dl_type:
 1036|  78.0k|{
 1037|  78.0k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (1037:9): [True: 60.2k, False: 17.8k]
  ------------------
 1038|  60.2k|        return flow->dl_type;
 1039|  60.2k|    } else if (pt_ns(flow->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (1039:16): [True: 16.2k, False: 1.58k]
  ------------------
 1040|  16.2k|        return pt_ns_type_be(flow->packet_type);
 1041|  16.2k|    } else {
 1042|       |        return htons(FLOW_DL_TYPE_NONE);
 1043|  1.58k|    }
 1044|  78.0k|}
meta-flow.c:is_ethernet:
 1028|  1.36k|{
 1029|  1.36k|    if (wc) {
  ------------------
  |  Branch (1029:9): [True: 0, False: 1.36k]
  ------------------
 1030|      0|        WC_MASK_FIELD(wc, packet_type);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1031|      0|    }
 1032|       |    return flow->packet_type == htonl(PT_ETH);
 1033|  1.36k|}
meta-flow.c:is_vlan:
 1048|    992|{
 1049|    992|    if (!is_ethernet(flow, wc)) {
  ------------------
  |  Branch (1049:9): [True: 70, False: 922]
  ------------------
 1050|     70|        return false;
 1051|     70|    }
 1052|    922|    if (wc) {
  ------------------
  |  Branch (1052:9): [True: 0, False: 922]
  ------------------
 1053|      0|        WC_MASK_FIELD_MASK(wc, vlans[0].tci, htons(VLAN_CFI));
  ------------------
  |  |  203|      0|    ((WC)->masks.FIELD |= (MASK))
  ------------------
 1054|      0|    }
 1055|       |    return (flow->vlans[0].tci & htons(VLAN_CFI)) != 0;
 1056|    992|}
meta-flow.c:is_ct_valid:
  954|  2.03k|{
  955|       |    /* Matches are checked with 'mask' and without 'wc'. */
  956|  2.03k|    if (mask && !wc) {
  ------------------
  |  Branch (956:9): [True: 2.03k, False: 0]
  |  Branch (956:17): [True: 2.03k, False: 0]
  ------------------
  957|       |        /* Must match at least one of the bits that implies a valid
  958|       |         * conntrack entry, or an explicit not-invalid. */
  959|  2.03k|        return flow->ct_state & (CS_NEW | CS_ESTABLISHED | CS_RELATED
  ------------------
  |  Branch (959:16): [True: 898, False: 1.13k]
  ------------------
  960|  2.03k|                                 | CS_REPLY_DIR | CS_SRC_NAT | CS_DST_NAT)
  961|  1.13k|            || (flow->ct_state & CS_TRACKED
  ------------------
  |  Branch (961:17): [True: 734, False: 405]
  ------------------
  962|    734|                && mask->masks.ct_state & CS_INVALID
  ------------------
  |  Branch (962:20): [True: 724, False: 10]
  ------------------
  963|    724|                && !(flow->ct_state & CS_INVALID));
  ------------------
  |  Branch (963:20): [True: 717, False: 7]
  ------------------
  964|  2.03k|    }
  965|       |    /* Else we are checking a fully extracted flow, where valid CT state always
  966|       |     * has either 'new', 'established', or 'reply_dir' bit set. */
  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  968|      0|    if (wc) {
  ------------------
  |  Branch (968:9): [True: 0, False: 0]
  ------------------
  969|      0|        wc->masks.ct_state |= CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  970|      0|    }
  971|      0|    return flow->ct_state & CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  972|  2.03k|}
meta-flow.c:is_tcp:
 1077|    516|{
 1078|       |    return is_ip_proto(flow, IPPROTO_TCP, wc);
 1079|    516|}
meta-flow.c:is_ip_proto:
 1065|  2.69k|{
 1066|  2.69k|    if (is_ip_any(flow)) {
  ------------------
  |  Branch (1066:9): [True: 1.78k, False: 914]
  ------------------
 1067|  1.78k|        if (wc) {
  ------------------
  |  Branch (1067:13): [True: 0, False: 1.78k]
  ------------------
 1068|      0|            WC_MASK_FIELD(wc, nw_proto);
  ------------------
  |  |  201|      0|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
 1069|      0|        }
 1070|  1.78k|        return flow->nw_proto == ip_proto;
 1071|  1.78k|    }
 1072|    914|    return false;
 1073|  2.69k|}
meta-flow.c:is_udp:
 1083|  1.48k|{
 1084|       |    return is_ip_proto(flow, IPPROTO_UDP, wc);
 1085|  1.48k|}
meta-flow.c:is_sctp:
 1089|    698|{
 1090|       |    return is_ip_proto(flow, IPPROTO_SCTP, wc);
 1091|    698|}
meta-flow.c:is_icmpv4:
 1095|    994|{
 1096|    994|    if (get_dl_type(flow) == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1096:9): [True: 706, False: 288]
  ------------------
 1097|    706|        if (wc) {
  ------------------
  |  Branch (1097:13): [True: 0, False: 706]
  ------------------
 1098|      0|            memset(&wc->masks.nw_proto, 0xff, sizeof wc->masks.nw_proto);
 1099|      0|        }
 1100|    706|        return flow->nw_proto == IPPROTO_ICMP;
 1101|    706|    }
 1102|    288|    return false;
 1103|    994|}
meta-flow.c:is_icmpv6:
 1107|  4.37k|{
 1108|  4.37k|    if (get_dl_type(flow) == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1108:9): [True: 3.23k, False: 1.13k]
  ------------------
 1109|  3.23k|        if (wc) {
  ------------------
  |  Branch (1109:13): [True: 0, False: 3.23k]
  ------------------
 1110|      0|            memset(&wc->masks.nw_proto, 0xff, sizeof wc->masks.nw_proto);
 1111|      0|        }
 1112|  3.23k|        return flow->nw_proto == IPPROTO_ICMPV6;
 1113|  3.23k|    }
 1114|  1.13k|    return false;
 1115|  4.37k|}
meta-flow.c:is_nd:
 1119|  2.70k|{
 1120|  2.70k|    if (is_icmpv6(flow, wc)) {
  ------------------
  |  Branch (1120:9): [True: 1.05k, False: 1.65k]
  ------------------
 1121|  1.05k|        if (wc) {
  ------------------
  |  Branch (1121:13): [True: 0, False: 1.05k]
  ------------------
 1122|      0|            memset(&wc->masks.tp_dst, 0xff, sizeof wc->masks.tp_dst);
 1123|      0|        }
 1124|  1.05k|        if (flow->tp_dst != htons(0)) {
  ------------------
  |  Branch (1124:13): [True: 82, False: 973]
  ------------------
 1125|     82|            return false;
 1126|     82|        }
 1127|       |
 1128|    973|        if (wc) {
  ------------------
  |  Branch (1128:13): [True: 0, False: 973]
  ------------------
 1129|      0|            memset(&wc->masks.tp_src, 0xff, sizeof wc->masks.tp_src);
 1130|      0|        }
 1131|    973|        return (flow->tp_src == htons(ND_NEIGHBOR_SOLICIT) ||
  ------------------
  |  Branch (1131:17): [True: 677, False: 296]
  ------------------
 1132|    296|                flow->tp_src == htons(ND_NEIGHBOR_ADVERT));
  ------------------
  |  Branch (1132:17): [True: 273, False: 23]
  ------------------
 1133|  1.05k|    }
 1134|  1.65k|    return false;
 1135|  2.70k|}
meta-flow.c:ofp_to_u16:
  196|    262|{
  197|    262|    return (OVS_FORCE uint16_t) ofp_port;
  198|    262|}
meta-flow.c:u16_to_ofp:
  214|  2.16k|{
  215|  2.16k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  2.16k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  2.16k|}
meta-flow.c:is_ip_any:
 1059|  6.81k|{
 1060|  6.81k|    return dl_type_is_ip_any(get_dl_type(flow));
 1061|  6.81k|}
ofp-actions.c:u16_to_ofp:
  214|  40.0k|{
  215|  40.0k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  40.0k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  40.0k|}
ofp-actions.c:ofp_to_u16:
  196|  66.5k|{
  197|  66.5k|    return (OVS_FORCE uint16_t) ofp_port;
  198|  66.5k|}
ofp-actions.c:get_dl_type:
 1036|  61.3k|{
 1037|  61.3k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (1037:9): [True: 44.9k, False: 16.3k]
  ------------------
 1038|  44.9k|        return flow->dl_type;
 1039|  44.9k|    } else if (pt_ns(flow->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (1039:16): [True: 9.01k, False: 7.35k]
  ------------------
 1040|  9.01k|        return pt_ns_type_be(flow->packet_type);
 1041|  9.01k|    } else {
 1042|       |        return htons(FLOW_DL_TYPE_NONE);
 1043|  7.35k|    }
 1044|  61.3k|}
ofp-actions.c:is_ip_any:
 1059|  27.1k|{
 1060|  27.1k|    return dl_type_is_ip_any(get_dl_type(flow));
 1061|  27.1k|}
ofp-actions.c:is_ct_valid:
  954|     14|{
  955|       |    /* Matches are checked with 'mask' and without 'wc'. */
  956|     14|    if (mask && !wc) {
  ------------------
  |  Branch (956:9): [True: 14, False: 0]
  |  Branch (956:17): [True: 14, False: 0]
  ------------------
  957|       |        /* Must match at least one of the bits that implies a valid
  958|       |         * conntrack entry, or an explicit not-invalid. */
  959|     14|        return flow->ct_state & (CS_NEW | CS_ESTABLISHED | CS_RELATED
  ------------------
  |  Branch (959:16): [True: 0, False: 14]
  ------------------
  960|     14|                                 | CS_REPLY_DIR | CS_SRC_NAT | CS_DST_NAT)
  961|     14|            || (flow->ct_state & CS_TRACKED
  ------------------
  |  Branch (961:17): [True: 0, False: 14]
  ------------------
  962|      0|                && mask->masks.ct_state & CS_INVALID
  ------------------
  |  Branch (962:20): [True: 0, False: 0]
  ------------------
  963|      0|                && !(flow->ct_state & CS_INVALID));
  ------------------
  |  Branch (963:20): [True: 0, False: 0]
  ------------------
  964|     14|    }
  965|       |    /* Else we are checking a fully extracted flow, where valid CT state always
  966|       |     * has either 'new', 'established', or 'reply_dir' bit set. */
  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  968|      0|    if (wc) {
  ------------------
  |  Branch (968:9): [True: 0, False: 0]
  ------------------
  969|      0|        wc->masks.ct_state |= CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  970|      0|    }
  971|      0|    return flow->ct_state & CS_VALID_MASK;
  ------------------
  |  |  967|      0|#define CS_VALID_MASK (CS_NEW | CS_ESTABLISHED | CS_REPLY_DIR)
  ------------------
  972|     14|}
ofp-flow.c:u16_to_ofp:
  214|  71.4k|{
  215|  71.4k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  71.4k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  71.4k|}
ofp-match.c:u16_to_ofp:
  214|   130k|{
  215|   130k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|   130k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|   130k|}
ofp-monitor.c:u16_to_ofp:
  214|  1.88k|{
  215|  1.88k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  1.88k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  1.88k|}
ofp-packet.c:u16_to_ofp:
  214|  72.2k|{
  215|  72.2k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|  72.2k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|  72.2k|}
ofp-packet.c:u32_to_odp:
  220|    303|{
  221|    303|    return ODP_PORT_C(port);
  ------------------
  |  |  158|    303|#define ODP_PORT_C(X) ((OVS_FORCE odp_port_t) (X))
  ------------------
  222|    303|}
ofp-packet.c:ofp_to_u16:
  196|  51.4k|{
  197|  51.4k|    return (OVS_FORCE uint16_t) ofp_port;
  198|  51.4k|}
ofp-port.c:ofp_to_u16:
  196|   571k|{
  197|   571k|    return (OVS_FORCE uint16_t) ofp_port;
  198|   571k|}
ofp-port.c:u16_to_ofp:
  214|   187k|{
  215|   187k|    return OFP_PORT_C(port);
  ------------------
  |  |  157|   187k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  ------------------
  216|   187k|}
ofp-port.c:ofp11_to_u32:
  208|  56.9k|{
  209|  56.9k|    return (OVS_FORCE uint32_t) ofp11_port;
  210|  56.9k|}

hash_bytes:
   31|    237|{
   32|    237|    const uint8_t *p = p_;
   33|    237|    size_t orig_n = n;
   34|    237|    uint32_t hash;
   35|       |
   36|    237|    hash = basis;
   37|  1.13k|    while (n >= 4) {
  ------------------
  |  Branch (37:12): [True: 895, False: 237]
  ------------------
   38|    895|        hash = hash_add(hash,
   39|    895|                        get_unaligned_u32(ALIGNED_CAST(const uint32_t *, p)));
  ------------------
  |  |  434|    895|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
   40|    895|        n -= 4;
   41|    895|        p += 4;
   42|    895|    }
   43|       |
   44|    237|    if (n) {
  ------------------
  |  Branch (44:9): [True: 192, False: 45]
  ------------------
   45|    192|        uint32_t tmp = 0;
   46|       |
   47|    192|        memcpy(&tmp, p, n);
   48|    192|        hash = hash_add(hash, tmp);
   49|    192|    }
   50|       |
   51|    237|    return hash_finish(hash, orig_n);
   52|    237|}

flow.c:hash_add64:
  113|  12.3k|{
  114|  12.3k|    return hash_add(hash_add(hash, data), data >> 32);
  115|  12.3k|}
flow.c:hash_add:
  108|  38.1k|{
  109|  38.1k|    return mhash_add(hash, data);
  110|  38.1k|}
flow.c:mhash_add:
   77|  38.1k|{
   78|  38.1k|    hash = mhash_add__(hash, data);
   79|  38.1k|    hash = hash_rot(hash, 13);
   80|  38.1k|    return hash * 5 + 0xe6546b64;
   81|  38.1k|}
flow.c:mhash_add__:
   64|  38.1k|{
   65|       |    /* zero-valued 'data' will not change the 'hash' value */
   66|  38.1k|    if (!data) {
  ------------------
  |  Branch (66:9): [True: 9.99k, False: 28.1k]
  ------------------
   67|  9.99k|        return hash;
   68|  9.99k|    }
   69|       |
   70|  28.1k|    data *= 0xcc9e2d51;
   71|  28.1k|    data = hash_rot(data, 15);
   72|  28.1k|    data *= 0x1b873593;
   73|  28.1k|    return hash ^ data;
   74|  38.1k|}
flow.c:hash_rot:
   31|  66.2k|{
   32|  66.2k|    return (x << k) | (x >> (32 - k));
   33|  66.2k|}
flow.c:hash_finish:
  118|  4.89k|{
  119|  4.89k|    return mhash_finish(hash ^ final);
  120|  4.89k|}
flow.c:mhash_finish:
   84|  4.89k|{
   85|  4.89k|    hash ^= hash >> 16;
   86|  4.89k|    hash *= 0x85ebca6b;
   87|  4.89k|    hash ^= hash >> 13;
   88|  4.89k|    hash *= 0xc2b2ae35;
   89|  4.89k|    hash ^= hash >> 16;
   90|  4.89k|    return hash;
   91|  4.89k|}
hash.c:hash_finish:
  118|    237|{
  119|    237|    return mhash_finish(hash ^ final);
  120|    237|}
hash.c:mhash_finish:
   84|    237|{
   85|    237|    hash ^= hash >> 16;
   86|    237|    hash *= 0x85ebca6b;
   87|    237|    hash ^= hash >> 13;
   88|    237|    hash *= 0xc2b2ae35;
   89|    237|    hash ^= hash >> 16;
   90|    237|    return hash;
   91|    237|}
hash.c:hash_add:
  108|  1.08k|{
  109|  1.08k|    return mhash_add(hash, data);
  110|  1.08k|}
hash.c:mhash_add:
   77|  1.08k|{
   78|  1.08k|    hash = mhash_add__(hash, data);
   79|  1.08k|    hash = hash_rot(hash, 13);
   80|  1.08k|    return hash * 5 + 0xe6546b64;
   81|  1.08k|}
hash.c:mhash_add__:
   64|  1.08k|{
   65|       |    /* zero-valued 'data' will not change the 'hash' value */
   66|  1.08k|    if (!data) {
  ------------------
  |  Branch (66:9): [True: 0, False: 1.08k]
  ------------------
   67|      0|        return hash;
   68|      0|    }
   69|       |
   70|  1.08k|    data *= 0xcc9e2d51;
   71|  1.08k|    data = hash_rot(data, 15);
   72|  1.08k|    data *= 0x1b873593;
   73|  1.08k|    return hash ^ data;
   74|  1.08k|}
hash.c:hash_rot:
   31|  2.17k|{
   32|  2.17k|    return (x << k) | (x >> (32 - k));
   33|  2.17k|}
nx-match.c:hash_string:
  403|    237|{
  404|    237|    return hash_bytes(s, strlen(s), basis);
  405|    237|}
nx-match.c:hash_uint64:
  164|  10.6M|{
  165|  10.6M|    return hash_uint64_basis(x, 0);
  166|  10.6M|}
nx-match.c:hash_uint64_basis:
  159|  10.6M|{
  160|  10.6M|    return hash_finish(hash_add64(basis, x), 8);
  161|  10.6M|}
nx-match.c:hash_finish:
  118|  10.6M|{
  119|  10.6M|    return mhash_finish(hash ^ final);
  120|  10.6M|}
nx-match.c:mhash_finish:
   84|  10.6M|{
   85|  10.6M|    hash ^= hash >> 16;
   86|  10.6M|    hash *= 0x85ebca6b;
   87|  10.6M|    hash ^= hash >> 13;
   88|  10.6M|    hash *= 0xc2b2ae35;
   89|  10.6M|    hash ^= hash >> 16;
   90|  10.6M|    return hash;
   91|  10.6M|}
nx-match.c:hash_add64:
  113|  10.6M|{
  114|  10.6M|    return hash_add(hash_add(hash, data), data >> 32);
  115|  10.6M|}
nx-match.c:hash_add:
  108|  21.2M|{
  109|  21.2M|    return mhash_add(hash, data);
  110|  21.2M|}
nx-match.c:mhash_add:
   77|  21.2M|{
   78|  21.2M|    hash = mhash_add__(hash, data);
   79|  21.2M|    hash = hash_rot(hash, 13);
   80|  21.2M|    return hash * 5 + 0xe6546b64;
   81|  21.2M|}
nx-match.c:mhash_add__:
   64|  21.2M|{
   65|       |    /* zero-valued 'data' will not change the 'hash' value */
   66|  21.2M|    if (!data) {
  ------------------
  |  Branch (66:9): [True: 8.90M, False: 12.3M]
  ------------------
   67|  8.90M|        return hash;
   68|  8.90M|    }
   69|       |
   70|  12.3M|    data *= 0xcc9e2d51;
   71|  12.3M|    data = hash_rot(data, 15);
   72|  12.3M|    data *= 0x1b873593;
   73|  12.3M|    return hash ^ data;
   74|  21.2M|}
nx-match.c:hash_rot:
   31|  33.6M|{
   32|  33.6M|    return (x << k) | (x >> (32 - k));
   33|  33.6M|}
ofp-actions.c:hash_2words:
  153|   332k|{
  154|   332k|    return hash_finish(hash_add(hash_add(x, 0), y), 8);
  155|   332k|}
ofp-actions.c:hash_finish:
  118|   332k|{
  119|   332k|    return mhash_finish(hash ^ final);
  120|   332k|}
ofp-actions.c:mhash_finish:
   84|   332k|{
   85|   332k|    hash ^= hash >> 16;
   86|   332k|    hash *= 0x85ebca6b;
   87|   332k|    hash ^= hash >> 13;
   88|   332k|    hash *= 0xc2b2ae35;
   89|   332k|    hash ^= hash >> 16;
   90|   332k|    return hash;
   91|   332k|}
ofp-actions.c:hash_add:
  108|   665k|{
  109|   665k|    return mhash_add(hash, data);
  110|   665k|}
ofp-actions.c:mhash_add:
   77|   665k|{
   78|   665k|    hash = mhash_add__(hash, data);
   79|   665k|    hash = hash_rot(hash, 13);
   80|   665k|    return hash * 5 + 0xe6546b64;
   81|   665k|}
ofp-actions.c:mhash_add__:
   64|   665k|{
   65|       |    /* zero-valued 'data' will not change the 'hash' value */
   66|   665k|    if (!data) {
  ------------------
  |  Branch (66:9): [True: 332k, False: 332k]
  ------------------
   67|   332k|        return hash;
   68|   332k|    }
   69|       |
   70|   332k|    data *= 0xcc9e2d51;
   71|   332k|    data = hash_rot(data, 15);
   72|   332k|    data *= 0x1b873593;
   73|   332k|    return hash ^ data;
   74|   665k|}
ofp-actions.c:hash_rot:
   31|   998k|{
   32|   998k|    return (x << k) | (x >> (32 - k));
   33|   998k|}
ofp-msgs.c:hash_finish:
  118|  3.89M|{
  119|  3.89M|    return mhash_finish(hash ^ final);
  120|  3.89M|}
ofp-msgs.c:mhash_finish:
   84|  3.89M|{
   85|  3.89M|    hash ^= hash >> 16;
   86|  3.89M|    hash *= 0x85ebca6b;
   87|  3.89M|    hash ^= hash >> 13;
   88|  3.89M|    hash *= 0xc2b2ae35;
   89|  3.89M|    hash ^= hash >> 16;
   90|  3.89M|    return hash;
   91|  3.89M|}
ofp-msgs.c:hash_add:
  108|  11.6M|{
  109|  11.6M|    return mhash_add(hash, data);
  110|  11.6M|}
ofp-msgs.c:mhash_add:
   77|  11.6M|{
   78|  11.6M|    hash = mhash_add__(hash, data);
   79|  11.6M|    hash = hash_rot(hash, 13);
   80|  11.6M|    return hash * 5 + 0xe6546b64;
   81|  11.6M|}
ofp-msgs.c:mhash_add__:
   64|  11.6M|{
   65|       |    /* zero-valued 'data' will not change the 'hash' value */
   66|  11.6M|    if (!data) {
  ------------------
  |  Branch (66:9): [True: 7.43M, False: 4.25M]
  ------------------
   67|  7.43M|        return hash;
   68|  7.43M|    }
   69|       |
   70|  4.25M|    data *= 0xcc9e2d51;
   71|  4.25M|    data = hash_rot(data, 15);
   72|  4.25M|    data *= 0x1b873593;
   73|  4.25M|    return hash ^ data;
   74|  11.6M|}
ofp-msgs.c:hash_rot:
   31|  15.9M|{
   32|  15.9M|    return (x << k) | (x >> (32 - k));
   33|  15.9M|}
ofp-msgs.c:hash_bytes32:
  392|  3.89M|{
  393|  3.89M|    return hash_words(p, n_bytes / 4, basis);
  394|  3.89M|}
ofp-msgs.c:hash_words:
  357|  3.89M|{
  358|  3.89M|    if (__builtin_constant_p(n_words)) {
  ------------------
  |  Branch (358:9): [True: 3.89M, False: 0]
  ------------------
  359|  3.89M|        return hash_words_inline(p, n_words, basis);
  360|  3.89M|    } else {
  361|      0|        return hash_words__(p, n_words, basis);
  362|      0|    }
  363|  3.89M|}
ofp-msgs.c:hash_words_inline:
  129|  3.89M|{
  130|  3.89M|    return hash_finish(hash_add_words(basis, p, n_words), n_words * 4);
  131|  3.89M|}
ofp-msgs.c:hash_add_words:
  428|  3.89M|{
  429|  15.5M|    for (size_t i = 0; i < n_words; i++) {
  ------------------
  |  Branch (429:24): [True: 11.6M, False: 3.89M]
  ------------------
  430|  11.6M|        hash = hash_add(hash, p[i]);
  431|  11.6M|    }
  432|  3.89M|    return hash;
  433|  3.89M|}

hmap_init:
   36|     32|{
   37|     32|    hmap->buckets = &hmap->one;
   38|       |    hmap->one = NULL;
   39|     32|    hmap->mask = 0;
   40|     32|    hmap->n = 0;
   41|     32|}
hmap_destroy:
   47|     28|{
   48|     28|    if (hmap && hmap->buckets != &hmap->one) {
  ------------------
  |  Branch (48:9): [True: 28, False: 0]
  |  Branch (48:17): [True: 24, False: 4]
  ------------------
   49|     24|        free(hmap->buckets);
   50|     24|    }
   51|     28|}
hmap_swap:
   72|     28|{
   73|     28|    struct hmap tmp = *a;
   74|     28|    *a = *b;
   75|     28|    *b = tmp;
   76|     28|    hmap_moved(a);
   77|     28|    hmap_moved(b);
   78|     28|}
hmap_moved:
   84|     56|{
   85|     56|    if (!hmap->mask) {
  ------------------
  |  Branch (85:9): [True: 4, False: 52]
  ------------------
   86|      4|        hmap->buckets = &hmap->one;
   87|      4|    }
   88|     56|}
hmap_expand_at:
  171|     28|{
  172|     28|    size_t new_mask = calc_mask(hmap->n);
  173|     28|    if (new_mask > hmap->mask) {
  ------------------
  |  Branch (173:9): [True: 28, False: 0]
  ------------------
  174|     28|        COVERAGE_INC(hmap_expand);
  ------------------
  |  |   83|     28|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|     28|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  175|     28|        resize(hmap, new_mask, where);
  176|     28|    }
  177|     28|}
hmap.c:calc_mask:
  146|     28|{
  147|     28|    size_t mask = capacity / 2;
  148|     28|    mask |= mask >> 1;
  149|     28|    mask |= mask >> 2;
  150|     28|    mask |= mask >> 4;
  151|     28|    mask |= mask >> 8;
  152|     28|    mask |= mask >> 16;
  153|     28|#if SIZE_MAX > UINT32_MAX
  154|     28|    mask |= mask >> 32;
  155|     28|#endif
  156|       |
  157|       |    /* If we need to dynamically allocate buckets we might as well allocate at
  158|       |     * least 4 of them. */
  159|     28|    mask |= (mask & 1) << 1;
  160|       |
  161|     28|    return mask;
  162|     28|}
hmap.c:resize:
   92|     28|{
   93|     28|    struct hmap tmp;
   94|     28|    size_t i;
   95|       |
   96|     28|    ovs_assert(is_pow2(new_mask + 1));
  ------------------
  |  |   62|     28|#define ovs_assert ovs_ignore
  ------------------
   97|       |
   98|     28|    hmap_init(&tmp);
   99|     28|    if (new_mask) {
  ------------------
  |  Branch (99:9): [True: 28, False: 0]
  ------------------
  100|     28|        tmp.buckets = xmalloc(sizeof *tmp.buckets * (new_mask + 1));
  101|     28|        tmp.mask = new_mask;
  102|  3.08k|        for (i = 0; i <= tmp.mask; i++) {
  ------------------
  |  Branch (102:21): [True: 3.05k, False: 28]
  ------------------
  103|  3.05k|            tmp.buckets[i] = NULL;
  104|  3.05k|        }
  105|     28|    }
  106|     28|    int n_big_buckets = 0;
  107|     28|    int biggest_count = 0;
  108|     28|    int n_biggest_buckets = 0;
  109|  1.55k|    for (i = 0; i <= hmap->mask; i++) {
  ------------------
  |  Branch (109:17): [True: 1.52k, False: 28]
  ------------------
  110|  1.52k|        struct hmap_node *node, *next;
  111|  1.52k|        int count = 0;
  112|  4.57k|        for (node = hmap->buckets[i]; node; node = next) {
  ------------------
  |  Branch (112:39): [True: 3.04k, False: 1.52k]
  ------------------
  113|  3.04k|            next = node->next;
  114|  3.04k|            hmap_insert_fast(&tmp, node, node->hash);
  115|  3.04k|            count++;
  116|  3.04k|        }
  117|  1.52k|        if (count > 5) {
  ------------------
  |  Branch (117:13): [True: 17, False: 1.50k]
  ------------------
  118|     17|            n_big_buckets++;
  119|     17|            if (count > biggest_count) {
  ------------------
  |  Branch (119:17): [True: 7, False: 10]
  ------------------
  120|      7|                biggest_count = count;
  121|      7|                n_biggest_buckets = 1;
  122|     10|            } else if (count == biggest_count) {
  ------------------
  |  Branch (122:24): [True: 2, False: 8]
  ------------------
  123|      2|                n_biggest_buckets++;
  124|      2|            }
  125|     17|        }
  126|  1.52k|    }
  127|     28|    hmap_swap(hmap, &tmp);
  128|     28|    hmap_destroy(&tmp);
  129|       |
  130|     28|    if (n_big_buckets) {
  ------------------
  |  Branch (130:9): [True: 6, False: 22]
  ------------------
  131|      6|        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(10, 10);
  ------------------
  |  |  110|      6|        {                                                                 \
  |  |  111|      6|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|     24|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|      6|            0,                              /* first_dropped */           \
  |  |  113|      6|            0,                              /* last_dropped */            \
  |  |  114|      6|            0,                              /* n_dropped */               \
  |  |  115|      6|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|      6|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|      6|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|      6|        }
  ------------------
  132|      6|        COVERAGE_INC(hmap_pathological);
  ------------------
  |  |   83|      6|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|      6|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  133|      6|        VLOG_DBG_RL(&rl, "%s: %d bucket%s with 6+ nodes, "
  ------------------
  |  |  226|      6|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      6|    do {                                                                \
  |  |  |  |  288|      6|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      6|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (290:56): [True: 0, False: 0]
  |  |  |  |  |  Branch (290:56): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|      6|                    "including %d bucket%s with %d nodes "
  135|      6|                    "(%"PRIuSIZE" nodes total across %"PRIuSIZE" buckets)",
  136|      6|                    where,
  137|      6|                    n_big_buckets, n_big_buckets > 1 ? "s" : "",
  138|      6|                    n_biggest_buckets, n_biggest_buckets > 1 ? "s" : "",
  139|      6|                    biggest_count,
  140|      6|                    hmap->n, hmap->mask + 1);
  141|      6|    }
  142|     28|}

learn_check:
   42|  19.7k|{
   43|  19.7k|    const struct ofpact_learn_spec *spec;
   44|  19.7k|    struct match dst_match;
   45|       |
   46|  19.7k|    match_init_catchall(&dst_match);
   47|  39.1k|    OFPACT_LEARN_SPEC_FOR_EACH (spec, learn) {
  ------------------
  |  |  900|  19.7k|    for ((SPEC) = (LEARN)->specs;               \
  |  |  901|  57.1k|         (SPEC) < ofpact_learn_spec_end(LEARN); \
  |  |  ------------------
  |  |  |  Branch (901:10): [True: 39.1k, False: 17.9k]
  |  |  ------------------
  |  |  902|  37.3k|         (SPEC) = ofpact_learn_spec_next(SPEC))
  ------------------
   48|  39.1k|        enum ofperr error;
   49|       |
   50|       |        /* Check the source. */
   51|  39.1k|        if (spec->src_type == NX_LEARN_SRC_FIELD) {
  ------------------
  |  |  821|  39.1k|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
  |  Branch (51:13): [True: 1.15k, False: 37.9k]
  ------------------
   52|  1.15k|            error = mf_check_src(&spec->src, src_match);
   53|  1.15k|            if (error) {
  ------------------
  |  Branch (53:17): [True: 209, False: 946]
  ------------------
   54|    209|                return error;
   55|    209|            }
   56|  1.15k|        }
   57|       |
   58|       |        /* Check the destination. */
   59|  38.9k|        switch (spec->dst_type) {
  ------------------
  |  Branch (59:17): [True: 38.9k, False: 0]
  ------------------
   60|  36.5k|        case NX_LEARN_DST_MATCH:
  ------------------
  |  |  825|  36.5k|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (60:9): [True: 36.5k, False: 2.37k]
  ------------------
   61|  36.5k|            error = mf_check_src(&spec->dst, &dst_match);
   62|  36.5k|            if (error) {
  ------------------
  |  Branch (62:17): [True: 1.48k, False: 35.0k]
  ------------------
   63|  1.48k|                return error;
   64|  1.48k|            }
   65|  35.0k|            if (spec->src_type & NX_LEARN_SRC_IMMEDIATE) {
  ------------------
  |  |  822|  35.0k|#define NX_LEARN_SRC_IMMEDIATE (1 << 13) /* Copy from immediate value. */
  ------------------
  |  Branch (65:17): [True: 35.0k, False: 47]
  ------------------
   66|  35.0k|                mf_write_subfield_value(&spec->dst,
   67|  35.0k|                                        ofpact_learn_spec_imm(spec),
   68|  35.0k|                                        &dst_match);
   69|  35.0k|            }
   70|  35.0k|            break;
   71|       |
   72|  1.47k|        case NX_LEARN_DST_LOAD:
  ------------------
  |  |  826|  1.47k|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (72:9): [True: 1.47k, False: 37.4k]
  ------------------
   73|  1.47k|            error = mf_check_dst(&spec->dst, &dst_match);
   74|  1.47k|            if (error) {
  ------------------
  |  Branch (74:17): [True: 64, False: 1.40k]
  ------------------
   75|     64|                return error;
   76|     64|            }
   77|  1.40k|            break;
   78|       |
   79|  1.40k|        case NX_LEARN_DST_OUTPUT:
  ------------------
  |  |  827|    899|#define NX_LEARN_DST_OUTPUT    (2 << 11) /* Add OFPAT_OUTPUT action. */
  ------------------
  |  Branch (79:9): [True: 899, False: 38.0k]
  ------------------
   80|       |            /* Nothing to do. */
   81|    899|            break;
   82|  38.9k|        }
   83|  38.9k|    }
   84|  17.9k|    return 0;
   85|  19.7k|}
learn_format:
  494|  18.3k|{
  495|  18.3k|    const struct ofpact_learn_spec *spec;
  496|  18.3k|    struct match match;
  497|       |
  498|  18.3k|    match_init_catchall(&match);
  499|       |
  500|  18.3k|    ds_put_format(s, "%slearn(%s%stable=%s",
  501|  18.3k|                  colors.learn, colors.end, colors.special, colors.end);
  502|  18.3k|    ofputil_format_table(learn->table_id, table_map, s);
  503|  18.3k|    if (learn->idle_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  18.3k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (503:9): [True: 17.4k, False: 935]
  ------------------
  504|  17.4k|        ds_put_format(s, ",%sidle_timeout=%s%"PRIu16,
  505|  17.4k|                      colors.param, colors.end, learn->idle_timeout);
  506|  17.4k|    }
  507|  18.3k|    if (learn->hard_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  18.3k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (507:9): [True: 17.4k, False: 941]
  ------------------
  508|  17.4k|        ds_put_format(s, ",%shard_timeout=%s%"PRIu16,
  509|  17.4k|                      colors.param, colors.end, learn->hard_timeout);
  510|  17.4k|    }
  511|  18.3k|    if (learn->fin_idle_timeout) {
  ------------------
  |  Branch (511:9): [True: 17.3k, False: 999]
  ------------------
  512|  17.3k|        ds_put_format(s, ",%sfin_idle_timeout=%s%"PRIu16,
  513|  17.3k|                      colors.param, colors.end, learn->fin_idle_timeout);
  514|  17.3k|    }
  515|  18.3k|    if (learn->fin_hard_timeout) {
  ------------------
  |  Branch (515:9): [True: 16.9k, False: 1.39k]
  ------------------
  516|  16.9k|        ds_put_format(s, "%s,fin_hard_timeout=%s%"PRIu16,
  517|  16.9k|                      colors.param, colors.end, learn->fin_hard_timeout);
  518|  16.9k|    }
  519|  18.3k|    if (learn->priority != OFP_DEFAULT_PRIORITY) {
  ------------------
  |  |  138|  18.3k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  |  Branch (519:9): [True: 16.4k, False: 1.89k]
  ------------------
  520|  16.4k|        ds_put_format(s, "%s,priority=%s%"PRIu16,
  521|  16.4k|                      colors.special, colors.end, learn->priority);
  522|  16.4k|    }
  523|  18.3k|    if (learn->flags & NX_LEARN_F_SEND_FLOW_REM) {
  ------------------
  |  Branch (523:9): [True: 5.46k, False: 12.9k]
  ------------------
  524|  5.46k|        ds_put_format(s, ",%ssend_flow_rem%s", colors.value, colors.end);
  525|  5.46k|    }
  526|  18.3k|    if (learn->flags & NX_LEARN_F_DELETE_LEARNED) {
  ------------------
  |  Branch (526:9): [True: 4.17k, False: 14.1k]
  ------------------
  527|  4.17k|        ds_put_format(s, ",%sdelete_learned%s", colors.value, colors.end);
  528|  4.17k|    }
  529|  18.3k|    if (learn->cookie != 0) {
  ------------------
  |  Branch (529:9): [True: 17.9k, False: 431]
  ------------------
  530|  17.9k|        ds_put_format(s, ",%scookie=%s%#"PRIx64,
  531|  17.9k|                      colors.param, colors.end, ntohll(learn->cookie));
  532|  17.9k|    }
  533|  18.3k|    if (learn->limit != 0) {
  ------------------
  |  Branch (533:9): [True: 114, False: 18.2k]
  ------------------
  534|    114|        ds_put_format(s, ",%slimit=%s%"PRIu32,
  535|    114|                      colors.param, colors.end, learn->limit);
  536|    114|    }
  537|  18.3k|    if (learn->flags & NX_LEARN_F_WRITE_RESULT) {
  ------------------
  |  Branch (537:9): [True: 67, False: 18.3k]
  ------------------
  538|     67|        ds_put_format(s, ",%sresult_dst=%s", colors.param, colors.end);
  539|     67|        mf_format_subfield(&learn->result_dst, s);
  540|     67|    }
  541|       |
  542|  36.1k|    OFPACT_LEARN_SPEC_FOR_EACH (spec, learn) {
  ------------------
  |  |  900|  18.3k|    for ((SPEC) = (LEARN)->specs;               \
  |  |  901|  54.5k|         (SPEC) < ofpact_learn_spec_end(LEARN); \
  |  |  ------------------
  |  |  |  Branch (901:10): [True: 36.1k, False: 18.3k]
  |  |  ------------------
  |  |  902|  36.1k|         (SPEC) = ofpact_learn_spec_next(SPEC))
  ------------------
  543|  36.1k|        unsigned int n_bytes = DIV_ROUND_UP(spec->n_bits, 8);
  ------------------
  |  |  300|  36.1k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  ------------------
  544|  36.1k|        ds_put_char(s, ',');
  545|       |
  546|  36.1k|        switch (spec->src_type | spec->dst_type) {
  ------------------
  |  Branch (546:17): [True: 36.1k, False: 0]
  ------------------
  547|  33.8k|        case NX_LEARN_SRC_IMMEDIATE | NX_LEARN_DST_MATCH: {
  ------------------
  |  |  822|  33.8k|#define NX_LEARN_SRC_IMMEDIATE (1 << 13) /* Copy from immediate value. */
  ------------------
                      case NX_LEARN_SRC_IMMEDIATE | NX_LEARN_DST_MATCH: {
  ------------------
  |  |  825|  33.8k|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (547:9): [True: 33.8k, False: 2.34k]
  ------------------
  548|  33.8k|            if (spec->dst.ofs == 0
  ------------------
  |  Branch (548:17): [True: 11.4k, False: 22.3k]
  ------------------
  549|  11.4k|                && spec->dst.n_bits == spec->dst.field->n_bits) {
  ------------------
  |  Branch (549:20): [True: 2.53k, False: 8.95k]
  ------------------
  550|  2.53k|                union mf_value value;
  551|       |
  552|  2.53k|                memset(&value, 0, sizeof value);
  553|  2.53k|                memcpy(&value.b[spec->dst.field->n_bytes - n_bytes],
  554|  2.53k|                       ofpact_learn_spec_imm(spec), n_bytes);
  555|  2.53k|                ds_put_format(s, "%s%s=%s", colors.param,
  556|  2.53k|                              spec->dst.field->name, colors.end);
  557|  2.53k|                mf_format(spec->dst.field, &value, NULL, port_map, s);
  558|  31.3k|            } else {
  559|  31.3k|                ds_put_format(s, "%s", colors.param);
  560|  31.3k|                mf_format_subfield(&spec->dst, s);
  561|  31.3k|                ds_put_format(s, "=%s", colors.end);
  562|  31.3k|                ds_put_hex(s, ofpact_learn_spec_imm(spec), n_bytes);
  563|  31.3k|            }
  564|  33.8k|            break;
  565|      0|        }
  566|    151|        case NX_LEARN_SRC_FIELD | NX_LEARN_DST_MATCH:
  ------------------
  |  |  821|    151|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
                      case NX_LEARN_SRC_FIELD | NX_LEARN_DST_MATCH:
  ------------------
  |  |  825|    151|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (566:9): [True: 151, False: 36.0k]
  ------------------
  567|    151|            ds_put_format(s, "%s", colors.param);
  568|    151|            mf_format_subfield(&spec->dst, s);
  569|    151|            ds_put_format(s, "%s", colors.end);
  570|    151|            if (spec->src.field != spec->dst.field ||
  ------------------
  |  Branch (570:17): [True: 47, False: 104]
  ------------------
  571|    104|                spec->src.ofs != spec->dst.ofs) {
  ------------------
  |  Branch (571:17): [True: 37, False: 67]
  ------------------
  572|     84|                ds_put_format(s, "%s=%s", colors.param, colors.end);
  573|     84|                mf_format_subfield(&spec->src, s);
  574|     84|            }
  575|    151|            break;
  576|       |
  577|  1.47k|        case NX_LEARN_SRC_IMMEDIATE | NX_LEARN_DST_LOAD:
  ------------------
  |  |  822|  1.47k|#define NX_LEARN_SRC_IMMEDIATE (1 << 13) /* Copy from immediate value. */
  ------------------
                      case NX_LEARN_SRC_IMMEDIATE | NX_LEARN_DST_LOAD:
  ------------------
  |  |  826|  1.47k|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (577:9): [True: 1.47k, False: 34.7k]
  ------------------
  578|  1.47k|            ds_put_format(s, "%sload:%s", colors.special, colors.end);
  579|  1.47k|            ds_put_hex(s, ofpact_learn_spec_imm(spec), n_bytes);
  580|  1.47k|            ds_put_format(s, "%s->%s", colors.special, colors.end);
  581|  1.47k|            mf_format_subfield(&spec->dst, s);
  582|  1.47k|            break;
  583|       |
  584|     67|        case NX_LEARN_SRC_FIELD | NX_LEARN_DST_LOAD:
  ------------------
  |  |  821|     67|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
                      case NX_LEARN_SRC_FIELD | NX_LEARN_DST_LOAD:
  ------------------
  |  |  826|     67|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (584:9): [True: 67, False: 36.1k]
  ------------------
  585|     67|            ds_put_format(s, "%sload:%s", colors.special, colors.end);
  586|     67|            mf_format_subfield(&spec->src, s);
  587|     67|            ds_put_format(s, "%s->%s", colors.special, colors.end);
  588|     67|            mf_format_subfield(&spec->dst, s);
  589|     67|            break;
  590|       |
  591|    643|        case NX_LEARN_SRC_FIELD | NX_LEARN_DST_OUTPUT:
  ------------------
  |  |  821|    643|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
                      case NX_LEARN_SRC_FIELD | NX_LEARN_DST_OUTPUT:
  ------------------
  |  |  827|    643|#define NX_LEARN_DST_OUTPUT    (2 << 11) /* Add OFPAT_OUTPUT action. */
  ------------------
  |  Branch (591:9): [True: 643, False: 35.5k]
  ------------------
  592|    643|            ds_put_format(s, "%soutput:%s", colors.special, colors.end);
  593|    643|            mf_format_subfield(&spec->src, s);
  594|    643|            break;
  595|  36.1k|        }
  596|  36.1k|    }
  597|  18.3k|    ds_put_format(s, "%s)%s", colors.learn, colors.end);
  598|  18.3k|}

match_wc_init:
   47|  58.3k|{
   48|  58.3k|    match->flow = *flow;
   49|       |
   50|  58.3k|    flow_wildcards_init_for_packet(&match->wc, flow);
   51|  58.3k|    WC_MASK_FIELD(&match->wc, regs);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
   52|  58.3k|    WC_MASK_FIELD(&match->wc, metadata);
  ------------------
  |  |  201|  58.3k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
   53|       |
   54|  58.3k|    memset(&match->tun_md, 0, sizeof match->tun_md);
   55|  58.3k|}
match_init_catchall:
   60|   423k|{
   61|   423k|    memset(&match->flow, 0, sizeof match->flow);
   62|   423k|    flow_wildcards_init_catchall(&match->wc);
   63|   423k|    memset(&match->tun_md, 0, sizeof match->tun_md);
   64|   423k|}
match_zero_wildcarded_fields:
   76|   130k|{
   77|   130k|    flow_zero_wildcards(&match->flow, &match->wc);
   78|   130k|}
match_set_dp_hash:
   82|     40|{
   83|       |    match_set_dp_hash_masked(match, value, UINT32_MAX);
   84|     40|}
match_set_dp_hash_masked:
   88|    596|{
   89|    596|    match->wc.masks.dp_hash = mask;
   90|    596|    match->flow.dp_hash = value & mask;
   91|    596|}
match_set_recirc_id:
   95|    177|{
   96|    177|    match->flow.recirc_id = value;
   97|       |    match->wc.masks.recirc_id = UINT32_MAX;
   98|    177|}
match_set_conj_id:
  102|     41|{
  103|     41|    match->flow.conj_id = value;
  104|       |    match->wc.masks.conj_id = UINT32_MAX;
  105|     41|}
match_set_reg:
  109|  5.32k|{
  110|       |    match_set_reg_masked(match, reg_idx, value, UINT32_MAX);
  111|  5.32k|}
match_set_reg_masked:
  116|  15.2k|{
  117|  15.2k|    ovs_assert(reg_idx < FLOW_N_REGS);
  ------------------
  |  |   62|  15.2k|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(reg_idx < FLOW_N_REGS);
  ------------------
  |  |   33|  15.2k|#define FLOW_N_REGS 32
  ------------------
  118|  15.2k|    flow_wildcards_set_reg_mask(&match->wc, reg_idx, mask);
  119|  15.2k|    match->flow.regs[reg_idx] = value & mask;
  120|  15.2k|}
match_set_xreg:
  124|  1.65k|{
  125|       |    match_set_xreg_masked(match, xreg_idx, value, UINT64_MAX);
  126|  1.65k|}
match_set_xreg_masked:
  131|  8.62k|{
  132|  8.62k|    ovs_assert(xreg_idx < FLOW_N_XREGS);
  ------------------
  |  |   62|  8.62k|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(xreg_idx < FLOW_N_XREGS);
  ------------------
  |  |   41|  8.62k|#define FLOW_N_XREGS (FLOW_N_REGS / 2)
  |  |  ------------------
  |  |  |  |   33|  8.62k|#define FLOW_N_REGS 32
  |  |  ------------------
  ------------------
  133|  8.62k|    flow_wildcards_set_xreg_mask(&match->wc, xreg_idx, mask);
  134|  8.62k|    flow_set_xreg(&match->flow, xreg_idx, value & mask);
  135|  8.62k|}
match_set_xxreg:
  139|  1.19k|{
  140|  1.19k|    match_set_xxreg_masked(match, xxreg_idx, value, OVS_U128_MAX);
  141|  1.19k|}
match_set_xxreg_masked:
  146|  4.95k|{
  147|  4.95k|    ovs_assert(xxreg_idx < FLOW_N_XXREGS);
  ------------------
  |  |   62|  4.95k|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(xxreg_idx < FLOW_N_XXREGS);
  ------------------
  |  |   47|  4.95k|#define FLOW_N_XXREGS (FLOW_N_REGS / 4)
  |  |  ------------------
  |  |  |  |   33|  4.95k|#define FLOW_N_REGS 32
  |  |  ------------------
  ------------------
  148|  4.95k|    flow_wildcards_set_xxreg_mask(&match->wc, xxreg_idx, mask);
  149|  4.95k|    flow_set_xxreg(&match->flow, xxreg_idx, ovs_u128_and(value, mask));
  150|  4.95k|}
match_set_actset_output:
  154|    181|{
  155|       |    match->wc.masks.actset_output = u16_to_ofp(UINT16_MAX);
  156|    181|    match->flow.actset_output = actset_output;
  157|    181|}
match_set_metadata:
  161|    194|{
  162|    194|    match_set_metadata_masked(match, metadata, OVS_BE64_MAX);
  ------------------
  |  |   44|    194|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  163|    194|}
match_set_metadata_masked:
  168|  7.38k|{
  169|  7.38k|    match->wc.masks.metadata = mask;
  170|  7.38k|    match->flow.metadata = metadata & mask;
  171|  7.38k|}
match_set_tun_id:
  175|     61|{
  176|     61|    match_set_tun_id_masked(match, tun_id, OVS_BE64_MAX);
  ------------------
  |  |   44|     61|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  177|     61|}
match_set_tun_id_masked:
  181|  1.60k|{
  182|  1.60k|    match->wc.masks.tunnel.tun_id = mask;
  183|  1.60k|    match->flow.tunnel.tun_id = tun_id & mask;
  184|  1.60k|}
match_set_tun_src:
  188|    246|{
  189|    246|    match_set_tun_src_masked(match, src, OVS_BE32_MAX);
  ------------------
  |  |   43|    246|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  190|    246|}
match_set_tun_src_masked:
  194|    622|{
  195|    622|    match->wc.masks.tunnel.ip_src = mask;
  196|    622|    match->flow.tunnel.ip_src = src & mask;
  197|    622|}
match_set_tun_dst:
  201|     77|{
  202|     77|    match_set_tun_dst_masked(match, dst, OVS_BE32_MAX);
  ------------------
  |  |   43|     77|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  203|     77|}
match_set_tun_dst_masked:
  207|    264|{
  208|    264|    match->wc.masks.tunnel.ip_dst = mask;
  209|    264|    match->flow.tunnel.ip_dst = dst & mask;
  210|    264|}
match_set_tun_ipv6_src:
  214|    253|{
  215|    253|    match->flow.tunnel.ipv6_src = *src;
  216|    253|    match->wc.masks.tunnel.ipv6_src = in6addr_exact;
  217|    253|}
match_set_tun_ipv6_src_masked:
  222|    769|{
  223|    769|    match->flow.tunnel.ipv6_src = ipv6_addr_bitand(src, mask);
  224|    769|    match->wc.masks.tunnel.ipv6_src = *mask;
  225|    769|}
match_set_tun_ipv6_dst:
  229|     45|{
  230|     45|    match->flow.tunnel.ipv6_dst = *dst;
  231|     45|    match->wc.masks.tunnel.ipv6_dst = in6addr_exact;
  232|     45|}
match_set_tun_ipv6_dst_masked:
  237|    654|{
  238|    654|    match->flow.tunnel.ipv6_dst = ipv6_addr_bitand(dst, mask);
  239|    654|    match->wc.masks.tunnel.ipv6_dst = *mask;
  240|    654|}
match_set_tun_flags:
  270|    393|{
  271|       |    match_set_tun_flags_masked(match, flags, UINT16_MAX);
  272|    393|}
match_set_tun_flags_masked:
  276|  1.35k|{
  277|  1.35k|    mask &= FLOW_TNL_PUB_F_MASK;
  ------------------
  |  |   58|  1.35k|#define FLOW_TNL_PUB_F_MASK ((1 << 1) - 1)
  ------------------
  278|       |
  279|  1.35k|    match->wc.masks.tunnel.flags = mask;
  280|  1.35k|    match->flow.tunnel.flags = flags & mask;
  281|  1.35k|}
match_set_tun_gbp_id_masked:
  298|    536|{
  299|    536|    match->wc.masks.tunnel.gbp_id = mask;
  300|    536|    match->flow.tunnel.gbp_id = gbp_id & mask;
  301|    536|}
match_set_tun_gbp_id:
  305|     72|{
  306|     72|    match_set_tun_gbp_id_masked(match, gbp_id, OVS_BE16_MAX);
  ------------------
  |  |   42|     72|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  307|     72|}
match_set_tun_gbp_flags_masked:
  311|  1.11k|{
  312|  1.11k|    match->wc.masks.tunnel.gbp_flags = mask;
  313|  1.11k|    match->flow.tunnel.gbp_flags = flags & mask;
  314|  1.11k|}
match_set_tun_gbp_flags:
  318|     90|{
  319|       |    match_set_tun_gbp_flags_masked(match, flags, UINT8_MAX);
  320|     90|}
match_set_tun_erspan_ver_masked:
  324|    639|{
  325|    639|    match->wc.masks.tunnel.erspan_ver = ver;
  326|    639|    match->flow.tunnel.erspan_ver = ver & mask;
  327|    639|}
match_set_tun_erspan_ver:
  331|    175|{
  332|       |    match_set_tun_erspan_ver_masked(match, ver, UINT8_MAX);
  333|    175|}
match_set_tun_erspan_idx_masked:
  338|    141|{
  339|    141|    match->wc.masks.tunnel.erspan_idx = mask;
  340|    141|    match->flow.tunnel.erspan_idx = erspan_idx & mask;
  341|    141|}
match_set_tun_erspan_idx:
  345|     86|{
  346|       |    match_set_tun_erspan_idx_masked(match, erspan_idx, UINT32_MAX);
  347|     86|}
match_set_tun_erspan_dir_masked:
  352|    253|{
  353|    253|    match->wc.masks.tunnel.erspan_dir = dir;
  354|    253|    match->flow.tunnel.erspan_dir = dir & mask;
  355|    253|}
match_set_tun_erspan_dir:
  359|    149|{
  360|       |    match_set_tun_erspan_dir_masked(match, dir, UINT8_MAX);
  361|    149|}
match_set_tun_erspan_hwid_masked:
  366|    463|{
  367|    463|    match->wc.masks.tunnel.erspan_hwid = hwid;
  368|    463|    match->flow.tunnel.erspan_hwid = hwid & mask;
  369|    463|}
match_set_tun_erspan_hwid:
  373|     74|{
  374|       |    match_set_tun_erspan_hwid_masked(match, hwid, UINT8_MAX);
  375|     74|}
match_set_tun_gtpu_flags_masked:
  380|    595|{
  381|    595|    match->wc.masks.tunnel.gtpu_flags = flags;
  382|    595|    match->flow.tunnel.gtpu_flags = flags & mask;
  383|    595|}
match_set_tun_gtpu_flags:
  387|    435|{
  388|       |    match_set_tun_gtpu_flags_masked(match, flags, UINT8_MAX);
  389|    435|}
match_set_tun_gtpu_msgtype_masked:
  394|    542|{
  395|    542|    match->wc.masks.tunnel.gtpu_msgtype = msgtype;
  396|    542|    match->flow.tunnel.gtpu_msgtype = msgtype & mask;
  397|    542|}
match_set_tun_gtpu_msgtype:
  401|     37|{
  402|       |    match_set_tun_gtpu_msgtype_masked(match, msgtype, UINT8_MAX);
  403|     37|}
match_set_in_port:
  407|   129k|{
  408|       |    match->wc.masks.in_port.ofp_port = u16_to_ofp(UINT16_MAX);
  409|   129k|    match->flow.in_port.ofp_port = ofp_port;
  410|   129k|}
match_set_pkt_mark:
  421|    164|{
  422|       |    match_set_pkt_mark_masked(match, pkt_mark, UINT32_MAX);
  423|    164|}
match_set_pkt_mark_masked:
  427|    556|{
  428|    556|    match->flow.pkt_mark = pkt_mark & mask;
  429|    556|    match->wc.masks.pkt_mark = mask;
  430|    556|}
match_set_ct_state:
  434|  1.73k|{
  435|       |    match_set_ct_state_masked(match, ct_state, UINT32_MAX);
  436|  1.73k|}
match_set_ct_state_masked:
  440|  2.03k|{
  441|  2.03k|    match->flow.ct_state = ct_state & mask & UINT8_MAX;
  442|       |    match->wc.masks.ct_state = mask & UINT8_MAX;
  443|  2.03k|}
match_set_ct_zone:
  447|    140|{
  448|       |    match_set_ct_zone_masked(match, ct_zone, UINT16_MAX);
  449|    140|}
match_set_ct_zone_masked:
  453|    140|{
  454|    140|    match->flow.ct_zone = ct_zone & mask;
  455|    140|    match->wc.masks.ct_zone = mask;
  456|    140|}
match_set_ct_mark:
  460|    102|{
  461|       |    match_set_ct_mark_masked(match, ct_mark, UINT32_MAX);
  462|    102|}
match_set_ct_mark_masked:
  467|  2.18k|{
  468|  2.18k|    match->flow.ct_mark = ct_mark & mask;
  469|  2.18k|    match->wc.masks.ct_mark = mask;
  470|  2.18k|}
match_set_ct_label:
  474|    204|{
  475|    204|    ovs_u128 mask;
  476|       |
  477|    204|    mask.u64.lo = UINT64_MAX;
  478|       |    mask.u64.hi = UINT64_MAX;
  479|    204|    match_set_ct_label_masked(match, ct_label, mask);
  480|    204|}
match_set_ct_label_masked:
  484|    688|{
  485|    688|    match->flow.ct_label.u64.lo = value.u64.lo & mask.u64.lo;
  486|    688|    match->flow.ct_label.u64.hi = value.u64.hi & mask.u64.hi;
  487|    688|    match->wc.masks.ct_label = mask;
  488|    688|}
match_set_ct_nw_src:
  492|    262|{
  493|    262|    match->flow.ct_nw_src = ct_nw_src;
  494|    262|    match->wc.masks.ct_nw_src = OVS_BE32_MAX;
  ------------------
  |  |   43|    262|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  495|    262|}
match_set_ct_nw_src_masked:
  500|    235|{
  501|    235|    match->flow.ct_nw_src = ct_nw_src & mask;
  502|    235|    match->wc.masks.ct_nw_src = mask;
  503|    235|}
match_set_ct_nw_dst:
  507|     76|{
  508|     76|    match->flow.ct_nw_dst = ct_nw_dst;
  509|     76|    match->wc.masks.ct_nw_dst = OVS_BE32_MAX;
  ------------------
  |  |   43|     76|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  510|     76|}
match_set_ct_nw_dst_masked:
  515|    214|{
  516|    214|    match->flow.ct_nw_dst = ct_nw_dst & mask;
  517|    214|    match->wc.masks.ct_nw_dst = mask;
  518|    214|}
match_set_ct_nw_proto:
  522|    246|{
  523|    246|    match->flow.ct_nw_proto = ct_nw_proto;
  524|       |    match->wc.masks.ct_nw_proto = UINT8_MAX;
  525|    246|}
match_set_ct_tp_src:
  529|     35|{
  530|     35|    match_set_ct_tp_src_masked(match, ct_tp_src, OVS_BE16_MAX);
  ------------------
  |  |   42|     35|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  531|     35|}
match_set_ct_tp_src_masked:
  535|    278|{
  536|    278|    match->flow.ct_tp_src = port & mask;
  537|    278|    match->wc.masks.ct_tp_src = mask;
  538|    278|}
match_set_ct_tp_dst:
  542|    194|{
  543|    194|    match_set_ct_tp_dst_masked(match, ct_tp_dst, OVS_BE16_MAX);
  ------------------
  |  |   42|    194|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  544|    194|}
match_set_ct_tp_dst_masked:
  548|    827|{
  549|    827|    match->flow.ct_tp_dst = port & mask;
  550|    827|    match->wc.masks.ct_tp_dst = mask;
  551|    827|}
match_set_ct_ipv6_src:
  555|     34|{
  556|     34|    match->flow.ct_ipv6_src = *src;
  557|     34|    match->wc.masks.ct_ipv6_src = in6addr_exact;
  558|     34|}
match_set_ct_ipv6_src_masked:
  563|    428|{
  564|    428|    match->flow.ct_ipv6_src = ipv6_addr_bitand(src, mask);
  565|    428|    match->wc.masks.ct_ipv6_src = *mask;
  566|    428|}
match_set_ct_ipv6_dst:
  570|    328|{
  571|    328|    match->flow.ct_ipv6_dst = *dst;
  572|    328|    match->wc.masks.ct_ipv6_dst = in6addr_exact;
  573|    328|}
match_set_ct_ipv6_dst_masked:
  578|    759|{
  579|    759|    match->flow.ct_ipv6_dst = ipv6_addr_bitand(dst, mask);
  580|    759|    match->wc.masks.ct_ipv6_dst = *mask;
  581|    759|}
match_set_packet_type:
  585|   223k|{
  586|   223k|    match->flow.packet_type = packet_type;
  587|   223k|    match->wc.masks.packet_type = OVS_BE32_MAX;
  ------------------
  |  |   43|   223k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  588|   223k|}
match_set_default_packet_type:
  594|   124k|{
  595|   124k|    if (!match->wc.masks.packet_type) {
  ------------------
  |  Branch (595:9): [True: 99.9k, False: 24.3k]
  ------------------
  596|       |        match_set_packet_type(match, htonl(PT_ETH));
  597|  99.9k|    }
  598|   124k|}
match_has_default_packet_type:
  604|   203k|{
  605|   203k|    return (match->flow.packet_type == htonl(PT_ETH)
  ------------------
  |  Branch (605:13): [True: 179k, False: 24.0k]
  ------------------
  606|   179k|            && match->wc.masks.packet_type == OVS_BE32_MAX);
  ------------------
  |  |   43|   179k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (606:16): [True: 179k, False: 0]
  ------------------
  607|   203k|}
match_add_ethernet_prereq:
  627|   171k|{
  628|   171k|    if (field->prereqs != MFP_NONE) {
  ------------------
  |  Branch (628:9): [True: 36.2k, False: 135k]
  ------------------
  629|  36.2k|        match_set_default_packet_type(match);
  630|  36.2k|    }
  631|   171k|}
match_set_dl_type:
  635|  5.97k|{
  636|  5.97k|    match->wc.masks.dl_type = OVS_BE16_MAX;
  ------------------
  |  |   42|  5.97k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  637|  5.97k|    match->flow.dl_type = dl_type;
  638|  5.97k|}
match_set_dl_src:
  671|     81|{
  672|     81|    set_eth(dl_src, &match->flow.dl_src, &match->wc.masks.dl_src);
  673|     81|}
match_set_dl_src_masked:
  681|  7.60k|{
  682|  7.60k|    set_eth_masked(dl_src, mask, &match->flow.dl_src, &match->wc.masks.dl_src);
  683|  7.60k|}
match_set_dl_dst:
  689|     19|{
  690|     19|    set_eth(dl_dst, &match->flow.dl_dst, &match->wc.masks.dl_dst);
  691|     19|}
match_set_dl_dst_masked:
  702|  7.52k|{
  703|  7.52k|    set_eth_masked(dl_dst, mask, &match->flow.dl_dst, &match->wc.masks.dl_dst);
  704|  7.52k|}
match_set_dl_tci:
  708|    117|{
  709|       |    match_set_dl_tci_masked(match, tci, htons(0xffff));
  710|    117|}
match_set_dl_tci_masked:
  714|    867|{
  715|    867|    match->flow.vlans[0].tci = tci & mask;
  716|    867|    match->wc.masks.vlans[0].tci = mask;
  717|    867|}
match_set_any_vid:
  724|    684|{
  725|    684|    if (match->wc.masks.vlans[0].tci & htons(VLAN_PCP_MASK)) {
  ------------------
  |  Branch (725:9): [True: 643, False: 41]
  ------------------
  726|    643|        match->wc.masks.vlans[0].tci &= ~htons(VLAN_VID_MASK);
  727|    643|        match->flow.vlans[0].tci &= ~htons(VLAN_VID_MASK);
  728|    643|    } else {
  729|     41|        match_set_dl_tci_masked(match, htons(0), htons(0));
  730|     41|    }
  731|    684|}
match_set_vlan_vid:
  757|    122|{
  758|       |    match_set_vlan_vid_masked(match, vid, htons(VLAN_VID_MASK | VLAN_CFI));
  759|    122|}
match_set_vlan_vid_masked:
  767|    203|{
  768|    203|    ovs_be16 pcp_mask = htons(VLAN_PCP_MASK);
  769|    203|    ovs_be16 vid_mask = htons(VLAN_VID_MASK | VLAN_CFI);
  770|       |
  771|    203|    mask &= vid_mask;
  772|    203|    flow_set_vlan_vid(&match->flow, vid & mask);
  773|    203|    match->wc.masks.vlans[0].tci =
  774|    203|        mask | (match->wc.masks.vlans[0].tci & pcp_mask);
  775|    203|}
match_set_any_pcp:
  782|    137|{
  783|    137|    if (match->wc.masks.vlans[0].tci & htons(VLAN_VID_MASK)) {
  ------------------
  |  Branch (783:9): [True: 69, False: 68]
  ------------------
  784|     69|        match->wc.masks.vlans[0].tci &= ~htons(VLAN_PCP_MASK);
  785|     69|        match->flow.vlans[0].tci &= ~htons(VLAN_PCP_MASK);
  786|     69|    } else {
  787|     68|        match_set_dl_tci_masked(match, htons(0), htons(0));
  788|     68|    }
  789|    137|}
match_set_dl_vlan_pcp:
  795|    276|{
  796|    276|    flow_set_vlan_pcp(&match->flow, dl_vlan_pcp, id);
  797|       |    match->wc.masks.vlans[id].tci |= htons(VLAN_CFI | VLAN_PCP_MASK);
  798|    276|}
match_set_any_mpls_label:
  811|  1.28k|{
  812|  1.28k|    match->wc.masks.mpls_lse[idx] &= ~htonl(MPLS_LABEL_MASK);
  813|       |    flow_set_mpls_label(&match->flow, idx, htonl(0));
  814|  1.28k|}
match_set_mpls_label:
  820|  1.18k|{
  821|       |    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_LABEL_MASK);
  822|  1.18k|    flow_set_mpls_label(&match->flow, idx, mpls_label);
  823|  1.18k|}
match_set_any_mpls_tc:
  828|     34|{
  829|       |    match->wc.masks.mpls_lse[idx] &= ~htonl(MPLS_TC_MASK);
  830|     34|    flow_set_mpls_tc(&match->flow, idx, 0);
  831|     34|}
match_set_mpls_tc:
  837|  1.32k|{
  838|       |    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_TC_MASK);
  839|  1.32k|    flow_set_mpls_tc(&match->flow, idx, mpls_tc);
  840|  1.32k|}
match_set_any_mpls_bos:
  845|     84|{
  846|       |    match->wc.masks.mpls_lse[idx] &= ~htonl(MPLS_BOS_MASK);
  847|     84|    flow_set_mpls_bos(&match->flow, idx, 0);
  848|     84|}
match_set_mpls_bos:
  854|    214|{
  855|       |    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_BOS_MASK);
  856|    214|    flow_set_mpls_bos(&match->flow, idx, mpls_bos);
  857|    214|}
match_set_any_mpls_ttl:
  862|    628|{
  863|       |    match->wc.masks.mpls_lse[idx] &= ~htonl(MPLS_TTL_MASK);
  864|    628|    flow_set_mpls_ttl(&match->flow, idx, 0);
  865|    628|}
match_set_mpls_ttl:
  871|    211|{
  872|       |    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_TTL_MASK);
  873|    211|    flow_set_mpls_ttl(&match->flow, idx, mpls_ttl);
  874|    211|}
match_set_tp_src:
  886|  1.83k|{
  887|  1.83k|    match_set_tp_src_masked(match, tp_src, OVS_BE16_MAX);
  ------------------
  |  |   42|  1.83k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  888|  1.83k|}
match_set_tp_src_masked:
  892|  2.05k|{
  893|  2.05k|    match->flow.tp_src = port & mask;
  894|  2.05k|    match->wc.masks.tp_src = mask;
  895|  2.05k|}
match_set_tp_dst:
  899|  1.27k|{
  900|  1.27k|    match_set_tp_dst_masked(match, tp_dst, OVS_BE16_MAX);
  ------------------
  |  |   42|  1.27k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  901|  1.27k|}
match_set_tp_dst_masked:
  905|  1.65k|{
  906|  1.65k|    match->flow.tp_dst = port & mask;
  907|  1.65k|    match->wc.masks.tp_dst = mask;
  908|  1.65k|}
match_set_tcp_flags:
  912|    433|{
  913|    433|    match_set_tcp_flags_masked(match, flags, OVS_BE16_MAX);
  ------------------
  |  |   42|    433|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  914|    433|}
match_set_tcp_flags_masked:
  918|    695|{
  919|    695|    match->flow.tcp_flags = flags & mask;
  920|    695|    match->wc.masks.tcp_flags = mask;
  921|    695|}
match_set_nw_proto:
  925|  4.32k|{
  926|  4.32k|    match->flow.nw_proto = nw_proto;
  927|       |    match->wc.masks.nw_proto = UINT8_MAX;
  928|  4.32k|}
match_set_nw_src:
  940|    305|{
  941|    305|    match->flow.nw_src = nw_src;
  942|    305|    match->wc.masks.nw_src = OVS_BE32_MAX;
  ------------------
  |  |   43|    305|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  943|    305|}
match_set_nw_src_masked:
  948|  2.45k|{
  949|  2.45k|    match->flow.nw_src = nw_src & mask;
  950|  2.45k|    match->wc.masks.nw_src = mask;
  951|  2.45k|}
match_set_nw_dst:
  955|    769|{
  956|    769|    match->flow.nw_dst = nw_dst;
  957|    769|    match->wc.masks.nw_dst = OVS_BE32_MAX;
  ------------------
  |  |   43|    769|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  958|    769|}
match_set_nw_dst_masked:
  962|  2.54k|{
  963|  2.54k|    match->flow.nw_dst = ip & mask;
  964|  2.54k|    match->wc.masks.nw_dst = mask;
  965|  2.54k|}
match_set_nw_dscp:
  969|  1.46k|{
  970|  1.46k|    match->wc.masks.nw_tos |= IP_DSCP_MASK;
  ------------------
  |  |  724|  1.46k|#define IP_DSCP_MASK 0xfc
  ------------------
  971|  1.46k|    match->flow.nw_tos &= ~IP_DSCP_MASK;
  ------------------
  |  |  724|  1.46k|#define IP_DSCP_MASK 0xfc
  ------------------
  972|  1.46k|    match->flow.nw_tos |= nw_dscp & IP_DSCP_MASK;
  ------------------
  |  |  724|  1.46k|#define IP_DSCP_MASK 0xfc
  ------------------
  973|  1.46k|}
match_set_nw_ecn:
  977|    259|{
  978|    259|    match->wc.masks.nw_tos |= IP_ECN_MASK;
  ------------------
  |  |  722|    259|#define IP_ECN_MASK 0x03
  ------------------
  979|    259|    match->flow.nw_tos &= ~IP_ECN_MASK;
  ------------------
  |  |  722|    259|#define IP_ECN_MASK 0x03
  ------------------
  980|    259|    match->flow.nw_tos |= nw_ecn & IP_ECN_MASK;
  ------------------
  |  |  722|    259|#define IP_ECN_MASK 0x03
  ------------------
  981|    259|}
match_set_nw_ttl:
  985|    578|{
  986|       |    match->wc.masks.nw_ttl = UINT8_MAX;
  987|    578|    match->flow.nw_ttl = nw_ttl;
  988|    578|}
match_set_nw_frag:
 1006|     43|{
 1007|     43|    match->wc.masks.nw_frag |= FLOW_NW_FRAG_MASK;
  ------------------
  |  |   56|     43|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|     43|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|     43|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
 1008|     43|    match->flow.nw_frag = nw_frag;
 1009|     43|}
match_set_nw_frag_masked:
 1014|  1.03k|{
 1015|  1.03k|    match->flow.nw_frag = nw_frag & mask;
 1016|  1.03k|    match->wc.masks.nw_frag = mask;
 1017|  1.03k|}
match_set_icmp_type:
 1021|  1.23k|{
 1022|       |    match_set_tp_src(match, htons(icmp_type));
 1023|  1.23k|}
match_set_icmp_code:
 1027|    401|{
 1028|       |    match_set_tp_dst(match, htons(icmp_code));
 1029|    401|}
match_set_arp_sha:
 1057|    211|{
 1058|    211|    match->flow.arp_sha = sha;
 1059|    211|    match->wc.masks.arp_sha = eth_addr_exact;
 1060|    211|}
match_set_arp_sha_masked:
 1066|    306|{
 1067|    306|    set_eth_masked(arp_sha, mask,
 1068|    306|                   &match->flow.arp_sha, &match->wc.masks.arp_sha);
 1069|    306|}
match_set_arp_tha:
 1073|    151|{
 1074|    151|    match->flow.arp_tha = tha;
 1075|    151|    match->wc.masks.arp_tha = eth_addr_exact;
 1076|    151|}
match_set_arp_tha_masked:
 1082|    361|{
 1083|    361|    set_eth_masked(arp_tha, mask,
 1084|    361|                   &match->flow.arp_tha, &match->wc.masks.arp_tha);
 1085|    361|}
match_set_ipv6_src:
 1089|     35|{
 1090|     35|    match->flow.ipv6_src = *src;
 1091|     35|    match->wc.masks.ipv6_src = in6addr_exact;
 1092|     35|}
match_set_ipv6_src_masked:
 1097|    371|{
 1098|    371|    match->flow.ipv6_src = ipv6_addr_bitand(src, mask);
 1099|    371|    match->wc.masks.ipv6_src = *mask;
 1100|    371|}
match_set_ipv6_dst:
 1104|     38|{
 1105|     38|    match->flow.ipv6_dst = *dst;
 1106|     38|    match->wc.masks.ipv6_dst = in6addr_exact;
 1107|     38|}
match_set_ipv6_dst_masked:
 1112|    337|{
 1113|    337|    match->flow.ipv6_dst = ipv6_addr_bitand(dst, mask);
 1114|    337|    match->wc.masks.ipv6_dst = *mask;
 1115|    337|}
match_set_ipv6_label:
 1119|    221|{
 1120|    221|    match->wc.masks.ipv6_label = OVS_BE32_MAX;
  ------------------
  |  |   43|    221|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
 1121|    221|    match->flow.ipv6_label = ipv6_label;
 1122|    221|}
match_set_ipv6_label_masked:
 1128|     50|{
 1129|     50|    match->flow.ipv6_label = ipv6_label & mask;
 1130|     50|    match->wc.masks.ipv6_label = mask;
 1131|     50|}
match_set_nd_target:
 1135|     73|{
 1136|     73|    match->flow.nd_target = *target;
 1137|     73|    match->wc.masks.nd_target = in6addr_exact;
 1138|     73|}
match_set_nd_target_masked:
 1144|  1.21k|{
 1145|  1.21k|    match->flow.nd_target = ipv6_addr_bitand(target, mask);
 1146|  1.21k|    match->wc.masks.nd_target = *mask;
 1147|  1.21k|}
match_set_nd_reserved:
 1151|    147|{
 1152|    147|   match->flow.igmp_group_ip4 = value;
 1153|    147|   match->wc.masks.igmp_group_ip4 = OVS_BE32_MAX;
  ------------------
  |  |   43|    147|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
 1154|    147|}
match_set_nd_options_type:
 1158|    171|{
 1159|       |    match_set_tcp_flags(match, htons(option));
 1160|    171|}
match_format:
 1455|   207k|{
 1456|   207k|    const struct flow_wildcards *wc = &match->wc;
 1457|   207k|    size_t start_len = s->length;
 1458|   207k|    const struct flow *f = &match->flow;
 1459|   207k|    bool skip_type = false;
 1460|   207k|    bool skip_proto = false;
 1461|   207k|    ovs_be16 dl_type = f->dl_type;
 1462|   207k|    bool is_megaflow = false;
 1463|   207k|    int i;
 1464|       |
 1465|   207k|    BUILD_ASSERT_DECL(FLOW_WC_SEQ == 43);
  ------------------
  |  |  270|   207k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  ------------------
 1466|       |
 1467|   207k|    if (priority != OFP_DEFAULT_PRIORITY) {
  ------------------
  |  |  138|   207k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  |  Branch (1467:9): [True: 55.1k, False: 152k]
  ------------------
 1468|  55.1k|        ds_put_format(s, "%spriority=%s%d,",
 1469|  55.1k|                      colors.special, colors.end, priority);
 1470|  55.1k|    }
 1471|       |
 1472|   207k|    format_uint32_masked(s, "pkt_mark", f->pkt_mark, wc->masks.pkt_mark);
 1473|       |
 1474|   207k|    if (wc->masks.recirc_id) {
  ------------------
  |  Branch (1474:9): [True: 157, False: 207k]
  ------------------
 1475|    157|        format_uint32_masked(s, "recirc_id", f->recirc_id,
 1476|    157|                             wc->masks.recirc_id);
 1477|    157|        is_megaflow = true;
 1478|    157|    }
 1479|       |
 1480|   207k|    if (wc->masks.dp_hash) {
  ------------------
  |  Branch (1480:9): [True: 134, False: 207k]
  ------------------
 1481|    134|        format_uint32_masked(s, "dp_hash", f->dp_hash,
 1482|    134|                             wc->masks.dp_hash);
 1483|    134|    }
 1484|       |
 1485|   207k|    if (wc->masks.conj_id) {
  ------------------
  |  Branch (1485:9): [True: 34, False: 207k]
  ------------------
 1486|     34|        ds_put_format(s, "%sconj_id%s=%"PRIu32",",
 1487|     34|                      colors.param, colors.end, f->conj_id);
 1488|     34|    }
 1489|       |
 1490|   207k|    if (wc->masks.skb_priority) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 207k]
  ------------------
 1491|      0|        ds_put_format(s, "%sskb_priority=%s%#"PRIx32",",
 1492|      0|                      colors.param, colors.end, f->skb_priority);
 1493|      0|    }
 1494|       |
 1495|   207k|    if (wc->masks.actset_output) {
  ------------------
  |  Branch (1495:9): [True: 86, False: 207k]
  ------------------
 1496|     86|        ds_put_format(s, "%sactset_output=%s", colors.param, colors.end);
 1497|     86|        ofputil_format_port(f->actset_output, port_map, s);
 1498|     86|        ds_put_char(s, ',');
 1499|     86|    }
 1500|       |
 1501|   207k|    if (wc->masks.ct_state) {
  ------------------
  |  Branch (1501:9): [True: 363, False: 207k]
  ------------------
 1502|    363|        if (wc->masks.ct_state == UINT8_MAX) {
  ------------------
  |  Branch (1502:13): [True: 151, False: 212]
  ------------------
 1503|    151|            ds_put_format(s, "%sct_state=%s", colors.param, colors.end);
 1504|    151|            if (f->ct_state) {
  ------------------
  |  Branch (1504:17): [True: 106, False: 45]
  ------------------
 1505|    106|                format_flags(s, ct_state_to_string, f->ct_state, '|');
 1506|    106|            } else {
 1507|     45|                ds_put_cstr(s, "0"); /* No state. */
 1508|     45|            }
 1509|    212|        } else {
 1510|    212|            format_flags_masked(s, "ct_state", ct_state_to_string,
 1511|    212|                                f->ct_state, wc->masks.ct_state, UINT8_MAX);
 1512|    212|        }
 1513|    363|        ds_put_char(s, ',');
 1514|    363|    }
 1515|       |
 1516|   207k|    if (wc->masks.ct_zone) {
  ------------------
  |  Branch (1516:9): [True: 133, False: 207k]
  ------------------
 1517|    133|        format_uint16_masked(s, "ct_zone", f->ct_zone, wc->masks.ct_zone);
 1518|    133|    }
 1519|       |
 1520|   207k|    if (wc->masks.ct_mark) {
  ------------------
  |  Branch (1520:9): [True: 332, False: 207k]
  ------------------
 1521|    332|        format_uint32_masked(s, "ct_mark", f->ct_mark, wc->masks.ct_mark);
 1522|    332|    }
 1523|       |
 1524|   207k|    if (!ovs_u128_is_zero(wc->masks.ct_label)) {
  ------------------
  |  Branch (1524:9): [True: 616, False: 206k]
  ------------------
 1525|    616|        format_ct_label_masked(s, &f->ct_label, &wc->masks.ct_label);
 1526|    616|    }
 1527|       |
 1528|   207k|    format_ip_netmask(s, "ct_nw_src", f->ct_nw_src,
 1529|   207k|                      wc->masks.ct_nw_src);
 1530|   207k|    format_ipv6_netmask(s, "ct_ipv6_src", &f->ct_ipv6_src,
 1531|   207k|                        &wc->masks.ct_ipv6_src);
 1532|   207k|    format_ip_netmask(s, "ct_nw_dst", f->ct_nw_dst,
 1533|   207k|                      wc->masks.ct_nw_dst);
 1534|   207k|    format_ipv6_netmask(s, "ct_ipv6_dst", &f->ct_ipv6_dst,
 1535|   207k|                        &wc->masks.ct_ipv6_dst);
 1536|   207k|    if (wc->masks.ct_nw_proto) {
  ------------------
  |  Branch (1536:9): [True: 216, False: 207k]
  ------------------
 1537|    216|        ds_put_format(s, "%sct_nw_proto=%s%"PRIu8",",
 1538|    216|                      colors.param, colors.end, f->ct_nw_proto);
 1539|    216|        format_be16_masked(s, "ct_tp_src", f->ct_tp_src, wc->masks.ct_tp_src);
 1540|    216|        format_be16_masked(s, "ct_tp_dst", f->ct_tp_dst, wc->masks.ct_tp_dst);
 1541|    216|    }
 1542|       |
 1543|   207k|    if (wc->masks.packet_type &&
  ------------------
  |  Branch (1543:9): [True: 137k, False: 69.6k]
  ------------------
 1544|   137k|        (!match_has_default_packet_type(match) || is_megaflow)) {
  ------------------
  |  Branch (1544:10): [True: 24.0k, False: 113k]
  |  Branch (1544:51): [True: 66, False: 113k]
  ------------------
 1545|  24.1k|        format_packet_type_masked(s, f->packet_type, wc->masks.packet_type);
 1546|  24.1k|        ds_put_char(s, ',');
 1547|  24.1k|        if (pt_ns(f->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (1547:13): [True: 16.5k, False: 7.63k]
  ------------------
 1548|  16.5k|            dl_type = pt_ns_type_be(f->packet_type);
 1549|  16.5k|        }
 1550|  24.1k|    }
 1551|       |
 1552|   207k|    if (wc->masks.dl_type) {
  ------------------
  |  Branch (1552:9): [True: 79.1k, False: 128k]
  ------------------
 1553|  79.1k|        skip_type = true;
 1554|  79.1k|        if (dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (1554:13): [True: 10.8k, False: 68.3k]
  ------------------
 1555|  10.8k|            if (wc->masks.nw_proto) {
  ------------------
  |  Branch (1555:17): [True: 8.46k, False: 2.35k]
  ------------------
 1556|  8.46k|                skip_proto = true;
 1557|  8.46k|                if (f->nw_proto == IPPROTO_ICMP) {
  ------------------
  |  Branch (1557:21): [True: 1.04k, False: 7.41k]
  ------------------
 1558|  1.04k|                    ds_put_format(s, "%sicmp%s,", colors.value, colors.end);
 1559|  7.41k|                } else if (f->nw_proto == IPPROTO_TCP) {
  ------------------
  |  Branch (1559:28): [True: 2.04k, False: 5.36k]
  ------------------
 1560|  2.04k|                    ds_put_format(s, "%stcp%s,", colors.value, colors.end);
 1561|  5.36k|                } else if (f->nw_proto == IPPROTO_UDP) {
  ------------------
  |  Branch (1561:28): [True: 781, False: 4.58k]
  ------------------
 1562|    781|                    ds_put_format(s, "%sudp%s,", colors.value, colors.end);
 1563|  4.58k|                } else if (f->nw_proto == IPPROTO_SCTP) {
  ------------------
  |  Branch (1563:28): [True: 1.45k, False: 3.12k]
  ------------------
 1564|  1.45k|                    ds_put_format(s, "%ssctp%s,", colors.value, colors.end);
 1565|  3.12k|                } else {
 1566|  3.12k|                    ds_put_format(s, "%sip%s,", colors.value, colors.end);
 1567|  3.12k|                    skip_proto = false;
 1568|  3.12k|                }
 1569|  8.46k|            } else {
 1570|  2.35k|                ds_put_format(s, "%sip%s,", colors.value, colors.end);
 1571|  2.35k|            }
 1572|  68.3k|        } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1572:20): [True: 9.03k, False: 59.2k]
  ------------------
 1573|  9.03k|            if (wc->masks.nw_proto) {
  ------------------
  |  Branch (1573:17): [True: 8.57k, False: 467]
  ------------------
 1574|  8.57k|                skip_proto = true;
 1575|  8.57k|                if (f->nw_proto == IPPROTO_ICMPV6) {
  ------------------
  |  Branch (1575:21): [True: 1.28k, False: 7.28k]
  ------------------
 1576|  1.28k|                    ds_put_format(s, "%sicmp6%s,", colors.value, colors.end);
 1577|  7.28k|                } else if (f->nw_proto == IPPROTO_TCP) {
  ------------------
  |  Branch (1577:28): [True: 2.93k, False: 4.34k]
  ------------------
 1578|  2.93k|                    ds_put_format(s, "%stcp6%s,", colors.value, colors.end);
 1579|  4.34k|                } else if (f->nw_proto == IPPROTO_UDP) {
  ------------------
  |  Branch (1579:28): [True: 1.00k, False: 3.34k]
  ------------------
 1580|  1.00k|                    ds_put_format(s, "%sudp6%s,", colors.value, colors.end);
 1581|  3.34k|                } else if (f->nw_proto == IPPROTO_SCTP) {
  ------------------
  |  Branch (1581:28): [True: 346, False: 2.99k]
  ------------------
 1582|    346|                    ds_put_format(s, "%ssctp6%s,", colors.value, colors.end);
 1583|  2.99k|                } else {
 1584|  2.99k|                    ds_put_format(s, "%sipv6%s,", colors.value, colors.end);
 1585|  2.99k|                    skip_proto = false;
 1586|  2.99k|                }
 1587|  8.57k|            } else {
 1588|    467|                ds_put_format(s, "%sipv6%s,", colors.value, colors.end);
 1589|    467|            }
 1590|  59.2k|        } else if (dl_type == htons(ETH_TYPE_ARP)) {
  ------------------
  |  Branch (1590:20): [True: 1.75k, False: 57.5k]
  ------------------
 1591|  1.75k|            ds_put_format(s, "%sarp%s,", colors.value, colors.end);
 1592|  57.5k|        } else if (dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (1592:20): [True: 1.13k, False: 56.3k]
  ------------------
 1593|  1.13k|            ds_put_format(s, "%srarp%s,", colors.value, colors.end);
 1594|  56.3k|        } else if (dl_type == htons(ETH_TYPE_MPLS)) {
  ------------------
  |  Branch (1594:20): [True: 532, False: 55.8k]
  ------------------
 1595|    532|            ds_put_format(s, "%smpls%s,", colors.value, colors.end);
 1596|  55.8k|        } else if (dl_type == htons(ETH_TYPE_MPLS_MCAST)) {
  ------------------
  |  Branch (1596:20): [True: 1.07k, False: 54.7k]
  ------------------
 1597|  1.07k|            ds_put_format(s, "%smplsm%s,", colors.value, colors.end);
 1598|  54.7k|        } else {
 1599|  54.7k|            skip_type = false;
 1600|  54.7k|        }
 1601|  79.1k|    }
 1602|  6.84M|    for (i = 0; i < FLOW_N_REGS; i++) {
  ------------------
  |  |   33|  6.84M|#define FLOW_N_REGS 32
  ------------------
  |  Branch (1602:17): [True: 6.64M, False: 207k]
  ------------------
 1603|  6.64M|        #define REGNAME_LEN 20
 1604|  6.64M|        char regname[REGNAME_LEN];
 1605|  6.64M|        if (snprintf(regname, REGNAME_LEN, "reg%d", i) >= REGNAME_LEN) {
  ------------------
  |  | 1603|  6.64M|        #define REGNAME_LEN 20
  ------------------
                      if (snprintf(regname, REGNAME_LEN, "reg%d", i) >= REGNAME_LEN) {
  ------------------
  |  | 1603|  6.64M|        #define REGNAME_LEN 20
  ------------------
  |  Branch (1605:13): [True: 0, False: 6.64M]
  ------------------
 1606|      0|            strcpy(regname, "reg?");
 1607|      0|        }
 1608|  6.64M|        format_uint32_masked(s, regname, f->regs[i], wc->masks.regs[i]);
 1609|  6.64M|    }
 1610|       |
 1611|   207k|    format_flow_tunnel(s, match);
 1612|       |
 1613|   207k|    format_be64_masked(s, "metadata", f->metadata, wc->masks.metadata);
 1614|       |
 1615|   207k|    if (wc->masks.in_port.ofp_port) {
  ------------------
  |  Branch (1615:9): [True: 70.1k, False: 137k]
  ------------------
 1616|  70.1k|        ds_put_format(s, "%sin_port=%s", colors.param, colors.end);
 1617|  70.1k|        ofputil_format_port(f->in_port.ofp_port, port_map, s);
 1618|  70.1k|        ds_put_char(s, ',');
 1619|  70.1k|    }
 1620|   288k|    for (i = 0; i < FLOW_MAX_VLAN_HEADERS; i++) {
  ------------------
  |  |   75|   288k|#define FLOW_MAX_VLAN_HEADERS 2
  ------------------
  |  Branch (1620:17): [True: 287k, False: 397]
  ------------------
 1621|   287k|        char str_i[12];
 1622|       |
 1623|   287k|        if (!wc->masks.vlans[i].tci) {
  ------------------
  |  Branch (1623:13): [True: 207k, False: 80.5k]
  ------------------
 1624|   207k|            break;
 1625|   207k|        }
 1626|       |
 1627|       |        /* Print VLAN tags as dl_vlan, dl_vlan1, dl_vlan2 ... */
 1628|  80.5k|        if (i == 0) {
  ------------------
  |  Branch (1628:13): [True: 80.1k, False: 397]
  ------------------
 1629|  80.1k|            str_i[0] = '\0';
 1630|  80.1k|        } else {
 1631|    397|            snprintf(str_i, sizeof(str_i), "%d", i);
 1632|    397|        }
 1633|  80.5k|        ovs_be16 vid_mask = wc->masks.vlans[i].tci & htons(VLAN_VID_MASK);
 1634|  80.5k|        ovs_be16 pcp_mask = wc->masks.vlans[i].tci & htons(VLAN_PCP_MASK);
 1635|  80.5k|        ovs_be16 cfi = wc->masks.vlans[i].tci & htons(VLAN_CFI);
 1636|       |
 1637|  80.5k|        if (cfi && f->vlans[i].tci & htons(VLAN_CFI)
  ------------------
  |  Branch (1637:13): [True: 80.4k, False: 79]
  |  Branch (1637:20): [True: 30.7k, False: 49.6k]
  ------------------
 1638|  30.7k|            && (!vid_mask || vid_mask == htons(VLAN_VID_MASK))
  ------------------
  |  Branch (1638:17): [True: 8.24k, False: 22.5k]
  |  Branch (1638:30): [True: 22.2k, False: 236]
  ------------------
 1639|  30.5k|            && (!pcp_mask || pcp_mask == htons(VLAN_PCP_MASK))
  ------------------
  |  Branch (1639:17): [True: 7.45k, False: 23.0k]
  |  Branch (1639:30): [True: 23.0k, False: 11]
  ------------------
 1640|  30.5k|            && (vid_mask || pcp_mask)) {
  ------------------
  |  Branch (1640:17): [True: 22.2k, False: 8.24k]
  |  Branch (1640:29): [True: 7.39k, False: 850]
  ------------------
 1641|  29.6k|            if (vid_mask) {
  ------------------
  |  Branch (1641:17): [True: 22.2k, False: 7.39k]
  ------------------
 1642|  22.2k|                ds_put_format(s, "%sdl_vlan%s=%s%"PRIu16",",
 1643|  22.2k|                              colors.param, str_i, colors.end,
 1644|  22.2k|                              vlan_tci_to_vid(f->vlans[i].tci));
 1645|  22.2k|            }
 1646|  29.6k|            if (pcp_mask) {
  ------------------
  |  Branch (1646:17): [True: 23.0k, False: 6.60k]
  ------------------
 1647|  23.0k|                ds_put_format(s, "%sdl_vlan_pcp%s=%s%d,",
 1648|  23.0k|                              colors.param, str_i, colors.end,
 1649|  23.0k|                              vlan_tci_to_pcp(f->vlans[i].tci));
 1650|  23.0k|            }
 1651|  50.8k|        } else if (wc->masks.vlans[i].tci == htons(0xffff)) {
  ------------------
  |  Branch (1651:20): [True: 49.6k, False: 1.24k]
  ------------------
 1652|  49.6k|            ds_put_format(s, "%svlan_tci%s=%s0x%04"PRIx16",",
 1653|  49.6k|                          colors.param, str_i, colors.end,
 1654|  49.6k|                          ntohs(f->vlans[i].tci));
 1655|  49.6k|        } else {
 1656|  1.24k|            ds_put_format(s, "%svlan_tci%s=%s0x%04"PRIx16"/0x%04"PRIx16",",
 1657|  1.24k|                          colors.param, str_i, colors.end,
 1658|  1.24k|                          ntohs(f->vlans[i].tci),
 1659|  1.24k|                          ntohs(wc->masks.vlans[i].tci));
 1660|  1.24k|        }
 1661|  80.5k|    }
 1662|       |
 1663|   207k|    format_eth_masked(s, "dl_src", f->dl_src, wc->masks.dl_src);
 1664|   207k|    format_eth_masked(s, "dl_dst", f->dl_dst, wc->masks.dl_dst);
 1665|       |
 1666|   207k|    if (!skip_type && wc->masks.dl_type) {
  ------------------
  |  Branch (1666:9): [True: 183k, False: 24.3k]
  |  Branch (1666:23): [True: 54.7k, False: 128k]
  ------------------
 1667|  54.7k|        ds_put_format(s, "%sdl_type=%s0x%04"PRIx16",",
 1668|  54.7k|                      colors.param, colors.end, ntohs(dl_type));
 1669|  54.7k|    }
 1670|   207k|    if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (1670:9): [True: 10.0k, False: 197k]
  ------------------
 1671|  10.0k|        format_ipv6_netmask(s, "ipv6_src", &f->ipv6_src, &wc->masks.ipv6_src);
 1672|  10.0k|        format_ipv6_netmask(s, "ipv6_dst", &f->ipv6_dst, &wc->masks.ipv6_dst);
 1673|  10.0k|        if (wc->masks.ipv6_label) {
  ------------------
  |  Branch (1673:13): [True: 7.83k, False: 2.19k]
  ------------------
 1674|  7.83k|            if (wc->masks.ipv6_label == OVS_BE32_MAX) {
  ------------------
  |  |   43|  7.83k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (1674:17): [True: 7.83k, False: 0]
  ------------------
 1675|  7.83k|                ds_put_format(s, "%sipv6_label=%s0x%05"PRIx32",",
 1676|  7.83k|                              colors.param, colors.end,
 1677|  7.83k|                              ntohl(f->ipv6_label));
 1678|  7.83k|            } else {
 1679|      0|                ds_put_format(s, "%sipv6_label=%s0x%05"PRIx32"/0x%05"PRIx32",",
 1680|      0|                              colors.param, colors.end, ntohl(f->ipv6_label),
 1681|      0|                              ntohl(wc->masks.ipv6_label));
 1682|      0|            }
 1683|  7.83k|        }
 1684|   197k|    } else if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (1684:16): [True: 1.77k, False: 195k]
  ------------------
 1685|   195k|               dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (1685:16): [True: 1.14k, False: 194k]
  ------------------
 1686|  2.91k|        format_ip_netmask(s, "arp_spa", f->nw_src, wc->masks.nw_src);
 1687|  2.91k|        format_ip_netmask(s, "arp_tpa", f->nw_dst, wc->masks.nw_dst);
 1688|   194k|    } else if (dl_type == htons(ETH_TYPE_NSH)) {
  ------------------
  |  Branch (1688:16): [True: 16.7k, False: 177k]
  ------------------
 1689|  16.7k|        format_nsh_masked(s, f, &wc->masks);
 1690|   177k|    } else {
 1691|   177k|        format_ip_netmask(s, "nw_src", f->nw_src, wc->masks.nw_src);
 1692|   177k|        format_ip_netmask(s, "nw_dst", f->nw_dst, wc->masks.nw_dst);
 1693|   177k|    }
 1694|   207k|    if (!skip_proto && wc->masks.nw_proto) {
  ------------------
  |  Branch (1694:9): [True: 196k, False: 10.9k]
  |  Branch (1694:24): [True: 21.6k, False: 174k]
  ------------------
 1695|  21.6k|        if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (1695:13): [True: 1.75k, False: 19.8k]
  ------------------
 1696|  19.8k|            dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (1696:13): [True: 1.13k, False: 18.7k]
  ------------------
 1697|  2.88k|            ds_put_format(s, "%sarp_op=%s%"PRIu8",",
 1698|  2.88k|                          colors.param, colors.end, f->nw_proto);
 1699|  18.7k|        } else {
 1700|  18.7k|            ds_put_format(s, "%snw_proto=%s%"PRIu8",",
 1701|  18.7k|                          colors.param, colors.end, f->nw_proto);
 1702|  18.7k|        }
 1703|  21.6k|    }
 1704|   207k|    if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (1704:9): [True: 1.77k, False: 205k]
  ------------------
 1705|   205k|        dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (1705:9): [True: 1.14k, False: 204k]
  ------------------
 1706|  2.91k|        format_eth_masked(s, "arp_sha", f->arp_sha, wc->masks.arp_sha);
 1707|  2.91k|        format_eth_masked(s, "arp_tha", f->arp_tha, wc->masks.arp_tha);
 1708|  2.91k|    }
 1709|   207k|    if (wc->masks.nw_tos & IP_DSCP_MASK) {
  ------------------
  |  |  724|   207k|#define IP_DSCP_MASK 0xfc
  ------------------
  |  Branch (1709:9): [True: 29.9k, False: 177k]
  ------------------
 1710|  29.9k|        ds_put_format(s, "%snw_tos=%s%d,",
 1711|  29.9k|                      colors.param, colors.end, f->nw_tos & IP_DSCP_MASK);
  ------------------
  |  |  724|  29.9k|#define IP_DSCP_MASK 0xfc
  ------------------
 1712|  29.9k|    }
 1713|   207k|    if (wc->masks.nw_tos & IP_ECN_MASK) {
  ------------------
  |  |  722|   207k|#define IP_ECN_MASK 0x03
  ------------------
  |  Branch (1713:9): [True: 20.7k, False: 186k]
  ------------------
 1714|  20.7k|        ds_put_format(s, "%snw_ecn=%s%d,",
 1715|  20.7k|                      colors.param, colors.end, f->nw_tos & IP_ECN_MASK);
  ------------------
  |  |  722|  20.7k|#define IP_ECN_MASK 0x03
  ------------------
 1716|  20.7k|    }
 1717|   207k|    if (wc->masks.nw_ttl) {
  ------------------
  |  Branch (1717:9): [True: 20.7k, False: 186k]
  ------------------
 1718|  20.7k|        ds_put_format(s, "%snw_ttl=%s%d,",
 1719|  20.7k|                      colors.param, colors.end, f->nw_ttl);
 1720|  20.7k|    }
 1721|   207k|    if (wc->masks.mpls_lse[0] & htonl(MPLS_LABEL_MASK)) {
  ------------------
  |  Branch (1721:9): [True: 1.81k, False: 205k]
  ------------------
 1722|  1.81k|        ds_put_format(s, "%smpls_label=%s%"PRIu32",", colors.param,
 1723|  1.81k|                      colors.end, mpls_lse_to_label(f->mpls_lse[0]));
 1724|  1.81k|    }
 1725|   207k|    if (wc->masks.mpls_lse[0] & htonl(MPLS_TC_MASK)) {
  ------------------
  |  Branch (1725:9): [True: 1.52k, False: 205k]
  ------------------
 1726|  1.52k|        ds_put_format(s, "%smpls_tc=%s%"PRIu8",", colors.param, colors.end,
 1727|  1.52k|                      mpls_lse_to_tc(f->mpls_lse[0]));
 1728|  1.52k|    }
 1729|   207k|    if (wc->masks.mpls_lse[0] & htonl(MPLS_TTL_MASK)) {
  ------------------
  |  Branch (1729:9): [True: 738, False: 206k]
  ------------------
 1730|    738|        ds_put_format(s, "%smpls_ttl=%s%"PRIu8",", colors.param, colors.end,
 1731|    738|                      mpls_lse_to_ttl(f->mpls_lse[0]));
 1732|    738|    }
 1733|   207k|    if (wc->masks.mpls_lse[0] & htonl(MPLS_BOS_MASK)) {
  ------------------
  |  Branch (1733:9): [True: 930, False: 206k]
  ------------------
 1734|    930|        ds_put_format(s, "%smpls_bos=%s%"PRIu8",", colors.param, colors.end,
 1735|    930|                      mpls_lse_to_bos(f->mpls_lse[0]));
 1736|    930|    }
 1737|   207k|    format_be32_masked(s, "mpls_lse1", f->mpls_lse[1], wc->masks.mpls_lse[1]);
 1738|   207k|    format_be32_masked(s, "mpls_lse2", f->mpls_lse[2], wc->masks.mpls_lse[2]);
 1739|       |
 1740|   207k|    switch (wc->masks.nw_frag & FLOW_NW_FRAG_MASK) {
  ------------------
  |  |   56|   207k|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|   207k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|   207k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
  |  Branch (1740:13): [True: 21.3k, False: 186k]
  ------------------
 1741|  20.8k|    case FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER:
  ------------------
  |  |   54|  20.8k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
                  case FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER:
  ------------------
  |  |   55|  20.8k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (1741:5): [True: 20.8k, False: 186k]
  ------------------
 1742|  20.8k|        ds_put_format(s, "%snw_frag=%s%s,", colors.param, colors.end,
 1743|  20.8k|                      f->nw_frag & FLOW_NW_FRAG_ANY
  ------------------
  |  |   54|  20.8k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
  |  Branch (1743:23): [True: 307, False: 20.5k]
  ------------------
 1744|  20.8k|                      ? (f->nw_frag & FLOW_NW_FRAG_LATER ? "later" : "first")
  ------------------
  |  |   55|    307|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (1744:26): [True: 181, False: 126]
  ------------------
 1745|  20.8k|                      : (f->nw_frag & FLOW_NW_FRAG_LATER ? "<error>" : "no"));
  ------------------
  |  |   55|  20.5k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (1745:26): [True: 38, False: 20.4k]
  ------------------
 1746|  20.8k|        break;
 1747|       |
 1748|    169|    case FLOW_NW_FRAG_ANY:
  ------------------
  |  |   54|    169|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
  |  Branch (1748:5): [True: 169, False: 207k]
  ------------------
 1749|    169|        ds_put_format(s, "%snw_frag=%s%s,", colors.param, colors.end,
 1750|    169|                      f->nw_frag & FLOW_NW_FRAG_ANY ? "yes" : "no");
  ------------------
  |  |   54|    169|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  ------------------
  |  Branch (1750:23): [True: 62, False: 107]
  ------------------
 1751|    169|        break;
 1752|       |
 1753|    366|    case FLOW_NW_FRAG_LATER:
  ------------------
  |  |   55|    366|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (1753:5): [True: 366, False: 207k]
  ------------------
 1754|    366|        ds_put_format(s, "%snw_frag=%s%s,", colors.param, colors.end,
 1755|    366|                      f->nw_frag & FLOW_NW_FRAG_LATER ? "later" : "not_later");
  ------------------
  |  |   55|    366|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (1755:23): [True: 364, False: 2]
  ------------------
 1756|    366|        break;
 1757|   207k|    }
 1758|   207k|    if (dl_type == htons(ETH_TYPE_IP) &&
  ------------------
  |  Branch (1758:9): [True: 10.8k, False: 196k]
  ------------------
 1759|  10.8k|        f->nw_proto == IPPROTO_ICMP) {
  ------------------
  |  Branch (1759:9): [True: 1.04k, False: 9.77k]
  ------------------
 1760|  1.04k|        format_be16_masked(s, "icmp_type", f->tp_src, wc->masks.tp_src);
 1761|  1.04k|        format_be16_masked(s, "icmp_code", f->tp_dst, wc->masks.tp_dst);
 1762|   206k|    } else if (dl_type == htons(ETH_TYPE_IPV6) &&
  ------------------
  |  Branch (1762:16): [True: 10.0k, False: 196k]
  ------------------
 1763|  10.0k|               f->nw_proto == IPPROTO_ICMPV6) {
  ------------------
  |  Branch (1763:16): [True: 1.28k, False: 8.75k]
  ------------------
 1764|  1.28k|        format_be16_masked(s, "icmp_type", f->tp_src, wc->masks.tp_src);
 1765|  1.28k|        format_be16_masked(s, "icmp_code", f->tp_dst, wc->masks.tp_dst);
 1766|  1.28k|        format_ipv6_netmask(s, "nd_target", &f->nd_target,
 1767|  1.28k|                            &wc->masks.nd_target);
 1768|  1.28k|        format_eth_masked(s, "nd_sll", f->arp_sha, wc->masks.arp_sha);
 1769|  1.28k|        format_eth_masked(s, "nd_tll", f->arp_tha, wc->masks.arp_tha);
 1770|  1.28k|        if (wc->masks.igmp_group_ip4) {
  ------------------
  |  Branch (1770:13): [True: 0, False: 1.28k]
  ------------------
 1771|      0|            format_be32_masked(s,"nd_reserved", f->igmp_group_ip4,
 1772|      0|                               wc->masks.igmp_group_ip4);
 1773|      0|        }
 1774|  1.28k|        if (wc->masks.tcp_flags) {
  ------------------
  |  Branch (1774:13): [True: 0, False: 1.28k]
  ------------------
 1775|      0|            format_be16_masked(s,"nd_options_type", f->tcp_flags,
 1776|      0|                               wc->masks.tcp_flags);
 1777|      0|        }
 1778|   205k|    } else {
 1779|   205k|        format_be16_masked(s, "tp_src", f->tp_src, wc->masks.tp_src);
 1780|   205k|        format_be16_masked(s, "tp_dst", f->tp_dst, wc->masks.tp_dst);
 1781|   205k|    }
 1782|   207k|    if (is_ip_any(f) && f->nw_proto == IPPROTO_TCP && wc->masks.tcp_flags) {
  ------------------
  |  Branch (1782:9): [True: 20.2k, False: 187k]
  |  Branch (1782:25): [True: 4.99k, False: 15.2k]
  |  Branch (1782:55): [True: 4.09k, False: 899]
  ------------------
 1783|  4.09k|        format_flags_masked(s, "tcp_flags", packet_tcp_flag_to_string,
 1784|  4.09k|                            ntohs(f->tcp_flags), TCP_FLAGS(wc->masks.tcp_flags),
  ------------------
  |  |  904|  4.09k|#define TCP_FLAGS(tcp_ctl) (ntohs(tcp_ctl) & 0x0fff)
  ------------------
 1785|  4.09k|                            TCP_FLAGS(OVS_BE16_MAX));
  ------------------
  |  |  904|  4.09k|#define TCP_FLAGS(tcp_ctl) (ntohs(tcp_ctl) & 0x0fff)
  ------------------
 1786|  4.09k|    }
 1787|       |
 1788|   207k|    if (s->length > start_len) {
  ------------------
  |  Branch (1788:9): [True: 183k, False: 24.3k]
  ------------------
 1789|   183k|        ds_chomp(s, ',');
 1790|   183k|    }
 1791|   207k|}
minimatch_init:
 1819|  46.7k|{
 1820|  46.7k|    struct miniflow tmp;
 1821|       |
 1822|  46.7k|    miniflow_map_init(&tmp, &src->wc.masks);
 1823|       |    /* Allocate two consecutive miniflows. */
 1824|  46.7k|    miniflow_alloc(dst->flows, 2, &tmp);
 1825|  46.7k|    miniflow_init(dst->flow, &src->flow);
 1826|  46.7k|    minimask_init(dst->mask, &src->wc);
 1827|       |
 1828|  46.7k|    dst->tun_md = tun_metadata_allocation_clone(&src->tun_md);
 1829|  46.7k|}
minimatch_destroy:
 1869|  46.7k|{
 1870|  46.7k|    free(match->flow);
 1871|  46.7k|    free(match->tun_md);
 1872|  46.7k|}
minimatch_expand:
 1877|  46.7k|{
 1878|  46.7k|    miniflow_expand(src->flow, &dst->flow);
 1879|  46.7k|    minimask_expand(src->mask, &dst->wc);
 1880|  46.7k|    tun_metadata_allocation_copy(&dst->tun_md, src->tun_md);
 1881|  46.7k|}
match.c:set_eth:
  646|    100|{
  647|    100|    *value_dst = value_src;
  648|    100|    *mask_dst = eth_addr_exact;
  649|    100|}
match.c:set_eth_masked:
  658|  15.7k|{
  659|  15.7k|    size_t i;
  660|       |
  661|  63.1k|    for (i = 0; i < ARRAY_SIZE(value_dst->be16); i++) {
  ------------------
  |  |  297|  63.1k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|  63.1k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  63.1k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|  63.1k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.1k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|  63.1k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (661:17): [True: 47.3k, False: 15.7k]
  ------------------
  662|  47.3k|        value_dst->be16[i] = value_src.be16[i] & mask_src.be16[i];
  663|  47.3k|    }
  664|  15.7k|    *mask_dst = mask_src;
  665|  15.7k|}
match.c:format_uint32_masked:
 1322|  6.84M|{
 1323|  6.84M|    if (mask) {
  ------------------
  |  Branch (1323:9): [True: 5.16k, False: 6.84M]
  ------------------
 1324|  5.16k|        ds_put_format(s, "%s%s=%s%#"PRIx32,
 1325|  5.16k|                      colors.param, name, colors.end, value);
 1326|  5.16k|        if (mask != UINT32_MAX) {
  ------------------
  |  Branch (1326:13): [True: 2.70k, False: 2.45k]
  ------------------
 1327|       |            ds_put_format(s, "/%#"PRIx32, mask);
 1328|  2.70k|        }
 1329|  5.16k|        ds_put_char(s, ',');
 1330|  5.16k|    }
 1331|  6.84M|}
match.c:format_uint16_masked:
 1259|    133|{
 1260|    133|    if (mask != 0) {
  ------------------
  |  Branch (1260:9): [True: 133, False: 0]
  ------------------
 1261|    133|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1262|    133|        if (mask == UINT16_MAX) {
  ------------------
  |  Branch (1262:13): [True: 133, False: 0]
  ------------------
 1263|    133|            ds_put_format(s, "%"PRIu16, value);
 1264|    133|        } else {
 1265|       |            ds_put_format(s, "0x%"PRIx16"/0x%"PRIx16, value, mask);
 1266|      0|        }
 1267|    133|        ds_put_char(s, ',');
 1268|    133|    }
 1269|    133|}
match.c:format_ct_label_masked:
 1406|    616|{
 1407|    616|    if (!ovs_u128_is_zero(*mask)) {
  ------------------
  |  Branch (1407:9): [True: 616, False: 0]
  ------------------
 1408|    616|        ovs_be128 value = hton128(*key);
 1409|    616|        ds_put_format(s, "%sct_label=%s", colors.param, colors.end);
 1410|    616|        ds_put_hex(s, &value, sizeof value);
 1411|    616|        if (!is_all_ones(mask, sizeof(*mask))) {
  ------------------
  |  Branch (1411:13): [True: 412, False: 204]
  ------------------
 1412|    412|            value = hton128(*mask);
 1413|    412|            ds_put_char(s, '/');
 1414|    412|            ds_put_hex(s, &value, sizeof value);
 1415|    412|        }
 1416|    616|        ds_put_char(s, ',');
 1417|    616|    }
 1418|    616|}
match.c:format_ip_netmask:
 1221|  1.19M|{
 1222|  1.19M|    if (netmask) {
  ------------------
  |  Branch (1222:9): [True: 24.9k, False: 1.16M]
  ------------------
 1223|  24.9k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1224|  24.9k|        ip_format_masked(ip, netmask, s);
 1225|  24.9k|        ds_put_char(s, ',');
 1226|  24.9k|    }
 1227|  1.19M|}
match.c:format_ipv6_netmask:
 1233|   851k|{
 1234|   851k|    if (!ipv6_mask_is_any(netmask)) {
  ------------------
  |  Branch (1234:9): [True: 17.9k, False: 833k]
  ------------------
 1235|  17.9k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1236|  17.9k|        ipv6_format_masked(addr, netmask, s);
 1237|  17.9k|        ds_put_char(s, ',');
 1238|  17.9k|    }
 1239|   851k|}
match.c:format_be16_masked:
 1274|   415k|{
 1275|   415k|    if (mask != htons(0)) {
  ------------------
  |  Branch (1275:9): [True: 29.0k, False: 386k]
  ------------------
 1276|  29.0k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1277|  29.0k|        if (mask == OVS_BE16_MAX) {
  ------------------
  |  |   42|  29.0k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  |  Branch (1277:13): [True: 28.6k, False: 396]
  ------------------
 1278|  28.6k|            ds_put_format(s, "%"PRIu16, ntohs(value));
 1279|  28.6k|        } else {
 1280|    396|            ds_put_format(s, "0x%"PRIx16"/0x%"PRIx16,
 1281|    396|                          ntohs(value), ntohs(mask));
 1282|    396|        }
 1283|  29.0k|        ds_put_char(s, ',');
 1284|  29.0k|    }
 1285|   415k|}
match.c:format_flow_tunnel:
 1349|   207k|{
 1350|   207k|    const struct flow_wildcards *wc = &match->wc;
 1351|   207k|    const struct flow_tnl *tnl = &match->flow.tunnel;
 1352|       |
 1353|   207k|    format_be64_masked(s, "tun_id", tnl->tun_id, wc->masks.tunnel.tun_id);
 1354|   207k|    format_ip_netmask(s, "tun_src", tnl->ip_src, wc->masks.tunnel.ip_src);
 1355|   207k|    format_ip_netmask(s, "tun_dst", tnl->ip_dst, wc->masks.tunnel.ip_dst);
 1356|   207k|    format_ipv6_netmask(s, "tun_ipv6_src", &tnl->ipv6_src,
 1357|   207k|                        &wc->masks.tunnel.ipv6_src);
 1358|   207k|    format_ipv6_netmask(s, "tun_ipv6_dst", &tnl->ipv6_dst,
 1359|   207k|                        &wc->masks.tunnel.ipv6_dst);
 1360|       |
 1361|   207k|    if (wc->masks.tunnel.gbp_id) {
  ------------------
  |  Branch (1361:9): [True: 43, False: 207k]
  ------------------
 1362|     43|        format_be16_masked(s, "tun_gbp_id", tnl->gbp_id,
 1363|     43|                           wc->masks.tunnel.gbp_id);
 1364|     43|    }
 1365|       |
 1366|   207k|    if (wc->masks.tunnel.gbp_flags) {
  ------------------
  |  Branch (1366:9): [True: 203, False: 207k]
  ------------------
 1367|    203|        ds_put_format(s, "tun_gbp_flags=%#"PRIx8",", tnl->gbp_flags);
 1368|    203|    }
 1369|       |
 1370|   207k|    if (wc->masks.tunnel.ip_tos) {
  ------------------
  |  Branch (1370:9): [True: 0, False: 207k]
  ------------------
 1371|      0|        ds_put_format(s, "tun_tos=%"PRIx8",", tnl->ip_tos);
 1372|      0|    }
 1373|   207k|    if (wc->masks.tunnel.ip_ttl) {
  ------------------
  |  Branch (1373:9): [True: 0, False: 207k]
  ------------------
 1374|      0|        ds_put_format(s, "tun_ttl=%"PRIu8",", tnl->ip_ttl);
 1375|      0|    }
 1376|   207k|    if (wc->masks.tunnel.erspan_ver) {
  ------------------
  |  Branch (1376:9): [True: 124, False: 207k]
  ------------------
 1377|    124|        ds_put_format(s, "tun_erspan_ver=%"PRIu8",", tnl->erspan_ver);
 1378|    124|    }
 1379|   207k|    if (wc->masks.tunnel.erspan_idx && tnl->erspan_ver == 1) {
  ------------------
  |  Branch (1379:9): [True: 97, False: 207k]
  |  Branch (1379:40): [True: 0, False: 97]
  ------------------
 1380|      0|       ds_put_format(s, "tun_erspan_idx=%#"PRIx32",", tnl->erspan_idx);
 1381|      0|    }
 1382|   207k|    if (wc->masks.tunnel.erspan_dir && tnl->erspan_ver == 2) {
  ------------------
  |  Branch (1382:9): [True: 202, False: 207k]
  |  Branch (1382:40): [True: 106, False: 96]
  ------------------
 1383|    106|        ds_put_format(s, "tun_erspan_dir=%"PRIu8",", tnl->erspan_dir);
 1384|    106|    }
 1385|   207k|    if (wc->masks.tunnel.erspan_hwid && tnl->erspan_ver == 2) {
  ------------------
  |  Branch (1385:9): [True: 157, False: 207k]
  |  Branch (1385:41): [True: 18, False: 139]
  ------------------
 1386|     18|        ds_put_format(s, "tun_erspan_hwid=%#"PRIx8",", tnl->erspan_hwid);
 1387|     18|    }
 1388|   207k|    if (wc->masks.tunnel.gtpu_flags) {
  ------------------
  |  Branch (1388:9): [True: 196, False: 207k]
  ------------------
 1389|    196|        ds_put_format(s, "gtpu_flags=%#"PRIx8",", tnl->gtpu_flags);
 1390|    196|    }
 1391|   207k|    if (wc->masks.tunnel.gtpu_msgtype) {
  ------------------
  |  Branch (1391:9): [True: 68, False: 207k]
  ------------------
 1392|     68|        ds_put_format(s, "gtpu_msgtype=%"PRIu8",", tnl->gtpu_msgtype);
 1393|     68|    }
 1394|   207k|    if (wc->masks.tunnel.flags & FLOW_TNL_F_MASK) {
  ------------------
  |  |   65|   207k|#define FLOW_TNL_F_MASK ((1 << 4) - 1)
  ------------------
  |  Branch (1394:9): [True: 453, False: 207k]
  ------------------
 1395|    453|        format_flags_masked(s, "tun_flags", flow_tun_flag_to_string,
 1396|    453|                            tnl->flags & FLOW_TNL_F_MASK,
  ------------------
  |  |   65|    453|#define FLOW_TNL_F_MASK ((1 << 4) - 1)
  ------------------
 1397|    453|                            wc->masks.tunnel.flags & FLOW_TNL_F_MASK,
  ------------------
  |  |   65|    453|#define FLOW_TNL_F_MASK ((1 << 4) - 1)
  ------------------
 1398|    453|                            FLOW_TNL_F_MASK);
  ------------------
  |  |   65|    453|#define FLOW_TNL_F_MASK ((1 << 4) - 1)
  ------------------
 1399|    453|        ds_put_char(s, ',');
 1400|    453|    }
 1401|   207k|    tun_metadata_match_format(s, match);
 1402|   207k|}
match.c:format_be64_masked:
 1336|   415k|{
 1337|   415k|    if (mask != htonll(0)) {
  ------------------
  |  Branch (1337:9): [True: 4.49k, False: 410k]
  ------------------
 1338|  4.49k|        ds_put_format(s, "%s%s=%s%#"PRIx64,
 1339|  4.49k|                      colors.param, name, colors.end, ntohll(value));
 1340|  4.49k|        if (mask != OVS_BE64_MAX) {
  ------------------
  |  |   44|  4.49k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  |  Branch (1340:13): [True: 4.23k, False: 257]
  ------------------
 1341|       |            ds_put_format(s, "/%#"PRIx64, ntohll(mask));
 1342|  4.23k|        }
 1343|  4.49k|        ds_put_char(s, ',');
 1344|  4.49k|    }
 1345|   415k|}
match.c:format_eth_masked:
 1210|   423k|{
 1211|   423k|    if (!eth_addr_is_zero(mask)) {
  ------------------
  |  Branch (1211:9): [True: 154k, False: 268k]
  ------------------
 1212|   154k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1213|   154k|        eth_format_masked(eth, &mask, s);
 1214|   154k|        ds_put_char(s, ',');
 1215|   154k|    }
 1216|   423k|}
match.c:format_nsh_masked:
 1422|  16.7k|{
 1423|  16.7k|    ovs_be32 spi_mask = nsh_path_hdr_to_spi(m->nsh.path_hdr);
 1424|  16.7k|    if (spi_mask == htonl(NSH_SPI_MASK >> NSH_SPI_SHIFT)) {
  ------------------
  |  Branch (1424:9): [True: 9.92k, False: 6.83k]
  ------------------
 1425|  9.92k|        spi_mask = OVS_BE32_MAX;
  ------------------
  |  |   43|  9.92k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
 1426|  9.92k|    }
 1427|  16.7k|    format_uint8_masked(s, "nsh_flags", f->nsh.flags, m->nsh.flags);
 1428|  16.7k|    format_uint8_masked(s, "nsh_ttl", f->nsh.ttl, m->nsh.ttl);
 1429|  16.7k|    format_uint8_masked(s, "nsh_mdtype", f->nsh.mdtype, m->nsh.mdtype);
 1430|  16.7k|    format_uint8_masked(s, "nsh_np", f->nsh.np, m->nsh.np);
 1431|       |
 1432|  16.7k|    format_be32_masked_hex(s, "nsh_spi", nsh_path_hdr_to_spi(f->nsh.path_hdr),
 1433|  16.7k|                           spi_mask);
 1434|  16.7k|    format_uint8_masked(s, "nsh_si", nsh_path_hdr_to_si(f->nsh.path_hdr),
 1435|  16.7k|                        nsh_path_hdr_to_si(m->nsh.path_hdr));
 1436|  16.7k|    if (m->nsh.mdtype == UINT8_MAX && f->nsh.mdtype == NSH_M_TYPE1) {
  ------------------
  |  |  251|  9.92k|#define NSH_M_TYPE1     0x01
  ------------------
  |  Branch (1436:9): [True: 9.92k, False: 6.83k]
  |  Branch (1436:39): [True: 112, False: 9.81k]
  ------------------
 1437|    112|        format_be32_masked_hex(s, "nsh_c1", f->nsh.context[0],
 1438|    112|                               m->nsh.context[0]);
 1439|    112|        format_be32_masked_hex(s, "nsh_c2", f->nsh.context[1],
 1440|    112|                               m->nsh.context[1]);
 1441|    112|        format_be32_masked_hex(s, "nsh_c3", f->nsh.context[2],
 1442|    112|                               m->nsh.context[2]);
 1443|    112|        format_be32_masked_hex(s, "nsh_c4", f->nsh.context[3],
 1444|    112|                               m->nsh.context[3]);
 1445|    112|    }
 1446|  16.7k|}
match.c:format_uint8_masked:
 1244|  83.7k|{
 1245|  83.7k|    if (mask != 0) {
  ------------------
  |  Branch (1245:9): [True: 49.6k, False: 34.1k]
  ------------------
 1246|  49.6k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1247|  49.6k|        if (mask == UINT8_MAX) {
  ------------------
  |  Branch (1247:13): [True: 49.6k, False: 0]
  ------------------
 1248|  49.6k|            ds_put_format(s, "%"PRIu8, value);
 1249|  49.6k|        } else {
 1250|       |            ds_put_format(s, "0x%02"PRIx8"/0x%02"PRIx8, value, mask);
 1251|      0|        }
 1252|  49.6k|        ds_put_char(s, ',');
 1253|  49.6k|    }
 1254|  83.7k|}
match.c:format_be32_masked_hex:
 1306|  17.2k|{
 1307|  17.2k|    if (mask != htonl(0)) {
  ------------------
  |  Branch (1307:9): [True: 10.3k, False: 6.83k]
  ------------------
 1308|  10.3k|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1309|  10.3k|        if (mask == OVS_BE32_MAX) {
  ------------------
  |  |   43|  10.3k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (1309:13): [True: 10.3k, False: 0]
  ------------------
 1310|  10.3k|            ds_put_format(s, "0x%"PRIx32, ntohl(value));
 1311|  10.3k|        } else {
 1312|      0|            ds_put_format(s, "0x%"PRIx32"/0x%"PRIx32,
 1313|      0|                          ntohl(value), ntohl(mask));
 1314|      0|        }
 1315|  10.3k|        ds_put_char(s, ',');
 1316|  10.3k|    }
 1317|  17.2k|}
match.c:format_be32_masked:
 1290|   415k|{
 1291|   415k|    if (mask != htonl(0)) {
  ------------------
  |  Branch (1291:9): [True: 951, False: 414k]
  ------------------
 1292|    951|        ds_put_format(s, "%s%s=%s", colors.param, name, colors.end);
 1293|    951|        if (mask == OVS_BE32_MAX) {
  ------------------
  |  |   43|    951|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (1293:13): [True: 951, False: 0]
  ------------------
 1294|    951|            ds_put_format(s, "%"PRIu32, ntohl(value));
 1295|    951|        } else {
 1296|      0|            ds_put_format(s, "0x%08"PRIx32"/0x%08"PRIx32,
 1297|      0|                          ntohl(value), ntohl(mask));
 1298|      0|        }
 1299|    951|        ds_put_char(s, ',');
 1300|    951|    }
 1301|   415k|}

mf_subvalue_format:
  195|  2.05k|{
  196|  2.05k|    ds_put_hex(s, sv, sizeof *sv);
  197|  2.05k|}
mf_is_all_wild:
  206|   189k|{
  207|   189k|    switch (mf->id) {
  208|    447|    case MFF_DP_HASH:
  ------------------
  |  Branch (208:5): [True: 447, False: 188k]
  ------------------
  209|    447|        return !wc->masks.dp_hash;
  210|    633|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (210:5): [True: 633, False: 188k]
  ------------------
  211|    633|        return !wc->masks.recirc_id;
  212|  15.2k|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (212:5): [True: 15.2k, False: 174k]
  ------------------
  213|  15.2k|        return !wc->masks.packet_type;
  214|    253|    case MFF_CONJ_ID:
  ------------------
  |  Branch (214:5): [True: 253, False: 189k]
  ------------------
  215|    253|        return !wc->masks.conj_id;
  216|    606|    case MFF_TUN_SRC:
  ------------------
  |  Branch (216:5): [True: 606, False: 188k]
  ------------------
  217|    606|        return !wc->masks.tunnel.ip_src;
  218|    234|    case MFF_TUN_DST:
  ------------------
  |  Branch (218:5): [True: 234, False: 189k]
  ------------------
  219|    234|        return !wc->masks.tunnel.ip_dst;
  220|  1.38k|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (220:5): [True: 1.38k, False: 188k]
  ------------------
  221|  1.38k|        return ipv6_mask_is_any(&wc->masks.tunnel.ipv6_src);
  222|    641|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (222:5): [True: 641, False: 188k]
  ------------------
  223|    641|        return ipv6_mask_is_any(&wc->masks.tunnel.ipv6_dst);
  224|    705|    case MFF_TUN_ID:
  ------------------
  |  Branch (224:5): [True: 705, False: 188k]
  ------------------
  225|    705|        return !wc->masks.tunnel.tun_id;
  226|      0|    case MFF_TUN_TOS:
  ------------------
  |  Branch (226:5): [True: 0, False: 189k]
  ------------------
  227|      0|        return !wc->masks.tunnel.ip_tos;
  228|      0|    case MFF_TUN_TTL:
  ------------------
  |  Branch (228:5): [True: 0, False: 189k]
  ------------------
  229|      0|        return !wc->masks.tunnel.ip_ttl;
  230|    957|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (230:5): [True: 957, False: 188k]
  ------------------
  231|    957|        return !(wc->masks.tunnel.flags & FLOW_TNL_PUB_F_MASK);
  ------------------
  |  |   58|    957|#define FLOW_TNL_PUB_F_MASK ((1 << 1) - 1)
  ------------------
  232|    528|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (232:5): [True: 528, False: 188k]
  ------------------
  233|    528|        return !wc->masks.tunnel.gbp_id;
  234|    573|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (234:5): [True: 573, False: 188k]
  ------------------
  235|    573|        return !wc->masks.tunnel.gbp_flags;
  236|    639|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (236:5): [True: 639, False: 188k]
  ------------------
  237|    639|        return !wc->masks.tunnel.erspan_ver;
  238|    141|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (238:5): [True: 141, False: 189k]
  ------------------
  239|    141|        return !wc->masks.tunnel.erspan_idx;
  240|    253|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (240:5): [True: 253, False: 189k]
  ------------------
  241|    253|        return !wc->masks.tunnel.erspan_dir;
  242|    463|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (242:5): [True: 463, False: 188k]
  ------------------
  243|    463|        return !wc->masks.tunnel.erspan_hwid;
  244|  86.7k|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|  1.80k|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 1.19k, False: 188k]
  |  |  |  Branch (2110:29): [True: 609, False: 188k]
  |  |  ------------------
  |  | 2111|  5.16k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 2.64k, False: 186k]
  |  |  |  Branch (2111:29): [True: 711, False: 188k]
  |  |  ------------------
  |  | 2112|  6.51k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 898, False: 188k]
  |  |  |  Branch (2112:29): [True: 450, False: 188k]
  |  |  ------------------
  |  | 2113|  10.9k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 3.82k, False: 185k]
  |  |  |  Branch (2113:29): [True: 642, False: 188k]
  |  |  ------------------
  |  | 2114|  13.8k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 2.25k, False: 187k]
  |  |  |  Branch (2114:29): [True: 622, False: 188k]
  |  |  ------------------
  |  | 2115|  15.6k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 1.65k, False: 187k]
  |  |  |  Branch (2115:30): [True: 189, False: 189k]
  |  |  ------------------
  |  | 2116|  19.6k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 1.91k, False: 187k]
  |  |  |  Branch (2116:30): [True: 2.09k, False: 187k]
  |  |  ------------------
  |  | 2117|  22.9k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 784, False: 188k]
  |  |  |  Branch (2117:30): [True: 2.42k, False: 186k]
  |  |  ------------------
  |  | 2118|  25.8k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 2.04k, False: 187k]
  |  |  |  Branch (2118:30): [True: 887, False: 188k]
  |  |  ------------------
  |  | 2119|  32.9k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 5.95k, False: 183k]
  |  |  |  Branch (2119:30): [True: 1.12k, False: 188k]
  |  |  ------------------
  |  | 2120|  37.0k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 681, False: 188k]
  |  |  |  Branch (2120:30): [True: 3.45k, False: 185k]
  |  |  ------------------
  |  | 2121|  39.1k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 1.58k, False: 187k]
  |  |  |  Branch (2121:30): [True: 540, False: 188k]
  |  |  ------------------
  |  | 2122|  44.0k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 1.12k, False: 188k]
  |  |  |  Branch (2122:30): [True: 3.79k, False: 185k]
  |  |  ------------------
  |  | 2123|  45.6k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 972, False: 188k]
  |  |  |  Branch (2123:30): [True: 547, False: 188k]
  |  |  ------------------
  |  | 2124|  47.3k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 722, False: 188k]
  |  |  |  Branch (2124:30): [True: 986, False: 188k]
  |  |  ------------------
  |  | 2125|  48.9k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 1.23k, False: 188k]
  |  |  |  Branch (2125:30): [True: 437, False: 188k]
  |  |  ------------------
  |  | 2126|  52.3k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 2.03k, False: 187k]
  |  |  |  Branch (2126:30): [True: 1.28k, False: 188k]
  |  |  ------------------
  |  | 2127|  54.9k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 1.97k, False: 187k]
  |  |  |  Branch (2127:30): [True: 630, False: 188k]
  |  |  ------------------
  |  | 2128|  55.9k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 285, False: 189k]
  |  |  |  Branch (2128:30): [True: 707, False: 188k]
  |  |  ------------------
  |  | 2129|  56.8k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 327, False: 189k]
  |  |  |  Branch (2129:30): [True: 657, False: 188k]
  |  |  ------------------
  |  | 2130|  59.8k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 488, False: 188k]
  |  |  |  Branch (2130:30): [True: 2.43k, False: 186k]
  |  |  ------------------
  |  | 2131|  61.9k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 551, False: 188k]
  |  |  |  Branch (2131:30): [True: 1.62k, False: 187k]
  |  |  ------------------
  |  | 2132|  62.3k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 141, False: 189k]
  |  |  |  Branch (2132:30): [True: 273, False: 189k]
  |  |  ------------------
  |  | 2133|  64.6k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 1.31k, False: 188k]
  |  |  |  Branch (2133:30): [True: 983, False: 188k]
  |  |  ------------------
  |  | 2134|  67.7k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 1.31k, False: 188k]
  |  |  |  Branch (2134:30): [True: 1.75k, False: 187k]
  |  |  ------------------
  |  | 2135|  70.0k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.40k, False: 188k]
  |  |  |  Branch (2135:30): [True: 933, False: 188k]
  |  |  ------------------
  |  | 2136|  73.2k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 898, False: 188k]
  |  |  |  Branch (2136:30): [True: 2.21k, False: 187k]
  |  |  ------------------
  |  | 2137|  75.8k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 594, False: 188k]
  |  |  |  Branch (2137:30): [True: 2.04k, False: 187k]
  |  |  ------------------
  |  | 2138|  77.8k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 112, False: 189k]
  |  |  |  Branch (2138:30): [True: 1.89k, False: 187k]
  |  |  ------------------
  |  | 2139|  80.5k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 1.84k, False: 187k]
  |  |  |  Branch (2139:30): [True: 903, False: 188k]
  |  |  ------------------
  |  | 2140|  84.7k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 2.47k, False: 186k]
  |  |  |  Branch (2140:30): [True: 1.72k, False: 187k]
  |  |  ------------------
  |  | 2141|  86.7k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 579, False: 188k]
  |  |  ------------------
  ------------------
  245|  86.7k|        return !ULLONG_GET(wc->masks.tunnel.metadata.present.map,
  ------------------
  |  |  293|  86.7k|#define ULLONG_GET(MAP, OFFSET) !!((MAP) & (1ULL << (OFFSET)))
  ------------------
  246|  2.87M|                           mf->id - MFF_TUN_METADATA0);
  247|    398|    case MFF_METADATA:
  ------------------
  |  Branch (247:5): [True: 398, False: 189k]
  ------------------
  248|    398|        return !wc->masks.metadata;
  249|  2.06k|    case MFF_IN_PORT:
  ------------------
  |  Branch (249:5): [True: 2.06k, False: 187k]
  ------------------
  250|  2.67k|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (250:5): [True: 611, False: 188k]
  ------------------
  251|  2.67k|        return !wc->masks.in_port.ofp_port;
  252|      0|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (252:5): [True: 0, False: 189k]
  ------------------
  253|      0|        return !wc->masks.skb_priority;
  254|    484|    case MFF_PKT_MARK:
  ------------------
  |  Branch (254:5): [True: 484, False: 188k]
  ------------------
  255|    484|        return !wc->masks.pkt_mark;
  256|    752|    case MFF_CT_STATE:
  ------------------
  |  Branch (256:5): [True: 752, False: 188k]
  ------------------
  257|    752|        return !wc->masks.ct_state;
  258|    244|    case MFF_CT_ZONE:
  ------------------
  |  Branch (258:5): [True: 244, False: 189k]
  ------------------
  259|    244|        return !wc->masks.ct_zone;
  260|    447|    case MFF_CT_MARK:
  ------------------
  |  Branch (260:5): [True: 447, False: 188k]
  ------------------
  261|    447|        return !wc->masks.ct_mark;
  262|    801|    case MFF_CT_LABEL:
  ------------------
  |  Branch (262:5): [True: 801, False: 188k]
  ------------------
  263|    801|        return ovs_u128_is_zero(wc->masks.ct_label);
  264|    290|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (264:5): [True: 290, False: 189k]
  ------------------
  265|    290|        return !wc->masks.ct_nw_proto;
  266|    831|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (266:5): [True: 831, False: 188k]
  ------------------
  267|    831|        return !wc->masks.ct_nw_src;
  268|    353|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (268:5): [True: 353, False: 189k]
  ------------------
  269|    353|        return !wc->masks.ct_nw_dst;
  270|    311|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (270:5): [True: 311, False: 189k]
  ------------------
  271|    311|        return !wc->masks.ct_tp_src;
  272|    444|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (272:5): [True: 444, False: 188k]
  ------------------
  273|    444|        return !wc->masks.ct_tp_dst;
  274|  1.08k|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (274:5): [True: 1.08k, False: 188k]
  ------------------
  275|  1.08k|        return ipv6_mask_is_any(&wc->masks.ct_ipv6_src);
  276|  1.48k|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (276:5): [True: 1.48k, False: 187k]
  ------------------
  277|  1.48k|        return ipv6_mask_is_any(&wc->masks.ct_ipv6_dst);
  278|  12.5k|    CASE_MFF_REGS:
  ------------------
  |  | 2065|  1.76k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 799, False: 188k]
  |  |  |  Branch (2065:20): [True: 182, False: 189k]
  |  |  |  Branch (2065:35): [True: 267, False: 189k]
  |  |  |  Branch (2065:50): [True: 514, False: 188k]
  |  |  ------------------
  |  | 2066|  3.64k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 689, False: 188k]
  |  |  |  Branch (2066:20): [True: 449, False: 188k]
  |  |  |  Branch (2066:35): [True: 444, False: 188k]
  |  |  |  Branch (2066:50): [True: 300, False: 189k]
  |  |  ------------------
  |  | 2067|  6.42k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 313, False: 189k]
  |  |  |  Branch (2067:20): [True: 300, False: 189k]
  |  |  |  Branch (2067:35): [True: 193, False: 189k]
  |  |  |  Branch (2067:51): [True: 1.97k, False: 187k]
  |  |  ------------------
  |  | 2068|  9.12k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 429, False: 188k]
  |  |  |  Branch (2068:21): [True: 316, False: 189k]
  |  |  |  Branch (2068:37): [True: 781, False: 188k]
  |  |  |  Branch (2068:53): [True: 1.17k, False: 188k]
  |  |  ------------------
  |  | 2069|  10.4k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 49, False: 189k]
  |  |  |  Branch (2069:21): [True: 399, False: 189k]
  |  |  |  Branch (2069:37): [True: 403, False: 189k]
  |  |  |  Branch (2069:53): [True: 433, False: 188k]
  |  |  ------------------
  |  | 2070|  11.2k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 216, False: 189k]
  |  |  |  Branch (2070:21): [True: 299, False: 189k]
  |  |  |  Branch (2070:37): [True: 220, False: 189k]
  |  |  |  Branch (2070:53): [True: 108, False: 189k]
  |  |  ------------------
  |  | 2071|  11.8k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 156, False: 189k]
  |  |  |  Branch (2071:21): [True: 161, False: 189k]
  |  |  |  Branch (2071:37): [True: 74, False: 189k]
  |  |  |  Branch (2071:53): [True: 156, False: 189k]
  |  |  ------------------
  |  | 2072|  12.5k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 173, False: 189k]
  |  |  |  Branch (2072:21): [True: 131, False: 189k]
  |  |  |  Branch (2072:37): [True: 278, False: 189k]
  |  |  ------------------
  ------------------
  279|  12.5k|        return !wc->masks.regs[mf->id - MFF_REG0];
  280|  6.32k|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|  1.87k|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 144, False: 189k]
  |  |  |  Branch (2081:21): [True: 103, False: 189k]
  |  |  |  Branch (2081:37): [True: 585, False: 188k]
  |  |  |  Branch (2081:53): [True: 1.04k, False: 188k]
  |  |  ------------------
  |  | 2082|  4.49k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 91, False: 189k]
  |  |  |  Branch (2082:21): [True: 835, False: 188k]
  |  |  |  Branch (2082:37): [True: 1.09k, False: 188k]
  |  |  |  Branch (2082:53): [True: 601, False: 188k]
  |  |  ------------------
  |  | 2083|  5.34k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 96, False: 189k]
  |  |  |  Branch (2083:21): [True: 515, False: 188k]
  |  |  |  Branch (2083:37): [True: 161, False: 189k]
  |  |  |  Branch (2083:54): [True: 80, False: 189k]
  |  |  ------------------
  |  | 2084|  6.32k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 242, False: 189k]
  |  |  |  Branch (2084:22): [True: 307, False: 189k]
  |  |  |  Branch (2084:39): [True: 284, False: 189k]
  |  |  ------------------
  ------------------
  281|  6.32k|        return !flow_get_xreg(&wc->masks, mf->id - MFF_XREG0);
  282|  4.83k|    CASE_MFF_XXREGS: {
  ------------------
  |  | 2093|  4.72k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 460, False: 188k]
  |  |  |  Branch (2093:22): [True: 1.21k, False: 188k]
  |  |  |  Branch (2093:39): [True: 2.52k, False: 186k]
  |  |  |  Branch (2093:56): [True: 520, False: 188k]
  |  |  ------------------
  |  | 2094|  4.83k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 34, False: 189k]
  |  |  |  Branch (2094:22): [True: 34, False: 189k]
  |  |  |  Branch (2094:39): [True: 10, False: 189k]
  |  |  ------------------
  ------------------
  283|  4.83k|        ovs_u128 value = flow_get_xxreg(&wc->masks, mf->id - MFF_XXREG0);
  284|  4.83k|        return ovs_u128_is_zero(value);
  285|  25.3k|    }
  286|    193|    case MFF_ACTSET_OUTPUT:
  ------------------
  |  Branch (286:5): [True: 193, False: 189k]
  ------------------
  287|    193|        return !wc->masks.actset_output;
  288|       |
  289|    303|    case MFF_ETH_SRC:
  ------------------
  |  Branch (289:5): [True: 303, False: 189k]
  ------------------
  290|    303|        return eth_addr_is_zero(wc->masks.dl_src);
  291|    436|    case MFF_ETH_DST:
  ------------------
  |  Branch (291:5): [True: 436, False: 188k]
  ------------------
  292|    436|        return eth_addr_is_zero(wc->masks.dl_dst);
  293|    892|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (293:5): [True: 892, False: 188k]
  ------------------
  294|    892|        return !wc->masks.dl_type;
  295|       |
  296|    268|    case MFF_ARP_SHA:
  ------------------
  |  Branch (296:5): [True: 268, False: 189k]
  ------------------
  297|  1.08k|    case MFF_ND_SLL:
  ------------------
  |  Branch (297:5): [True: 813, False: 188k]
  ------------------
  298|  1.08k|        return eth_addr_is_zero(wc->masks.arp_sha);
  299|       |
  300|    534|    case MFF_ARP_THA:
  ------------------
  |  Branch (300:5): [True: 534, False: 188k]
  ------------------
  301|  3.73k|    case MFF_ND_TLL:
  ------------------
  |  Branch (301:5): [True: 3.19k, False: 186k]
  ------------------
  302|  3.73k|        return eth_addr_is_zero(wc->masks.arp_tha);
  303|       |
  304|  1.24k|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (304:5): [True: 1.24k, False: 188k]
  ------------------
  305|  1.24k|        return !wc->masks.vlans[0].tci;
  306|      0|    case MFF_DL_VLAN:
  ------------------
  |  Branch (306:5): [True: 0, False: 189k]
  ------------------
  307|      0|        return !(wc->masks.vlans[0].tci & htons(VLAN_VID_MASK));
  308|    919|    case MFF_VLAN_VID:
  ------------------
  |  Branch (308:5): [True: 919, False: 188k]
  ------------------
  309|    919|        return !(wc->masks.vlans[0].tci & htons(VLAN_VID_MASK | VLAN_CFI));
  310|      0|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (310:5): [True: 0, False: 189k]
  ------------------
  311|    751|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (311:5): [True: 751, False: 188k]
  ------------------
  312|    751|        return !(wc->masks.vlans[0].tci & htons(VLAN_PCP_MASK));
  313|       |
  314|  1.57k|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (314:5): [True: 1.57k, False: 187k]
  ------------------
  315|  1.57k|        return !(wc->masks.mpls_lse[0] & htonl(MPLS_LABEL_MASK));
  316|    300|    case MFF_MPLS_TC:
  ------------------
  |  Branch (316:5): [True: 300, False: 189k]
  ------------------
  317|    300|        return !(wc->masks.mpls_lse[0] & htonl(MPLS_TC_MASK));
  318|    376|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (318:5): [True: 376, False: 189k]
  ------------------
  319|    376|        return !(wc->masks.mpls_lse[0] & htonl(MPLS_BOS_MASK));
  320|  2.03k|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (320:5): [True: 2.03k, False: 187k]
  ------------------
  321|  2.03k|        return !(wc->masks.mpls_lse[0] & htonl(MPLS_TTL_MASK));
  322|       |
  323|    713|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (323:5): [True: 713, False: 188k]
  ------------------
  324|    713|        return !wc->masks.nw_src;
  325|    830|    case MFF_IPV4_DST:
  ------------------
  |  Branch (325:5): [True: 830, False: 188k]
  ------------------
  326|    830|        return !wc->masks.nw_dst;
  327|       |
  328|    836|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (328:5): [True: 836, False: 188k]
  ------------------
  329|    836|        return ipv6_mask_is_any(&wc->masks.ipv6_src);
  330|  1.15k|    case MFF_IPV6_DST:
  ------------------
  |  Branch (330:5): [True: 1.15k, False: 188k]
  ------------------
  331|  1.15k|        return ipv6_mask_is_any(&wc->masks.ipv6_dst);
  332|       |
  333|    412|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (333:5): [True: 412, False: 188k]
  ------------------
  334|    412|        return !wc->masks.ipv6_label;
  335|       |
  336|  3.11k|    case MFF_IP_PROTO:
  ------------------
  |  Branch (336:5): [True: 3.11k, False: 186k]
  ------------------
  337|  3.11k|        return !wc->masks.nw_proto;
  338|    349|    case MFF_IP_DSCP:
  ------------------
  |  Branch (338:5): [True: 349, False: 189k]
  ------------------
  339|  1.89k|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (339:5): [True: 1.54k, False: 187k]
  ------------------
  340|  1.89k|        return !(wc->masks.nw_tos & IP_DSCP_MASK);
  ------------------
  |  |  724|  1.89k|#define IP_DSCP_MASK 0xfc
  ------------------
  341|    929|    case MFF_IP_ECN:
  ------------------
  |  Branch (341:5): [True: 929, False: 188k]
  ------------------
  342|    929|        return !(wc->masks.nw_tos & IP_ECN_MASK);
  ------------------
  |  |  722|    929|#define IP_ECN_MASK 0x03
  ------------------
  343|    729|    case MFF_IP_TTL:
  ------------------
  |  Branch (343:5): [True: 729, False: 188k]
  ------------------
  344|    729|        return !wc->masks.nw_ttl;
  345|       |
  346|  3.27k|    case MFF_ND_TARGET:
  ------------------
  |  Branch (346:5): [True: 3.27k, False: 186k]
  ------------------
  347|  3.27k|        return ipv6_mask_is_any(&wc->masks.nd_target);
  348|       |
  349|    421|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (349:5): [True: 421, False: 188k]
  ------------------
  350|    421|        return !wc->masks.igmp_group_ip4;
  351|    755|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (351:5): [True: 755, False: 188k]
  ------------------
  352|    755|        return !wc->masks.tcp_flags;
  353|       |
  354|  1.20k|    case MFF_IP_FRAG:
  ------------------
  |  Branch (354:5): [True: 1.20k, False: 188k]
  ------------------
  355|  1.20k|        return !(wc->masks.nw_frag & FLOW_NW_FRAG_MASK);
  ------------------
  |  |   56|  1.20k|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|  1.20k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|  1.20k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
  356|       |
  357|    657|    case MFF_ARP_OP:
  ------------------
  |  Branch (357:5): [True: 657, False: 188k]
  ------------------
  358|    657|        return !wc->masks.nw_proto;
  359|    568|    case MFF_ARP_SPA:
  ------------------
  |  Branch (359:5): [True: 568, False: 188k]
  ------------------
  360|    568|        return !wc->masks.nw_src;
  361|    878|    case MFF_ARP_TPA:
  ------------------
  |  Branch (361:5): [True: 878, False: 188k]
  ------------------
  362|    878|        return !wc->masks.nw_dst;
  363|       |
  364|    552|    case MFF_TCP_SRC:
  ------------------
  |  Branch (364:5): [True: 552, False: 188k]
  ------------------
  365|  1.36k|    case MFF_UDP_SRC:
  ------------------
  |  Branch (365:5): [True: 810, False: 188k]
  ------------------
  366|  1.75k|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (366:5): [True: 390, False: 189k]
  ------------------
  367|  2.06k|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (367:5): [True: 317, False: 189k]
  ------------------
  368|  3.86k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (368:5): [True: 1.79k, False: 187k]
  ------------------
  369|  3.86k|        return !wc->masks.tp_src;
  370|    147|    case MFF_TCP_DST:
  ------------------
  |  Branch (370:5): [True: 147, False: 189k]
  ------------------
  371|  1.00k|    case MFF_UDP_DST:
  ------------------
  |  Branch (371:5): [True: 856, False: 188k]
  ------------------
  372|  1.59k|    case MFF_SCTP_DST:
  ------------------
  |  Branch (372:5): [True: 595, False: 188k]
  ------------------
  373|  2.07k|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (373:5): [True: 475, False: 188k]
  ------------------
  374|  2.43k|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (374:5): [True: 362, False: 189k]
  ------------------
  375|  2.43k|        return !wc->masks.tp_dst;
  376|    989|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (376:5): [True: 989, False: 188k]
  ------------------
  377|    989|        return !wc->masks.tcp_flags;
  378|       |
  379|    339|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (379:5): [True: 339, False: 189k]
  ------------------
  380|    339|        return !wc->masks.nsh.flags;
  381|    851|    case MFF_NSH_TTL:
  ------------------
  |  Branch (381:5): [True: 851, False: 188k]
  ------------------
  382|    851|        return !wc->masks.nsh.ttl;
  383|    299|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (383:5): [True: 299, False: 189k]
  ------------------
  384|    299|        return !wc->masks.nsh.mdtype;
  385|    493|    case MFF_NSH_NP:
  ------------------
  |  Branch (385:5): [True: 493, False: 188k]
  ------------------
  386|    493|        return !wc->masks.nsh.np;
  387|    282|    case MFF_NSH_SPI:
  ------------------
  |  Branch (387:5): [True: 282, False: 189k]
  ------------------
  388|    282|        return !(wc->masks.nsh.path_hdr & htonl(NSH_SPI_MASK));
  389|    436|    case MFF_NSH_SI:
  ------------------
  |  Branch (389:5): [True: 436, False: 188k]
  ------------------
  390|    436|        return !(wc->masks.nsh.path_hdr & htonl(NSH_SI_MASK));
  391|    411|    case MFF_NSH_C1:
  ------------------
  |  Branch (391:5): [True: 411, False: 189k]
  ------------------
  392|    852|    case MFF_NSH_C2:
  ------------------
  |  Branch (392:5): [True: 441, False: 188k]
  ------------------
  393|    980|    case MFF_NSH_C3:
  ------------------
  |  Branch (393:5): [True: 128, False: 189k]
  ------------------
  394|  1.32k|    case MFF_NSH_C4:
  ------------------
  |  Branch (394:5): [True: 348, False: 189k]
  ------------------
  395|  1.32k|        return !wc->masks.nsh.context[mf->id - MFF_NSH_C1];
  396|    600|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (396:5): [True: 600, False: 188k]
  ------------------
  397|    600|        return !wc->masks.tunnel.gtpu_flags;
  398|    553|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (398:5): [True: 553, False: 188k]
  ------------------
  399|    553|        return !wc->masks.tunnel.gtpu_msgtype;
  400|       |
  401|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (401:5): [True: 0, False: 189k]
  ------------------
  402|      0|    default:
  ------------------
  |  Branch (402:5): [True: 0, False: 189k]
  ------------------
  403|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  404|   189k|    }
  405|   189k|}
mf_get_mask:
  416|  35.0k|{
  417|  35.0k|    mf_get_value(mf, &wc->masks, mask);
  418|  35.0k|}
mf_is_mask_valid:
  424|   203k|{
  425|   203k|    switch (mf->maskable) {
  ------------------
  |  Branch (425:13): [True: 203k, False: 0]
  ------------------
  426|  41.4k|    case MFM_NONE:
  ------------------
  |  Branch (426:5): [True: 41.4k, False: 161k]
  ------------------
  427|  41.4k|        return (is_all_zeros(mask, mf->n_bytes) ||
  ------------------
  |  Branch (427:17): [True: 7.07k, False: 34.4k]
  ------------------
  428|  34.4k|                is_all_ones(mask, mf->n_bytes));
  ------------------
  |  Branch (428:17): [True: 33.4k, False: 939]
  ------------------
  429|       |
  430|   161k|    case MFM_FULLY:
  ------------------
  |  Branch (430:5): [True: 161k, False: 41.4k]
  ------------------
  431|   161k|        return true;
  432|   203k|    }
  433|       |
  434|      0|    OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  435|   203k|}
mf_are_prereqs_ok:
  496|  3.08k|{
  497|       |    return mf_are_prereqs_ok__(mf, flow, NULL, wc);
  498|  3.08k|}
mf_are_match_prereqs_ok:
  504|  62.8k|{
  505|       |    return mf_are_prereqs_ok__(mf, &match->flow, &match->wc, NULL);
  506|  62.8k|}
mf_is_value_valid:
  520|   205k|{
  521|   205k|    switch (mf->id) {
  522|    447|    case MFF_DP_HASH:
  ------------------
  |  Branch (522:5): [True: 447, False: 205k]
  ------------------
  523|  1.08k|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (523:5): [True: 633, False: 205k]
  ------------------
  524|  16.3k|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (524:5): [True: 15.2k, False: 190k]
  ------------------
  525|  16.5k|    case MFF_CONJ_ID:
  ------------------
  |  Branch (525:5): [True: 253, False: 205k]
  ------------------
  526|  17.2k|    case MFF_TUN_ID:
  ------------------
  |  Branch (526:5): [True: 705, False: 205k]
  ------------------
  527|  17.9k|    case MFF_TUN_SRC:
  ------------------
  |  Branch (527:5): [True: 606, False: 205k]
  ------------------
  528|  18.1k|    case MFF_TUN_DST:
  ------------------
  |  Branch (528:5): [True: 234, False: 205k]
  ------------------
  529|  19.5k|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (529:5): [True: 1.38k, False: 204k]
  ------------------
  530|  20.1k|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (530:5): [True: 641, False: 205k]
  ------------------
  531|  20.1k|    case MFF_TUN_TOS:
  ------------------
  |  Branch (531:5): [True: 0, False: 205k]
  ------------------
  532|  20.1k|    case MFF_TUN_TTL:
  ------------------
  |  Branch (532:5): [True: 0, False: 205k]
  ------------------
  533|  20.6k|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (533:5): [True: 528, False: 205k]
  ------------------
  534|  21.2k|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (534:5): [True: 573, False: 205k]
  ------------------
  535|  21.4k|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (535:5): [True: 141, False: 205k]
  ------------------
  536|  22.0k|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (536:5): [True: 639, False: 205k]
  ------------------
  537|  22.2k|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (537:5): [True: 253, False: 205k]
  ------------------
  538|  22.7k|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (538:5): [True: 463, False: 205k]
  ------------------
  539|  23.3k|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (539:5): [True: 600, False: 205k]
  ------------------
  540|  23.9k|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (540:5): [True: 553, False: 205k]
  ------------------
  541|  4.82M|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|  25.7k|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 1.19k, False: 204k]
  |  |  |  Branch (2110:29): [True: 609, False: 205k]
  |  |  ------------------
  |  | 2111|  29.0k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 2.64k, False: 203k]
  |  |  |  Branch (2111:29): [True: 711, False: 205k]
  |  |  ------------------
  |  | 2112|  31.2k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 1.69k, False: 204k]
  |  |  |  Branch (2112:29): [True: 450, False: 205k]
  |  |  ------------------
  |  | 2113|  35.6k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 3.82k, False: 202k]
  |  |  |  Branch (2113:29): [True: 643, False: 205k]
  |  |  ------------------
  |  | 2114|  40.5k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 4.29k, False: 201k]
  |  |  |  Branch (2114:29): [True: 622, False: 205k]
  |  |  ------------------
  |  | 2115|  42.6k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 1.65k, False: 204k]
  |  |  |  Branch (2115:30): [True: 442, False: 205k]
  |  |  ------------------
  |  | 2116|  46.7k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 1.91k, False: 204k]
  |  |  |  Branch (2116:30): [True: 2.09k, False: 203k]
  |  |  ------------------
  |  | 2117|  49.9k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 784, False: 205k]
  |  |  |  Branch (2117:30): [True: 2.42k, False: 203k]
  |  |  ------------------
  |  | 2118|  53.2k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 2.04k, False: 203k]
  |  |  |  Branch (2118:30): [True: 1.32k, False: 204k]
  |  |  ------------------
  |  | 2119|  60.3k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 5.95k, False: 199k]
  |  |  |  Branch (2119:30): [True: 1.12k, False: 204k]
  |  |  ------------------
  |  | 2120|  64.4k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 681, False: 205k]
  |  |  |  Branch (2120:30): [True: 3.45k, False: 202k]
  |  |  ------------------
  |  | 2121|  66.6k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 1.58k, False: 204k]
  |  |  |  Branch (2121:30): [True: 540, False: 205k]
  |  |  ------------------
  |  | 2122|  71.6k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 1.23k, False: 204k]
  |  |  |  Branch (2122:30): [True: 3.79k, False: 202k]
  |  |  ------------------
  |  | 2123|  73.1k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 972, False: 204k]
  |  |  |  Branch (2123:30): [True: 547, False: 205k]
  |  |  ------------------
  |  | 2124|  74.9k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 722, False: 205k]
  |  |  |  Branch (2124:30): [True: 1.05k, False: 204k]
  |  |  ------------------
  |  | 2125|  76.6k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 1.23k, False: 204k]
  |  |  |  Branch (2125:30): [True: 437, False: 205k]
  |  |  ------------------
  |  | 2126|  82.4k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 2.03k, False: 203k]
  |  |  |  Branch (2126:30): [True: 3.83k, False: 202k]
  |  |  ------------------
  |  | 2127|  85.0k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 1.97k, False: 203k]
  |  |  |  Branch (2127:30): [True: 630, False: 205k]
  |  |  ------------------
  |  | 2128|  86.0k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 285, False: 205k]
  |  |  |  Branch (2128:30): [True: 708, False: 205k]
  |  |  ------------------
  |  | 2129|  87.0k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 327, False: 205k]
  |  |  |  Branch (2129:30): [True: 657, False: 205k]
  |  |  ------------------
  |  | 2130|  89.9k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 488, False: 205k]
  |  |  |  Branch (2130:30): [True: 2.43k, False: 203k]
  |  |  ------------------
  |  | 2131|  92.1k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 551, False: 205k]
  |  |  |  Branch (2131:30): [True: 1.62k, False: 204k]
  |  |  ------------------
  |  | 2132|  92.5k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 141, False: 205k]
  |  |  |  Branch (2132:30): [True: 273, False: 205k]
  |  |  ------------------
  |  | 2133|  94.8k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 1.31k, False: 204k]
  |  |  |  Branch (2133:30): [True: 983, False: 204k]
  |  |  ------------------
  |  | 2134|  97.9k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 1.31k, False: 204k]
  |  |  |  Branch (2134:30): [True: 1.75k, False: 204k]
  |  |  ------------------
  |  | 2135|   100k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.40k, False: 204k]
  |  |  |  Branch (2135:30): [True: 933, False: 205k]
  |  |  ------------------
  |  | 2136|   103k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 898, False: 205k]
  |  |  |  Branch (2136:30): [True: 2.21k, False: 203k]
  |  |  ------------------
  |  | 2137|   106k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 594, False: 205k]
  |  |  |  Branch (2137:30): [True: 2.04k, False: 203k]
  |  |  ------------------
  |  | 2138|   113k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 2.71k, False: 203k]
  |  |  |  Branch (2138:30): [True: 5.05k, False: 200k]
  |  |  ------------------
  |  | 2139|   116k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 1.84k, False: 204k]
  |  |  |  Branch (2139:30): [True: 904, False: 205k]
  |  |  ------------------
  |  | 2140|   120k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 2.47k, False: 203k]
  |  |  |  Branch (2140:30): [True: 1.72k, False: 204k]
  |  |  ------------------
  |  | 2141|   122k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 579, False: 205k]
  |  |  ------------------
  ------------------
  542|  4.82M|    case MFF_METADATA:
  ------------------
  |  Branch (542:5): [True: 398, False: 205k]
  ------------------
  543|   125k|    case MFF_IN_PORT:
  ------------------
  |  Branch (543:5): [True: 2.06k, False: 203k]
  ------------------
  544|   125k|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (544:5): [True: 0, False: 205k]
  ------------------
  545|   125k|    case MFF_PKT_MARK:
  ------------------
  |  Branch (545:5): [True: 484, False: 205k]
  ------------------
  546|   125k|    case MFF_CT_ZONE:
  ------------------
  |  Branch (546:5): [True: 244, False: 205k]
  ------------------
  547|   126k|    case MFF_CT_MARK:
  ------------------
  |  Branch (547:5): [True: 447, False: 205k]
  ------------------
  548|   127k|    case MFF_CT_LABEL:
  ------------------
  |  Branch (548:5): [True: 801, False: 205k]
  ------------------
  549|   127k|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (549:5): [True: 301, False: 205k]
  ------------------
  550|   128k|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (550:5): [True: 831, False: 205k]
  ------------------
  551|   128k|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (551:5): [True: 353, False: 205k]
  ------------------
  552|   129k|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (552:5): [True: 1.08k, False: 204k]
  ------------------
  553|   131k|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (553:5): [True: 1.48k, False: 204k]
  ------------------
  554|   131k|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (554:5): [True: 318, False: 205k]
  ------------------
  555|   131k|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (555:5): [True: 444, False: 205k]
  ------------------
  556|  4.46M|    CASE_MFF_REGS:
  ------------------
  |  | 2065|   133k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 802, False: 205k]
  |  |  |  Branch (2065:20): [True: 182, False: 205k]
  |  |  |  Branch (2065:35): [True: 267, False: 205k]
  |  |  |  Branch (2065:50): [True: 514, False: 205k]
  |  |  ------------------
  |  | 2066|   135k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 689, False: 205k]
  |  |  |  Branch (2066:20): [True: 449, False: 205k]
  |  |  |  Branch (2066:35): [True: 444, False: 205k]
  |  |  |  Branch (2066:50): [True: 300, False: 205k]
  |  |  ------------------
  |  | 2067|   138k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 313, False: 205k]
  |  |  |  Branch (2067:20): [True: 300, False: 205k]
  |  |  |  Branch (2067:35): [True: 193, False: 205k]
  |  |  |  Branch (2067:51): [True: 1.97k, False: 203k]
  |  |  ------------------
  |  | 2068|   141k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 429, False: 205k]
  |  |  |  Branch (2068:21): [True: 316, False: 205k]
  |  |  |  Branch (2068:37): [True: 781, False: 205k]
  |  |  |  Branch (2068:53): [True: 1.17k, False: 204k]
  |  |  ------------------
  |  | 2069|   142k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 49, False: 205k]
  |  |  |  Branch (2069:21): [True: 399, False: 205k]
  |  |  |  Branch (2069:37): [True: 403, False: 205k]
  |  |  |  Branch (2069:53): [True: 433, False: 205k]
  |  |  ------------------
  |  | 2070|   143k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 216, False: 205k]
  |  |  |  Branch (2070:21): [True: 299, False: 205k]
  |  |  |  Branch (2070:37): [True: 220, False: 205k]
  |  |  |  Branch (2070:53): [True: 108, False: 205k]
  |  |  ------------------
  |  | 2071|   143k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 156, False: 205k]
  |  |  |  Branch (2071:21): [True: 161, False: 205k]
  |  |  |  Branch (2071:37): [True: 74, False: 205k]
  |  |  |  Branch (2071:53): [True: 156, False: 205k]
  |  |  ------------------
  |  | 2072|   144k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 173, False: 205k]
  |  |  |  Branch (2072:21): [True: 131, False: 205k]
  |  |  |  Branch (2072:37): [True: 278, False: 205k]
  |  |  ------------------
  ------------------
  557|  4.46M|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|   146k|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 144, False: 205k]
  |  |  |  Branch (2081:21): [True: 103, False: 205k]
  |  |  |  Branch (2081:37): [True: 585, False: 205k]
  |  |  |  Branch (2081:53): [True: 1.04k, False: 204k]
  |  |  ------------------
  |  | 2082|   148k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 91, False: 205k]
  |  |  |  Branch (2082:21): [True: 835, False: 205k]
  |  |  |  Branch (2082:37): [True: 1.09k, False: 204k]
  |  |  |  Branch (2082:53): [True: 601, False: 205k]
  |  |  ------------------
  |  | 2083|   149k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 96, False: 205k]
  |  |  |  Branch (2083:21): [True: 515, False: 205k]
  |  |  |  Branch (2083:37): [True: 161, False: 205k]
  |  |  |  Branch (2083:54): [True: 80, False: 205k]
  |  |  ------------------
  |  | 2084|   150k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 242, False: 205k]
  |  |  |  Branch (2084:22): [True: 307, False: 205k]
  |  |  |  Branch (2084:39): [True: 284, False: 205k]
  |  |  ------------------
  ------------------
  558|  2.37M|    CASE_MFF_XXREGS:
  ------------------
  |  | 2093|   155k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 460, False: 205k]
  |  |  |  Branch (2093:22): [True: 1.21k, False: 204k]
  |  |  |  Branch (2093:39): [True: 2.52k, False: 203k]
  |  |  |  Branch (2093:56): [True: 520, False: 205k]
  |  |  ------------------
  |  | 2094|   155k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 34, False: 205k]
  |  |  |  Branch (2094:22): [True: 34, False: 205k]
  |  |  |  Branch (2094:39): [True: 10, False: 205k]
  |  |  ------------------
  ------------------
  559|  1.23M|    case MFF_ETH_SRC:
  ------------------
  |  Branch (559:5): [True: 336, False: 205k]
  ------------------
  560|   156k|    case MFF_ETH_DST:
  ------------------
  |  Branch (560:5): [True: 436, False: 205k]
  ------------------
  561|   157k|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (561:5): [True: 892, False: 205k]
  ------------------
  562|   158k|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (562:5): [True: 1.24k, False: 204k]
  ------------------
  563|   160k|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (563:5): [True: 2.03k, False: 203k]
  ------------------
  564|   161k|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (564:5): [True: 713, False: 205k]
  ------------------
  565|   162k|    case MFF_IPV4_DST:
  ------------------
  |  Branch (565:5): [True: 840, False: 205k]
  ------------------
  566|   162k|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (566:5): [True: 836, False: 205k]
  ------------------
  567|   164k|    case MFF_IPV6_DST:
  ------------------
  |  Branch (567:5): [True: 1.15k, False: 204k]
  ------------------
  568|   167k|    case MFF_IP_PROTO:
  ------------------
  |  Branch (568:5): [True: 3.39k, False: 202k]
  ------------------
  569|   168k|    case MFF_IP_TTL:
  ------------------
  |  Branch (569:5): [True: 729, False: 205k]
  ------------------
  570|   168k|    case MFF_ARP_SPA:
  ------------------
  |  Branch (570:5): [True: 571, False: 205k]
  ------------------
  571|   169k|    case MFF_ARP_TPA:
  ------------------
  |  Branch (571:5): [True: 878, False: 205k]
  ------------------
  572|   169k|    case MFF_ARP_SHA:
  ------------------
  |  Branch (572:5): [True: 268, False: 205k]
  ------------------
  573|   170k|    case MFF_ARP_THA:
  ------------------
  |  Branch (573:5): [True: 534, False: 205k]
  ------------------
  574|   171k|    case MFF_TCP_SRC:
  ------------------
  |  Branch (574:5): [True: 617, False: 205k]
  ------------------
  575|   171k|    case MFF_TCP_DST:
  ------------------
  |  Branch (575:5): [True: 190, False: 205k]
  ------------------
  576|   172k|    case MFF_UDP_SRC:
  ------------------
  |  Branch (576:5): [True: 828, False: 205k]
  ------------------
  577|   173k|    case MFF_UDP_DST:
  ------------------
  |  Branch (577:5): [True: 984, False: 204k]
  ------------------
  578|   173k|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (578:5): [True: 458, False: 205k]
  ------------------
  579|   174k|    case MFF_SCTP_DST:
  ------------------
  |  Branch (579:5): [True: 676, False: 205k]
  ------------------
  580|   174k|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (580:5): [True: 317, False: 205k]
  ------------------
  581|   175k|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (581:5): [True: 634, False: 205k]
  ------------------
  582|   177k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (582:5): [True: 1.83k, False: 204k]
  ------------------
  583|   177k|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (583:5): [True: 371, False: 205k]
  ------------------
  584|   180k|    case MFF_ND_TARGET:
  ------------------
  |  Branch (584:5): [True: 3.31k, False: 202k]
  ------------------
  585|   182k|    case MFF_ND_SLL:
  ------------------
  |  Branch (585:5): [True: 2.16k, False: 203k]
  ------------------
  586|   186k|    case MFF_ND_TLL:
  ------------------
  |  Branch (586:5): [True: 4.00k, False: 201k]
  ------------------
  587|   187k|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (587:5): [True: 421, False: 205k]
  ------------------
  588|   188k|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (588:5): [True: 773, False: 205k]
  ------------------
  589|   188k|        return true;
  590|       |
  591|    612|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (591:5): [True: 612, False: 205k]
  ------------------
  592|    806|    case MFF_ACTSET_OUTPUT: {
  ------------------
  |  Branch (592:5): [True: 194, False: 205k]
  ------------------
  593|    806|        ofp_port_t port;
  594|    806|        return !ofputil_port_from_ofp11(value->be32, &port);
  595|    612|    }
  596|       |
  597|    349|    case MFF_IP_DSCP:
  ------------------
  |  Branch (597:5): [True: 349, False: 205k]
  ------------------
  598|    349|        return !(value->u8 & ~IP_DSCP_MASK);
  ------------------
  |  |  724|    349|#define IP_DSCP_MASK 0xfc
  ------------------
  599|  1.68k|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (599:5): [True: 1.68k, False: 204k]
  ------------------
  600|  1.68k|        return !(value->u8 & (~IP_DSCP_MASK >> 2));
  ------------------
  |  |  724|  1.68k|#define IP_DSCP_MASK 0xfc
  ------------------
  601|    930|    case MFF_IP_ECN:
  ------------------
  |  Branch (601:5): [True: 930, False: 205k]
  ------------------
  602|    930|        return !(value->u8 & ~IP_ECN_MASK);
  ------------------
  |  |  722|    930|#define IP_ECN_MASK 0x03
  ------------------
  603|  1.20k|    case MFF_IP_FRAG:
  ------------------
  |  Branch (603:5): [True: 1.20k, False: 204k]
  ------------------
  604|  1.20k|        return !(value->u8 & ~FLOW_NW_FRAG_MASK);
  ------------------
  |  |   56|  1.20k|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|  1.20k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|  1.20k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
  605|    993|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (605:5): [True: 993, False: 204k]
  ------------------
  606|    993|        return !(value->be16 & ~htons(0x0fff));
  607|       |
  608|    671|    case MFF_ARP_OP:
  ------------------
  |  Branch (608:5): [True: 671, False: 205k]
  ------------------
  609|    671|        return !(value->be16 & htons(0xff00));
  610|       |
  611|      0|    case MFF_DL_VLAN:
  ------------------
  |  Branch (611:5): [True: 0, False: 205k]
  ------------------
  612|      0|        return !(value->be16 & htons(VLAN_CFI | VLAN_PCP_MASK));
  613|  1.61k|    case MFF_VLAN_VID:
  ------------------
  |  Branch (613:5): [True: 1.61k, False: 204k]
  ------------------
  614|  1.61k|        return !(value->be16 & htons(VLAN_PCP_MASK));
  615|       |
  616|      0|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (616:5): [True: 0, False: 205k]
  ------------------
  617|    775|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (617:5): [True: 775, False: 205k]
  ------------------
  618|    775|        return !(value->u8 & ~(VLAN_PCP_MASK >> VLAN_PCP_SHIFT));
  ------------------
  |  |  497|    775|#define VLAN_PCP_MASK 0xe000
  ------------------
                      return !(value->u8 & ~(VLAN_PCP_MASK >> VLAN_PCP_SHIFT));
  ------------------
  |  |  498|    775|#define VLAN_PCP_SHIFT 13
  ------------------
  619|       |
  620|    451|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (620:5): [True: 451, False: 205k]
  ------------------
  621|    451|        return !(value->be32 & ~htonl(IPV6_LABEL_MASK));
  622|       |
  623|  1.58k|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (623:5): [True: 1.58k, False: 204k]
  ------------------
  624|  1.58k|        return !(value->be32 & ~htonl(MPLS_LABEL_MASK >> MPLS_LABEL_SHIFT));
  625|       |
  626|    373|    case MFF_MPLS_TC:
  ------------------
  |  Branch (626:5): [True: 373, False: 205k]
  ------------------
  627|    373|        return !(value->u8 & ~(MPLS_TC_MASK >> MPLS_TC_SHIFT));
  ------------------
  |  |  551|    373|#define MPLS_TC_MASK        0x00000e00
  ------------------
                      return !(value->u8 & ~(MPLS_TC_MASK >> MPLS_TC_SHIFT));
  ------------------
  |  |  552|    373|#define MPLS_TC_SHIFT       9
  ------------------
  628|       |
  629|    377|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (629:5): [True: 377, False: 205k]
  ------------------
  630|    377|        return !(value->u8 & ~(MPLS_BOS_MASK >> MPLS_BOS_SHIFT));
  ------------------
  |  |  548|    377|#define MPLS_BOS_MASK       0x00000100
  ------------------
                      return !(value->u8 & ~(MPLS_BOS_MASK >> MPLS_BOS_SHIFT));
  ------------------
  |  |  549|    377|#define MPLS_BOS_SHIFT      8
  ------------------
  631|       |
  632|  1.04k|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (632:5): [True: 1.04k, False: 204k]
  ------------------
  633|  1.04k|        return !(value->be16 & ~htons(FLOW_TNL_PUB_F_MASK));
  634|       |
  635|    766|    case MFF_CT_STATE:
  ------------------
  |  Branch (635:5): [True: 766, False: 205k]
  ------------------
  636|    766|        return !(value->be32 & ~htonl(CS_SUPPORTED_MASK));
  637|       |
  638|    405|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (638:5): [True: 405, False: 205k]
  ------------------
  639|    405|        return true;
  640|    935|    case MFF_NSH_TTL:
  ------------------
  |  Branch (640:5): [True: 935, False: 205k]
  ------------------
  641|    935|        return (value->u8 <= 63);
  642|    354|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (642:5): [True: 354, False: 205k]
  ------------------
  643|    354|        return (value->u8 == 1 || value->u8 == 2);
  ------------------
  |  Branch (643:17): [True: 194, False: 160]
  |  Branch (643:35): [True: 106, False: 54]
  ------------------
  644|    493|    case MFF_NSH_NP:
  ------------------
  |  Branch (644:5): [True: 493, False: 205k]
  ------------------
  645|    493|        return true;
  646|    304|    case MFF_NSH_SPI:
  ------------------
  |  Branch (646:5): [True: 304, False: 205k]
  ------------------
  647|    304|        return !(value->be32 & htonl(0xFF000000));
  648|    436|    case MFF_NSH_SI:
  ------------------
  |  Branch (648:5): [True: 436, False: 205k]
  ------------------
  649|    847|    case MFF_NSH_C1:
  ------------------
  |  Branch (649:5): [True: 411, False: 205k]
  ------------------
  650|  1.28k|    case MFF_NSH_C2:
  ------------------
  |  Branch (650:5): [True: 441, False: 205k]
  ------------------
  651|  1.41k|    case MFF_NSH_C3:
  ------------------
  |  Branch (651:5): [True: 128, False: 205k]
  ------------------
  652|  1.76k|    case MFF_NSH_C4:
  ------------------
  |  Branch (652:5): [True: 348, False: 205k]
  ------------------
  653|  1.76k|        return true;
  654|       |
  655|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (655:5): [True: 0, False: 205k]
  ------------------
  656|      0|    default:
  ------------------
  |  Branch (656:5): [True: 0, False: 205k]
  ------------------
  657|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  658|   205k|    }
  659|   205k|}
mf_get_value:
  666|  70.0k|{
  667|  70.0k|    switch (mf->id) {
  668|    906|    case MFF_DP_HASH:
  ------------------
  |  Branch (668:5): [True: 906, False: 69.1k]
  ------------------
  669|    906|        value->be32 = htonl(flow->dp_hash);
  670|    906|        break;
  671|    638|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (671:5): [True: 638, False: 69.4k]
  ------------------
  672|    638|        value->be32 = htonl(flow->recirc_id);
  673|    638|        break;
  674|    718|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (674:5): [True: 718, False: 69.3k]
  ------------------
  675|    718|        value->be32 = flow->packet_type;
  676|    718|        break;
  677|  1.10k|    case MFF_CONJ_ID:
  ------------------
  |  Branch (677:5): [True: 1.10k, False: 68.9k]
  ------------------
  678|  1.10k|        value->be32 = htonl(flow->conj_id);
  679|  1.10k|        break;
  680|  2.00k|    case MFF_TUN_ID:
  ------------------
  |  Branch (680:5): [True: 2.00k, False: 68.0k]
  ------------------
  681|  2.00k|        value->be64 = flow->tunnel.tun_id;
  682|  2.00k|        break;
  683|     34|    case MFF_TUN_SRC:
  ------------------
  |  Branch (683:5): [True: 34, False: 70.0k]
  ------------------
  684|     34|        value->be32 = flow->tunnel.ip_src;
  685|     34|        break;
  686|     62|    case MFF_TUN_DST:
  ------------------
  |  Branch (686:5): [True: 62, False: 70.0k]
  ------------------
  687|     62|        value->be32 = flow->tunnel.ip_dst;
  688|     62|        break;
  689|     14|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (689:5): [True: 14, False: 70.0k]
  ------------------
  690|     14|        value->ipv6 = flow->tunnel.ipv6_src;
  691|     14|        break;
  692|    298|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (692:5): [True: 298, False: 69.7k]
  ------------------
  693|    298|        value->ipv6 = flow->tunnel.ipv6_dst;
  694|    298|        break;
  695|    788|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (695:5): [True: 788, False: 69.2k]
  ------------------
  696|    788|        value->be16 = htons(flow->tunnel.flags & FLOW_TNL_PUB_F_MASK);
  697|    788|        break;
  698|     18|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (698:5): [True: 18, False: 70.0k]
  ------------------
  699|     18|        value->be16 = flow->tunnel.gbp_id;
  700|     18|        break;
  701|  1.13k|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (701:5): [True: 1.13k, False: 68.9k]
  ------------------
  702|  1.13k|        value->u8 = flow->tunnel.gbp_flags;
  703|  1.13k|        break;
  704|      0|    case MFF_TUN_TTL:
  ------------------
  |  Branch (704:5): [True: 0, False: 70.0k]
  ------------------
  705|      0|        value->u8 = flow->tunnel.ip_ttl;
  706|      0|        break;
  707|      0|    case MFF_TUN_TOS:
  ------------------
  |  Branch (707:5): [True: 0, False: 70.0k]
  ------------------
  708|      0|        value->u8 = flow->tunnel.ip_tos;
  709|      0|        break;
  710|      0|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (710:5): [True: 0, False: 70.0k]
  ------------------
  711|      0|        value->u8 = flow->tunnel.erspan_ver;
  712|      0|        break;
  713|      0|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (713:5): [True: 0, False: 70.0k]
  ------------------
  714|      0|        value->be32 = htonl(flow->tunnel.erspan_idx);
  715|      0|        break;
  716|      0|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (716:5): [True: 0, False: 70.0k]
  ------------------
  717|      0|        value->u8 = flow->tunnel.erspan_dir;
  718|      0|        break;
  719|      0|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (719:5): [True: 0, False: 70.0k]
  ------------------
  720|      0|        value->u8 = flow->tunnel.erspan_hwid;
  721|      0|        break;
  722|      0|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (722:5): [True: 0, False: 70.0k]
  ------------------
  723|      0|        value->u8 = flow->tunnel.gtpu_flags;
  724|      0|        break;
  725|      0|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (725:5): [True: 0, False: 70.0k]
  ------------------
  726|      0|        value->u8 = flow->tunnel.gtpu_msgtype;
  727|      0|        break;
  728|  37.0k|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|    784|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 14, False: 70.0k]
  |  |  |  Branch (2110:29): [True: 770, False: 69.3k]
  |  |  ------------------
  |  | 2111|  2.26k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 1.17k, False: 68.9k]
  |  |  |  Branch (2111:29): [True: 310, False: 69.7k]
  |  |  ------------------
  |  | 2112|  2.36k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 34, False: 70.0k]
  |  |  |  Branch (2112:29): [True: 62, False: 70.0k]
  |  |  ------------------
  |  | 2113|  5.00k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 2.58k, False: 67.5k]
  |  |  |  Branch (2113:29): [True: 64, False: 70.0k]
  |  |  ------------------
  |  | 2114|  6.32k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 6, False: 70.0k]
  |  |  |  Branch (2114:29): [True: 1.31k, False: 68.7k]
  |  |  ------------------
  |  | 2115|  6.55k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 30, False: 70.0k]
  |  |  |  Branch (2115:30): [True: 202, False: 69.8k]
  |  |  ------------------
  |  | 2116|  7.76k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 804, False: 69.2k]
  |  |  |  Branch (2116:30): [True: 400, False: 69.6k]
  |  |  ------------------
  |  | 2117|  7.85k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 14, False: 70.0k]
  |  |  |  Branch (2117:30): [True: 80, False: 70.0k]
  |  |  ------------------
  |  | 2118|  8.52k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 34, False: 70.0k]
  |  |  |  Branch (2118:30): [True: 634, False: 69.4k]
  |  |  ------------------
  |  | 2119|  9.95k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 548, False: 69.5k]
  |  |  |  Branch (2119:30): [True: 880, False: 69.2k]
  |  |  ------------------
  |  | 2120|  11.1k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 64, False: 70.0k]
  |  |  |  Branch (2120:30): [True: 1.09k, False: 68.9k]
  |  |  ------------------
  |  | 2121|  14.0k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 950, False: 69.1k]
  |  |  |  Branch (2121:30): [True: 1.95k, False: 68.1k]
  |  |  ------------------
  |  | 2122|  18.2k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 986, False: 69.0k]
  |  |  |  Branch (2122:30): [True: 3.23k, False: 66.8k]
  |  |  ------------------
  |  | 2123|  18.5k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 24, False: 70.0k]
  |  |  |  Branch (2123:30): [True: 256, False: 69.8k]
  |  |  ------------------
  |  | 2124|  19.4k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 42, False: 70.0k]
  |  |  |  Branch (2124:30): [True: 860, False: 69.2k]
  |  |  ------------------
  |  | 2125|  21.3k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 1.86k, False: 68.2k]
  |  |  |  Branch (2125:30): [True: 64, False: 70.0k]
  |  |  ------------------
  |  | 2126|  21.6k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 216, False: 69.8k]
  |  |  |  Branch (2126:30): [True: 72, False: 70.0k]
  |  |  ------------------
  |  | 2127|  21.7k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 70, False: 70.0k]
  |  |  |  Branch (2127:30): [True: 18, False: 70.0k]
  |  |  ------------------
  |  | 2128|  21.8k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 140, False: 69.9k]
  |  |  |  Branch (2128:30): [True: 32, False: 70.0k]
  |  |  ------------------
  |  | 2129|  22.3k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 32, False: 70.0k]
  |  |  |  Branch (2129:30): [True: 448, False: 69.6k]
  |  |  ------------------
  |  | 2130|  23.5k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 1.12k, False: 68.9k]
  |  |  |  Branch (2130:30): [True: 66, False: 70.0k]
  |  |  ------------------
  |  | 2131|  24.4k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 886, False: 69.1k]
  |  |  |  Branch (2131:30): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2132|  30.3k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 5.87k, False: 64.2k]
  |  |  |  Branch (2132:30): [True: 16, False: 70.0k]
  |  |  ------------------
  |  | 2133|  30.7k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 130, False: 69.9k]
  |  |  |  Branch (2133:30): [True: 258, False: 69.8k]
  |  |  ------------------
  |  | 2134|  30.7k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 18, False: 70.0k]
  |  |  |  Branch (2134:30): [True: 20, False: 70.0k]
  |  |  ------------------
  |  | 2135|  32.6k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.62k, False: 68.4k]
  |  |  |  Branch (2135:30): [True: 286, False: 69.7k]
  |  |  ------------------
  |  | 2136|  33.8k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 984, False: 69.1k]
  |  |  |  Branch (2136:30): [True: 226, False: 69.8k]
  |  |  ------------------
  |  | 2137|  33.9k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 6, False: 70.0k]
  |  |  |  Branch (2137:30): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2138|  34.9k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 182, False: 69.9k]
  |  |  |  Branch (2138:30): [True: 834, False: 69.2k]
  |  |  ------------------
  |  | 2139|  34.9k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 6, False: 70.0k]
  |  |  |  Branch (2139:30): [True: 16, False: 70.0k]
  |  |  ------------------
  |  | 2140|  36.1k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 430, False: 69.6k]
  |  |  |  Branch (2140:30): [True: 792, False: 69.2k]
  |  |  ------------------
  |  | 2141|  37.0k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 102, False: 69.9k]
  |  |  ------------------
  ------------------
  729|  37.0k|        tun_metadata_read(&flow->tunnel, mf, value);
  730|  37.0k|        break;
  731|       |
  732|     14|    case MFF_METADATA:
  ------------------
  |  Branch (732:5): [True: 14, False: 70.0k]
  ------------------
  733|     14|        value->be64 = flow->metadata;
  734|     14|        break;
  735|       |
  736|    262|    case MFF_IN_PORT:
  ------------------
  |  Branch (736:5): [True: 262, False: 69.8k]
  ------------------
  737|    262|        value->be16 = htons(ofp_to_u16(flow->in_port.ofp_port));
  738|    262|        break;
  739|  1.97k|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (739:5): [True: 1.97k, False: 68.1k]
  ------------------
  740|  1.97k|        value->be32 = ofputil_port_to_ofp11(flow->in_port.ofp_port);
  741|  1.97k|        break;
  742|    488|    case MFF_ACTSET_OUTPUT:
  ------------------
  |  Branch (742:5): [True: 488, False: 69.5k]
  ------------------
  743|    488|        value->be32 = ofputil_port_to_ofp11(flow->actset_output);
  744|    488|        break;
  745|       |
  746|      0|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (746:5): [True: 0, False: 70.0k]
  ------------------
  747|      0|        value->be32 = htonl(flow->skb_priority);
  748|      0|        break;
  749|       |
  750|    506|    case MFF_PKT_MARK:
  ------------------
  |  Branch (750:5): [True: 506, False: 69.5k]
  ------------------
  751|    506|        value->be32 = htonl(flow->pkt_mark);
  752|    506|        break;
  753|       |
  754|  3.29k|    case MFF_CT_STATE:
  ------------------
  |  Branch (754:5): [True: 3.29k, False: 66.7k]
  ------------------
  755|  3.29k|        value->be32 = htonl(flow->ct_state);
  756|  3.29k|        break;
  757|       |
  758|     70|    case MFF_CT_ZONE:
  ------------------
  |  Branch (758:5): [True: 70, False: 70.0k]
  ------------------
  759|     70|        value->be16 = htons(flow->ct_zone);
  760|     70|        break;
  761|       |
  762|  3.64k|    case MFF_CT_MARK:
  ------------------
  |  Branch (762:5): [True: 3.64k, False: 66.4k]
  ------------------
  763|  3.64k|        value->be32 = htonl(flow->ct_mark);
  764|  3.64k|        break;
  765|       |
  766|     14|    case MFF_CT_LABEL:
  ------------------
  |  Branch (766:5): [True: 14, False: 70.0k]
  ------------------
  767|     14|        value->be128 = hton128(flow->ct_label);
  768|     14|        break;
  769|       |
  770|  1.60k|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (770:5): [True: 1.60k, False: 68.4k]
  ------------------
  771|  1.60k|        value->u8 = flow->ct_nw_proto;
  772|  1.60k|        break;
  773|       |
  774|     14|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (774:5): [True: 14, False: 70.0k]
  ------------------
  775|     14|        value->be32 = flow->ct_nw_src;
  776|     14|        break;
  777|       |
  778|      8|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (778:5): [True: 8, False: 70.0k]
  ------------------
  779|      8|        value->be32 = flow->ct_nw_dst;
  780|      8|        break;
  781|       |
  782|      6|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (782:5): [True: 6, False: 70.0k]
  ------------------
  783|      6|        value->ipv6 = flow->ct_ipv6_src;
  784|      6|        break;
  785|       |
  786|     90|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (786:5): [True: 90, False: 69.9k]
  ------------------
  787|     90|        value->ipv6 = flow->ct_ipv6_dst;
  788|     90|        break;
  789|       |
  790|    462|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (790:5): [True: 462, False: 69.6k]
  ------------------
  791|    462|        value->be16 = flow->ct_tp_src;
  792|    462|        break;
  793|       |
  794|    950|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (794:5): [True: 950, False: 69.1k]
  ------------------
  795|    950|        value->be16 = flow->ct_tp_dst;
  796|    950|        break;
  797|       |
  798|  6.58k|    CASE_MFF_REGS:
  ------------------
  |  | 2065|  3.55k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 1.97k, False: 68.1k]
  |  |  |  Branch (2065:20): [True: 586, False: 69.4k]
  |  |  |  Branch (2065:35): [True: 920, False: 69.1k]
  |  |  |  Branch (2065:50): [True: 66, False: 70.0k]
  |  |  ------------------
  |  | 2066|  3.82k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 30, False: 70.0k]
  |  |  |  Branch (2066:20): [True: 16, False: 70.0k]
  |  |  |  Branch (2066:35): [True: 162, False: 69.9k]
  |  |  |  Branch (2066:50): [True: 70, False: 70.0k]
  |  |  ------------------
  |  | 2067|  6.12k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 770, False: 69.3k]
  |  |  |  Branch (2067:20): [True: 1.39k, False: 68.6k]
  |  |  |  Branch (2067:35): [True: 98, False: 69.9k]
  |  |  |  Branch (2067:51): [True: 30, False: 70.0k]
  |  |  ------------------
  |  | 2068|  6.58k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 296, False: 69.7k]
  |  |  |  Branch (2068:21): [True: 62, False: 70.0k]
  |  |  |  Branch (2068:37): [True: 86, False: 69.9k]
  |  |  |  Branch (2068:53): [True: 18, False: 70.0k]
  |  |  ------------------
  |  | 2069|  6.58k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 0, False: 70.0k]
  |  |  |  Branch (2069:21): [True: 0, False: 70.0k]
  |  |  |  Branch (2069:37): [True: 0, False: 70.0k]
  |  |  |  Branch (2069:53): [True: 0, False: 70.0k]
  |  |  ------------------
  |  | 2070|  6.58k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 0, False: 70.0k]
  |  |  |  Branch (2070:21): [True: 0, False: 70.0k]
  |  |  |  Branch (2070:37): [True: 0, False: 70.0k]
  |  |  |  Branch (2070:53): [True: 0, False: 70.0k]
  |  |  ------------------
  |  | 2071|  6.58k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 0, False: 70.0k]
  |  |  |  Branch (2071:21): [True: 0, False: 70.0k]
  |  |  |  Branch (2071:37): [True: 0, False: 70.0k]
  |  |  |  Branch (2071:53): [True: 0, False: 70.0k]
  |  |  ------------------
  |  | 2072|  6.58k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 0, False: 70.0k]
  |  |  |  Branch (2072:21): [True: 0, False: 70.0k]
  |  |  |  Branch (2072:37): [True: 0, False: 70.0k]
  |  |  ------------------
  ------------------
  799|  6.58k|        value->be32 = htonl(flow->regs[mf->id - MFF_REG0]);
  800|  6.58k|        break;
  801|       |
  802|  4.64k|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|  1.59k|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 14, False: 70.0k]
  |  |  |  Branch (2081:21): [True: 1.54k, False: 68.5k]
  |  |  |  Branch (2081:37): [True: 30, False: 70.0k]
  |  |  |  Branch (2081:53): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2082|  4.49k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 692, False: 69.3k]
  |  |  |  Branch (2082:21): [True: 94, False: 69.9k]
  |  |  |  Branch (2082:37): [True: 2.10k, False: 67.9k]
  |  |  |  Branch (2082:53): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2083|  4.55k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 6, False: 70.0k]
  |  |  |  Branch (2083:21): [True: 8, False: 70.0k]
  |  |  |  Branch (2083:37): [True: 30, False: 70.0k]
  |  |  |  Branch (2083:54): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2084|  4.64k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 14, False: 70.0k]
  |  |  |  Branch (2084:22): [True: 32, False: 70.0k]
  |  |  |  Branch (2084:39): [True: 8, False: 70.0k]
  |  |  ------------------
  ------------------
  803|  4.64k|        value->be64 = htonll(flow_get_xreg(flow, mf->id - MFF_XREG0));
  804|  4.64k|        break;
  805|       |
  806|    548|    CASE_MFF_XXREGS:
  ------------------
  |  | 2093|    548|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 8, False: 70.0k]
  |  |  |  Branch (2093:22): [True: 8, False: 70.0k]
  |  |  |  Branch (2093:39): [True: 518, False: 69.5k]
  |  |  |  Branch (2093:56): [True: 14, False: 70.0k]
  |  |  ------------------
  |  | 2094|    548|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 0, False: 70.0k]
  |  |  |  Branch (2094:22): [True: 0, False: 70.0k]
  |  |  |  Branch (2094:39): [True: 0, False: 70.0k]
  |  |  ------------------
  ------------------
  807|    548|        value->be128 = hton128(flow_get_xxreg(flow, mf->id - MFF_XXREG0));
  808|    548|        break;
  809|       |
  810|     64|    case MFF_ETH_SRC:
  ------------------
  |  Branch (810:5): [True: 64, False: 70.0k]
  ------------------
  811|     64|        value->mac = flow->dl_src;
  812|     64|        break;
  813|       |
  814|     14|    case MFF_ETH_DST:
  ------------------
  |  Branch (814:5): [True: 14, False: 70.0k]
  ------------------
  815|     14|        value->mac = flow->dl_dst;
  816|     14|        break;
  817|       |
  818|      2|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (818:5): [True: 2, False: 70.0k]
  ------------------
  819|      2|        value->be16 = flow->dl_type;
  820|      2|        break;
  821|       |
  822|     30|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (822:5): [True: 30, False: 70.0k]
  ------------------
  823|     30|        value->be16 = flow->vlans[0].tci;
  824|     30|        break;
  825|       |
  826|      0|    case MFF_DL_VLAN:
  ------------------
  |  Branch (826:5): [True: 0, False: 70.0k]
  ------------------
  827|      0|        value->be16 = flow->vlans[0].tci & htons(VLAN_VID_MASK);
  828|      0|        break;
  829|      6|    case MFF_VLAN_VID:
  ------------------
  |  Branch (829:5): [True: 6, False: 70.0k]
  ------------------
  830|      6|        value->be16 = flow->vlans[0].tci & htons(VLAN_VID_MASK | VLAN_CFI);
  831|      6|        break;
  832|       |
  833|      0|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (833:5): [True: 0, False: 70.0k]
  ------------------
  834|      0|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (834:5): [True: 0, False: 70.0k]
  ------------------
  835|      0|        value->u8 = vlan_tci_to_pcp(flow->vlans[0].tci);
  836|      0|        break;
  837|       |
  838|      0|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (838:5): [True: 0, False: 70.0k]
  ------------------
  839|      0|        value->be32 = htonl(mpls_lse_to_label(flow->mpls_lse[0]));
  840|      0|        break;
  841|       |
  842|      0|    case MFF_MPLS_TC:
  ------------------
  |  Branch (842:5): [True: 0, False: 70.0k]
  ------------------
  843|      0|        value->u8 = mpls_lse_to_tc(flow->mpls_lse[0]);
  844|      0|        break;
  845|       |
  846|      0|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (846:5): [True: 0, False: 70.0k]
  ------------------
  847|      0|        value->u8 = mpls_lse_to_bos(flow->mpls_lse[0]);
  848|      0|        break;
  849|       |
  850|      0|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (850:5): [True: 0, False: 70.0k]
  ------------------
  851|      0|        value->u8 = mpls_lse_to_ttl(flow->mpls_lse[0]);
  852|      0|        break;
  853|       |
  854|      0|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (854:5): [True: 0, False: 70.0k]
  ------------------
  855|      0|        value->be32 = flow->nw_src;
  856|      0|        break;
  857|       |
  858|      0|    case MFF_IPV4_DST:
  ------------------
  |  Branch (858:5): [True: 0, False: 70.0k]
  ------------------
  859|      0|        value->be32 = flow->nw_dst;
  860|      0|        break;
  861|       |
  862|      0|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (862:5): [True: 0, False: 70.0k]
  ------------------
  863|      0|        value->ipv6 = flow->ipv6_src;
  864|      0|        break;
  865|       |
  866|      0|    case MFF_IPV6_DST:
  ------------------
  |  Branch (866:5): [True: 0, False: 70.0k]
  ------------------
  867|      0|        value->ipv6 = flow->ipv6_dst;
  868|      0|        break;
  869|       |
  870|      0|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (870:5): [True: 0, False: 70.0k]
  ------------------
  871|      0|        value->be32 = flow->ipv6_label;
  872|      0|        break;
  873|       |
  874|      0|    case MFF_IP_PROTO:
  ------------------
  |  Branch (874:5): [True: 0, False: 70.0k]
  ------------------
  875|      0|        value->u8 = flow->nw_proto;
  876|      0|        break;
  877|       |
  878|      0|    case MFF_IP_DSCP:
  ------------------
  |  Branch (878:5): [True: 0, False: 70.0k]
  ------------------
  879|      0|        value->u8 = flow->nw_tos & IP_DSCP_MASK;
  ------------------
  |  |  724|      0|#define IP_DSCP_MASK 0xfc
  ------------------
  880|      0|        break;
  881|       |
  882|      0|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (882:5): [True: 0, False: 70.0k]
  ------------------
  883|      0|        value->u8 = flow->nw_tos >> 2;
  884|      0|        break;
  885|       |
  886|      0|    case MFF_IP_ECN:
  ------------------
  |  Branch (886:5): [True: 0, False: 70.0k]
  ------------------
  887|      0|        value->u8 = flow->nw_tos & IP_ECN_MASK;
  ------------------
  |  |  722|      0|#define IP_ECN_MASK 0x03
  ------------------
  888|      0|        break;
  889|       |
  890|      0|    case MFF_IP_TTL:
  ------------------
  |  Branch (890:5): [True: 0, False: 70.0k]
  ------------------
  891|      0|        value->u8 = flow->nw_ttl;
  892|      0|        break;
  893|       |
  894|      0|    case MFF_IP_FRAG:
  ------------------
  |  Branch (894:5): [True: 0, False: 70.0k]
  ------------------
  895|      0|        value->u8 = flow->nw_frag;
  896|      0|        break;
  897|       |
  898|      0|    case MFF_ARP_OP:
  ------------------
  |  Branch (898:5): [True: 0, False: 70.0k]
  ------------------
  899|      0|        value->be16 = htons(flow->nw_proto);
  900|      0|        break;
  901|       |
  902|      0|    case MFF_ARP_SPA:
  ------------------
  |  Branch (902:5): [True: 0, False: 70.0k]
  ------------------
  903|      0|        value->be32 = flow->nw_src;
  904|      0|        break;
  905|       |
  906|      0|    case MFF_ARP_TPA:
  ------------------
  |  Branch (906:5): [True: 0, False: 70.0k]
  ------------------
  907|      0|        value->be32 = flow->nw_dst;
  908|      0|        break;
  909|       |
  910|      0|    case MFF_ARP_SHA:
  ------------------
  |  Branch (910:5): [True: 0, False: 70.0k]
  ------------------
  911|      0|    case MFF_ND_SLL:
  ------------------
  |  Branch (911:5): [True: 0, False: 70.0k]
  ------------------
  912|      0|        value->mac = flow->arp_sha;
  913|      0|        break;
  914|       |
  915|      0|    case MFF_ARP_THA:
  ------------------
  |  Branch (915:5): [True: 0, False: 70.0k]
  ------------------
  916|      0|    case MFF_ND_TLL:
  ------------------
  |  Branch (916:5): [True: 0, False: 70.0k]
  ------------------
  917|      0|        value->mac = flow->arp_tha;
  918|      0|        break;
  919|       |
  920|      0|    case MFF_TCP_SRC:
  ------------------
  |  Branch (920:5): [True: 0, False: 70.0k]
  ------------------
  921|      0|    case MFF_UDP_SRC:
  ------------------
  |  Branch (921:5): [True: 0, False: 70.0k]
  ------------------
  922|      0|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (922:5): [True: 0, False: 70.0k]
  ------------------
  923|      0|        value->be16 = flow->tp_src;
  924|      0|        break;
  925|       |
  926|      0|    case MFF_TCP_DST:
  ------------------
  |  Branch (926:5): [True: 0, False: 70.0k]
  ------------------
  927|      0|    case MFF_UDP_DST:
  ------------------
  |  Branch (927:5): [True: 0, False: 70.0k]
  ------------------
  928|      0|    case MFF_SCTP_DST:
  ------------------
  |  Branch (928:5): [True: 0, False: 70.0k]
  ------------------
  929|      0|        value->be16 = flow->tp_dst;
  930|      0|        break;
  931|       |
  932|      0|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (932:5): [True: 0, False: 70.0k]
  ------------------
  933|      0|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (933:5): [True: 0, False: 70.0k]
  ------------------
  934|      0|        value->be16 = flow->tcp_flags;
  935|      0|        break;
  936|       |
  937|      0|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (937:5): [True: 0, False: 70.0k]
  ------------------
  938|      0|        value->be32 = flow->igmp_group_ip4;
  939|      0|        break;
  940|       |
  941|      0|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (941:5): [True: 0, False: 70.0k]
  ------------------
  942|      0|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (942:5): [True: 0, False: 70.0k]
  ------------------
  943|      0|        value->u8 = ntohs(flow->tp_src);
  944|      0|        break;
  945|       |
  946|      0|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (946:5): [True: 0, False: 70.0k]
  ------------------
  947|      0|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (947:5): [True: 0, False: 70.0k]
  ------------------
  948|      0|        value->u8 = ntohs(flow->tp_dst);
  949|      0|        break;
  950|       |
  951|      0|    case MFF_ND_TARGET:
  ------------------
  |  Branch (951:5): [True: 0, False: 70.0k]
  ------------------
  952|      0|        value->ipv6 = flow->nd_target;
  953|      0|        break;
  954|       |
  955|      0|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (955:5): [True: 0, False: 70.0k]
  ------------------
  956|      0|        value->u8 = flow->nsh.flags;
  957|      0|        break;
  958|      0|    case MFF_NSH_TTL:
  ------------------
  |  Branch (958:5): [True: 0, False: 70.0k]
  ------------------
  959|      0|        value->u8 = flow->nsh.ttl;
  960|      0|        break;
  961|      0|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (961:5): [True: 0, False: 70.0k]
  ------------------
  962|      0|        value->u8 = flow->nsh.mdtype;
  963|      0|        break;
  964|      0|    case MFF_NSH_NP:
  ------------------
  |  Branch (964:5): [True: 0, False: 70.0k]
  ------------------
  965|      0|        value->u8 = flow->nsh.np;
  966|      0|        break;
  967|      0|    case MFF_NSH_SPI:
  ------------------
  |  Branch (967:5): [True: 0, False: 70.0k]
  ------------------
  968|      0|        value->be32 = nsh_path_hdr_to_spi(flow->nsh.path_hdr);
  969|      0|        if (value->be32 == htonl(NSH_SPI_MASK >> NSH_SPI_SHIFT)) {
  ------------------
  |  Branch (969:13): [True: 0, False: 0]
  ------------------
  970|      0|            value->be32 = OVS_BE32_MAX;
  ------------------
  |  |   43|      0|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  971|      0|        }
  972|      0|        break;
  973|      0|    case MFF_NSH_SI:
  ------------------
  |  Branch (973:5): [True: 0, False: 70.0k]
  ------------------
  974|      0|        value->u8 = nsh_path_hdr_to_si(flow->nsh.path_hdr);
  975|      0|        break;
  976|      0|    case MFF_NSH_C1:
  ------------------
  |  Branch (976:5): [True: 0, False: 70.0k]
  ------------------
  977|      0|    case MFF_NSH_C2:
  ------------------
  |  Branch (977:5): [True: 0, False: 70.0k]
  ------------------
  978|      0|    case MFF_NSH_C3:
  ------------------
  |  Branch (978:5): [True: 0, False: 70.0k]
  ------------------
  979|      0|    case MFF_NSH_C4:
  ------------------
  |  Branch (979:5): [True: 0, False: 70.0k]
  ------------------
  980|      0|        value->be32 = flow->nsh.context[mf->id - MFF_NSH_C1];
  981|      0|        break;
  982|       |
  983|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (983:5): [True: 0, False: 70.0k]
  ------------------
  984|      0|    default:
  ------------------
  |  Branch (984:5): [True: 0, False: 70.0k]
  ------------------
  985|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  986|  70.0k|    }
  987|  70.0k|}
mf_set_value:
  999|  83.2k|{
 1000|  83.2k|    if (err_str) {
  ------------------
  |  Branch (1000:9): [True: 81.0k, False: 2.24k]
  ------------------
 1001|  81.0k|        *err_str = NULL;
 1002|  81.0k|    }
 1003|       |
 1004|  83.2k|    switch (mf->id) {
 1005|     40|    case MFF_DP_HASH:
  ------------------
  |  Branch (1005:5): [True: 40, False: 83.2k]
  ------------------
 1006|     40|        match_set_dp_hash(match, ntohl(value->be32));
 1007|     40|        break;
 1008|    177|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (1008:5): [True: 177, False: 83.0k]
  ------------------
 1009|    177|        match_set_recirc_id(match, ntohl(value->be32));
 1010|    177|        break;
 1011|  15.5k|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (1011:5): [True: 15.5k, False: 67.7k]
  ------------------
 1012|  15.5k|        match_set_packet_type(match, value->be32);
 1013|  15.5k|        break;
 1014|     41|    case MFF_CONJ_ID:
  ------------------
  |  Branch (1014:5): [True: 41, False: 83.2k]
  ------------------
 1015|     41|        match_set_conj_id(match, ntohl(value->be32));
 1016|     41|        break;
 1017|     61|    case MFF_TUN_ID:
  ------------------
  |  Branch (1017:5): [True: 61, False: 83.1k]
  ------------------
 1018|     61|        match_set_tun_id(match, value->be64);
 1019|     61|        break;
 1020|    246|    case MFF_TUN_SRC:
  ------------------
  |  Branch (1020:5): [True: 246, False: 83.0k]
  ------------------
 1021|    246|        match_set_tun_src(match, value->be32);
 1022|    246|        break;
 1023|     77|    case MFF_TUN_DST:
  ------------------
  |  Branch (1023:5): [True: 77, False: 83.1k]
  ------------------
 1024|     77|        match_set_tun_dst(match, value->be32);
 1025|     77|        break;
 1026|    253|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (1026:5): [True: 253, False: 83.0k]
  ------------------
 1027|    253|        match_set_tun_ipv6_src(match, &value->ipv6);
 1028|    253|        break;
 1029|     45|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (1029:5): [True: 45, False: 83.2k]
  ------------------
 1030|     45|        match_set_tun_ipv6_dst(match, &value->ipv6);
 1031|     45|        break;
 1032|    393|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (1032:5): [True: 393, False: 82.8k]
  ------------------
 1033|    393|        match_set_tun_flags(match, ntohs(value->be16));
 1034|    393|        break;
 1035|     72|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (1035:5): [True: 72, False: 83.1k]
  ------------------
 1036|     72|         match_set_tun_gbp_id(match, value->be16);
 1037|     72|         break;
 1038|     90|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (1038:5): [True: 90, False: 83.1k]
  ------------------
 1039|     90|         match_set_tun_gbp_flags(match, value->u8);
 1040|     90|         break;
 1041|      0|    case MFF_TUN_TOS:
  ------------------
  |  Branch (1041:5): [True: 0, False: 83.2k]
  ------------------
 1042|      0|        match_set_tun_tos(match, value->u8);
 1043|      0|        break;
 1044|      0|    case MFF_TUN_TTL:
  ------------------
  |  Branch (1044:5): [True: 0, False: 83.2k]
  ------------------
 1045|      0|        match_set_tun_ttl(match, value->u8);
 1046|      0|        break;
 1047|    175|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (1047:5): [True: 175, False: 83.0k]
  ------------------
 1048|    175|        match_set_tun_erspan_ver(match, value->u8);
 1049|    175|        break;
 1050|     86|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (1050:5): [True: 86, False: 83.1k]
  ------------------
 1051|     86|        match_set_tun_erspan_idx(match, ntohl(value->be32));
 1052|     86|        break;
 1053|    149|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (1053:5): [True: 149, False: 83.1k]
  ------------------
 1054|    149|        match_set_tun_erspan_dir(match, value->u8);
 1055|    149|        break;
 1056|     74|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (1056:5): [True: 74, False: 83.1k]
  ------------------
 1057|     74|        match_set_tun_erspan_hwid(match, value->u8);
 1058|     74|        break;
 1059|    435|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (1059:5): [True: 435, False: 82.8k]
  ------------------
 1060|    435|        match_set_tun_gtpu_flags(match, value->u8);
 1061|    435|        break;
 1062|     37|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (1062:5): [True: 37, False: 83.2k]
  ------------------
 1063|     37|        match_set_tun_gtpu_msgtype(match, value->u8);
 1064|     37|        break;
 1065|  38.7k|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|    314|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 117, False: 83.1k]
  |  |  |  Branch (2110:29): [True: 197, False: 83.0k]
  |  |  ------------------
  |  | 2111|  2.93k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 2.55k, False: 80.7k]
  |  |  |  Branch (2111:29): [True: 74, False: 83.1k]
  |  |  ------------------
  |  | 2112|  4.01k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 749, False: 82.5k]
  |  |  |  Branch (2112:29): [True: 326, False: 82.9k]
  |  |  ------------------
  |  | 2113|  4.85k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 760, False: 82.5k]
  |  |  |  Branch (2113:29): [True: 86, False: 83.1k]
  |  |  ------------------
  |  | 2114|  5.58k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 319, False: 82.9k]
  |  |  |  Branch (2114:29): [True: 407, False: 82.8k]
  |  |  ------------------
  |  | 2115|  5.83k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 157, False: 83.1k]
  |  |  |  Branch (2115:30): [True: 92, False: 83.1k]
  |  |  ------------------
  |  | 2116|  7.97k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 494, False: 82.7k]
  |  |  |  Branch (2116:30): [True: 1.64k, False: 81.6k]
  |  |  ------------------
  |  | 2117|  8.78k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 213, False: 83.0k]
  |  |  |  Branch (2117:30): [True: 605, False: 82.6k]
  |  |  ------------------
  |  | 2118|  9.59k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 607, False: 82.6k]
  |  |  |  Branch (2118:30): [True: 197, False: 83.0k]
  |  |  ------------------
  |  | 2119|  13.2k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 3.46k, False: 79.7k]
  |  |  |  Branch (2119:30): [True: 144, False: 83.1k]
  |  |  ------------------
  |  | 2120|  15.1k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 320, False: 82.9k]
  |  |  |  Branch (2120:30): [True: 1.63k, False: 81.6k]
  |  |  ------------------
  |  | 2121|  16.8k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 1.44k, False: 81.8k]
  |  |  |  Branch (2121:30): [True: 212, False: 83.0k]
  |  |  ------------------
  |  | 2122|  17.7k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 323, False: 82.9k]
  |  |  |  Branch (2122:30): [True: 638, False: 82.6k]
  |  |  ------------------
  |  | 2123|  18.2k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 243, False: 83.0k]
  |  |  |  Branch (2123:30): [True: 252, False: 83.0k]
  |  |  ------------------
  |  | 2124|  19.4k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 358, False: 82.9k]
  |  |  |  Branch (2124:30): [True: 866, False: 82.3k]
  |  |  ------------------
  |  | 2125|  21.0k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 1.21k, False: 82.0k]
  |  |  |  Branch (2125:30): [True: 348, False: 82.9k]
  |  |  ------------------
  |  | 2126|  22.2k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 601, False: 82.6k]
  |  |  |  Branch (2126:30): [True: 576, False: 82.6k]
  |  |  ------------------
  |  | 2127|  23.3k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 725, False: 82.5k]
  |  |  |  Branch (2127:30): [True: 397, False: 82.8k]
  |  |  ------------------
  |  | 2128|  23.7k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 39, False: 83.2k]
  |  |  |  Branch (2128:30): [True: 349, False: 82.9k]
  |  |  ------------------
  |  | 2129|  23.9k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 148, False: 83.1k]
  |  |  |  Branch (2129:30): [True: 82, False: 83.1k]
  |  |  ------------------
  |  | 2130|  24.8k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 111, False: 83.1k]
  |  |  |  Branch (2130:30): [True: 786, False: 82.4k]
  |  |  ------------------
  |  | 2131|  25.3k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 45, False: 83.2k]
  |  |  |  Branch (2131:30): [True: 464, False: 82.7k]
  |  |  ------------------
  |  | 2132|  25.6k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 131, False: 83.1k]
  |  |  |  Branch (2132:30): [True: 99, False: 83.1k]
  |  |  ------------------
  |  | 2133|  26.9k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 919, False: 82.3k]
  |  |  |  Branch (2133:30): [True: 424, False: 82.8k]
  |  |  ------------------
  |  | 2134|  28.3k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 109, False: 83.1k]
  |  |  |  Branch (2134:30): [True: 1.27k, False: 81.9k]
  |  |  ------------------
  |  | 2135|  29.9k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.14k, False: 82.1k]
  |  |  |  Branch (2135:30): [True: 511, False: 82.7k]
  |  |  ------------------
  |  | 2136|  32.4k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 675, False: 82.5k]
  |  |  |  Branch (2136:30): [True: 1.81k, False: 81.4k]
  |  |  ------------------
  |  | 2137|  33.6k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 391, False: 82.8k]
  |  |  |  Branch (2137:30): [True: 771, False: 82.4k]
  |  |  ------------------
  |  | 2138|  34.9k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 18, False: 83.2k]
  |  |  |  Branch (2138:30): [True: 1.30k, False: 81.9k]
  |  |  ------------------
  |  | 2139|  36.1k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 825, False: 82.4k]
  |  |  |  Branch (2139:30): [True: 331, False: 82.9k]
  |  |  ------------------
  |  | 2140|  38.1k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 374, False: 82.8k]
  |  |  |  Branch (2140:30): [True: 1.69k, False: 81.5k]
  |  |  ------------------
  |  | 2141|  38.7k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 444, False: 82.8k]
  |  |  ------------------
  ------------------
 1066|  38.7k|        tun_metadata_set_match(mf, value, NULL, match, err_str);
 1067|  38.7k|        break;
 1068|       |
 1069|    194|    case MFF_METADATA:
  ------------------
  |  Branch (1069:5): [True: 194, False: 83.0k]
  ------------------
 1070|    194|        match_set_metadata(match, value->be64);
 1071|    194|        break;
 1072|       |
 1073|  1.97k|    case MFF_IN_PORT:
  ------------------
  |  Branch (1073:5): [True: 1.97k, False: 81.2k]
  ------------------
 1074|  1.97k|        match_set_in_port(match, u16_to_ofp(ntohs(value->be16)));
 1075|  1.97k|        break;
 1076|       |
 1077|    654|    case MFF_IN_PORT_OXM: {
  ------------------
  |  Branch (1077:5): [True: 654, False: 82.6k]
  ------------------
 1078|    654|        ofp_port_t port;
 1079|    654|        ofputil_port_from_ofp11(value->be32, &port);
 1080|    654|        match_set_in_port(match, port);
 1081|    654|        break;
 1082|  1.22M|    }
 1083|    181|    case MFF_ACTSET_OUTPUT: {
  ------------------
  |  Branch (1083:5): [True: 181, False: 83.0k]
  ------------------
 1084|    181|        ofp_port_t port;
 1085|    181|        ofputil_port_from_ofp11(value->be32, &port);
 1086|    181|        match_set_actset_output(match, port);
 1087|    181|        break;
 1088|  1.22M|    }
 1089|       |
 1090|      0|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (1090:5): [True: 0, False: 83.2k]
  ------------------
 1091|      0|        match_set_skb_priority(match, ntohl(value->be32));
 1092|      0|        break;
 1093|       |
 1094|    164|    case MFF_PKT_MARK:
  ------------------
  |  Branch (1094:5): [True: 164, False: 83.0k]
  ------------------
 1095|    164|        match_set_pkt_mark(match, ntohl(value->be32));
 1096|    164|        break;
 1097|       |
 1098|  1.73k|    case MFF_CT_STATE:
  ------------------
  |  Branch (1098:5): [True: 1.73k, False: 81.5k]
  ------------------
 1099|  1.73k|        match_set_ct_state(match, ntohl(value->be32));
 1100|  1.73k|        break;
 1101|       |
 1102|    140|    case MFF_CT_ZONE:
  ------------------
  |  Branch (1102:5): [True: 140, False: 83.1k]
  ------------------
 1103|    140|        match_set_ct_zone(match, ntohs(value->be16));
 1104|    140|        break;
 1105|       |
 1106|    102|    case MFF_CT_MARK:
  ------------------
  |  Branch (1106:5): [True: 102, False: 83.1k]
  ------------------
 1107|    102|        match_set_ct_mark(match, ntohl(value->be32));
 1108|    102|        break;
 1109|       |
 1110|    204|    case MFF_CT_LABEL:
  ------------------
  |  Branch (1110:5): [True: 204, False: 83.0k]
  ------------------
 1111|    204|        match_set_ct_label(match, ntoh128(value->be128));
 1112|    204|        break;
 1113|       |
 1114|    246|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (1114:5): [True: 246, False: 83.0k]
  ------------------
 1115|    246|        match_set_ct_nw_proto(match, value->u8);
 1116|    246|        break;
 1117|       |
 1118|    262|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (1118:5): [True: 262, False: 82.9k]
  ------------------
 1119|    262|        match_set_ct_nw_src(match, value->be32);
 1120|    262|        break;
 1121|       |
 1122|     76|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (1122:5): [True: 76, False: 83.1k]
  ------------------
 1123|     76|        match_set_ct_nw_dst(match, value->be32);
 1124|     76|        break;
 1125|       |
 1126|     34|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (1126:5): [True: 34, False: 83.2k]
  ------------------
 1127|     34|        match_set_ct_ipv6_src(match, &value->ipv6);
 1128|     34|        break;
 1129|       |
 1130|    328|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (1130:5): [True: 328, False: 82.9k]
  ------------------
 1131|    328|        match_set_ct_ipv6_dst(match, &value->ipv6);
 1132|    328|        break;
 1133|       |
 1134|     35|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (1134:5): [True: 35, False: 83.2k]
  ------------------
 1135|     35|        match_set_ct_tp_src(match, value->be16);
 1136|     35|        break;
 1137|       |
 1138|    194|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (1138:5): [True: 194, False: 83.0k]
  ------------------
 1139|    194|        match_set_ct_tp_dst(match, value->be16);
 1140|    194|        break;
 1141|       |
 1142|  5.32k|    CASE_MFF_REGS:
  ------------------
  |  | 2065|  1.02k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 646, False: 82.6k]
  |  |  |  Branch (2065:20): [True: 65, False: 83.1k]
  |  |  |  Branch (2065:35): [True: 229, False: 83.0k]
  |  |  |  Branch (2065:50): [True: 88, False: 83.1k]
  |  |  ------------------
  |  | 2066|  1.81k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 414, False: 82.8k]
  |  |  |  Branch (2066:20): [True: 259, False: 83.0k]
  |  |  |  Branch (2066:35): [True: 35, False: 83.2k]
  |  |  |  Branch (2066:50): [True: 74, False: 83.1k]
  |  |  ------------------
  |  | 2067|  3.60k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 78, False: 83.1k]
  |  |  |  Branch (2067:20): [True: 40, False: 83.2k]
  |  |  |  Branch (2067:35): [True: 13, False: 83.2k]
  |  |  |  Branch (2067:51): [True: 1.66k, False: 81.5k]
  |  |  ------------------
  |  | 2068|  4.15k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 90, False: 83.1k]
  |  |  |  Branch (2068:21): [True: 74, False: 83.1k]
  |  |  |  Branch (2068:37): [True: 285, False: 82.9k]
  |  |  |  Branch (2068:53): [True: 103, False: 83.1k]
  |  |  ------------------
  |  | 2069|  4.51k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 10, False: 83.2k]
  |  |  |  Branch (2069:21): [True: 68, False: 83.1k]
  |  |  |  Branch (2069:37): [True: 84, False: 83.1k]
  |  |  |  Branch (2069:53): [True: 197, False: 83.0k]
  |  |  ------------------
  |  | 2070|  4.84k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 195, False: 83.0k]
  |  |  |  Branch (2070:21): [True: 34, False: 83.2k]
  |  |  |  Branch (2070:37): [True: 85, False: 83.1k]
  |  |  |  Branch (2070:53): [True: 18, False: 83.2k]
  |  |  ------------------
  |  | 2071|  5.02k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 66, False: 83.1k]
  |  |  |  Branch (2071:21): [True: 58, False: 83.2k]
  |  |  |  Branch (2071:37): [True: 18, False: 83.2k]
  |  |  |  Branch (2071:53): [True: 35, False: 83.2k]
  |  |  ------------------
  |  | 2072|  5.32k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 66, False: 83.1k]
  |  |  |  Branch (2072:21): [True: 18, False: 83.2k]
  |  |  |  Branch (2072:37): [True: 194, False: 83.0k]
  |  |  ------------------
  ------------------
 1143|  5.32k|        match_set_reg(match, mf->id - MFF_REG0, ntohl(value->be32));
 1144|  5.32k|        break;
 1145|       |
 1146|  1.65k|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|    661|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 11, False: 83.2k]
  |  |  |  Branch (2081:21): [True: 67, False: 83.1k]
  |  |  |  Branch (2081:37): [True: 317, False: 82.9k]
  |  |  |  Branch (2081:53): [True: 266, False: 82.9k]
  |  |  ------------------
  |  | 2082|  1.20k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 18, False: 83.2k]
  |  |  |  Branch (2082:21): [True: 389, False: 82.8k]
  |  |  |  Branch (2082:37): [True: 68, False: 83.1k]
  |  |  |  Branch (2082:53): [True: 67, False: 83.1k]
  |  |  ------------------
  |  | 2083|  1.51k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 12, False: 83.2k]
  |  |  |  Branch (2083:21): [True: 258, False: 83.0k]
  |  |  |  Branch (2083:37): [True: 36, False: 83.2k]
  |  |  |  Branch (2083:54): [True: 10, False: 83.2k]
  |  |  ------------------
  |  | 2084|  1.65k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 66, False: 83.1k]
  |  |  |  Branch (2084:22): [True: 35, False: 83.2k]
  |  |  |  Branch (2084:39): [True: 18, False: 83.2k]
  |  |  ------------------
  ------------------
 1147|  1.65k|        match_set_xreg(match, mf->id - MFF_XREG0, ntohll(value->be64));
 1148|  1.65k|        break;
 1149|       |
 1150|  1.19k|    CASE_MFF_XXREGS:
  ------------------
  |  | 2093|  1.08k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 114, False: 83.1k]
  |  |  |  Branch (2093:22): [True: 861, False: 82.3k]
  |  |  |  Branch (2093:39): [True: 98, False: 83.1k]
  |  |  |  Branch (2093:56): [True: 10, False: 83.2k]
  |  |  ------------------
  |  | 2094|  1.19k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 34, False: 83.2k]
  |  |  |  Branch (2094:22): [True: 34, False: 83.2k]
  |  |  |  Branch (2094:39): [True: 10, False: 83.2k]
  |  |  ------------------
  ------------------
 1151|  1.19k|        match_set_xxreg(match, mf->id - MFF_XXREG0, ntoh128(value->be128));
 1152|  1.19k|        break;
 1153|       |
 1154|     81|    case MFF_ETH_SRC:
  ------------------
  |  Branch (1154:5): [True: 81, False: 83.1k]
  ------------------
 1155|     81|        match_set_dl_src(match, value->mac);
 1156|     81|        break;
 1157|       |
 1158|     19|    case MFF_ETH_DST:
  ------------------
  |  Branch (1158:5): [True: 19, False: 83.2k]
  ------------------
 1159|     19|        match_set_dl_dst(match, value->mac);
 1160|     19|        break;
 1161|       |
 1162|    505|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (1162:5): [True: 505, False: 82.7k]
  ------------------
 1163|    505|        match_set_dl_type(match, value->be16);
 1164|    505|        break;
 1165|       |
 1166|    117|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (1166:5): [True: 117, False: 83.1k]
  ------------------
 1167|    117|        match_set_dl_tci(match, value->be16);
 1168|    117|        break;
 1169|       |
 1170|      0|    case MFF_DL_VLAN:
  ------------------
  |  Branch (1170:5): [True: 0, False: 83.2k]
  ------------------
 1171|      0|        match_set_dl_vlan(match, value->be16, 0);
 1172|      0|        break;
 1173|    122|    case MFF_VLAN_VID:
  ------------------
  |  Branch (1173:5): [True: 122, False: 83.1k]
  ------------------
 1174|    122|        match_set_vlan_vid(match, value->be16);
 1175|    122|        break;
 1176|       |
 1177|      0|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (1177:5): [True: 0, False: 83.2k]
  ------------------
 1178|    276|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (1178:5): [True: 276, False: 82.9k]
  ------------------
 1179|    276|        match_set_dl_vlan_pcp(match, value->u8, 0);
 1180|    276|        break;
 1181|       |
 1182|    209|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (1182:5): [True: 209, False: 83.0k]
  ------------------
 1183|    209|        match_set_mpls_label(match, 0, value->be32);
 1184|    209|        break;
 1185|       |
 1186|    139|    case MFF_MPLS_TC:
  ------------------
  |  Branch (1186:5): [True: 139, False: 83.1k]
  ------------------
 1187|    139|        match_set_mpls_tc(match, 0, value->u8);
 1188|    139|        break;
 1189|       |
 1190|    214|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (1190:5): [True: 214, False: 83.0k]
  ------------------
 1191|    214|        match_set_mpls_bos(match, 0, value->u8);
 1192|    214|        break;
 1193|       |
 1194|    211|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (1194:5): [True: 211, False: 83.0k]
  ------------------
 1195|    211|        match_set_mpls_ttl(match, 0, value->u8);
 1196|    211|        break;
 1197|       |
 1198|     78|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (1198:5): [True: 78, False: 83.1k]
  ------------------
 1199|     78|        match_set_nw_src(match, value->be32);
 1200|     78|        break;
 1201|       |
 1202|    676|    case MFF_IPV4_DST:
  ------------------
  |  Branch (1202:5): [True: 676, False: 82.5k]
  ------------------
 1203|    676|        match_set_nw_dst(match, value->be32);
 1204|    676|        break;
 1205|       |
 1206|     35|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (1206:5): [True: 35, False: 83.2k]
  ------------------
 1207|     35|        match_set_ipv6_src(match, &value->ipv6);
 1208|     35|        break;
 1209|       |
 1210|     38|    case MFF_IPV6_DST:
  ------------------
  |  Branch (1210:5): [True: 38, False: 83.2k]
  ------------------
 1211|     38|        match_set_ipv6_dst(match, &value->ipv6);
 1212|     38|        break;
 1213|       |
 1214|    221|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (1214:5): [True: 221, False: 83.0k]
  ------------------
 1215|    221|        match_set_ipv6_label(match, value->be32);
 1216|    221|        break;
 1217|       |
 1218|  2.60k|    case MFF_IP_PROTO:
  ------------------
  |  Branch (1218:5): [True: 2.60k, False: 80.6k]
  ------------------
 1219|  2.60k|        match_set_nw_proto(match, value->u8);
 1220|  2.60k|        break;
 1221|       |
 1222|    197|    case MFF_IP_DSCP:
  ------------------
  |  Branch (1222:5): [True: 197, False: 83.0k]
  ------------------
 1223|    197|        match_set_nw_dscp(match, value->u8);
 1224|    197|        break;
 1225|       |
 1226|    106|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (1226:5): [True: 106, False: 83.1k]
  ------------------
 1227|    106|        match_set_nw_dscp(match, value->u8 << 2);
 1228|    106|        break;
 1229|       |
 1230|    259|    case MFF_IP_ECN:
  ------------------
  |  Branch (1230:5): [True: 259, False: 83.0k]
  ------------------
 1231|    259|        match_set_nw_ecn(match, value->u8);
 1232|    259|        break;
 1233|       |
 1234|    578|    case MFF_IP_TTL:
  ------------------
  |  Branch (1234:5): [True: 578, False: 82.6k]
  ------------------
 1235|    578|        match_set_nw_ttl(match, value->u8);
 1236|    578|        break;
 1237|       |
 1238|     43|    case MFF_IP_FRAG:
  ------------------
  |  Branch (1238:5): [True: 43, False: 83.2k]
  ------------------
 1239|     43|        match_set_nw_frag(match, value->u8);
 1240|     43|        break;
 1241|       |
 1242|    261|    case MFF_ARP_OP:
  ------------------
  |  Branch (1242:5): [True: 261, False: 82.9k]
  ------------------
 1243|    261|        match_set_nw_proto(match, ntohs(value->be16));
 1244|    261|        break;
 1245|       |
 1246|    227|    case MFF_ARP_SPA:
  ------------------
  |  Branch (1246:5): [True: 227, False: 83.0k]
  ------------------
 1247|    227|        match_set_nw_src(match, value->be32);
 1248|    227|        break;
 1249|       |
 1250|     93|    case MFF_ARP_TPA:
  ------------------
  |  Branch (1250:5): [True: 93, False: 83.1k]
  ------------------
 1251|     93|        match_set_nw_dst(match, value->be32);
 1252|     93|        break;
 1253|       |
 1254|     39|    case MFF_ARP_SHA:
  ------------------
  |  Branch (1254:5): [True: 39, False: 83.2k]
  ------------------
 1255|    211|    case MFF_ND_SLL:
  ------------------
  |  Branch (1255:5): [True: 172, False: 83.0k]
  ------------------
 1256|    211|        match_set_arp_sha(match, value->mac);
 1257|    211|        break;
 1258|       |
 1259|     10|    case MFF_ARP_THA:
  ------------------
  |  Branch (1259:5): [True: 10, False: 83.2k]
  ------------------
 1260|    151|    case MFF_ND_TLL:
  ------------------
  |  Branch (1260:5): [True: 141, False: 83.1k]
  ------------------
 1261|    151|        match_set_arp_tha(match, value->mac);
 1262|    151|        break;
 1263|       |
 1264|    129|    case MFF_TCP_SRC:
  ------------------
  |  Branch (1264:5): [True: 129, False: 83.1k]
  ------------------
 1265|    516|    case MFF_UDP_SRC:
  ------------------
  |  Branch (1265:5): [True: 387, False: 82.8k]
  ------------------
 1266|    551|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (1266:5): [True: 35, False: 83.2k]
  ------------------
 1267|    551|        match_set_tp_src(match, value->be16);
 1268|    551|        break;
 1269|       |
 1270|     25|    case MFF_TCP_DST:
  ------------------
  |  Branch (1270:5): [True: 25, False: 83.2k]
  ------------------
 1271|    229|    case MFF_UDP_DST:
  ------------------
  |  Branch (1271:5): [True: 204, False: 83.0k]
  ------------------
 1272|    330|    case MFF_SCTP_DST:
  ------------------
  |  Branch (1272:5): [True: 101, False: 83.1k]
  ------------------
 1273|    330|        match_set_tp_dst(match, value->be16);
 1274|    330|        break;
 1275|       |
 1276|    262|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (1276:5): [True: 262, False: 82.9k]
  ------------------
 1277|    262|        match_set_tcp_flags(match, value->be16);
 1278|    262|        break;
 1279|       |
 1280|    198|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (1280:5): [True: 198, False: 83.0k]
  ------------------
 1281|  1.03k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (1281:5): [True: 836, False: 82.4k]
  ------------------
 1282|  1.03k|        match_set_icmp_type(match, value->u8);
 1283|  1.03k|        break;
 1284|       |
 1285|    204|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (1285:5): [True: 204, False: 83.0k]
  ------------------
 1286|    333|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (1286:5): [True: 129, False: 83.1k]
  ------------------
 1287|    333|        match_set_icmp_code(match, value->u8);
 1288|    333|        break;
 1289|       |
 1290|     73|    case MFF_ND_TARGET:
  ------------------
  |  Branch (1290:5): [True: 73, False: 83.1k]
  ------------------
 1291|     73|        match_set_nd_target(match, &value->ipv6);
 1292|     73|        break;
 1293|       |
 1294|    147|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (1294:5): [True: 147, False: 83.1k]
  ------------------
 1295|    147|        match_set_nd_reserved(match, value->be32);
 1296|    147|        break;
 1297|       |
 1298|    171|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (1298:5): [True: 171, False: 83.0k]
  ------------------
 1299|    171|        match_set_nd_options_type(match, value->u8);
 1300|    171|        break;
 1301|       |
 1302|     67|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (1302:5): [True: 67, False: 83.1k]
  ------------------
 1303|     67|        MATCH_SET_FIELD_UINT8(match, nsh.flags, value->u8);
  ------------------
  |  |   56|     67|    MATCH_SET_FIELD_MASKED(match, field, value, UINT8_MAX)
  |  |  ------------------
  |  |  |  |   50|     67|    do {                                                      \
  |  |  |  |   51|     67|        (match)->wc.masks.field = (msk);                      \
  |  |  |  |   52|     67|        (match)->flow.field = (value) & (msk);                \
  |  |  |  |   53|     67|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:14): [Folded, False: 67]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|     67|        break;
 1305|    425|    case MFF_NSH_TTL:
  ------------------
  |  Branch (1305:5): [True: 425, False: 82.8k]
  ------------------
 1306|    425|        MATCH_SET_FIELD_UINT8(match, nsh.ttl, value->u8);
  ------------------
  |  |   56|    425|    MATCH_SET_FIELD_MASKED(match, field, value, UINT8_MAX)
  |  |  ------------------
  |  |  |  |   50|    425|    do {                                                      \
  |  |  |  |   51|    425|        (match)->wc.masks.field = (msk);                      \
  |  |  |  |   52|    425|        (match)->flow.field = (value) & (msk);                \
  |  |  |  |   53|    425|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:14): [Folded, False: 425]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|    425|        break;
 1308|    194|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (1308:5): [True: 194, False: 83.0k]
  ------------------
 1309|    194|        MATCH_SET_FIELD_UINT8(match, nsh.mdtype, value->u8);
  ------------------
  |  |   56|    194|    MATCH_SET_FIELD_MASKED(match, field, value, UINT8_MAX)
  |  |  ------------------
  |  |  |  |   50|    194|    do {                                                      \
  |  |  |  |   51|    194|        (match)->wc.masks.field = (msk);                      \
  |  |  |  |   52|    194|        (match)->flow.field = (value) & (msk);                \
  |  |  |  |   53|    194|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:14): [Folded, False: 194]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|    194|        break;
 1311|    298|    case MFF_NSH_NP:
  ------------------
  |  Branch (1311:5): [True: 298, False: 82.9k]
  ------------------
 1312|    298|        MATCH_SET_FIELD_UINT8(match, nsh.np, value->u8);
  ------------------
  |  |   56|    298|    MATCH_SET_FIELD_MASKED(match, field, value, UINT8_MAX)
  |  |  ------------------
  |  |  |  |   50|    298|    do {                                                      \
  |  |  |  |   51|    298|        (match)->wc.masks.field = (msk);                      \
  |  |  |  |   52|    298|        (match)->flow.field = (value) & (msk);                \
  |  |  |  |   53|    298|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:14): [Folded, False: 298]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|    298|        break;
 1314|     15|    case MFF_NSH_SPI:
  ------------------
  |  Branch (1314:5): [True: 15, False: 83.2k]
  ------------------
 1315|     15|        match->wc.masks.nsh.path_hdr |= htonl(NSH_SPI_MASK);
 1316|     15|        nsh_path_hdr_set_spi(&match->flow.nsh.path_hdr, value->be32);
 1317|     15|        break;
 1318|    148|    case MFF_NSH_SI:
  ------------------
  |  Branch (1318:5): [True: 148, False: 83.1k]
  ------------------
 1319|    148|        match->wc.masks.nsh.path_hdr |= htonl(NSH_SI_MASK);
 1320|    148|        nsh_path_hdr_set_si(&match->flow.nsh.path_hdr, value->u8);
 1321|    148|        break;
 1322|     69|    case MFF_NSH_C1:
  ------------------
  |  Branch (1322:5): [True: 69, False: 83.1k]
  ------------------
 1323|    136|    case MFF_NSH_C2:
  ------------------
  |  Branch (1323:5): [True: 67, False: 83.1k]
  ------------------
 1324|    170|    case MFF_NSH_C3:
  ------------------
  |  Branch (1324:5): [True: 34, False: 83.2k]
  ------------------
 1325|    180|    case MFF_NSH_C4:
  ------------------
  |  Branch (1325:5): [True: 10, False: 83.2k]
  ------------------
 1326|    180|        MATCH_SET_FIELD_BE32(match, nsh.context[mf->id - MFF_NSH_C1],
  ------------------
  |  |   59|    180|    MATCH_SET_FIELD_MASKED(match, field, value, OVS_BE32_MAX)
  |  |  ------------------
  |  |  |  |   50|    180|    do {                                                      \
  |  |  |  |   51|    180|        (match)->wc.masks.field = (msk);                      \
  |  |  |  |   52|    180|        (match)->flow.field = (value) & (msk);                \
  |  |  |  |   53|    180|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:14): [Folded, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|    180|                             value->be32);
 1328|    180|        break;
 1329|       |
 1330|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (1330:5): [True: 0, False: 83.2k]
  ------------------
 1331|      0|    default:
  ------------------
  |  Branch (1331:5): [True: 0, False: 83.2k]
  ------------------
 1332|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1333|  83.2k|    }
 1334|  83.2k|}
mf_field_len:
 1403|   101k|{
 1404|   101k|    int len, mask_len;
 1405|   101k|    bool is_masked = mask && !is_all_ones(mask, mf->n_bytes);
  ------------------
  |  Branch (1405:22): [True: 63.0k, False: 38.7k]
  |  Branch (1405:30): [True: 63.0k, False: 0]
  ------------------
 1406|       |
 1407|   101k|    len = field_len(mf, value);
 1408|   101k|    if (is_masked) {
  ------------------
  |  Branch (1408:9): [True: 63.0k, False: 38.7k]
  ------------------
 1409|  63.0k|        mask_len = field_len(mf, mask);
 1410|  63.0k|        len = MAX(len, mask_len);
  ------------------
  |  |   95|  63.0k|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 0, False: 63.0k]
  |  |  ------------------
  ------------------
 1411|  63.0k|    }
 1412|       |
 1413|   101k|    if (is_masked_) {
  ------------------
  |  Branch (1413:9): [True: 101k, False: 0]
  ------------------
 1414|   101k|        *is_masked_ = is_masked;
 1415|   101k|    }
 1416|       |
 1417|   101k|    return len;
 1418|   101k|}
mf_is_tun_metadata:
 1897|  66.2k|{
 1898|  66.2k|    return mf->id >= MFF_TUN_METADATA0 &&
  ------------------
  |  Branch (1898:12): [True: 64.0k, False: 2.19k]
  ------------------
 1899|  64.0k|           mf->id < MFF_TUN_METADATA0 + TUN_METADATA_NUM_OPTS;
  ------------------
  |  |   26|   130k|#define TUN_METADATA_NUM_OPTS 64
  ------------------
  |  Branch (1899:12): [True: 39.6k, False: 24.3k]
  ------------------
 1900|  66.2k|}
mf_is_pipeline_field:
 2026|  92.8k|{
 2027|  92.8k|    switch (mf->id) {
 2028|    432|    case MFF_TUN_ID:
  ------------------
  |  Branch (2028:5): [True: 432, False: 92.4k]
  ------------------
 2029|    595|    case MFF_TUN_SRC:
  ------------------
  |  Branch (2029:5): [True: 163, False: 92.7k]
  ------------------
 2030|    652|    case MFF_TUN_DST:
  ------------------
  |  Branch (2030:5): [True: 57, False: 92.8k]
  ------------------
 2031|  1.21k|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (2031:5): [True: 562, False: 92.3k]
  ------------------
 2032|  1.31k|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (2032:5): [True: 96, False: 92.7k]
  ------------------
 2033|  1.79k|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (2033:5): [True: 481, False: 92.3k]
  ------------------
 2034|  2.26k|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (2034:5): [True: 476, False: 92.3k]
  ------------------
 2035|  2.59k|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (2035:5): [True: 323, False: 92.5k]
  ------------------
 2036|  3.06k|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (2036:5): [True: 471, False: 92.4k]
  ------------------
 2037|  3.08k|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (2037:5): [True: 26, False: 92.8k]
  ------------------
 2038|  3.13k|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (2038:5): [True: 51, False: 92.8k]
  ------------------
 2039|  3.19k|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (2039:5): [True: 58, False: 92.8k]
  ------------------
 2040|  3.36k|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (2040:5): [True: 172, False: 92.7k]
  ------------------
 2041|  3.45k|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (2041:5): [True: 91, False: 92.7k]
  ------------------
 2042|  2.37M|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|  4.99k|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 1.17k, False: 91.7k]
  |  |  |  Branch (2110:29): [True: 358, False: 92.5k]
  |  |  ------------------
  |  | 2111|  7.95k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 2.53k, False: 90.3k]
  |  |  |  Branch (2111:29): [True: 432, False: 92.4k]
  |  |  ------------------
  |  | 2112|  9.12k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 758, False: 92.1k]
  |  |  |  Branch (2112:29): [True: 413, False: 92.4k]
  |  |  ------------------
  |  | 2113|  12.8k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 3.55k, False: 89.3k]
  |  |  |  Branch (2113:29): [True: 125, False: 92.7k]
  |  |  ------------------
  |  | 2114|  13.5k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 324, False: 92.5k]
  |  |  |  Branch (2114:29): [True: 406, False: 92.4k]
  |  |  ------------------
  |  | 2115|  13.7k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 144, False: 92.7k]
  |  |  |  Branch (2115:30): [True: 112, False: 92.7k]
  |  |  ------------------
  |  | 2116|  17.3k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 1.89k, False: 90.9k]
  |  |  |  Branch (2116:30): [True: 1.68k, False: 91.1k]
  |  |  ------------------
  |  | 2117|  19.8k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 99, False: 92.7k]
  |  |  |  Branch (2117:30): [True: 2.34k, False: 90.5k]
  |  |  ------------------
  |  | 2118|  22.1k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 1.44k, False: 91.4k]
  |  |  |  Branch (2118:30): [True: 875, False: 92.0k]
  |  |  ------------------
  |  | 2119|  28.8k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 5.73k, False: 87.1k]
  |  |  |  Branch (2119:30): [True: 972, False: 91.9k]
  |  |  ------------------
  |  | 2120|  31.9k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 551, False: 92.3k]
  |  |  |  Branch (2120:30): [True: 2.60k, False: 90.2k]
  |  |  ------------------
  |  | 2121|  33.7k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 1.51k, False: 91.3k]
  |  |  |  Branch (2121:30): [True: 193, False: 92.6k]
  |  |  ------------------
  |  | 2122|  34.7k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 486, False: 92.3k]
  |  |  |  Branch (2122:30): [True: 534, False: 92.3k]
  |  |  ------------------
  |  | 2123|  35.9k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 882, False: 91.9k]
  |  |  |  Branch (2123:30): [True: 313, False: 92.5k]
  |  |  ------------------
  |  | 2124|  37.0k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 216, False: 92.6k]
  |  |  |  Branch (2124:30): [True: 927, False: 91.9k]
  |  |  ------------------
  |  | 2125|  38.6k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 1.20k, False: 91.6k]
  |  |  |  Branch (2125:30): [True: 401, False: 92.4k]
  |  |  ------------------
  |  | 2126|  40.6k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 1.42k, False: 91.4k]
  |  |  |  Branch (2126:30): [True: 587, False: 92.2k]
  |  |  ------------------
  |  | 2127|  42.9k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 1.80k, False: 91.0k]
  |  |  |  Branch (2127:30): [True: 501, False: 92.3k]
  |  |  ------------------
  |  | 2128|  43.5k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 250, False: 92.6k]
  |  |  |  Branch (2128:30): [True: 275, False: 92.6k]
  |  |  ------------------
  |  | 2129|  44.2k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 261, False: 92.6k]
  |  |  |  Branch (2129:30): [True: 462, False: 92.4k]
  |  |  ------------------
  |  | 2130|  46.2k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 431, False: 92.4k]
  |  |  |  Branch (2130:30): [True: 1.61k, False: 91.2k]
  |  |  ------------------
  |  | 2131|  48.2k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 380, False: 92.4k]
  |  |  |  Branch (2131:30): [True: 1.56k, False: 91.3k]
  |  |  ------------------
  |  | 2132|  48.5k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 131, False: 92.7k]
  |  |  |  Branch (2132:30): [True: 209, False: 92.6k]
  |  |  ------------------
  |  | 2133|  49.7k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 822, False: 92.0k]
  |  |  |  Branch (2133:30): [True: 408, False: 92.4k]
  |  |  ------------------
  |  | 2134|  52.8k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 1.30k, False: 91.5k]
  |  |  |  Branch (2134:30): [True: 1.73k, False: 91.1k]
  |  |  ------------------
  |  | 2135|  54.7k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.26k, False: 91.6k]
  |  |  |  Branch (2135:30): [True: 699, False: 92.1k]
  |  |  ------------------
  |  | 2136|  56.1k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 861, False: 92.0k]
  |  |  |  Branch (2136:30): [True: 450, False: 92.4k]
  |  |  ------------------
  |  | 2137|  58.0k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 490, False: 92.3k]
  |  |  |  Branch (2137:30): [True: 1.41k, False: 91.4k]
  |  |  ------------------
  |  | 2138|  59.6k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 55, False: 92.8k]
  |  |  |  Branch (2138:30): [True: 1.63k, False: 91.2k]
  |  |  ------------------
  |  | 2139|  61.8k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 1.83k, False: 91.0k]
  |  |  |  Branch (2139:30): [True: 270, False: 92.6k]
  |  |  ------------------
  |  | 2140|  65.8k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 2.34k, False: 90.5k]
  |  |  |  Branch (2140:30): [True: 1.71k, False: 91.1k]
  |  |  ------------------
  |  | 2141|  67.2k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 139, False: 92.7k]
  |  |  ------------------
  ------------------
 2043|  2.37M|    case MFF_METADATA:
  ------------------
  |  Branch (2043:5): [True: 126, False: 92.7k]
  ------------------
 2044|  69.3k|    case MFF_IN_PORT:
  ------------------
  |  Branch (2044:5): [True: 1.93k, False: 90.9k]
  ------------------
 2045|  69.3k|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (2045:5): [True: 34, False: 92.8k]
  ------------------
 2046|  2.38M|    CASE_MFF_REGS:
  ------------------
  |  | 2065|  70.0k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 393, False: 92.4k]
  |  |  |  Branch (2065:20): [True: 48, False: 92.8k]
  |  |  |  Branch (2065:35): [True: 236, False: 92.6k]
  |  |  |  Branch (2065:50): [True: 54, False: 92.8k]
  |  |  ------------------
  |  | 2066|  71.4k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 383, False: 92.4k]
  |  |  |  Branch (2066:20): [True: 397, False: 92.4k]
  |  |  |  Branch (2066:35): [True: 420, False: 92.4k]
  |  |  |  Branch (2066:50): [True: 209, False: 92.6k]
  |  |  ------------------
  |  | 2067|  73.4k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 271, False: 92.6k]
  |  |  |  Branch (2067:20): [True: 251, False: 92.6k]
  |  |  |  Branch (2067:35): [True: 16, False: 92.8k]
  |  |  |  Branch (2067:51): [True: 1.43k, False: 91.4k]
  |  |  ------------------
  |  | 2068|  75.9k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 415, False: 92.4k]
  |  |  |  Branch (2068:21): [True: 292, False: 92.5k]
  |  |  |  Branch (2068:37): [True: 690, False: 92.1k]
  |  |  |  Branch (2068:53): [True: 1.12k, False: 91.7k]
  |  |  ------------------
  |  | 2069|  76.8k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 36, False: 92.8k]
  |  |  |  Branch (2069:21): [True: 292, False: 92.5k]
  |  |  |  Branch (2069:37): [True: 322, False: 92.5k]
  |  |  |  Branch (2069:53): [True: 204, False: 92.6k]
  |  |  ------------------
  |  | 2070|  77.2k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 11, False: 92.8k]
  |  |  |  Branch (2070:21): [True: 263, False: 92.6k]
  |  |  |  Branch (2070:37): [True: 39, False: 92.8k]
  |  |  |  Branch (2070:53): [True: 81, False: 92.7k]
  |  |  ------------------
  |  | 2071|  77.5k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 89, False: 92.7k]
  |  |  |  Branch (2071:21): [True: 45, False: 92.8k]
  |  |  |  Branch (2071:37): [True: 38, False: 92.8k]
  |  |  |  Branch (2071:53): [True: 119, False: 92.7k]
  |  |  ------------------
  |  | 2072|  77.8k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 102, False: 92.7k]
  |  |  |  Branch (2072:21): [True: 93, False: 92.7k]
  |  |  |  Branch (2072:37): [True: 83, False: 92.7k]
  |  |  ------------------
  ------------------
 2047|  2.38M|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|  79.0k|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 69, False: 92.8k]
  |  |  |  Branch (2081:21): [True: 98, False: 92.7k]
  |  |  |  Branch (2081:37): [True: 243, False: 92.6k]
  |  |  |  Branch (2081:53): [True: 762, False: 92.1k]
  |  |  ------------------
  |  | 2082|  79.7k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 26, False: 92.8k]
  |  |  |  Branch (2082:21): [True: 434, False: 92.4k]
  |  |  |  Branch (2082:37): [True: 70, False: 92.8k]
  |  |  |  Branch (2082:53): [True: 217, False: 92.6k]
  |  |  ------------------
  |  | 2083|  80.3k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 12, False: 92.8k]
  |  |  |  Branch (2083:21): [True: 507, False: 92.3k]
  |  |  |  Branch (2083:37): [True: 38, False: 92.8k]
  |  |  |  Branch (2083:54): [True: 10, False: 92.8k]
  |  |  ------------------
  |  | 2084|  80.7k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 236, False: 92.6k]
  |  |  |  Branch (2084:22): [True: 47, False: 92.8k]
  |  |  |  Branch (2084:39): [True: 22, False: 92.8k]
  |  |  ------------------
  ------------------
 2048|  1.27M|    CASE_MFF_XXREGS:
  ------------------
  |  | 2093|  84.4k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 118, False: 92.7k]
  |  |  |  Branch (2093:22): [True: 785, False: 92.0k]
  |  |  |  Branch (2093:39): [True: 2.35k, False: 90.5k]
  |  |  |  Branch (2093:56): [True: 436, False: 92.4k]
  |  |  ------------------
  |  | 2094|  84.5k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 34, False: 92.8k]
  |  |  |  Branch (2094:22): [True: 34, False: 92.8k]
  |  |  |  Branch (2094:39): [True: 10, False: 92.8k]
  |  |  ------------------
  ------------------
 2049|   669k|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (2049:5): [True: 66, False: 92.8k]
  ------------------
 2050|  84.6k|        return true;
 2051|       |
 2052|     34|    case MFF_DP_HASH:
  ------------------
  |  Branch (2052:5): [True: 34, False: 92.8k]
  ------------------
 2053|    374|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (2053:5): [True: 340, False: 92.5k]
  ------------------
 2054|    568|    case MFF_CONJ_ID:
  ------------------
  |  Branch (2054:5): [True: 194, False: 92.6k]
  ------------------
 2055|    568|    case MFF_TUN_TTL:
  ------------------
  |  Branch (2055:5): [True: 0, False: 92.8k]
  ------------------
 2056|    568|    case MFF_TUN_TOS:
  ------------------
  |  Branch (2056:5): [True: 0, False: 92.8k]
  ------------------
 2057|    635|    case MFF_ACTSET_OUTPUT:
  ------------------
  |  Branch (2057:5): [True: 67, False: 92.8k]
  ------------------
 2058|    635|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (2058:5): [True: 0, False: 92.8k]
  ------------------
 2059|    669|    case MFF_PKT_MARK:
  ------------------
  |  Branch (2059:5): [True: 34, False: 92.8k]
  ------------------
 2060|    750|    case MFF_CT_STATE:
  ------------------
  |  Branch (2060:5): [True: 81, False: 92.7k]
  ------------------
 2061|    784|    case MFF_CT_ZONE:
  ------------------
  |  Branch (2061:5): [True: 34, False: 92.8k]
  ------------------
 2062|    850|    case MFF_CT_MARK:
  ------------------
  |  Branch (2062:5): [True: 66, False: 92.8k]
  ------------------
 2063|    896|    case MFF_CT_LABEL:
  ------------------
  |  Branch (2063:5): [True: 46, False: 92.8k]
  ------------------
 2064|    930|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (2064:5): [True: 34, False: 92.8k]
  ------------------
 2065|    948|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (2065:5): [True: 18, False: 92.8k]
  ------------------
 2066|    996|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (2066:5): [True: 48, False: 92.8k]
  ------------------
 2067|  1.19k|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (2067:5): [True: 195, False: 92.6k]
  ------------------
 2068|  1.25k|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (2068:5): [True: 68, False: 92.8k]
  ------------------
 2069|  1.32k|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (2069:5): [True: 66, False: 92.8k]
  ------------------
 2070|  1.39k|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (2070:5): [True: 67, False: 92.8k]
  ------------------
 2071|  1.41k|    case MFF_ETH_SRC:
  ------------------
  |  Branch (2071:5): [True: 18, False: 92.8k]
  ------------------
 2072|  1.44k|    case MFF_ETH_DST:
  ------------------
  |  Branch (2072:5): [True: 34, False: 92.8k]
  ------------------
 2073|  1.68k|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (2073:5): [True: 241, False: 92.6k]
  ------------------
 2074|  2.09k|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (2074:5): [True: 407, False: 92.4k]
  ------------------
 2075|  2.09k|    case MFF_DL_VLAN:
  ------------------
  |  Branch (2075:5): [True: 0, False: 92.8k]
  ------------------
 2076|  2.11k|    case MFF_VLAN_VID:
  ------------------
  |  Branch (2076:5): [True: 18, False: 92.8k]
  ------------------
 2077|  2.11k|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (2077:5): [True: 0, False: 92.8k]
  ------------------
 2078|  2.42k|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (2078:5): [True: 319, False: 92.5k]
  ------------------
 2079|  2.50k|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (2079:5): [True: 72, False: 92.8k]
  ------------------
 2080|  2.56k|    case MFF_MPLS_TC:
  ------------------
  |  Branch (2080:5): [True: 66, False: 92.8k]
  ------------------
 2081|  2.63k|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (2081:5): [True: 69, False: 92.8k]
  ------------------
 2082|  3.72k|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (2082:5): [True: 1.08k, False: 91.7k]
  ------------------
 2083|  3.78k|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (2083:5): [True: 66, False: 92.8k]
  ------------------
 2084|  3.79k|    case MFF_IPV4_DST:
  ------------------
  |  Branch (2084:5): [True: 10, False: 92.8k]
  ------------------
 2085|  3.83k|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (2085:5): [True: 36, False: 92.8k]
  ------------------
 2086|  3.99k|    case MFF_IPV6_DST:
  ------------------
  |  Branch (2086:5): [True: 158, False: 92.7k]
  ------------------
 2087|  4.05k|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (2087:5): [True: 66, False: 92.8k]
  ------------------
 2088|  4.25k|    case MFF_IP_PROTO:
  ------------------
  |  Branch (2088:5): [True: 202, False: 92.6k]
  ------------------
 2089|  4.32k|    case MFF_IP_DSCP:
  ------------------
  |  Branch (2089:5): [True: 68, False: 92.8k]
  ------------------
 2090|  4.55k|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (2090:5): [True: 226, False: 92.6k]
  ------------------
 2091|  4.95k|    case MFF_IP_ECN:
  ------------------
  |  Branch (2091:5): [True: 402, False: 92.4k]
  ------------------
 2092|  5.02k|    case MFF_IP_TTL:
  ------------------
  |  Branch (2092:5): [True: 66, False: 92.8k]
  ------------------
 2093|  5.08k|    case MFF_IP_FRAG:
  ------------------
  |  Branch (2093:5): [True: 60, False: 92.8k]
  ------------------
 2094|  5.14k|    case MFF_ARP_OP:
  ------------------
  |  Branch (2094:5): [True: 66, False: 92.8k]
  ------------------
 2095|  5.15k|    case MFF_ARP_SPA:
  ------------------
  |  Branch (2095:5): [True: 11, False: 92.8k]
  ------------------
 2096|  5.30k|    case MFF_ARP_TPA:
  ------------------
  |  Branch (2096:5): [True: 143, False: 92.7k]
  ------------------
 2097|  5.49k|    case MFF_ARP_SHA:
  ------------------
  |  Branch (2097:5): [True: 197, False: 92.6k]
  ------------------
 2098|  5.69k|    case MFF_ARP_THA:
  ------------------
  |  Branch (2098:5): [True: 194, False: 92.6k]
  ------------------
 2099|  6.02k|    case MFF_TCP_SRC:
  ------------------
  |  Branch (2099:5): [True: 330, False: 92.5k]
  ------------------
 2100|  6.08k|    case MFF_TCP_DST:
  ------------------
  |  Branch (2100:5): [True: 66, False: 92.8k]
  ------------------
 2101|  6.15k|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (2101:5): [True: 67, False: 92.8k]
  ------------------
 2102|  6.18k|    case MFF_UDP_SRC:
  ------------------
  |  Branch (2102:5): [True: 34, False: 92.8k]
  ------------------
 2103|  6.24k|    case MFF_UDP_DST:
  ------------------
  |  Branch (2103:5): [True: 55, False: 92.8k]
  ------------------
 2104|  6.31k|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (2104:5): [True: 67, False: 92.8k]
  ------------------
 2105|  6.34k|    case MFF_SCTP_DST:
  ------------------
  |  Branch (2105:5): [True: 34, False: 92.8k]
  ------------------
 2106|  6.36k|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (2106:5): [True: 19, False: 92.8k]
  ------------------
 2107|  6.43k|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (2107:5): [True: 69, False: 92.8k]
  ------------------
 2108|  6.49k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (2108:5): [True: 66, False: 92.8k]
  ------------------
 2109|  6.50k|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (2109:5): [True: 10, False: 92.8k]
  ------------------
 2110|  6.54k|    case MFF_ND_TARGET:
  ------------------
  |  Branch (2110:5): [True: 35, False: 92.8k]
  ------------------
 2111|  6.60k|    case MFF_ND_SLL:
  ------------------
  |  Branch (2111:5): [True: 66, False: 92.8k]
  ------------------
 2112|  6.80k|    case MFF_ND_TLL:
  ------------------
  |  Branch (2112:5): [True: 194, False: 92.6k]
  ------------------
 2113|  6.82k|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (2113:5): [True: 19, False: 92.8k]
  ------------------
 2114|  7.17k|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (2114:5): [True: 352, False: 92.5k]
  ------------------
 2115|  7.20k|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (2115:5): [True: 34, False: 92.8k]
  ------------------
 2116|  7.40k|    case MFF_NSH_TTL:
  ------------------
  |  Branch (2116:5): [True: 195, False: 92.6k]
  ------------------
 2117|  7.50k|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (2117:5): [True: 105, False: 92.7k]
  ------------------
 2118|  7.57k|    case MFF_NSH_NP:
  ------------------
  |  Branch (2118:5): [True: 66, False: 92.8k]
  ------------------
 2119|  7.80k|    case MFF_NSH_SPI:
  ------------------
  |  Branch (2119:5): [True: 234, False: 92.6k]
  ------------------
 2120|  7.87k|    case MFF_NSH_SI:
  ------------------
  |  Branch (2120:5): [True: 66, False: 92.8k]
  ------------------
 2121|  8.06k|    case MFF_NSH_C1:
  ------------------
  |  Branch (2121:5): [True: 194, False: 92.6k]
  ------------------
 2122|  8.08k|    case MFF_NSH_C2:
  ------------------
  |  Branch (2122:5): [True: 18, False: 92.8k]
  ------------------
 2123|  8.15k|    case MFF_NSH_C3:
  ------------------
  |  Branch (2123:5): [True: 66, False: 92.8k]
  ------------------
 2124|  8.22k|    case MFF_NSH_C4:
  ------------------
  |  Branch (2124:5): [True: 68, False: 92.8k]
  ------------------
 2125|  8.22k|        return false;
 2126|       |
 2127|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (2127:5): [True: 0, False: 92.8k]
  ------------------
 2128|      0|    default:
  ------------------
  |  Branch (2128:5): [True: 0, False: 92.8k]
  ------------------
 2129|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 2130|  92.8k|    }
 2131|  92.8k|}
mf_set_wild:
 2162|  26.5k|{
 2163|  26.5k|    if (err_str) {
  ------------------
  |  Branch (2163:9): [True: 26.5k, False: 0]
  ------------------
 2164|  26.5k|        *err_str = NULL;
 2165|  26.5k|    }
 2166|       |
 2167|  26.5k|    switch (mf->id) {
 2168|    270|    case MFF_DP_HASH:
  ------------------
  |  Branch (2168:5): [True: 270, False: 26.2k]
  ------------------
 2169|    270|        match->flow.dp_hash = 0;
 2170|    270|        match->wc.masks.dp_hash = 0;
 2171|    270|        break;
 2172|    108|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (2172:5): [True: 108, False: 26.4k]
  ------------------
 2173|    108|        match->flow.recirc_id = 0;
 2174|    108|        match->wc.masks.recirc_id = 0;
 2175|    108|        break;
 2176|     18|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (2176:5): [True: 18, False: 26.5k]
  ------------------
 2177|     18|        match->flow.packet_type = 0;
 2178|     18|        match->wc.masks.packet_type = 0;
 2179|     18|        break;
 2180|     19|    case MFF_CONJ_ID:
  ------------------
  |  Branch (2180:5): [True: 19, False: 26.5k]
  ------------------
 2181|     19|        match->flow.conj_id = 0;
 2182|     19|        match->wc.masks.conj_id = 0;
 2183|     19|        break;
 2184|    178|    case MFF_TUN_ID:
  ------------------
  |  Branch (2184:5): [True: 178, False: 26.3k]
  ------------------
 2185|    178|        match_set_tun_id_masked(match, htonll(0), htonll(0));
 2186|    178|        break;
 2187|    102|    case MFF_TUN_SRC:
  ------------------
  |  Branch (2187:5): [True: 102, False: 26.4k]
  ------------------
 2188|    102|        match_set_tun_src_masked(match, htonl(0), htonl(0));
 2189|    102|        break;
 2190|     47|    case MFF_TUN_DST:
  ------------------
  |  Branch (2190:5): [True: 47, False: 26.5k]
  ------------------
 2191|     47|        match_set_tun_dst_masked(match, htonl(0), htonl(0));
 2192|     47|        break;
 2193|     36|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (2193:5): [True: 36, False: 26.5k]
  ------------------
 2194|     36|        memset(&match->wc.masks.tunnel.ipv6_src, 0,
 2195|     36|               sizeof match->wc.masks.tunnel.ipv6_src);
 2196|     36|        memset(&match->flow.tunnel.ipv6_src, 0,
 2197|     36|               sizeof match->flow.tunnel.ipv6_src);
 2198|     36|        break;
 2199|     10|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (2199:5): [True: 10, False: 26.5k]
  ------------------
 2200|     10|        memset(&match->wc.masks.tunnel.ipv6_dst, 0,
 2201|     10|               sizeof match->wc.masks.tunnel.ipv6_dst);
 2202|     10|        memset(&match->flow.tunnel.ipv6_dst, 0,
 2203|     10|               sizeof match->flow.tunnel.ipv6_dst);
 2204|     10|        break;
 2205|     87|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (2205:5): [True: 87, False: 26.4k]
  ------------------
 2206|     87|        match_set_tun_flags_masked(match, 0, 0);
 2207|     87|        break;
 2208|    124|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (2208:5): [True: 124, False: 26.4k]
  ------------------
 2209|    124|        match_set_tun_gbp_id_masked(match, 0, 0);
 2210|    124|        break;
 2211|    278|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (2211:5): [True: 278, False: 26.2k]
  ------------------
 2212|    278|        match_set_tun_gbp_flags_masked(match, 0, 0);
 2213|    278|        break;
 2214|      0|    case MFF_TUN_TOS:
  ------------------
  |  Branch (2214:5): [True: 0, False: 26.5k]
  ------------------
 2215|      0|        match_set_tun_tos_masked(match, 0, 0);
 2216|      0|        break;
 2217|      0|    case MFF_TUN_TTL:
  ------------------
  |  Branch (2217:5): [True: 0, False: 26.5k]
  ------------------
 2218|      0|        match_set_tun_ttl_masked(match, 0, 0);
 2219|      0|        break;
 2220|    310|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (2220:5): [True: 310, False: 26.2k]
  ------------------
 2221|    310|        match_set_tun_erspan_ver_masked(match, 0, 0);
 2222|    310|        break;
 2223|     18|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (2223:5): [True: 18, False: 26.5k]
  ------------------
 2224|     18|        match_set_tun_erspan_idx_masked(match, 0, 0);
 2225|     18|        break;
 2226|     34|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (2226:5): [True: 34, False: 26.5k]
  ------------------
 2227|     34|        match_set_tun_erspan_dir_masked(match, 0, 0);
 2228|     34|        break;
 2229|     50|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (2229:5): [True: 50, False: 26.5k]
  ------------------
 2230|     50|        match_set_tun_erspan_hwid_masked(match, 0, 0);
 2231|     50|        break;
 2232|     88|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (2232:5): [True: 88, False: 26.4k]
  ------------------
 2233|     88|        match_set_tun_gtpu_flags_masked(match, 0, 0);
 2234|     88|        break;
 2235|    416|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (2235:5): [True: 416, False: 26.1k]
  ------------------
 2236|    416|        match_set_tun_gtpu_msgtype_masked(match, 0, 0);
 2237|    416|        break;
 2238|      0|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|      0|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2110:29): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2111|      0|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2111:29): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2112|      0|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2112:29): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2113|      0|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2113:29): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2114|      0|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2114:29): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2115|      0|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2115:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2116|      0|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2116:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2117|      0|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2117:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2118|      0|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2118:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2119|      0|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2119:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2120|      0|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2120:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2121|      0|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2121:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2122|      0|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2122:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2123|      0|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2123:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2124|      0|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2124:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2125|      0|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2125:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2126|      0|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2126:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2127|      0|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2127:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2128|      0|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2128:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2129|      0|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2129:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2130|      0|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2130:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2131|      0|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2131:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2132|      0|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2132:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2133|      0|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2133:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2134|      0|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2134:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2135|      0|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2135:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2136|      0|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2136:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2137|      0|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2137:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2138|      0|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2138:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2139|      0|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2139:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2140|      0|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2140:30): [True: 0, False: 26.5k]
  |  |  ------------------
  |  | 2141|      0|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 0, False: 26.5k]
  |  |  ------------------
  ------------------
 2239|      0|        tun_metadata_set_match(mf, NULL, NULL, match, err_str);
 2240|      0|        break;
 2241|       |
 2242|     77|    case MFF_METADATA:
  ------------------
  |  Branch (2242:5): [True: 77, False: 26.4k]
  ------------------
 2243|     77|        match_set_metadata_masked(match, htonll(0), htonll(0));
 2244|     77|        break;
 2245|       |
 2246|     87|    case MFF_IN_PORT:
  ------------------
  |  Branch (2246:5): [True: 87, False: 26.4k]
  ------------------
 2247|    163|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (2247:5): [True: 76, False: 26.4k]
  ------------------
 2248|    163|        match->flow.in_port.ofp_port = 0;
 2249|    163|        match->wc.masks.in_port.ofp_port = 0;
 2250|    163|        break;
 2251|     34|    case MFF_ACTSET_OUTPUT:
  ------------------
  |  Branch (2251:5): [True: 34, False: 26.5k]
  ------------------
 2252|     34|        match->flow.actset_output = 0;
 2253|     34|        match->wc.masks.actset_output = 0;
 2254|     34|        break;
 2255|       |
 2256|      0|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (2256:5): [True: 0, False: 26.5k]
  ------------------
 2257|      0|        match->flow.skb_priority = 0;
 2258|      0|        match->wc.masks.skb_priority = 0;
 2259|      0|        break;
 2260|       |
 2261|    143|    case MFF_PKT_MARK:
  ------------------
  |  Branch (2261:5): [True: 143, False: 26.4k]
  ------------------
 2262|    143|        match->flow.pkt_mark = 0;
 2263|    143|        match->wc.masks.pkt_mark = 0;
 2264|    143|        break;
 2265|       |
 2266|    282|    case MFF_CT_STATE:
  ------------------
  |  Branch (2266:5): [True: 282, False: 26.2k]
  ------------------
 2267|    282|        match->flow.ct_state = 0;
 2268|    282|        match->wc.masks.ct_state = 0;
 2269|    282|        break;
 2270|       |
 2271|     70|    case MFF_CT_ZONE:
  ------------------
  |  Branch (2271:5): [True: 70, False: 26.4k]
  ------------------
 2272|     70|        match->flow.ct_zone = 0;
 2273|     70|        match->wc.masks.ct_zone = 0;
 2274|     70|        break;
 2275|       |
 2276|     18|    case MFF_CT_MARK:
  ------------------
  |  Branch (2276:5): [True: 18, False: 26.5k]
  ------------------
 2277|     18|        match->flow.ct_mark = 0;
 2278|     18|        match->wc.masks.ct_mark = 0;
 2279|     18|        break;
 2280|       |
 2281|     10|    case MFF_CT_LABEL:
  ------------------
  |  Branch (2281:5): [True: 10, False: 26.5k]
  ------------------
 2282|     10|        memset(&match->flow.ct_label, 0, sizeof(match->flow.ct_label));
 2283|     10|        memset(&match->wc.masks.ct_label, 0, sizeof(match->wc.masks.ct_label));
 2284|     10|        break;
 2285|       |
 2286|     10|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (2286:5): [True: 10, False: 26.5k]
  ------------------
 2287|     10|        match->flow.ct_nw_proto = 0;
 2288|     10|        match->wc.masks.ct_nw_proto = 0;
 2289|     10|        break;
 2290|       |
 2291|    322|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (2291:5): [True: 322, False: 26.2k]
  ------------------
 2292|    322|        match->flow.ct_nw_src = 0;
 2293|    322|        match->wc.masks.ct_nw_src = 0;
 2294|    322|        break;
 2295|       |
 2296|     18|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (2296:5): [True: 18, False: 26.5k]
  ------------------
 2297|     18|        match->flow.ct_nw_dst = 0;
 2298|     18|        match->wc.masks.ct_nw_dst = 0;
 2299|     18|        break;
 2300|       |
 2301|    133|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (2301:5): [True: 133, False: 26.4k]
  ------------------
 2302|    133|        memset(&match->flow.ct_ipv6_src, 0, sizeof(match->flow.ct_ipv6_src));
 2303|    133|        WC_UNMASK_FIELD(&match->wc, ct_ipv6_src);
  ------------------
  |  |  205|    133|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 2304|    133|        break;
 2305|       |
 2306|    202|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (2306:5): [True: 202, False: 26.3k]
  ------------------
 2307|    202|        memset(&match->flow.ct_ipv6_dst, 0, sizeof(match->flow.ct_ipv6_dst));
 2308|    202|        WC_UNMASK_FIELD(&match->wc, ct_ipv6_dst);
  ------------------
  |  |  205|    202|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
 2309|    202|        break;
 2310|       |
 2311|    196|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (2311:5): [True: 196, False: 26.3k]
  ------------------
 2312|    196|        match->flow.ct_tp_src = 0;
 2313|    196|        match->wc.masks.ct_tp_src = 0;
 2314|    196|        break;
 2315|       |
 2316|     25|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (2316:5): [True: 25, False: 26.5k]
  ------------------
 2317|     25|        match->flow.ct_tp_dst = 0;
 2318|     25|        match->wc.masks.ct_tp_dst = 0;
 2319|     25|        break;
 2320|       |
 2321|  3.48k|    CASE_MFF_REGS:
  ------------------
  |  | 2065|    434|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 13, False: 26.5k]
  |  |  |  Branch (2065:20): [True: 67, False: 26.5k]
  |  |  |  Branch (2065:35): [True: 18, False: 26.5k]
  |  |  |  Branch (2065:50): [True: 336, False: 26.2k]
  |  |  ------------------
  |  | 2066|    892|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 73, False: 26.4k]
  |  |  |  Branch (2066:20): [True: 97, False: 26.4k]
  |  |  |  Branch (2066:35): [True: 262, False: 26.3k]
  |  |  |  Branch (2066:50): [True: 26, False: 26.5k]
  |  |  ------------------
  |  | 2067|  1.16k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 34, False: 26.5k]
  |  |  |  Branch (2067:20): [True: 149, False: 26.4k]
  |  |  |  Branch (2067:35): [True: 77, False: 26.4k]
  |  |  |  Branch (2067:51): [True: 13, False: 26.5k]
  |  |  ------------------
  |  | 2068|  2.42k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 110, False: 26.4k]
  |  |  |  Branch (2068:21): [True: 129, False: 26.4k]
  |  |  |  Branch (2068:37): [True: 305, False: 26.2k]
  |  |  |  Branch (2068:53): [True: 712, False: 25.8k]
  |  |  ------------------
  |  | 2069|  3.00k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 18, False: 26.5k]
  |  |  |  Branch (2069:21): [True: 214, False: 26.3k]
  |  |  |  Branch (2069:37): [True: 159, False: 26.4k]
  |  |  |  Branch (2069:53): [True: 197, False: 26.3k]
  |  |  ------------------
  |  | 2070|  3.23k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 10, False: 26.5k]
  |  |  |  Branch (2070:21): [True: 109, False: 26.4k]
  |  |  |  Branch (2070:37): [True: 34, False: 26.5k]
  |  |  |  Branch (2070:53): [True: 69, False: 26.4k]
  |  |  ------------------
  |  | 2071|  3.33k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 20, False: 26.5k]
  |  |  |  Branch (2071:21): [True: 36, False: 26.5k]
  |  |  |  Branch (2071:37): [True: 10, False: 26.5k]
  |  |  |  Branch (2071:53): [True: 42, False: 26.5k]
  |  |  ------------------
  |  | 2072|  3.48k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 54, False: 26.5k]
  |  |  |  Branch (2072:21): [True: 35, False: 26.5k]
  |  |  |  Branch (2072:37): [True: 45, False: 26.5k]
  |  |  ------------------
  ------------------
 2322|  3.48k|        match_set_reg_masked(match, mf->id - MFF_REG0, 0, 0);
 2323|  3.48k|        break;
 2324|       |
 2325|  2.92k|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|    566|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 69, False: 26.4k]
  |  |  |  Branch (2081:21): [True: 34, False: 26.5k]
  |  |  |  Branch (2081:37): [True: 34, False: 26.5k]
  |  |  |  Branch (2081:53): [True: 429, False: 26.1k]
  |  |  ------------------
  |  | 2082|  2.20k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 67, False: 26.5k]
  |  |  |  Branch (2082:21): [True: 282, False: 26.2k]
  |  |  |  Branch (2082:37): [True: 990, False: 25.5k]
  |  |  |  Branch (2082:53): [True: 300, False: 26.2k]
  |  |  ------------------
  |  | 2083|  2.36k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 67, False: 26.5k]
  |  |  |  Branch (2083:21): [True: 13, False: 26.5k]
  |  |  |  Branch (2083:37): [True: 66, False: 26.5k]
  |  |  |  Branch (2083:54): [True: 10, False: 26.5k]
  |  |  ------------------
  |  | 2084|  2.92k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 81, False: 26.4k]
  |  |  |  Branch (2084:22): [True: 214, False: 26.3k]
  |  |  |  Branch (2084:39): [True: 197, False: 26.3k]
  |  |  ------------------
  ------------------
 2326|  2.92k|        match_set_xreg_masked(match, mf->id - MFF_XREG0, 0, 0);
 2327|  2.92k|        break;
 2328|       |
 2329|  2.35k|    CASE_MFF_XXREGS: {
  ------------------
  |  | 2093|  2.35k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 34, False: 26.5k]
  |  |  |  Branch (2093:22): [True: 208, False: 26.3k]
  |  |  |  Branch (2093:39): [True: 1.63k, False: 24.9k]
  |  |  |  Branch (2093:56): [True: 471, False: 26.0k]
  |  |  ------------------
  |  | 2094|  2.35k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 0, False: 26.5k]
  |  |  |  Branch (2094:22): [True: 0, False: 26.5k]
  |  |  |  Branch (2094:39): [True: 0, False: 26.5k]
  |  |  ------------------
  ------------------
 2330|  2.35k|        match_set_xxreg_masked(match, mf->id - MFF_XXREG0, OVS_U128_ZERO,
  ------------------
  |  |  130|  2.35k|#define OVS_U128_ZERO OVS_U128_MIN
  ------------------
 2331|  2.35k|                               OVS_U128_ZERO);
  ------------------
  |  |  130|  2.35k|#define OVS_U128_ZERO OVS_U128_MIN
  ------------------
 2332|  2.35k|        break;
 2333|  11.5k|    }
 2334|       |
 2335|     66|    case MFF_ETH_SRC:
  ------------------
  |  Branch (2335:5): [True: 66, False: 26.5k]
  ------------------
 2336|     66|        match->flow.dl_src = eth_addr_zero;
 2337|     66|        match->wc.masks.dl_src = eth_addr_zero;
 2338|     66|        break;
 2339|       |
 2340|    290|    case MFF_ETH_DST:
  ------------------
  |  Branch (2340:5): [True: 290, False: 26.2k]
  ------------------
 2341|    290|        match->flow.dl_dst = eth_addr_zero;
 2342|    290|        match->wc.masks.dl_dst = eth_addr_zero;
 2343|    290|        break;
 2344|       |
 2345|    136|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (2345:5): [True: 136, False: 26.4k]
  ------------------
 2346|    136|        match->flow.dl_type = htons(0);
 2347|    136|        match->wc.masks.dl_type = htons(0);
 2348|    136|        break;
 2349|       |
 2350|     10|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (2350:5): [True: 10, False: 26.5k]
  ------------------
 2351|     10|        match_set_dl_tci_masked(match, htons(0), htons(0));
 2352|     10|        break;
 2353|       |
 2354|      0|    case MFF_DL_VLAN:
  ------------------
  |  Branch (2354:5): [True: 0, False: 26.5k]
  ------------------
 2355|    684|    case MFF_VLAN_VID:
  ------------------
  |  Branch (2355:5): [True: 684, False: 25.8k]
  ------------------
 2356|    684|        match_set_any_vid(match);
 2357|    684|        break;
 2358|       |
 2359|      0|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (2359:5): [True: 0, False: 26.5k]
  ------------------
 2360|    137|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (2360:5): [True: 137, False: 26.4k]
  ------------------
 2361|    137|        match_set_any_pcp(match);
 2362|    137|        break;
 2363|       |
 2364|  1.28k|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (2364:5): [True: 1.28k, False: 25.2k]
  ------------------
 2365|  1.28k|        match_set_any_mpls_label(match, 0);
 2366|  1.28k|        break;
 2367|       |
 2368|     34|    case MFF_MPLS_TC:
  ------------------
  |  Branch (2368:5): [True: 34, False: 26.5k]
  ------------------
 2369|     34|        match_set_any_mpls_tc(match, 0);
 2370|     34|        break;
 2371|       |
 2372|     84|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (2372:5): [True: 84, False: 26.4k]
  ------------------
 2373|     84|        match_set_any_mpls_bos(match, 0);
 2374|     84|        break;
 2375|       |
 2376|    628|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (2376:5): [True: 628, False: 25.9k]
  ------------------
 2377|    628|        match_set_any_mpls_ttl(match, 0);
 2378|    628|        break;
 2379|       |
 2380|     18|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (2380:5): [True: 18, False: 26.5k]
  ------------------
 2381|     85|    case MFF_ARP_SPA:
  ------------------
  |  Branch (2381:5): [True: 67, False: 26.5k]
  ------------------
 2382|     85|        match_set_nw_src_masked(match, htonl(0), htonl(0));
 2383|     85|        break;
 2384|       |
 2385|     67|    case MFF_IPV4_DST:
  ------------------
  |  Branch (2385:5): [True: 67, False: 26.5k]
  ------------------
 2386|    607|    case MFF_ARP_TPA:
  ------------------
  |  Branch (2386:5): [True: 540, False: 26.0k]
  ------------------
 2387|    607|        match_set_nw_dst_masked(match, htonl(0), htonl(0));
 2388|    607|        break;
 2389|       |
 2390|     80|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (2390:5): [True: 80, False: 26.4k]
  ------------------
 2391|     80|        memset(&match->wc.masks.ipv6_src, 0, sizeof match->wc.masks.ipv6_src);
 2392|     80|        memset(&match->flow.ipv6_src, 0, sizeof match->flow.ipv6_src);
 2393|     80|        break;
 2394|       |
 2395|    324|    case MFF_IPV6_DST:
  ------------------
  |  Branch (2395:5): [True: 324, False: 26.2k]
  ------------------
 2396|    324|        memset(&match->wc.masks.ipv6_dst, 0, sizeof match->wc.masks.ipv6_dst);
 2397|    324|        memset(&match->flow.ipv6_dst, 0, sizeof match->flow.ipv6_dst);
 2398|    324|        break;
 2399|       |
 2400|     72|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (2400:5): [True: 72, False: 26.4k]
  ------------------
 2401|     72|        match->wc.masks.ipv6_label = htonl(0);
 2402|     72|        match->flow.ipv6_label = htonl(0);
 2403|     72|        break;
 2404|       |
 2405|    207|    case MFF_IP_PROTO:
  ------------------
  |  Branch (2405:5): [True: 207, False: 26.3k]
  ------------------
 2406|    207|        match->wc.masks.nw_proto = 0;
 2407|    207|        match->flow.nw_proto = 0;
 2408|    207|        break;
 2409|       |
 2410|     21|    case MFF_IP_DSCP:
  ------------------
  |  Branch (2410:5): [True: 21, False: 26.5k]
  ------------------
 2411|  1.14k|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (2411:5): [True: 1.11k, False: 25.4k]
  ------------------
 2412|  1.14k|        match->wc.masks.nw_tos &= ~IP_DSCP_MASK;
  ------------------
  |  |  724|  1.14k|#define IP_DSCP_MASK 0xfc
  ------------------
 2413|  1.14k|        match->flow.nw_tos &= ~IP_DSCP_MASK;
  ------------------
  |  |  724|  1.14k|#define IP_DSCP_MASK 0xfc
  ------------------
 2414|  1.14k|        break;
 2415|       |
 2416|     21|    case MFF_IP_ECN:
  ------------------
  |  Branch (2416:5): [True: 21, False: 26.5k]
  ------------------
 2417|     21|        match->wc.masks.nw_tos &= ~IP_ECN_MASK;
  ------------------
  |  |  722|     21|#define IP_ECN_MASK 0x03
  ------------------
 2418|     21|        match->flow.nw_tos &= ~IP_ECN_MASK;
  ------------------
  |  |  722|     21|#define IP_ECN_MASK 0x03
  ------------------
 2419|     21|        break;
 2420|       |
 2421|     70|    case MFF_IP_TTL:
  ------------------
  |  Branch (2421:5): [True: 70, False: 26.4k]
  ------------------
 2422|     70|        match->wc.masks.nw_ttl = 0;
 2423|     70|        match->flow.nw_ttl = 0;
 2424|     70|        break;
 2425|       |
 2426|     54|    case MFF_IP_FRAG:
  ------------------
  |  Branch (2426:5): [True: 54, False: 26.5k]
  ------------------
 2427|     54|        match->wc.masks.nw_frag &= ~FLOW_NW_FRAG_MASK;
  ------------------
  |  |   56|     54|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|     54|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|     54|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
 2428|     54|        match->flow.nw_frag &= ~FLOW_NW_FRAG_MASK;
  ------------------
  |  |   56|     54|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|     54|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|     54|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
 2429|     54|        break;
 2430|       |
 2431|     75|    case MFF_ARP_OP:
  ------------------
  |  Branch (2431:5): [True: 75, False: 26.4k]
  ------------------
 2432|     75|        match->wc.masks.nw_proto = 0;
 2433|     75|        match->flow.nw_proto = 0;
 2434|     75|        break;
 2435|       |
 2436|     18|    case MFF_ARP_SHA:
  ------------------
  |  Branch (2436:5): [True: 18, False: 26.5k]
  ------------------
 2437|    226|    case MFF_ND_SLL:
  ------------------
  |  Branch (2437:5): [True: 208, False: 26.3k]
  ------------------
 2438|    226|        match->flow.arp_sha = eth_addr_zero;
 2439|    226|        match->wc.masks.arp_sha = eth_addr_zero;
 2440|    226|        break;
 2441|       |
 2442|    196|    case MFF_ARP_THA:
  ------------------
  |  Branch (2442:5): [True: 196, False: 26.3k]
  ------------------
 2443|  2.73k|    case MFF_ND_TLL:
  ------------------
  |  Branch (2443:5): [True: 2.53k, False: 24.0k]
  ------------------
 2444|  2.73k|        match->flow.arp_tha = eth_addr_zero;
 2445|  2.73k|        match->wc.masks.arp_tha = eth_addr_zero;
 2446|  2.73k|        break;
 2447|       |
 2448|    228|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (2448:5): [True: 228, False: 26.3k]
  ------------------
 2449|    228|        match->wc.masks.igmp_group_ip4 = htonl(0);
 2450|    228|        match->flow.igmp_group_ip4 = htonl(0);
 2451|    228|        break;
 2452|       |
 2453|     16|    case MFF_TCP_SRC:
  ------------------
  |  Branch (2453:5): [True: 16, False: 26.5k]
  ------------------
 2454|     86|    case MFF_UDP_SRC:
  ------------------
  |  Branch (2454:5): [True: 70, False: 26.4k]
  ------------------
 2455|    291|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (2455:5): [True: 205, False: 26.3k]
  ------------------
 2456|    390|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (2456:5): [True: 99, False: 26.4k]
  ------------------
 2457|  1.26k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (2457:5): [True: 876, False: 25.6k]
  ------------------
 2458|  1.26k|        match->wc.masks.tp_src = htons(0);
 2459|  1.26k|        match->flow.tp_src = htons(0);
 2460|  1.26k|        break;
 2461|       |
 2462|     34|    case MFF_TCP_DST:
  ------------------
  |  Branch (2462:5): [True: 34, False: 26.5k]
  ------------------
 2463|    231|    case MFF_UDP_DST:
  ------------------
  |  Branch (2463:5): [True: 197, False: 26.3k]
  ------------------
 2464|    539|    case MFF_SCTP_DST:
  ------------------
  |  Branch (2464:5): [True: 308, False: 26.2k]
  ------------------
 2465|    733|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (2465:5): [True: 194, False: 26.3k]
  ------------------
 2466|    956|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (2466:5): [True: 223, False: 26.3k]
  ------------------
 2467|    956|        match->wc.masks.tp_dst = htons(0);
 2468|    956|        match->flow.tp_dst = htons(0);
 2469|    956|        break;
 2470|       |
 2471|    139|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (2471:5): [True: 139, False: 26.4k]
  ------------------
 2472|    253|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (2472:5): [True: 114, False: 26.4k]
  ------------------
 2473|    253|        match->wc.masks.tcp_flags = htons(0);
 2474|    253|        match->flow.tcp_flags = htons(0);
 2475|    253|        break;
 2476|       |
 2477|  1.11k|    case MFF_ND_TARGET:
  ------------------
  |  Branch (2477:5): [True: 1.11k, False: 25.4k]
  ------------------
 2478|  1.11k|        memset(&match->wc.masks.nd_target, 0,
 2479|  1.11k|               sizeof match->wc.masks.nd_target);
 2480|  1.11k|        memset(&match->flow.nd_target, 0, sizeof match->flow.nd_target);
 2481|  1.11k|        break;
 2482|       |
 2483|    178|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (2483:5): [True: 178, False: 26.3k]
  ------------------
 2484|    178|        MATCH_SET_FIELD_MASKED(match, nsh.flags, 0, 0);
  ------------------
  |  |   50|    178|    do {                                                      \
  |  |   51|    178|        (match)->wc.masks.field = (msk);                      \
  |  |   52|    178|        (match)->flow.field = (value) & (msk);                \
  |  |   53|    178|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 178]
  |  |  ------------------
  ------------------
 2485|    178|        break;
 2486|    224|    case MFF_NSH_TTL:
  ------------------
  |  Branch (2486:5): [True: 224, False: 26.3k]
  ------------------
 2487|    224|        MATCH_SET_FIELD_MASKED(match, nsh.ttl, 0, 0);
  ------------------
  |  |   50|    224|    do {                                                      \
  |  |   51|    224|        (match)->wc.masks.field = (msk);                      \
  |  |   52|    224|        (match)->flow.field = (value) & (msk);                \
  |  |   53|    224|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 224]
  |  |  ------------------
  ------------------
 2488|    224|        break;
 2489|      0|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (2489:5): [True: 0, False: 26.5k]
  ------------------
 2490|      0|        MATCH_SET_FIELD_MASKED(match, nsh.mdtype, 0, 0);
  ------------------
  |  |   50|      0|    do {                                                      \
  |  |   51|      0|        (match)->wc.masks.field = (msk);                      \
  |  |   52|      0|        (match)->flow.field = (value) & (msk);                \
  |  |   53|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2491|      0|        break;
 2492|     97|    case MFF_NSH_NP:
  ------------------
  |  Branch (2492:5): [True: 97, False: 26.4k]
  ------------------
 2493|     97|        MATCH_SET_FIELD_MASKED(match, nsh.np, 0, 0);
  ------------------
  |  |   50|     97|    do {                                                      \
  |  |   51|     97|        (match)->wc.masks.field = (msk);                      \
  |  |   52|     97|        (match)->flow.field = (value) & (msk);                \
  |  |   53|     97|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 97]
  |  |  ------------------
  ------------------
 2494|     97|        break;
 2495|     22|    case MFF_NSH_SPI:
  ------------------
  |  Branch (2495:5): [True: 22, False: 26.5k]
  ------------------
 2496|     22|        match->wc.masks.nsh.path_hdr &= ~htonl(NSH_SPI_MASK);
 2497|     22|        nsh_path_hdr_set_spi(&match->flow.nsh.path_hdr, htonl(0));
 2498|     22|        break;
 2499|    210|    case MFF_NSH_SI:
  ------------------
  |  Branch (2499:5): [True: 210, False: 26.3k]
  ------------------
 2500|    210|        match->wc.masks.nsh.path_hdr &= ~htonl(NSH_SI_MASK);
 2501|    210|        nsh_path_hdr_set_si(&match->flow.nsh.path_hdr, 0);
 2502|    210|        break;
 2503|     78|    case MFF_NSH_C1:
  ------------------
  |  Branch (2503:5): [True: 78, False: 26.4k]
  ------------------
 2504|    251|    case MFF_NSH_C2:
  ------------------
  |  Branch (2504:5): [True: 173, False: 26.3k]
  ------------------
 2505|    261|    case MFF_NSH_C3:
  ------------------
  |  Branch (2505:5): [True: 10, False: 26.5k]
  ------------------
 2506|    327|    case MFF_NSH_C4:
  ------------------
  |  Branch (2506:5): [True: 66, False: 26.5k]
  ------------------
 2507|    327|        MATCH_SET_FIELD_MASKED(match, nsh.context[mf->id - MFF_NSH_C1],
  ------------------
  |  |   50|    327|    do {                                                      \
  |  |   51|    327|        (match)->wc.masks.field = (msk);                      \
  |  |   52|    327|        (match)->flow.field = (value) & (msk);                \
  |  |   53|    327|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 327]
  |  |  ------------------
  ------------------
 2508|    327|                               htonl(0), htonl(0));
 2509|    327|        break;
 2510|       |
 2511|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (2511:5): [True: 0, False: 26.5k]
  ------------------
 2512|      0|    default:
  ------------------
  |  Branch (2512:5): [True: 0, False: 26.5k]
  ------------------
 2513|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 2514|  26.5k|    }
 2515|  26.5k|}
mf_set:
 2540|   206k|{
 2541|   206k|    if (!mask || is_all_ones(mask, mf->n_bytes)) {
  ------------------
  |  Branch (2541:9): [True: 0, False: 206k]
  |  Branch (2541:18): [True: 83.0k, False: 123k]
  ------------------
 2542|  83.0k|        mf_set_value(mf, value, match, err_str);
 2543|  83.0k|        return mf->usable_protocols_exact;
 2544|   123k|    } else if (is_all_zeros(mask, mf->n_bytes) && !mf_is_tun_metadata(mf)) {
  ------------------
  |  Branch (2544:16): [True: 66.2k, False: 57.4k]
  |  Branch (2544:51): [True: 26.5k, False: 39.6k]
  ------------------
 2545|       |        /* Tunnel metadata matches on the existence of the field itself, so
 2546|       |         * it still needs to be encoded even if the value is wildcarded. */
 2547|  26.5k|        mf_set_wild(mf, match, err_str);
 2548|  26.5k|        return OFPUTIL_P_ANY;
  ------------------
  |  |  100|  26.5k|#define OFPUTIL_P_ANY ((1 << 9) - 1)
  ------------------
 2549|  26.5k|    }
 2550|       |
 2551|  97.0k|    if (err_str) {
  ------------------
  |  Branch (2551:9): [True: 64.2k, False: 32.7k]
  ------------------
 2552|  64.2k|        *err_str = NULL;
 2553|  64.2k|    }
 2554|       |
 2555|       |    /* The cases where 'mask' is all-1-bits or all-0-bits were already handled
 2556|       |     * above[*], so the code below only needs to work for the remaining cases
 2557|       |     * of a nontrivial mask.
 2558|       |     *
 2559|       |     * [*] Except where the field is a tunnel metadata field and 'mask' is
 2560|       |     *     all-0-bits; see above. */
 2561|  97.0k|    switch (mf->id) {
 2562|     35|    case MFF_CT_ZONE:
  ------------------
  |  Branch (2562:5): [True: 35, False: 97.0k]
  ------------------
 2563|    835|    case MFF_CT_NW_PROTO:
  ------------------
  |  Branch (2563:5): [True: 800, False: 96.2k]
  ------------------
 2564|  1.15k|    case MFF_RECIRC_ID:
  ------------------
  |  Branch (2564:5): [True: 319, False: 96.7k]
  ------------------
 2565|  1.24k|    case MFF_PACKET_TYPE:
  ------------------
  |  Branch (2565:5): [True: 94, False: 96.9k]
  ------------------
 2566|  1.79k|    case MFF_CONJ_ID:
  ------------------
  |  Branch (2566:5): [True: 550, False: 96.5k]
  ------------------
 2567|  1.92k|    case MFF_IN_PORT:
  ------------------
  |  Branch (2567:5): [True: 131, False: 96.9k]
  ------------------
 2568|  2.79k|    case MFF_IN_PORT_OXM:
  ------------------
  |  Branch (2568:5): [True: 869, False: 96.2k]
  ------------------
 2569|  2.95k|    case MFF_ACTSET_OUTPUT:
  ------------------
  |  Branch (2569:5): [True: 152, False: 96.9k]
  ------------------
 2570|  2.95k|    case MFF_SKB_PRIORITY:
  ------------------
  |  Branch (2570:5): [True: 0, False: 97.0k]
  ------------------
 2571|  2.95k|    case MFF_ETH_TYPE:
  ------------------
  |  Branch (2571:5): [True: 1, False: 97.0k]
  ------------------
 2572|  2.95k|    case MFF_DL_VLAN:
  ------------------
  |  Branch (2572:5): [True: 0, False: 97.0k]
  ------------------
 2573|  2.95k|    case MFF_DL_VLAN_PCP:
  ------------------
  |  Branch (2573:5): [True: 0, False: 97.0k]
  ------------------
 2574|  2.95k|    case MFF_VLAN_PCP:
  ------------------
  |  Branch (2574:5): [True: 0, False: 97.0k]
  ------------------
 2575|  2.95k|    case MFF_MPLS_LABEL:
  ------------------
  |  Branch (2575:5): [True: 0, False: 97.0k]
  ------------------
 2576|  2.95k|    case MFF_MPLS_TC:
  ------------------
  |  Branch (2576:5): [True: 0, False: 97.0k]
  ------------------
 2577|  2.95k|    case MFF_MPLS_BOS:
  ------------------
  |  Branch (2577:5): [True: 0, False: 97.0k]
  ------------------
 2578|  2.95k|    case MFF_MPLS_TTL:
  ------------------
  |  Branch (2578:5): [True: 0, False: 97.0k]
  ------------------
 2579|  2.95k|    case MFF_IP_PROTO:
  ------------------
  |  Branch (2579:5): [True: 0, False: 97.0k]
  ------------------
 2580|  2.95k|    case MFF_IP_TTL:
  ------------------
  |  Branch (2580:5): [True: 0, False: 97.0k]
  ------------------
 2581|  2.95k|    case MFF_IP_DSCP:
  ------------------
  |  Branch (2581:5): [True: 0, False: 97.0k]
  ------------------
 2582|  2.95k|    case MFF_IP_DSCP_SHIFTED:
  ------------------
  |  Branch (2582:5): [True: 0, False: 97.0k]
  ------------------
 2583|  2.95k|    case MFF_IP_ECN:
  ------------------
  |  Branch (2583:5): [True: 0, False: 97.0k]
  ------------------
 2584|  2.95k|    case MFF_ARP_OP:
  ------------------
  |  Branch (2584:5): [True: 0, False: 97.0k]
  ------------------
 2585|  2.95k|    case MFF_ICMPV4_TYPE:
  ------------------
  |  Branch (2585:5): [True: 0, False: 97.0k]
  ------------------
 2586|  2.95k|    case MFF_ICMPV4_CODE:
  ------------------
  |  Branch (2586:5): [True: 0, False: 97.0k]
  ------------------
 2587|  2.95k|    case MFF_ICMPV6_TYPE:
  ------------------
  |  Branch (2587:5): [True: 0, False: 97.0k]
  ------------------
 2588|  2.95k|    case MFF_ICMPV6_CODE:
  ------------------
  |  Branch (2588:5): [True: 0, False: 97.0k]
  ------------------
 2589|  2.95k|    case MFF_ND_RESERVED:
  ------------------
  |  Branch (2589:5): [True: 0, False: 97.0k]
  ------------------
 2590|  2.95k|    case MFF_ND_OPTIONS_TYPE:
  ------------------
  |  Branch (2590:5): [True: 0, False: 97.0k]
  ------------------
 2591|  2.95k|        return OFPUTIL_P_NONE;
  ------------------
  |  |   53|  2.95k|#define OFPUTIL_P_NONE 0
  ------------------
 2592|       |
 2593|    556|    case MFF_DP_HASH:
  ------------------
  |  Branch (2593:5): [True: 556, False: 96.5k]
  ------------------
 2594|    556|        match_set_dp_hash_masked(match, ntohl(value->be32), ntohl(mask->be32));
 2595|    556|        break;
 2596|  1.36k|    case MFF_TUN_ID:
  ------------------
  |  Branch (2596:5): [True: 1.36k, False: 95.7k]
  ------------------
 2597|  1.36k|        match_set_tun_id_masked(match, value->be64, mask->be64);
 2598|  1.36k|        break;
 2599|    274|    case MFF_TUN_SRC:
  ------------------
  |  Branch (2599:5): [True: 274, False: 96.8k]
  ------------------
 2600|    274|        match_set_tun_src_masked(match, value->be32, mask->be32);
 2601|    274|        break;
 2602|    140|    case MFF_TUN_DST:
  ------------------
  |  Branch (2602:5): [True: 140, False: 96.9k]
  ------------------
 2603|    140|        match_set_tun_dst_masked(match, value->be32, mask->be32);
 2604|    140|        break;
 2605|    769|    case MFF_TUN_IPV6_SRC:
  ------------------
  |  Branch (2605:5): [True: 769, False: 96.3k]
  ------------------
 2606|    769|        match_set_tun_ipv6_src_masked(match, &value->ipv6, &mask->ipv6);
 2607|    769|        break;
 2608|    654|    case MFF_TUN_IPV6_DST:
  ------------------
  |  Branch (2608:5): [True: 654, False: 96.4k]
  ------------------
 2609|    654|        match_set_tun_ipv6_dst_masked(match, &value->ipv6, &mask->ipv6);
 2610|    654|        break;
 2611|    871|    case MFF_TUN_FLAGS:
  ------------------
  |  Branch (2611:5): [True: 871, False: 96.2k]
  ------------------
 2612|    871|        match_set_tun_flags_masked(match, ntohs(value->be16), ntohs(mask->be16));
 2613|    871|        break;
 2614|    340|    case MFF_TUN_GBP_ID:
  ------------------
  |  Branch (2614:5): [True: 340, False: 96.7k]
  ------------------
 2615|    340|        match_set_tun_gbp_id_masked(match, value->be16, mask->be16);
 2616|    340|        break;
 2617|    751|    case MFF_TUN_GBP_FLAGS:
  ------------------
  |  Branch (2617:5): [True: 751, False: 96.3k]
  ------------------
 2618|    751|        match_set_tun_gbp_flags_masked(match, value->u8, mask->u8);
 2619|    751|        break;
 2620|      0|    case MFF_TUN_TTL:
  ------------------
  |  Branch (2620:5): [True: 0, False: 97.0k]
  ------------------
 2621|      0|        match_set_tun_ttl_masked(match, value->u8, mask->u8);
 2622|      0|        break;
 2623|      0|    case MFF_TUN_TOS:
  ------------------
  |  Branch (2623:5): [True: 0, False: 97.0k]
  ------------------
 2624|      0|        match_set_tun_tos_masked(match, value->u8, mask->u8);
 2625|      0|        break;
 2626|    154|    case MFF_TUN_ERSPAN_VER:
  ------------------
  |  Branch (2626:5): [True: 154, False: 96.9k]
  ------------------
 2627|    154|        match_set_tun_erspan_ver_masked(match, value->u8, mask->u8);
 2628|    154|        break;
 2629|     37|    case MFF_TUN_ERSPAN_IDX:
  ------------------
  |  Branch (2629:5): [True: 37, False: 97.0k]
  ------------------
 2630|     37|        match_set_tun_erspan_idx_masked(match, ntohl(value->be32),
 2631|     37|                                        ntohl(mask->be32));
 2632|     37|        break;
 2633|     70|    case MFF_TUN_ERSPAN_DIR:
  ------------------
  |  Branch (2633:5): [True: 70, False: 97.0k]
  ------------------
 2634|     70|        match_set_tun_erspan_dir_masked(match, value->u8, mask->u8);
 2635|     70|        break;
 2636|    339|    case MFF_TUN_ERSPAN_HWID:
  ------------------
  |  Branch (2636:5): [True: 339, False: 96.7k]
  ------------------
 2637|    339|        match_set_tun_erspan_hwid_masked(match, value->u8, mask->u8);
 2638|    339|        break;
 2639|     72|    case MFF_TUN_GTPU_FLAGS:
  ------------------
  |  Branch (2639:5): [True: 72, False: 97.0k]
  ------------------
 2640|     72|        match_set_tun_gtpu_flags_masked(match, value->u8, mask->u8);
 2641|     72|        break;
 2642|     89|    case MFF_TUN_GTPU_MSGTYPE:
  ------------------
  |  Branch (2642:5): [True: 89, False: 96.9k]
  ------------------
 2643|     89|        match_set_tun_gtpu_msgtype_masked(match, value->u8, mask->u8);
 2644|     89|        break;
 2645|  63.0k|    CASE_MFF_TUN_METADATA:
  ------------------
  |  | 2110|  1.66k|    case MFF_TUN_METADATA0: case MFF_TUN_METADATA1:   \
  |  |  ------------------
  |  |  |  Branch (2110:5): [True: 1.08k, False: 96.0k]
  |  |  |  Branch (2110:29): [True: 582, False: 96.5k]
  |  |  ------------------
  |  | 2111|  3.12k|    case MFF_TUN_METADATA2: case MFF_TUN_METADATA3:   \
  |  |  ------------------
  |  |  |  Branch (2111:5): [True: 670, False: 96.4k]
  |  |  |  Branch (2111:29): [True: 792, False: 96.2k]
  |  |  ------------------
  |  | 2112|  3.44k|    case MFF_TUN_METADATA4: case MFF_TUN_METADATA5:   \
  |  |  ------------------
  |  |  |  Branch (2112:5): [True: 161, False: 96.9k]
  |  |  |  Branch (2112:29): [True: 151, False: 96.9k]
  |  |  ------------------
  |  | 2113|  7.90k|    case MFF_TUN_METADATA6: case MFF_TUN_METADATA7:   \
  |  |  ------------------
  |  |  |  Branch (2113:5): [True: 4.12k, False: 92.9k]
  |  |  |  Branch (2113:29): [True: 333, False: 96.7k]
  |  |  ------------------
  |  | 2114|  10.6k|    case MFF_TUN_METADATA8: case MFF_TUN_METADATA9:   \
  |  |  ------------------
  |  |  |  Branch (2114:5): [True: 1.93k, False: 95.1k]
  |  |  |  Branch (2114:29): [True: 821, False: 96.2k]
  |  |  ------------------
  |  | 2115|  12.3k|    case MFF_TUN_METADATA10: case MFF_TUN_METADATA11: \
  |  |  ------------------
  |  |  |  Branch (2115:5): [True: 1.50k, False: 95.5k]
  |  |  |  Branch (2115:30): [True: 197, False: 96.8k]
  |  |  ------------------
  |  | 2116|  14.7k|    case MFF_TUN_METADATA12: case MFF_TUN_METADATA13: \
  |  |  ------------------
  |  |  |  Branch (2116:5): [True: 1.81k, False: 95.2k]
  |  |  |  Branch (2116:30): [True: 625, False: 96.4k]
  |  |  ------------------
  |  | 2117|  17.1k|    case MFF_TUN_METADATA14: case MFF_TUN_METADATA15: \
  |  |  ------------------
  |  |  |  Branch (2117:5): [True: 524, False: 96.5k]
  |  |  |  Branch (2117:30): [True: 1.83k, False: 95.2k]
  |  |  ------------------
  |  | 2118|  19.6k|    case MFF_TUN_METADATA16: case MFF_TUN_METADATA17: \
  |  |  ------------------
  |  |  |  Branch (2118:5): [True: 1.44k, False: 95.6k]
  |  |  |  Branch (2118:30): [True: 1.00k, False: 96.0k]
  |  |  ------------------
  |  | 2119|  23.7k|    case MFF_TUN_METADATA18: case MFF_TUN_METADATA19: \
  |  |  ------------------
  |  |  |  Branch (2119:5): [True: 2.74k, False: 94.3k]
  |  |  |  Branch (2119:30): [True: 1.41k, False: 95.6k]
  |  |  ------------------
  |  | 2120|  25.6k|    case MFF_TUN_METADATA20: case MFF_TUN_METADATA21: \
  |  |  ------------------
  |  |  |  Branch (2120:5): [True: 264, False: 96.8k]
  |  |  |  Branch (2120:30): [True: 1.59k, False: 95.4k]
  |  |  ------------------
  |  | 2121|  27.5k|    case MFF_TUN_METADATA22: case MFF_TUN_METADATA23: \
  |  |  ------------------
  |  |  |  Branch (2121:5): [True: 608, False: 96.4k]
  |  |  |  Branch (2121:30): [True: 1.30k, False: 95.7k]
  |  |  ------------------
  |  | 2122|  33.3k|    case MFF_TUN_METADATA24: case MFF_TUN_METADATA25: \
  |  |  ------------------
  |  |  |  Branch (2122:5): [True: 1.04k, False: 96.0k]
  |  |  |  Branch (2122:30): [True: 4.77k, False: 92.3k]
  |  |  ------------------
  |  | 2123|  34.2k|    case MFF_TUN_METADATA26: case MFF_TUN_METADATA27: \
  |  |  ------------------
  |  |  |  Branch (2123:5): [True: 731, False: 96.3k]
  |  |  |  Branch (2123:30): [True: 200, False: 96.8k]
  |  |  ------------------
  |  | 2124|  34.9k|    case MFF_TUN_METADATA28: case MFF_TUN_METADATA29: \
  |  |  ------------------
  |  |  |  Branch (2124:5): [True: 159, False: 96.9k]
  |  |  |  Branch (2124:30): [True: 527, False: 96.5k]
  |  |  ------------------
  |  | 2125|  36.0k|    case MFF_TUN_METADATA30: case MFF_TUN_METADATA31: \
  |  |  ------------------
  |  |  |  Branch (2125:5): [True: 947, False: 96.1k]
  |  |  |  Branch (2125:30): [True: 94, False: 96.9k]
  |  |  ------------------
  |  | 2126|  38.1k|    case MFF_TUN_METADATA32: case MFF_TUN_METADATA33: \
  |  |  ------------------
  |  |  |  Branch (2126:5): [True: 1.53k, False: 95.5k]
  |  |  |  Branch (2126:30): [True: 608, False: 96.4k]
  |  |  ------------------
  |  | 2127|  39.6k|    case MFF_TUN_METADATA34: case MFF_TUN_METADATA35: \
  |  |  ------------------
  |  |  |  Branch (2127:5): [True: 1.28k, False: 95.8k]
  |  |  |  Branch (2127:30): [True: 239, False: 96.8k]
  |  |  ------------------
  |  | 2128|  40.3k|    case MFF_TUN_METADATA36: case MFF_TUN_METADATA37: \
  |  |  ------------------
  |  |  |  Branch (2128:5): [True: 315, False: 96.7k]
  |  |  |  Branch (2128:30): [True: 367, False: 96.7k]
  |  |  ------------------
  |  | 2129|  41.2k|    case MFF_TUN_METADATA38: case MFF_TUN_METADATA39: \
  |  |  ------------------
  |  |  |  Branch (2129:5): [True: 191, False: 96.8k]
  |  |  |  Branch (2129:30): [True: 711, False: 96.3k]
  |  |  ------------------
  |  | 2130|  43.8k|    case MFF_TUN_METADATA40: case MFF_TUN_METADATA41: \
  |  |  ------------------
  |  |  |  Branch (2130:5): [True: 930, False: 96.1k]
  |  |  |  Branch (2130:30): [True: 1.67k, False: 95.4k]
  |  |  ------------------
  |  | 2131|  45.7k|    case MFF_TUN_METADATA42: case MFF_TUN_METADATA43: \
  |  |  ------------------
  |  |  |  Branch (2131:5): [True: 797, False: 96.2k]
  |  |  |  Branch (2131:30): [True: 1.12k, False: 95.9k]
  |  |  ------------------
  |  | 2132|  48.8k|    case MFF_TUN_METADATA44: case MFF_TUN_METADATA45: \
  |  |  ------------------
  |  |  |  Branch (2132:5): [True: 2.94k, False: 94.1k]
  |  |  |  Branch (2132:30): [True: 163, False: 96.9k]
  |  |  ------------------
  |  | 2133|  49.9k|    case MFF_TUN_METADATA46: case MFF_TUN_METADATA47: \
  |  |  ------------------
  |  |  |  Branch (2133:5): [True: 399, False: 96.6k]
  |  |  |  Branch (2133:30): [True: 687, False: 96.4k]
  |  |  ------------------
  |  | 2134|  51.6k|    case MFF_TUN_METADATA48: case MFF_TUN_METADATA49: \
  |  |  ------------------
  |  |  |  Branch (2134:5): [True: 1.21k, False: 95.8k]
  |  |  |  Branch (2134:30): [True: 490, False: 96.5k]
  |  |  ------------------
  |  | 2135|  53.2k|    case MFF_TUN_METADATA50: case MFF_TUN_METADATA51: \
  |  |  ------------------
  |  |  |  Branch (2135:5): [True: 1.06k, False: 96.0k]
  |  |  |  Branch (2135:30): [True: 482, False: 96.6k]
  |  |  ------------------
  |  | 2136|  54.4k|    case MFF_TUN_METADATA52: case MFF_TUN_METADATA53: \
  |  |  ------------------
  |  |  |  Branch (2136:5): [True: 709, False: 96.3k]
  |  |  |  Branch (2136:30): [True: 468, False: 96.6k]
  |  |  ------------------
  |  | 2137|  55.7k|    case MFF_TUN_METADATA54: case MFF_TUN_METADATA55: \
  |  |  ------------------
  |  |  |  Branch (2137:5): [True: 111, False: 96.9k]
  |  |  |  Branch (2137:30): [True: 1.27k, False: 95.8k]
  |  |  ------------------
  |  | 2138|  56.8k|    case MFF_TUN_METADATA56: case MFF_TUN_METADATA57: \
  |  |  ------------------
  |  |  |  Branch (2138:5): [True: 183, False: 96.9k]
  |  |  |  Branch (2138:30): [True: 879, False: 96.2k]
  |  |  ------------------
  |  | 2139|  58.4k|    case MFF_TUN_METADATA58: case MFF_TUN_METADATA59: \
  |  |  ------------------
  |  |  |  Branch (2139:5): [True: 1.02k, False: 96.0k]
  |  |  |  Branch (2139:30): [True: 571, False: 96.5k]
  |  |  ------------------
  |  | 2140|  61.1k|    case MFF_TUN_METADATA60: case MFF_TUN_METADATA61: \
  |  |  ------------------
  |  |  |  Branch (2140:5): [True: 2.31k, False: 94.7k]
  |  |  |  Branch (2140:30): [True: 416, False: 96.6k]
  |  |  ------------------
  |  | 2141|  63.0k|    case MFF_TUN_METADATA62: case MFF_TUN_METADATA63
  |  |  ------------------
  |  |  |  Branch (2141:5): [True: 151, False: 96.9k]
  |  |  ------------------
  ------------------
 2646|  63.0k|        tun_metadata_set_match(mf, value, mask, match, err_str);
 2647|  63.0k|        break;
 2648|       |
 2649|    133|    case MFF_METADATA:
  ------------------
  |  Branch (2649:5): [True: 133, False: 96.9k]
  ------------------
 2650|    133|        match_set_metadata_masked(match, value->be64, mask->be64);
 2651|    133|        break;
 2652|       |
 2653|  6.47k|    CASE_MFF_REGS:
  ------------------
  |  | 2065|  1.99k|    case MFF_REG0: case MFF_REG1: case MFF_REG2: case MFF_REG3:     \
  |  |  ------------------
  |  |  |  Branch (2065:5): [True: 1.11k, False: 95.9k]
  |  |  |  Branch (2065:20): [True: 339, False: 96.7k]
  |  |  |  Branch (2065:35): [True: 473, False: 96.6k]
  |  |  |  Branch (2065:50): [True: 65, False: 97.0k]
  |  |  ------------------
  |  | 2066|  2.75k|    case MFF_REG4: case MFF_REG5: case MFF_REG6: case MFF_REG7:     \
  |  |  ------------------
  |  |  |  Branch (2066:5): [True: 216, False: 96.8k]
  |  |  |  Branch (2066:20): [True: 96, False: 96.9k]
  |  |  |  Branch (2066:35): [True: 220, False: 96.8k]
  |  |  |  Branch (2066:50): [True: 233, False: 96.8k]
  |  |  ------------------
  |  | 2067|  4.39k|    case MFF_REG8: case MFF_REG9: case MFF_REG10: case MFF_REG11:   \
  |  |  ------------------
  |  |  |  Branch (2067:5): [True: 584, False: 96.5k]
  |  |  |  Branch (2067:20): [True: 806, False: 96.2k]
  |  |  |  Branch (2067:35): [True: 151, False: 96.9k]
  |  |  |  Branch (2067:51): [True: 95, False: 96.9k]
  |  |  ------------------
  |  | 2068|  5.38k|    case MFF_REG12: case MFF_REG13: case MFF_REG14: case MFF_REG15: \
  |  |  ------------------
  |  |  |  Branch (2068:5): [True: 375, False: 96.7k]
  |  |  |  Branch (2068:21): [True: 143, False: 96.9k]
  |  |  |  Branch (2068:37): [True: 149, False: 96.9k]
  |  |  |  Branch (2068:53): [True: 325, False: 96.7k]
  |  |  ------------------
  |  | 2069|  5.68k|    case MFF_REG16: case MFF_REG17: case MFF_REG18: case MFF_REG19: \
  |  |  ------------------
  |  |  |  Branch (2069:5): [True: 20, False: 97.0k]
  |  |  |  Branch (2069:21): [True: 79, False: 97.0k]
  |  |  |  Branch (2069:37): [True: 160, False: 96.9k]
  |  |  |  Branch (2069:53): [True: 38, False: 97.0k]
  |  |  ------------------
  |  | 2070|  5.96k|    case MFF_REG20: case MFF_REG21: case MFF_REG22: case MFF_REG23: \
  |  |  ------------------
  |  |  |  Branch (2070:5): [True: 10, False: 97.0k]
  |  |  |  Branch (2070:21): [True: 156, False: 96.9k]
  |  |  |  Branch (2070:37): [True: 100, False: 96.9k]
  |  |  |  Branch (2070:53): [True: 18, False: 97.0k]
  |  |  ------------------
  |  | 2071|  6.22k|    case MFF_REG24: case MFF_REG25: case MFF_REG26: case MFF_REG27: \
  |  |  ------------------
  |  |  |  Branch (2071:5): [True: 69, False: 97.0k]
  |  |  |  Branch (2071:21): [True: 67, False: 97.0k]
  |  |  |  Branch (2071:37): [True: 42, False: 97.0k]
  |  |  |  Branch (2071:53): [True: 79, False: 97.0k]
  |  |  ------------------
  |  | 2072|  6.47k|    case MFF_REG28: case MFF_REG29: case MFF_REG30: case MFF_REG31
  |  |  ------------------
  |  |  |  Branch (2072:5): [True: 50, False: 97.0k]
  |  |  |  Branch (2072:21): [True: 58, False: 97.0k]
  |  |  |  Branch (2072:37): [True: 39, False: 97.0k]
  |  |  ------------------
  ------------------
 2654|  6.47k|        match_set_reg_masked(match, mf->id - MFF_REG0,
 2655|  6.47k|                             ntohl(value->be32), ntohl(mask->be32));
 2656|  6.47k|        break;
 2657|       |
 2658|  4.03k|    CASE_MFF_XREGS:
  ------------------
  |  | 2081|  1.42k|    case MFF_XREG0: case MFF_XREG1: case MFF_XREG2: case MFF_XREG3:    \
  |  |  ------------------
  |  |  |  Branch (2081:5): [True: 70, False: 97.0k]
  |  |  |  Branch (2081:21): [True: 772, False: 96.3k]
  |  |  |  Branch (2081:37): [True: 249, False: 96.8k]
  |  |  |  Branch (2081:53): [True: 338, False: 96.7k]
  |  |  ------------------
  |  | 2082|  3.31k|    case MFF_XREG4: case MFF_XREG5: case MFF_XREG6: case MFF_XREG7:    \
  |  |  ------------------
  |  |  |  Branch (2082:5): [True: 352, False: 96.7k]
  |  |  |  Branch (2082:21): [True: 206, False: 96.8k]
  |  |  |  Branch (2082:37): [True: 1.08k, False: 96.0k]
  |  |  |  Branch (2082:53): [True: 241, False: 96.8k]
  |  |  ------------------
  |  | 2083|  3.72k|    case MFF_XREG8: case MFF_XREG9: case MFF_XREG10: case MFF_XREG11:  \
  |  |  ------------------
  |  |  |  Branch (2083:5): [True: 20, False: 97.0k]
  |  |  |  Branch (2083:21): [True: 248, False: 96.8k]
  |  |  |  Branch (2083:37): [True: 73, False: 97.0k]
  |  |  |  Branch (2083:54): [True: 67, False: 97.0k]
  |  |  ------------------
  |  | 2084|  4.03k|    case MFF_XREG12: case MFF_XREG13: case MFF_XREG14: case MFF_XREG15
  |  |  ------------------
  |  |  |  Branch (2084:5): [True: 98, False: 96.9k]
  |  |  |  Branch (2084:22): [True: 73, False: 97.0k]
  |  |  |  Branch (2084:39): [True: 73, False: 97.0k]
  |  |  ------------------
  ------------------
 2659|  4.03k|        match_set_xreg_masked(match, mf->id - MFF_XREG0,
 2660|  4.03k|                              ntohll(value->be64), ntohll(mask->be64));
 2661|  4.03k|        break;
 2662|       |
 2663|  1.41k|    CASE_MFF_XXREGS: {
  ------------------
  |  | 2093|  1.41k|    case MFF_XXREG0: case MFF_XXREG1: case MFF_XXREG2: case MFF_XXREG3: \
  |  |  ------------------
  |  |  |  Branch (2093:5): [True: 223, False: 96.8k]
  |  |  |  Branch (2093:22): [True: 127, False: 96.9k]
  |  |  |  Branch (2093:39): [True: 1.01k, False: 96.0k]
  |  |  |  Branch (2093:56): [True: 46, False: 97.0k]
  |  |  ------------------
  |  | 2094|  1.41k|    case MFF_XXREG4: case MFF_XXREG5: case MFF_XXREG6: case MFF_XXREG7
  |  |  ------------------
  |  |  |  Branch (2094:5): [True: 0, False: 97.0k]
  |  |  |  Branch (2094:22): [True: 0, False: 97.0k]
  |  |  |  Branch (2094:39): [True: 0, False: 97.0k]
  |  |  ------------------
  ------------------
 2664|  1.41k|        match_set_xxreg_masked(match, mf->id - MFF_XXREG0,
 2665|  1.41k|                ntoh128(value->be128), ntoh128(mask->be128));
 2666|  1.41k|        break;
 2667|  7.59k|    }
 2668|       |
 2669|    392|    case MFF_PKT_MARK:
  ------------------
  |  Branch (2669:5): [True: 392, False: 96.6k]
  ------------------
 2670|    392|        match_set_pkt_mark_masked(match, ntohl(value->be32),
 2671|    392|                                  ntohl(mask->be32));
 2672|    392|        break;
 2673|       |
 2674|    294|    case MFF_CT_STATE:
  ------------------
  |  Branch (2674:5): [True: 294, False: 96.7k]
  ------------------
 2675|    294|        match_set_ct_state_masked(match, ntohl(value->be32), ntohl(mask->be32));
 2676|    294|        break;
 2677|       |
 2678|  2.08k|    case MFF_CT_MARK:
  ------------------
  |  Branch (2678:5): [True: 2.08k, False: 95.0k]
  ------------------
 2679|  2.08k|        match_set_ct_mark_masked(match, ntohl(value->be32), ntohl(mask->be32));
 2680|  2.08k|        break;
 2681|       |
 2682|    484|    case MFF_CT_LABEL:
  ------------------
  |  Branch (2682:5): [True: 484, False: 96.6k]
  ------------------
 2683|    484|        match_set_ct_label_masked(match, ntoh128(value->be128),
 2684|    484|                                  ntoh128(mask->be128));
 2685|    484|        break;
 2686|       |
 2687|    235|    case MFF_CT_NW_SRC:
  ------------------
  |  Branch (2687:5): [True: 235, False: 96.8k]
  ------------------
 2688|    235|        match_set_ct_nw_src_masked(match, value->be32, mask->be32);
 2689|    235|        break;
 2690|       |
 2691|    214|    case MFF_CT_NW_DST:
  ------------------
  |  Branch (2691:5): [True: 214, False: 96.8k]
  ------------------
 2692|    214|        match_set_ct_nw_dst_masked(match, value->be32, mask->be32);
 2693|    214|        break;
 2694|       |
 2695|    428|    case MFF_CT_IPV6_SRC:
  ------------------
  |  Branch (2695:5): [True: 428, False: 96.6k]
  ------------------
 2696|    428|        match_set_ct_ipv6_src_masked(match, &value->ipv6, &mask->ipv6);
 2697|    428|        break;
 2698|       |
 2699|    759|    case MFF_CT_IPV6_DST:
  ------------------
  |  Branch (2699:5): [True: 759, False: 96.3k]
  ------------------
 2700|    759|        match_set_ct_ipv6_dst_masked(match, &value->ipv6, &mask->ipv6);
 2701|    759|        break;
 2702|       |
 2703|    243|    case MFF_CT_TP_SRC:
  ------------------
  |  Branch (2703:5): [True: 243, False: 96.8k]
  ------------------
 2704|    243|        match_set_ct_tp_src_masked(match, value->be16, mask->be16);
 2705|    243|        break;
 2706|       |
 2707|    633|    case MFF_CT_TP_DST:
  ------------------
  |  Branch (2707:5): [True: 633, False: 96.4k]
  ------------------
 2708|    633|        match_set_ct_tp_dst_masked(match, value->be16, mask->be16);
 2709|    633|        break;
 2710|       |
 2711|     83|    case MFF_ETH_DST:
  ------------------
  |  Branch (2711:5): [True: 83, False: 97.0k]
  ------------------
 2712|     83|        match_set_dl_dst_masked(match, value->mac, mask->mac);
 2713|     83|        break;
 2714|       |
 2715|    161|    case MFF_ETH_SRC:
  ------------------
  |  Branch (2715:5): [True: 161, False: 96.9k]
  ------------------
 2716|    161|        match_set_dl_src_masked(match, value->mac, mask->mac);
 2717|    161|        break;
 2718|       |
 2719|     10|    case MFF_ARP_SHA:
  ------------------
  |  Branch (2719:5): [True: 10, False: 97.0k]
  ------------------
 2720|    306|    case MFF_ND_SLL:
  ------------------
  |  Branch (2720:5): [True: 296, False: 96.7k]
  ------------------
 2721|    306|        match_set_arp_sha_masked(match, value->mac, mask->mac);
 2722|    306|        break;
 2723|       |
 2724|    134|    case MFF_ARP_THA:
  ------------------
  |  Branch (2724:5): [True: 134, False: 96.9k]
  ------------------
 2725|    361|    case MFF_ND_TLL:
  ------------------
  |  Branch (2725:5): [True: 227, False: 96.8k]
  ------------------
 2726|    361|        match_set_arp_tha_masked(match, value->mac, mask->mac);
 2727|    361|        break;
 2728|       |
 2729|    631|    case MFF_VLAN_TCI:
  ------------------
  |  Branch (2729:5): [True: 631, False: 96.4k]
  ------------------
 2730|    631|        match_set_dl_tci_masked(match, value->be16, mask->be16);
 2731|    631|        break;
 2732|       |
 2733|     81|    case MFF_VLAN_VID:
  ------------------
  |  Branch (2733:5): [True: 81, False: 97.0k]
  ------------------
 2734|     81|        match_set_vlan_vid_masked(match, value->be16, mask->be16);
 2735|     81|        break;
 2736|       |
 2737|    298|    case MFF_IPV4_SRC:
  ------------------
  |  Branch (2737:5): [True: 298, False: 96.7k]
  ------------------
 2738|    298|        match_set_nw_src_masked(match, value->be32, mask->be32);
 2739|    298|        break;
 2740|       |
 2741|     43|    case MFF_IPV4_DST:
  ------------------
  |  Branch (2741:5): [True: 43, False: 97.0k]
  ------------------
 2742|     43|        match_set_nw_dst_masked(match, value->be32, mask->be32);
 2743|     43|        break;
 2744|       |
 2745|    371|    case MFF_IPV6_SRC:
  ------------------
  |  Branch (2745:5): [True: 371, False: 96.7k]
  ------------------
 2746|    371|        match_set_ipv6_src_masked(match, &value->ipv6, &mask->ipv6);
 2747|    371|        break;
 2748|       |
 2749|    337|    case MFF_IPV6_DST:
  ------------------
  |  Branch (2749:5): [True: 337, False: 96.7k]
  ------------------
 2750|    337|        match_set_ipv6_dst_masked(match, &value->ipv6, &mask->ipv6);
 2751|    337|        break;
 2752|       |
 2753|    253|    case MFF_IPV6_LABEL:
  ------------------
  |  Branch (2753:5): [True: 253, False: 96.8k]
  ------------------
 2754|    253|        if ((mask->be32 & htonl(IPV6_LABEL_MASK)) == htonl(IPV6_LABEL_MASK)) {
  ------------------
  |  Branch (2754:13): [True: 203, False: 50]
  ------------------
 2755|    203|            mf_set_value(mf, value, match, err_str);
 2756|    203|        } else {
 2757|     50|            match_set_ipv6_label_masked(match, value->be32, mask->be32);
 2758|     50|        }
 2759|    253|        break;
 2760|       |
 2761|  1.21k|    case MFF_ND_TARGET:
  ------------------
  |  Branch (2761:5): [True: 1.21k, False: 95.8k]
  ------------------
 2762|  1.21k|        match_set_nd_target_masked(match, &value->ipv6, &mask->ipv6);
 2763|  1.21k|        break;
 2764|       |
 2765|  1.03k|    case MFF_IP_FRAG:
  ------------------
  |  Branch (2765:5): [True: 1.03k, False: 96.0k]
  ------------------
 2766|  1.03k|        match_set_nw_frag_masked(match, value->u8,
 2767|  1.03k|                                 mask->u8 & FLOW_NW_FRAG_MASK);
  ------------------
  |  |   56|  1.03k|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|  1.03k|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|  1.03k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
 2768|  1.03k|        break;
 2769|       |
 2770|    238|    case MFF_ARP_SPA:
  ------------------
  |  Branch (2770:5): [True: 238, False: 96.8k]
  ------------------
 2771|    238|        match_set_nw_src_masked(match, value->be32, mask->be32);
 2772|    238|        break;
 2773|       |
 2774|     66|    case MFF_ARP_TPA:
  ------------------
  |  Branch (2774:5): [True: 66, False: 97.0k]
  ------------------
 2775|     66|        match_set_nw_dst_masked(match, value->be32, mask->be32);
 2776|     66|        break;
 2777|       |
 2778|     69|    case MFF_TCP_SRC:
  ------------------
  |  Branch (2778:5): [True: 69, False: 97.0k]
  ------------------
 2779|    137|    case MFF_UDP_SRC:
  ------------------
  |  Branch (2779:5): [True: 68, False: 97.0k]
  ------------------
 2780|    220|    case MFF_SCTP_SRC:
  ------------------
  |  Branch (2780:5): [True: 83, False: 97.0k]
  ------------------
 2781|    220|        match_set_tp_src_masked(match, value->be16, mask->be16);
 2782|    220|        break;
 2783|       |
 2784|     22|    case MFF_TCP_DST:
  ------------------
  |  Branch (2784:5): [True: 22, False: 97.0k]
  ------------------
 2785|    224|    case MFF_UDP_DST:
  ------------------
  |  Branch (2785:5): [True: 202, False: 96.8k]
  ------------------
 2786|    376|    case MFF_SCTP_DST:
  ------------------
  |  Branch (2786:5): [True: 152, False: 96.9k]
  ------------------
 2787|    376|        match_set_tp_dst_masked(match, value->be16, mask->be16);
 2788|    376|        break;
 2789|       |
 2790|    262|    case MFF_TCP_FLAGS:
  ------------------
  |  Branch (2790:5): [True: 262, False: 96.8k]
  ------------------
 2791|    262|        match_set_tcp_flags_masked(match, value->be16, mask->be16);
 2792|    262|        break;
 2793|       |
 2794|     34|    case MFF_NSH_FLAGS:
  ------------------
  |  Branch (2794:5): [True: 34, False: 97.0k]
  ------------------
 2795|     34|        MATCH_SET_FIELD_MASKED(match, nsh.flags, value->u8, mask->u8);
  ------------------
  |  |   50|     34|    do {                                                      \
  |  |   51|     34|        (match)->wc.masks.field = (msk);                      \
  |  |   52|     34|        (match)->flow.field = (value) & (msk);                \
  |  |   53|     34|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 34]
  |  |  ------------------
  ------------------
 2796|     34|        break;
 2797|      0|    case MFF_NSH_TTL:
  ------------------
  |  Branch (2797:5): [True: 0, False: 97.0k]
  ------------------
 2798|      0|        MATCH_SET_FIELD_MASKED(match, nsh.ttl, value->u8, mask->u8);
  ------------------
  |  |   50|      0|    do {                                                      \
  |  |   51|      0|        (match)->wc.masks.field = (msk);                      \
  |  |   52|      0|        (match)->flow.field = (value) & (msk);                \
  |  |   53|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2799|      0|        break;
 2800|      0|    case MFF_NSH_MDTYPE:
  ------------------
  |  Branch (2800:5): [True: 0, False: 97.0k]
  ------------------
 2801|      0|        MATCH_SET_FIELD_MASKED(match, nsh.mdtype, value->u8, mask->u8);
  ------------------
  |  |   50|      0|    do {                                                      \
  |  |   51|      0|        (match)->wc.masks.field = (msk);                      \
  |  |   52|      0|        (match)->flow.field = (value) & (msk);                \
  |  |   53|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2802|      0|        break;
 2803|      0|    case MFF_NSH_NP:
  ------------------
  |  Branch (2803:5): [True: 0, False: 97.0k]
  ------------------
 2804|      0|        MATCH_SET_FIELD_MASKED(match, nsh.np, value->u8, mask->u8);
  ------------------
  |  |   50|      0|    do {                                                      \
  |  |   51|      0|        (match)->wc.masks.field = (msk);                      \
  |  |   52|      0|        (match)->flow.field = (value) & (msk);                \
  |  |   53|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2805|      0|        break;
 2806|      0|    case MFF_NSH_SPI:
  ------------------
  |  Branch (2806:5): [True: 0, False: 97.0k]
  ------------------
 2807|      0|        match->wc.masks.nsh.path_hdr |= mask->be32;
 2808|      0|        nsh_path_hdr_set_spi(&match->flow.nsh.path_hdr,
 2809|      0|                             value->be32 & mask->be32);
 2810|      0|        break;
 2811|      0|    case MFF_NSH_SI:
  ------------------
  |  Branch (2811:5): [True: 0, False: 97.0k]
  ------------------
 2812|      0|        match->wc.masks.nsh.path_hdr |= htonl(mask->u8);
 2813|      0|        nsh_path_hdr_set_si(&match->flow.nsh.path_hdr,
 2814|      0|                             value->u8 & mask->u8);
 2815|      0|        break;
 2816|     69|    case MFF_NSH_C1:
  ------------------
  |  Branch (2816:5): [True: 69, False: 97.0k]
  ------------------
 2817|    244|    case MFF_NSH_C2:
  ------------------
  |  Branch (2817:5): [True: 175, False: 96.9k]
  ------------------
 2818|    262|    case MFF_NSH_C3:
  ------------------
  |  Branch (2818:5): [True: 18, False: 97.0k]
  ------------------
 2819|    462|    case MFF_NSH_C4:
  ------------------
  |  Branch (2819:5): [True: 200, False: 96.8k]
  ------------------
 2820|    462|        MATCH_SET_FIELD_MASKED(match, nsh.context[mf->id - MFF_NSH_C1],
  ------------------
  |  |   50|    462|    do {                                                      \
  |  |   51|    462|        (match)->wc.masks.field = (msk);                      \
  |  |   52|    462|        (match)->flow.field = (value) & (msk);                \
  |  |   53|    462|    } while (0)
  |  |  ------------------
  |  |  |  Branch (53:14): [Folded, False: 462]
  |  |  ------------------
  ------------------
 2821|    462|                               value->be32, mask->be32);
 2822|    462|        break;
 2823|       |
 2824|      0|    case MFF_N_IDS:
  ------------------
  |  Branch (2824:5): [True: 0, False: 97.0k]
  ------------------
 2825|      0|    default:
  ------------------
  |  Branch (2825:5): [True: 0, False: 97.0k]
  ------------------
 2826|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 2827|  97.0k|    }
 2828|       |
 2829|  94.1k|    return ((mf->usable_protocols_bitwise == mf->usable_protocols_cidr
  ------------------
  |  Branch (2829:14): [True: 93.4k, False: 645]
  ------------------
 2830|    645|             || ip_is_cidr(mask->be32))
  ------------------
  |  Branch (2830:17): [True: 21, False: 624]
  ------------------
 2831|  94.1k|            ? mf->usable_protocols_cidr
 2832|  94.1k|            : mf->usable_protocols_bitwise);
 2833|  97.0k|}
mf_check_src:
 2948|  55.5k|{
 2949|  55.5k|    return mf_check__(sf, match, "source");
 2950|  55.5k|}
mf_check_dst:
 2957|  12.5k|{
 2958|  12.5k|    int error = mf_check__(sf, match, "destination");
 2959|  12.5k|    if (!error && !sf->field->writable) {
  ------------------
  |  Branch (2959:9): [True: 11.3k, False: 1.22k]
  |  Branch (2959:19): [True: 70, False: 11.2k]
  ------------------
 2960|     70|        VLOG_WARN_RL(&rl, "destination field %s is not writable",
  ------------------
  |  |  224|     70|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     70|    do {                                                                \
  |  |  |  |  288|     70|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     70|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     70|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2961|     70|                     sf->field->name);
 2962|     70|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2963|     70|    }
 2964|  12.4k|    return error;
 2965|  12.5k|}
mf_get:
 2972|  35.0k|{
 2973|  35.0k|    mf_get_value(mf, &match->flow, value);
 2974|  35.0k|    mf_get_mask(mf, &match->wc, mask);
 2975|  35.0k|}
mf_format:
 3401|  19.0k|{
 3402|  19.0k|    if (mask) {
  ------------------
  |  Branch (3402:9): [True: 7.51k, False: 11.5k]
  ------------------
 3403|  7.51k|        if (is_all_zeros(mask, mf->n_bytes)) {
  ------------------
  |  Branch (3403:13): [True: 2.07k, False: 5.43k]
  ------------------
 3404|  2.07k|            ds_put_cstr(s, "ANY");
 3405|  2.07k|            return;
 3406|  5.43k|        } else if (is_all_ones(mask, mf->n_bytes)) {
  ------------------
  |  Branch (3406:20): [True: 4.13k, False: 1.30k]
  ------------------
 3407|  4.13k|            mask = NULL;
 3408|  4.13k|        }
 3409|  7.51k|    }
 3410|       |
 3411|  17.0k|    switch (mf->string) {
 3412|    424|    case MFS_OFP_PORT_OXM:
  ------------------
  |  Branch (3412:5): [True: 424, False: 16.5k]
  ------------------
 3413|    424|        if (!mask) {
  ------------------
  |  Branch (3413:13): [True: 207, False: 217]
  ------------------
 3414|    207|            ofp_port_t port;
 3415|    207|            ofputil_port_from_ofp11(value->be32, &port);
 3416|    207|            ofputil_format_port(port, port_map, s);
 3417|    207|            break;
 3418|    207|        }
 3419|       |        /* fall through */
 3420|    413|    case MFS_OFP_PORT:
  ------------------
  |  Branch (3420:5): [True: 196, False: 16.8k]
  ------------------
 3421|    413|        if (!mask) {
  ------------------
  |  Branch (3421:13): [True: 196, False: 217]
  ------------------
 3422|    196|            ofputil_format_port(u16_to_ofp(ntohs(value->be16)), port_map, s);
 3423|    196|            break;
 3424|    196|        }
 3425|       |        /* fall through */
 3426|  3.00k|    case MFS_DECIMAL:
  ------------------
  |  Branch (3426:5): [True: 2.78k, False: 14.2k]
  ------------------
 3427|  11.2k|    case MFS_HEXADECIMAL:
  ------------------
  |  Branch (3427:5): [True: 8.23k, False: 8.76k]
  ------------------
 3428|  11.2k|        mf_format_integer_string(mf, (uint8_t *) value, (uint8_t *) mask, s);
 3429|  11.2k|        break;
 3430|       |
 3431|  1.56k|    case MFS_CT_STATE:
  ------------------
  |  Branch (3431:5): [True: 1.56k, False: 15.4k]
  ------------------
 3432|  1.56k|        mf_format_ct_state_string(value->be32,
 3433|  1.56k|                                  mask ? mask->be32 : OVS_BE32_MAX, s);
  ------------------
  |  |   43|  1.56k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (3433:35): [True: 0, False: 1.56k]
  ------------------
 3434|  1.56k|        break;
 3435|       |
 3436|     34|    case MFS_ETHERNET:
  ------------------
  |  Branch (3436:5): [True: 34, False: 16.9k]
  ------------------
 3437|     34|        eth_format_masked(value->mac, mask ? &mask->mac : NULL, s);
  ------------------
  |  Branch (3437:39): [True: 0, False: 34]
  ------------------
 3438|     34|        break;
 3439|       |
 3440|     66|    case MFS_IPV4:
  ------------------
  |  Branch (3440:5): [True: 66, False: 16.9k]
  ------------------
 3441|     66|        ip_format_masked(value->be32, mask ? mask->be32 : OVS_BE32_MAX, s);
  ------------------
  |  |   43|     32|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (3441:39): [True: 34, False: 32]
  ------------------
 3442|     66|        break;
 3443|       |
 3444|    182|    case MFS_IPV6:
  ------------------
  |  Branch (3444:5): [True: 182, False: 16.8k]
  ------------------
 3445|    182|        ipv6_format_masked(&value->ipv6, mask ? &mask->ipv6 : NULL, s);
  ------------------
  |  Branch (3445:42): [True: 110, False: 72]
  ------------------
 3446|    182|        break;
 3447|       |
 3448|    469|    case MFS_FRAG:
  ------------------
  |  Branch (3448:5): [True: 469, False: 16.5k]
  ------------------
 3449|    469|        mf_format_frag_string(value->u8, mask ? mask->u8 : UINT8_MAX, s);
  ------------------
  |  Branch (3449:42): [True: 0, False: 469]
  ------------------
 3450|    469|        break;
 3451|       |
 3452|    483|    case MFS_TNL_FLAGS:
  ------------------
  |  Branch (3452:5): [True: 483, False: 16.5k]
  ------------------
 3453|    483|        mf_format_tnl_flags_string(value->be16,
 3454|    483|                                   mask ? mask->be16 : OVS_BE16_MAX, s);
  ------------------
  |  |   42|    932|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  |  Branch (3454:36): [True: 34, False: 449]
  ------------------
 3455|    483|        break;
 3456|       |
 3457|  2.29k|    case MFS_TCP_FLAGS:
  ------------------
  |  Branch (3457:5): [True: 2.29k, False: 14.7k]
  ------------------
 3458|  2.29k|        mf_format_tcp_flags_string(value->be16,
 3459|  2.29k|                                   mask ? mask->be16 : OVS_BE16_MAX, s);
  ------------------
  |  |   42|  4.59k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  |  Branch (3459:36): [True: 0, False: 2.29k]
  ------------------
 3460|  2.29k|        break;
 3461|       |
 3462|    265|    case MFS_PACKET_TYPE:
  ------------------
  |  Branch (3462:5): [True: 265, False: 16.7k]
  ------------------
 3463|    265|        mf_format_packet_type_string(value->be32,
 3464|    265|                                     mask ? mask->be32 : OVS_BE32_MAX, s);
  ------------------
  |  |   43|    265|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (3464:38): [True: 0, False: 265]
  ------------------
 3465|    265|        break;
 3466|       |
 3467|      0|    default:
  ------------------
  |  Branch (3467:5): [True: 0, False: 17.0k]
  ------------------
 3468|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 3469|  17.0k|    }
 3470|  17.0k|}
mf_write_subfield_value:
 3507|  35.0k|{
 3508|  35.0k|    const struct mf_field *field = sf->field;
 3509|  35.0k|    union mf_value value, mask;
 3510|  35.0k|    unsigned int size = DIV_ROUND_UP(sf->n_bits, 8);
  ------------------
  |  |  300|  35.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  ------------------
 3511|       |
 3512|  35.0k|    mf_get(field, match, &value, &mask);
 3513|  35.0k|    bitwise_copy(src, size, 0, &value, field->n_bytes, sf->ofs, sf->n_bits);
 3514|  35.0k|    bitwise_one (              &mask,  field->n_bytes, sf->ofs, sf->n_bits);
 3515|       |    mf_set(field, &value, &mask, match, NULL);
 3516|  35.0k|}
field_array_set:
 3571|  8.93k|{
 3572|  8.93k|    size_t i, offset = 0;
 3573|       |
 3574|  8.93k|    ovs_assert(id < MFF_N_IDS);
  ------------------
  |  |   62|  8.93k|#define ovs_assert ovs_ignore
  ------------------
 3575|       |
 3576|       |    /* Find the spot for 'id'. */
 3577|  8.93k|    BITMAP_FOR_EACH_1 (i, id, fa->used.bm) {
  ------------------
  |  |  281|  8.93k|    BITMAP_FOR_EACH_1_RANGE(IDX, 0, SIZE, BITMAP)
  |  |  ------------------
  |  |  |  |  278|  16.2k|    for ((IDX) = bitmap_scan(BITMAP, true, BEGIN, END); (IDX) < (END);   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (278:57): [True: 7.29k, False: 8.93k]
  |  |  |  |  ------------------
  |  |  |  |  279|  8.93k|         (IDX) = bitmap_scan(BITMAP, true, (IDX) + 1, END))
  |  |  ------------------
  ------------------
 3578|  7.29k|        offset += mf_from_id(i)->n_bytes;
 3579|  7.29k|    }
 3580|       |
 3581|  8.93k|    size_t value_size = mf_from_id(id)->n_bytes;
 3582|       |
 3583|       |    /* make room if necessary. */
 3584|  8.93k|    if (!bitmap_is_set(fa->used.bm, id)) {
  ------------------
  |  Branch (3584:9): [True: 8.93k, False: 0]
  ------------------
 3585|  8.93k|        fa->values = xrealloc(fa->values, fa->values_size + value_size);
 3586|       |        /* Move remainder forward, if any. */
 3587|  8.93k|        if (offset < fa->values_size) {
  ------------------
  |  Branch (3587:13): [True: 534, False: 8.40k]
  ------------------
 3588|    534|            memmove(fa->values + offset + value_size, fa->values + offset,
 3589|    534|                    fa->values_size - offset);
 3590|    534|        }
 3591|  8.93k|        fa->values_size += value_size;
 3592|  8.93k|    }
 3593|  8.93k|    bitmap_set1(fa->used.bm, id);
 3594|       |
 3595|  8.93k|    memcpy(fa->values + offset, value, value_size);
 3596|  8.93k|}
mf_get_vl_mff:
 3670|   305k|{
 3671|   305k|    if (mff && mff->variable_len && vl_mff_map) {
  ------------------
  |  Branch (3671:9): [True: 305k, False: 0]
  |  Branch (3671:16): [True: 138k, False: 166k]
  |  Branch (3671:37): [True: 0, False: 138k]
  ------------------
 3672|      0|        struct vl_mf_field *vl_mff = mf_get_vl_mff__(mff->id, vl_mff_map);
 3673|       |
 3674|      0|        return vl_mff ? &vl_mff->mf : NULL;
  ------------------
  |  Branch (3674:16): [True: 0, False: 0]
  ------------------
 3675|      0|    }
 3676|       |
 3677|   305k|    return NULL;
 3678|   305k|}
mf_vl_mff_invalid:
 3781|   305k|{
 3782|   305k|    return map && mff && mff->variable_len && !mff->mapped;
  ------------------
  |  Branch (3782:12): [True: 0, False: 305k]
  |  Branch (3782:19): [True: 0, False: 0]
  |  Branch (3782:26): [True: 0, False: 0]
  |  Branch (3782:47): [True: 0, False: 0]
  ------------------
 3783|   305k|}
mf_vl_mff_set_tlv_bitmap:
 3787|  94.9k|{
 3788|  94.9k|    if (mff && mff->mapped) {
  ------------------
  |  Branch (3788:9): [True: 94.9k, False: 0]
  |  Branch (3788:16): [True: 0, False: 94.9k]
  ------------------
 3789|      0|        ovs_assert(mf_is_tun_metadata(mff));
  ------------------
  |  |   62|      0|#define ovs_assert ovs_ignore
  ------------------
 3790|      0|        ULLONG_SET1(*tlv_bitmap, mff->id - MFF_TUN_METADATA0);
  ------------------
  |  |  290|      0|#define ULLONG_SET1(MAP, OFFSET) ((MAP) |= 1ULL << (OFFSET))
  ------------------
 3791|      0|    }
 3792|  94.9k|}
mf_vl_mff_nx_pull_header:
 3833|  21.0k|{
 3834|  21.0k|    enum ofperr error = nx_pull_header(b, vl_mff_map, field, masked);
 3835|  21.0k|    if (error) {
  ------------------
  |  Branch (3835:9): [True: 2.30k, False: 18.7k]
  ------------------
 3836|  2.30k|        return error;
 3837|  2.30k|    }
 3838|       |
 3839|  18.7k|    mf_vl_mff_set_tlv_bitmap(*field, tlv_bitmap);
 3840|  18.7k|    return 0;
 3841|  21.0k|}
mf_vl_mff_nx_pull_entry:
 3847|  19.9k|{
 3848|  19.9k|    enum ofperr error = nx_pull_entry(b, vl_mff_map, field, value, mask, true);
 3849|  19.9k|    if (error) {
  ------------------
  |  Branch (3849:9): [True: 1.66k, False: 18.2k]
  ------------------
 3850|  1.66k|        return error;
 3851|  1.66k|    }
 3852|       |
 3853|  18.2k|    mf_vl_mff_set_tlv_bitmap(*field, tlv_bitmap);
 3854|  18.2k|    return 0;
 3855|  19.9k|}
mf_vl_mff_mf_from_nxm_header:
 3862|  62.1k|{
 3863|  62.1k|    *field = mf_from_nxm_header(header, vl_mff_map);
 3864|  62.1k|    if (!*field) {
  ------------------
  |  Branch (3864:9): [True: 4.14k, False: 57.9k]
  ------------------
 3865|  4.14k|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 3866|  57.9k|    } else if (mf_vl_mff_invalid(*field, vl_mff_map)) {
  ------------------
  |  Branch (3866:16): [True: 0, False: 57.9k]
  ------------------
 3867|      0|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
 3868|      0|    }
 3869|       |
 3870|  57.9k|    mf_vl_mff_set_tlv_bitmap(*field, tlv_bitmap);
 3871|  57.9k|    return 0;
 3872|  62.1k|}
mf_bitmap_and:
 3886|   131k|{
 3887|   131k|    bitmap_and(a.bm, b.bm, MFF_N_IDS);
 3888|   131k|    return a;
 3889|   131k|}
mf_bitmap_not:
 3902|  65.9k|{
 3903|  65.9k|    bitmap_not(x.bm, MFF_N_IDS);
 3904|  65.9k|    return x;
 3905|  65.9k|}
meta-flow.c:mf_are_prereqs_ok__:
  444|  65.9k|{
  445|  65.9k|    ovs_be16 dl_type = get_dl_type(flow);
  446|       |
  447|  65.9k|    switch (mf->prereqs) {
  ------------------
  |  Branch (447:13): [True: 65.9k, False: 0]
  ------------------
  448|  48.4k|    case MFP_NONE:
  ------------------
  |  Branch (448:5): [True: 48.4k, False: 17.5k]
  ------------------
  449|  48.4k|        return true;
  450|    370|    case MFP_ETHERNET:
  ------------------
  |  Branch (450:5): [True: 370, False: 65.5k]
  ------------------
  451|    370|        return is_ethernet(flow, wc);
  452|  1.65k|    case MFP_ARP:
  ------------------
  |  Branch (452:5): [True: 1.65k, False: 64.2k]
  ------------------
  453|  1.65k|        return (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (453:17): [True: 948, False: 706]
  ------------------
  454|    706|                dl_type == htons(ETH_TYPE_RARP));
  ------------------
  |  Branch (454:17): [True: 249, False: 457]
  ------------------
  455|     10|    case MFP_IPV4:
  ------------------
  |  Branch (455:5): [True: 10, False: 65.9k]
  ------------------
  456|     10|        return dl_type == htons(ETH_TYPE_IP);
  457|     64|    case MFP_IPV6:
  ------------------
  |  Branch (457:5): [True: 64, False: 65.8k]
  ------------------
  458|     64|        return dl_type == htons(ETH_TYPE_IPV6);
  459|    992|    case MFP_VLAN_VID:
  ------------------
  |  Branch (459:5): [True: 992, False: 64.9k]
  ------------------
  460|    992|        return is_vlan(flow, wc);
  461|    134|    case MFP_MPLS:
  ------------------
  |  Branch (461:5): [True: 134, False: 65.7k]
  ------------------
  462|    134|        return eth_type_mpls(dl_type);
  463|  4.11k|    case MFP_IP_ANY:
  ------------------
  |  Branch (463:5): [True: 4.11k, False: 61.8k]
  ------------------
  464|  4.11k|        return is_ip_any(flow);
  465|     67|    case MFP_NSH:
  ------------------
  |  Branch (465:5): [True: 67, False: 65.8k]
  ------------------
  466|     67|        return dl_type == htons(ETH_TYPE_NSH);
  467|  2.03k|    case MFP_CT_VALID:
  ------------------
  |  Branch (467:5): [True: 2.03k, False: 63.8k]
  ------------------
  468|  2.03k|        return is_ct_valid(flow, mask, wc);
  469|    516|    case MFP_TCP:
  ------------------
  |  Branch (469:5): [True: 516, False: 65.4k]
  ------------------
  470|       |        /* Matching !FRAG_LATER is not enforced (mask is not checked). */
  471|    516|        return is_tcp(flow, wc) && !(flow->nw_frag & FLOW_NW_FRAG_LATER);
  ------------------
  |  |   55|    226|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (471:16): [True: 226, False: 290]
  |  Branch (471:36): [True: 226, False: 0]
  ------------------
  472|  1.48k|    case MFP_UDP:
  ------------------
  |  Branch (472:5): [True: 1.48k, False: 64.4k]
  ------------------
  473|  1.48k|        return is_udp(flow, wc) && !(flow->nw_frag & FLOW_NW_FRAG_LATER);
  ------------------
  |  |   55|    627|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (473:16): [True: 627, False: 858]
  |  Branch (473:36): [True: 627, False: 0]
  ------------------
  474|    698|    case MFP_SCTP:
  ------------------
  |  Branch (474:5): [True: 698, False: 65.2k]
  ------------------
  475|    698|        return is_sctp(flow, wc) && !(flow->nw_frag & FLOW_NW_FRAG_LATER);
  ------------------
  |  |   55|    275|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (475:16): [True: 275, False: 423]
  |  Branch (475:37): [True: 275, False: 0]
  ------------------
  476|    994|    case MFP_ICMPV4:
  ------------------
  |  Branch (476:5): [True: 994, False: 64.9k]
  ------------------
  477|    994|        return is_icmpv4(flow, wc);
  478|  1.66k|    case MFP_ICMPV6:
  ------------------
  |  Branch (478:5): [True: 1.66k, False: 64.2k]
  ------------------
  479|  1.66k|        return is_icmpv6(flow, wc);
  480|    127|    case MFP_ND:
  ------------------
  |  Branch (480:5): [True: 127, False: 65.7k]
  ------------------
  481|    127|        return is_nd(flow, wc);
  482|  1.58k|    case MFP_ND_SOLICIT:
  ------------------
  |  Branch (482:5): [True: 1.58k, False: 64.3k]
  ------------------
  483|  1.58k|        return is_nd(flow, wc) && flow->tp_src == htons(ND_NEIGHBOR_SOLICIT);
  ------------------
  |  Branch (483:16): [True: 306, False: 1.27k]
  |  Branch (483:35): [True: 236, False: 70]
  ------------------
  484|    996|    case MFP_ND_ADVERT:
  ------------------
  |  Branch (484:5): [True: 996, False: 64.9k]
  ------------------
  485|    996|        return is_nd(flow, wc) && flow->tp_src == htons(ND_NEIGHBOR_ADVERT);
  ------------------
  |  Branch (485:16): [True: 574, False: 422]
  |  Branch (485:35): [True: 191, False: 383]
  ------------------
  486|  65.9k|    }
  487|       |
  488|      0|    OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  489|  65.9k|}
meta-flow.c:field_len:
 1371|   164k|{
 1372|   164k|    const uint8_t *value = &value_->u8;
 1373|   164k|    int i;
 1374|       |
 1375|   164k|    if (!mf->variable_len) {
  ------------------
  |  Branch (1375:9): [True: 0, False: 164k]
  ------------------
 1376|      0|        return mf->n_bytes;
 1377|      0|    }
 1378|       |
 1379|   164k|    if (!value) {
  ------------------
  |  Branch (1379:9): [True: 0, False: 164k]
  ------------------
 1380|      0|        return 0;
 1381|      0|    }
 1382|       |
 1383|  19.2M|    for (i = 0; i < mf->n_bytes; i++) {
  ------------------
  |  Branch (1383:17): [True: 19.1M, False: 117k]
  ------------------
 1384|  19.1M|        if (value[i] != 0) {
  ------------------
  |  Branch (1384:13): [True: 47.3k, False: 19.0M]
  ------------------
 1385|  47.3k|            break;
 1386|  47.3k|        }
 1387|  19.1M|    }
 1388|       |
 1389|   164k|    return mf->n_bytes - i;
 1390|   164k|}
meta-flow.c:mf_check__:
 2838|  68.1k|{
 2839|  68.1k|    if (!sf->field) {
  ------------------
  |  Branch (2839:9): [True: 0, False: 68.1k]
  ------------------
 2840|      0|        VLOG_WARN_RL(&rl, "unknown %s field", type);
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2841|      0|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 2842|  68.1k|    } else if (!sf->n_bits) {
  ------------------
  |  Branch (2842:16): [True: 5.46k, False: 62.6k]
  ------------------
 2843|  5.46k|        VLOG_WARN_RL(&rl, "zero bit %s field %s", type, sf->field->name);
  ------------------
  |  |  224|  5.46k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  5.46k|    do {                                                                \
  |  |  |  |  288|  5.46k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  5.46k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 5.46k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  5.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 5.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|  5.46k|        return OFPERR_OFPBAC_BAD_SET_LEN;
 2845|  62.6k|    } else if (sf->ofs >= sf->field->n_bits) {
  ------------------
  |  Branch (2845:16): [True: 3.55k, False: 59.1k]
  ------------------
 2846|  3.55k|        VLOG_WARN_RL(&rl, "bit offset %d exceeds %d-bit width of %s field %s",
  ------------------
  |  |  224|  3.55k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  3.55k|    do {                                                                \
  |  |  |  |  288|  3.55k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  3.55k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3.55k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  3.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2847|  3.55k|                     sf->ofs, sf->field->n_bits, type, sf->field->name);
 2848|  3.55k|        return OFPERR_OFPBAC_BAD_SET_LEN;
 2849|  59.1k|    } else if (sf->ofs + sf->n_bits > sf->field->n_bits) {
  ------------------
  |  Branch (2849:16): [True: 377, False: 58.7k]
  ------------------
 2850|    377|        VLOG_WARN_RL(&rl, "bit offset %d and width %d exceeds %d-bit width "
  ------------------
  |  |  224|    377|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    377|    do {                                                                \
  |  |  |  |  288|    377|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    377|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    377|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|    377|                     "of %s field %s", sf->ofs, sf->n_bits,
 2852|    377|                     sf->field->n_bits, type, sf->field->name);
 2853|    377|        return OFPERR_OFPBAC_BAD_SET_LEN;
 2854|  58.7k|    } else if (match && !mf_are_match_prereqs_ok(sf->field, match)) {
  ------------------
  |  Branch (2854:16): [True: 42.3k, False: 16.4k]
  |  Branch (2854:25): [True: 1.20k, False: 41.0k]
  ------------------
 2855|  1.20k|        VLOG_WARN_RL(&rl, "%s field %s lacks correct prerequisites",
  ------------------
  |  |  224|  1.20k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.20k|    do {                                                                \
  |  |  |  |  288|  1.20k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.20k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.20k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.20k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2856|  1.20k|                     type, sf->field->name);
 2857|  1.20k|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 2858|  57.5k|    } else {
 2859|  57.5k|        return 0;
 2860|  57.5k|    }
 2861|  68.1k|}
meta-flow.c:mf_format_integer_string:
 3327|  11.2k|{
 3328|  11.2k|    if (mf->string == MFS_HEXADECIMAL) {
  ------------------
  |  Branch (3328:9): [True: 8.23k, False: 3.00k]
  ------------------
 3329|  8.23k|        ds_put_hex(s, valuep, mf->n_bytes);
 3330|  8.23k|    } else {
 3331|  3.00k|        unsigned long long int integer = 0;
 3332|  3.00k|        int i;
 3333|       |
 3334|  3.00k|        ovs_assert(mf->n_bytes <= 8);
  ------------------
  |  |   62|  3.00k|#define ovs_assert ovs_ignore
  ------------------
 3335|  8.08k|        for (i = 0; i < mf->n_bytes; i++) {
  ------------------
  |  Branch (3335:21): [True: 5.08k, False: 3.00k]
  ------------------
 3336|  5.08k|            integer = (integer << 8) | valuep[i];
 3337|  5.08k|        }
 3338|  3.00k|        ds_put_format(s, "%lld", integer);
 3339|  3.00k|    }
 3340|       |
 3341|  11.2k|    if (maskp) {
  ------------------
  |  Branch (3341:9): [True: 1.12k, False: 10.1k]
  ------------------
 3342|       |        /* I guess we could write the mask in decimal for MFS_DECIMAL but I'm
 3343|       |         * not sure that that a bit-mask written in decimal is ever easier to
 3344|       |         * understand than the same bit-mask written in hexadecimal. */
 3345|  1.12k|        ds_put_char(s, '/');
 3346|  1.12k|        ds_put_hex(s, maskp, mf->n_bytes);
 3347|  1.12k|    }
 3348|  11.2k|}
meta-flow.c:mf_format_ct_state_string:
 3383|  1.56k|{
 3384|  1.56k|    format_flags_masked(s, NULL, ct_state_to_string, ntohl(value),
 3385|  1.56k|                        ntohl(mask), UINT16_MAX);
 3386|  1.56k|}
meta-flow.c:mf_format_frag_string:
 3352|    469|{
 3353|    469|    const struct frag_handling *h;
 3354|       |
 3355|    469|    mask &= FLOW_NW_FRAG_MASK;
  ------------------
  |  |   56|    469|#define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   54|    469|#define FLOW_NW_FRAG_ANY   (1 << 0) /* Set for any IP frag. */
  |  |  ------------------
  |  |               #define FLOW_NW_FRAG_MASK  (FLOW_NW_FRAG_ANY | FLOW_NW_FRAG_LATER)
  |  |  ------------------
  |  |  |  |   55|    469|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  |  |  ------------------
  ------------------
 3356|    469|    value &= mask;
 3357|       |
 3358|  3.32k|    for (h = all_frags; h < &all_frags[ARRAY_SIZE(all_frags)]; h++) {
  ------------------
  |  |  297|  3.32k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|  3.32k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  3.32k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|  3.32k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|  3.32k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3358:25): [True: 2.92k, False: 401]
  ------------------
 3359|  2.92k|        if (value == h->value && mask == h->mask) {
  ------------------
  |  Branch (3359:13): [True: 469, False: 2.45k]
  |  Branch (3359:34): [True: 68, False: 401]
  ------------------
 3360|     68|            ds_put_cstr(s, h->name);
 3361|     68|            return;
 3362|     68|        }
 3363|  2.92k|    }
 3364|    401|    ds_put_cstr(s, "<error>");
 3365|    401|}
meta-flow.c:mf_format_tnl_flags_string:
 3369|    483|{
 3370|    483|    format_flags_masked(s, NULL, flow_tun_flag_to_string, ntohs(value),
 3371|    483|                        ntohs(mask) & FLOW_TNL_PUB_F_MASK, FLOW_TNL_PUB_F_MASK);
  ------------------
  |  |   58|    483|#define FLOW_TNL_PUB_F_MASK ((1 << 1) - 1)
  ------------------
                                      ntohs(mask) & FLOW_TNL_PUB_F_MASK, FLOW_TNL_PUB_F_MASK);
  ------------------
  |  |   58|    483|#define FLOW_TNL_PUB_F_MASK ((1 << 1) - 1)
  ------------------
 3372|    483|}
meta-flow.c:mf_format_tcp_flags_string:
 3376|  2.29k|{
 3377|  2.29k|    format_flags_masked(s, NULL, packet_tcp_flag_to_string, ntohs(value),
 3378|  2.29k|                        TCP_FLAGS(mask), TCP_FLAGS(OVS_BE16_MAX));
  ------------------
  |  |  904|  2.29k|#define TCP_FLAGS(tcp_ctl) (ntohs(tcp_ctl) & 0x0fff)
  ------------------
                                      TCP_FLAGS(mask), TCP_FLAGS(OVS_BE16_MAX));
  ------------------
  |  |  904|  2.29k|#define TCP_FLAGS(tcp_ctl) (ntohs(tcp_ctl) & 0x0fff)
  ------------------
 3379|  2.29k|}
meta-flow.c:mf_format_packet_type_string:
 3390|    265|{
 3391|    265|    format_packet_type_masked(s, value, mask);
 3392|    265|}

multipath_check:
   38|  1.90k|{
   39|  1.90k|    return mf_check_dst(&mp->dst, match);
   40|  1.90k|}
multipath_format:
  234|  1.25k|{
  235|  1.25k|    const char *fields, *algorithm;
  236|       |
  237|  1.25k|    fields = flow_hash_fields_to_str(mp->fields);
  238|       |
  239|  1.25k|    switch (mp->algorithm) {
  240|    109|    case NX_MP_ALG_MODULO_N:
  ------------------
  |  Branch (240:5): [True: 109, False: 1.14k]
  ------------------
  241|    109|        algorithm = "modulo_n";
  242|    109|        break;
  243|     10|    case NX_MP_ALG_HASH_THRESHOLD:
  ------------------
  |  Branch (243:5): [True: 10, False: 1.24k]
  ------------------
  244|     10|        algorithm = "hash_threshold";
  245|     10|        break;
  246|    170|    case NX_MP_ALG_HRW:
  ------------------
  |  Branch (246:5): [True: 170, False: 1.08k]
  ------------------
  247|    170|        algorithm = "hrw";
  248|    170|        break;
  249|    968|    case NX_MP_ALG_ITER_HASH:
  ------------------
  |  Branch (249:5): [True: 968, False: 289]
  ------------------
  250|    968|        algorithm = "iter_hash";
  251|    968|        break;
  252|      0|    default:
  ------------------
  |  Branch (252:5): [True: 0, False: 1.25k]
  ------------------
  253|      0|        algorithm = "<unknown>";
  254|  1.25k|    }
  255|       |
  256|  1.25k|    ds_put_format(s, "%smultipath(%s%s,%"PRIu16",%s,%d,%"PRIu32",",
  257|  1.25k|                  colors.paren, colors.end, fields, mp->basis, algorithm,
  258|  1.25k|                  mp->max_link + 1, mp->arg);
  259|  1.25k|    mf_format_subfield(&mp->dst, s);
  260|  1.25k|    ds_put_format(s, "%s)%s", colors.paren, colors.end);
  261|  1.25k|}

netdev_features_to_bps:
 1180|  48.1k|{
 1181|  48.1k|    enum {
 1182|  48.1k|        F_1000000MB = NETDEV_F_1TB_FD,
 1183|  48.1k|        F_100000MB = NETDEV_F_100GB_FD,
 1184|  48.1k|        F_40000MB = NETDEV_F_40GB_FD,
 1185|  48.1k|        F_10000MB = NETDEV_F_10GB_FD,
 1186|  48.1k|        F_1000MB = NETDEV_F_1GB_HD | NETDEV_F_1GB_FD,
 1187|  48.1k|        F_100MB = NETDEV_F_100MB_HD | NETDEV_F_100MB_FD,
 1188|  48.1k|        F_10MB = NETDEV_F_10MB_HD | NETDEV_F_10MB_FD
 1189|  48.1k|    };
 1190|       |
 1191|  48.1k|    return (  features & F_1000000MB ? UINT64_C(1000000000000)
  ------------------
  |  Branch (1191:15): [True: 0, False: 48.1k]
  ------------------
 1192|  48.1k|            : features & F_100000MB  ? UINT64_C(100000000000)
  ------------------
  |  Branch (1192:15): [True: 0, False: 48.1k]
  ------------------
 1193|  48.1k|            : features & F_40000MB   ? UINT64_C(40000000000)
  ------------------
  |  Branch (1193:15): [True: 0, False: 48.1k]
  ------------------
 1194|  48.1k|            : features & F_10000MB   ? UINT64_C(10000000000)
  ------------------
  |  Branch (1194:15): [True: 16.5k, False: 31.5k]
  ------------------
 1195|  48.1k|            : features & F_1000MB    ? UINT64_C(1000000000)
  ------------------
  |  Branch (1195:15): [True: 6.43k, False: 25.1k]
  ------------------
 1196|  31.5k|            : features & F_100MB     ? UINT64_C(100000000)
  ------------------
  |  Branch (1196:15): [True: 7.62k, False: 17.5k]
  ------------------
 1197|  25.1k|            : features & F_10MB      ? UINT64_C(10000000)
  ------------------
  |  Branch (1197:15): [True: 3.86k, False: 13.6k]
  ------------------
 1198|  17.5k|                                     : default_bps);
 1199|  48.1k|}
netdev_features_format:
 1273|  83.7k|{
 1274|  83.7k|    ofp_print_bit_names(s, features, netdev_feature_to_name, ' ');
 1275|  83.7k|    ds_put_char(s, '\n');
 1276|  83.7k|}
netdev_free_custom_stats_counters:
 2350|  40.3k|{
 2351|  40.3k|    if (custom_stats) {
  ------------------
  |  Branch (2351:9): [True: 40.3k, False: 0]
  ------------------
 2352|  40.3k|        if (custom_stats->counters) {
  ------------------
  |  Branch (2352:13): [True: 8.68k, False: 31.7k]
  ------------------
 2353|  8.68k|            free(custom_stats->counters);
 2354|  8.68k|            custom_stats->counters = NULL;
 2355|  8.68k|            custom_stats->size = 0;
 2356|  8.68k|        }
 2357|  40.3k|        free(custom_stats->label);
 2358|       |        custom_stats->label = NULL;
 2359|  40.3k|    }
 2360|  40.3k|}
netdev.c:netdev_feature_to_name:
 1246|   458k|{
 1247|   458k|    enum netdev_features f = bit;
 1248|       |
 1249|   458k|    switch (f) {
  ------------------
  |  Branch (1249:13): [True: 458k, False: 0]
  ------------------
 1250|  40.0k|    case NETDEV_F_10MB_HD:    return "10MB-HD";
  ------------------
  |  Branch (1250:5): [True: 40.0k, False: 418k]
  ------------------
 1251|  38.9k|    case NETDEV_F_10MB_FD:    return "10MB-FD";
  ------------------
  |  Branch (1251:5): [True: 38.9k, False: 419k]
  ------------------
 1252|  40.1k|    case NETDEV_F_100MB_HD:   return "100MB-HD";
  ------------------
  |  Branch (1252:5): [True: 40.1k, False: 418k]
  ------------------
 1253|  43.2k|    case NETDEV_F_100MB_FD:   return "100MB-FD";
  ------------------
  |  Branch (1253:5): [True: 43.2k, False: 415k]
  ------------------
 1254|  33.9k|    case NETDEV_F_1GB_HD:     return "1GB-HD";
  ------------------
  |  Branch (1254:5): [True: 33.9k, False: 424k]
  ------------------
 1255|  38.7k|    case NETDEV_F_1GB_FD:     return "1GB-FD";
  ------------------
  |  Branch (1255:5): [True: 38.7k, False: 419k]
  ------------------
 1256|  36.5k|    case NETDEV_F_10GB_FD:    return "10GB-FD";
  ------------------
  |  Branch (1256:5): [True: 36.5k, False: 422k]
  ------------------
 1257|  1.49k|    case NETDEV_F_40GB_FD:    return "40GB-FD";
  ------------------
  |  Branch (1257:5): [True: 1.49k, False: 457k]
  ------------------
 1258|  1.72k|    case NETDEV_F_100GB_FD:   return "100GB-FD";
  ------------------
  |  Branch (1258:5): [True: 1.72k, False: 456k]
  ------------------
 1259|  1.63k|    case NETDEV_F_1TB_FD:     return "1TB-FD";
  ------------------
  |  Branch (1259:5): [True: 1.63k, False: 457k]
  ------------------
 1260|  1.66k|    case NETDEV_F_OTHER:      return "OTHER";
  ------------------
  |  Branch (1260:5): [True: 1.66k, False: 456k]
  ------------------
 1261|  28.7k|    case NETDEV_F_COPPER:     return "COPPER";
  ------------------
  |  Branch (1261:5): [True: 28.7k, False: 429k]
  ------------------
 1262|  39.7k|    case NETDEV_F_FIBER:      return "FIBER";
  ------------------
  |  Branch (1262:5): [True: 39.7k, False: 418k]
  ------------------
 1263|  38.1k|    case NETDEV_F_AUTONEG:    return "AUTO_NEG";
  ------------------
  |  Branch (1263:5): [True: 38.1k, False: 420k]
  ------------------
 1264|  38.6k|    case NETDEV_F_PAUSE:      return "AUTO_PAUSE";
  ------------------
  |  Branch (1264:5): [True: 38.6k, False: 420k]
  ------------------
 1265|  35.2k|    case NETDEV_F_PAUSE_ASYM: return "AUTO_PAUSE_ASYM";
  ------------------
  |  Branch (1265:5): [True: 35.2k, False: 423k]
  ------------------
 1266|   458k|    }
 1267|       |
 1268|      0|    return NULL;
 1269|   458k|}

mf_nxm_header:
  234|  1.59k|{
  235|  1.59k|    uint64_t oxm = mf_oxm_header(id, 0);
  236|  1.59k|    return is_experimenter_oxm(oxm) ? 0 : oxm >> 32;
  ------------------
  |  Branch (236:12): [True: 0, False: 1.59k]
  ------------------
  237|  1.59k|}
mf_from_nxm_header:
  274|  62.1k|{
  275|  62.1k|    return mf_from_oxm_header((uint64_t) header << 32, vl_mff_map, false, NULL);
  276|  62.1k|}
nx_pull_entry:
  468|  19.9k|{
  469|  19.9k|    uint64_t header;
  470|       |
  471|       |    return nx_pull_entry__(b, false, vl_mff_map, &header, field, value, mask, is_action);
  472|  19.9k|}
nx_pull_header:
  487|  85.8k|{
  488|  85.8k|    enum ofperr error;
  489|  85.8k|    uint64_t header;
  490|       |
  491|  85.8k|    error = nx_pull_header__(b, false, vl_mff_map,  &header, field, false);
  492|  85.8k|    if (masked) {
  ------------------
  |  Branch (492:9): [True: 64.6k, False: 21.1k]
  ------------------
  493|  64.6k|        *masked = !error && nxm_hasmask(header);
  ------------------
  |  Branch (493:19): [True: 1.73k, False: 62.9k]
  |  Branch (493:29): [True: 1.46k, False: 271]
  ------------------
  494|  64.6k|    } else if (!error && nxm_hasmask(header)) {
  ------------------
  |  Branch (494:16): [True: 18.9k, False: 2.26k]
  |  Branch (494:26): [True: 114, False: 18.8k]
  ------------------
  495|    114|        error = OFPERR_OFPBMC_BAD_MASK;
  496|    114|    }
  497|  85.8k|    return error;
  498|  85.8k|}
nx_pull_match:
  642|  10.6k|{
  643|       |    return nx_pull_match__(b, match_len, true, pipeline_fields_only, match,
  644|  10.6k|                           cookie, cookie_mask, tun_table, vl_mff_map);
  645|  10.6k|}
nx_pull_match_loose:
  655|  1.26k|{
  656|  1.26k|    return nx_pull_match__(b, match_len, false, pipeline_fields_only, match,
  657|       |                           cookie, cookie_mask, tun_table, NULL);
  658|  1.26k|}
oxm_pull_match:
  712|  48.9k|{
  713|       |    return oxm_pull_match__(b, true, pipeline_fields_only, tun_table,
  714|  48.9k|                            vl_mff_map, match);
  715|  48.9k|}
oxm_pull_match_loose:
  723|   137k|{
  724|   137k|    return oxm_pull_match__(b, false, pipeline_fields_only, tun_table, NULL,
  725|   137k|                            match);
  726|   137k|}
oxm_decode_match:
  740|  5.51k|{
  741|  5.51k|    return nx_pull_raw(oxm, oxm_len, !loose, false, match, NULL, NULL,
  742|  5.51k|                       tun_table, vl_mff_map);
  743|  5.51k|}
oxm_pull_field_array:
  750|  3.94k|{
  751|  3.94k|    struct ofpbuf b = ofpbuf_const_initializer(fields_data, fields_len);
  752|  12.8k|    while (b.size) {
  ------------------
  |  Branch (752:12): [True: 9.55k, False: 3.32k]
  ------------------
  753|  9.55k|        const uint8_t *pos = b.data;
  754|  9.55k|        const struct mf_field *field;
  755|  9.55k|        union mf_value value;
  756|  9.55k|        enum ofperr error;
  757|  9.55k|        uint64_t header;
  758|       |
  759|  9.55k|        error = nx_pull_entry__(&b, false, NULL, &header, &field, &value,
  760|  9.55k|                                NULL, false);
  761|  9.55k|        if (error) {
  ------------------
  |  Branch (761:13): [True: 406, False: 9.14k]
  ------------------
  762|    406|            VLOG_DBG_RL(&rl, "error pulling field array field");
  ------------------
  |  |  226|    406|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    406|    do {                                                                \
  |  |  |  |  288|    406|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    406|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 406]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    406|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 406]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  763|  9.14k|        } else if (!field) {
  ------------------
  |  Branch (763:20): [True: 0, False: 9.14k]
  ------------------
  764|      0|            VLOG_DBG_RL(&rl, "unknown field array field");
  ------------------
  |  |  226|      0|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|      0|            error = OFPERR_OFPBMC_BAD_FIELD;
  766|  9.14k|        } else if (bitmap_is_set(fa->used.bm, field->id)) {
  ------------------
  |  Branch (766:20): [True: 3, False: 9.14k]
  ------------------
  767|      3|            VLOG_DBG_RL(&rl, "duplicate field array field '%s'", field->name);
  ------------------
  |  |  226|      3|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      3|    do {                                                                \
  |  |  |  |  288|      3|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      3|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|      3|            error = OFPERR_OFPBMC_DUP_FIELD;
  769|  9.14k|        } else if (!mf_is_mask_valid(field, &value)) {
  ------------------
  |  Branch (769:20): [True: 211, False: 8.93k]
  ------------------
  770|    211|            VLOG_DBG_RL(&rl, "bad mask in field array field '%s'", field->name);
  ------------------
  |  |  226|    211|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    211|    do {                                                                \
  |  |  |  |  288|    211|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    211|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 211]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    211|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 211]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|    211|            error = OFPERR_OFPBMC_BAD_MASK;
  772|  8.93k|        } else {
  773|  8.93k|            field_array_set(field->id, &value, fa);
  774|  8.93k|        }
  775|       |
  776|  9.55k|        if (error) {
  ------------------
  |  Branch (776:13): [True: 620, False: 8.93k]
  ------------------
  777|    620|            const uint8_t *start = fields_data;
  778|       |
  779|    620|            VLOG_DBG_RL(&rl, "error parsing OXM at offset %"PRIdPTR" "
  ------------------
  |  |  226|    620|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    620|    do {                                                                \
  |  |  |  |  288|    620|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    620|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  780|    620|                        "within field array (%s)", pos - start,
  781|    620|                        ofperr_to_string(error));
  782|       |
  783|    620|            free(fa->values);
  784|    620|            fa->values = NULL;
  785|    620|            return error;
  786|    620|        }
  787|  9.55k|    }
  788|       |
  789|  3.32k|    return 0;
  790|  3.94k|}
oxm_format_field_array:
 1395|  3.30k|{
 1396|  3.30k|    size_t start_len = ds->length;
 1397|  3.30k|    size_t i, offset = 0;
 1398|       |
 1399|  8.53k|    BITMAP_FOR_EACH_1 (i, MFF_N_IDS, fa->used.bm) {
  ------------------
  |  |  281|  3.30k|    BITMAP_FOR_EACH_1_RANGE(IDX, 0, SIZE, BITMAP)
  |  |  ------------------
  |  |  |  |  278|  11.8k|    for ((IDX) = bitmap_scan(BITMAP, true, BEGIN, END); (IDX) < (END);   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (278:57): [True: 8.53k, False: 3.30k]
  |  |  |  |  ------------------
  |  |  |  |  279|  8.53k|         (IDX) = bitmap_scan(BITMAP, true, (IDX) + 1, END))
  |  |  ------------------
  ------------------
 1400|  8.53k|        const struct mf_field *mf = mf_from_id(i);
 1401|  8.53k|        union mf_value value;
 1402|       |
 1403|  8.53k|        memcpy(&value, fa->values + offset, mf->n_bytes);
 1404|  8.53k|        nx_format_mask_tlv(ds, i, &value);
 1405|  8.53k|        offset += mf->n_bytes;
 1406|  8.53k|    }
 1407|       |
 1408|  3.30k|    if (ds->length > start_len) {
  ------------------
  |  Branch (1408:9): [True: 3.30k, False: 0]
  ------------------
 1409|  3.30k|        ds_chomp(ds, ',');
 1410|  3.30k|    }
 1411|  3.30k|}
nxm_format_reg_move:
 1821|     94|{
 1822|     94|    ds_put_format(s, "%smove:%s", colors.special, colors.end);
 1823|     94|    mf_format_subfield(&move->src, s);
 1824|     94|    ds_put_format(s, "%s->%s", colors.special, colors.end);
 1825|     94|    mf_format_subfield(&move->dst, s);
 1826|     94|}
nxm_reg_move_check:
 1832|  6.82k|{
 1833|  6.82k|    enum ofperr error;
 1834|       |
 1835|  6.82k|    error = mf_check_src(&move->src, match);
 1836|  6.82k|    if (error) {
  ------------------
  |  Branch (1836:9): [True: 6.59k, False: 236]
  ------------------
 1837|  6.59k|        return error;
 1838|  6.59k|    }
 1839|       |
 1840|    236|    return mf_check_dst(&move->dst, match);
 1841|  6.82k|}
nxm_format_stack_push:
 1892|    297|{
 1893|    297|    ds_put_format(s, "%spush:%s", colors.param, colors.end);
 1894|    297|    mf_format_subfield(&push->subfield, s);
 1895|    297|}
nxm_format_stack_pop:
 1899|  1.12k|{
 1900|  1.12k|    ds_put_format(s, "%spop:%s", colors.param, colors.end);
 1901|  1.12k|    mf_format_subfield(&pop->subfield, s);
 1902|  1.12k|}
nxm_stack_push_check:
 1907|  1.32k|{
 1908|  1.32k|    return mf_check_src(&push->subfield, match);
 1909|  1.32k|}
nxm_stack_pop_check:
 1914|  2.99k|{
 1915|  2.99k|    return mf_check_dst(&pop->subfield, match);
 1916|  2.99k|}
nx_stack_push_bottom:
 1942|  2.90k|{
 1943|  2.90k|    ofpbuf_push(stack, &bytes, sizeof bytes);
 1944|  2.90k|    ofpbuf_push(stack, v, bytes);
 1945|  2.90k|}
nx_stack_pop:
 1952|  2.05k|{
 1953|  2.05k|    if (!stack->size) {
  ------------------
  |  Branch (1953:9): [True: 0, False: 2.05k]
  ------------------
 1954|      0|        *bytes = 0;
 1955|      0|        return NULL;
 1956|      0|    }
 1957|       |
 1958|  2.05k|    stack->size -= sizeof *bytes;
 1959|  2.05k|    memcpy(bytes, ofpbuf_tail(stack), sizeof *bytes);
 1960|       |
 1961|  2.05k|    ovs_assert(stack->size >= *bytes);
  ------------------
  |  |   62|  2.05k|#define ovs_assert ovs_ignore
  ------------------
 1962|  2.05k|    stack->size -= *bytes;
 1963|  2.05k|    return ofpbuf_tail(stack);
 1964|  2.05k|}
mf_format_subfield:
 2036|  46.0k|{
 2037|  46.0k|    if (!sf->field) {
  ------------------
  |  Branch (2037:9): [True: 0, False: 46.0k]
  ------------------
 2038|      0|        ds_put_cstr(s, "<unknown>");
 2039|  46.0k|    } else {
 2040|  46.0k|        const struct nxm_field *f = nxm_field_by_mf_id(sf->field->id, 0);
 2041|  46.0k|        ds_put_cstr(s, f ? f->name : sf->field->name);
  ------------------
  |  Branch (2041:24): [True: 46.0k, False: 0]
  ------------------
 2042|  46.0k|    }
 2043|       |
 2044|  46.0k|    if (sf->field && sf->ofs == 0 && sf->n_bits == sf->field->n_bits) {
  ------------------
  |  Branch (2044:9): [True: 46.0k, False: 0]
  |  Branch (2044:22): [True: 16.0k, False: 29.9k]
  |  Branch (2044:38): [True: 3.19k, False: 12.8k]
  ------------------
 2045|  3.19k|        ds_put_cstr(s, "[]");
 2046|  42.8k|    } else if (sf->n_bits == 1) {
  ------------------
  |  Branch (2046:16): [True: 5.55k, False: 37.2k]
  ------------------
 2047|  5.55k|        ds_put_format(s, "[%d]", sf->ofs);
 2048|  37.2k|    } else {
 2049|  37.2k|        ds_put_format(s, "[%d..%d]", sf->ofs, sf->ofs + sf->n_bits - 1);
 2050|  37.2k|    }
 2051|  46.0k|}
oxm_bitmap_to_mf_bitmap:
 2181|  49.1k|{
 2182|  49.1k|    struct mf_bitmap fields = MF_BITMAP_INITIALIZER;
  ------------------
  |  | 2053|  49.1k|#define MF_BITMAP_INITIALIZER { { [0] = 0 } }
  ------------------
 2183|       |
 2184|  10.4M|    for (enum mf_field_id id = 0; id < MFF_N_IDS; id++) {
  ------------------
  |  Branch (2184:35): [True: 10.3M, False: 49.1k]
  ------------------
 2185|  10.3M|        uint64_t oxm = mf_oxm_header(id, version);
 2186|  10.3M|        if (oxm && version >= nxm_field_by_header(oxm, false, NULL)->version) {
  ------------------
  |  Branch (2186:13): [True: 10.1M, False: 245k]
  |  Branch (2186:20): [True: 9.19M, False: 934k]
  ------------------
 2187|  9.19M|            uint32_t class = nxm_class(oxm);
 2188|  9.19M|            int field = nxm_field(oxm);
 2189|       |
 2190|  9.19M|            if (class == OFPXMC12_OPENFLOW_BASIC
  ------------------
  |  Branch (2190:17): [True: 1.72M, False: 7.47M]
  ------------------
 2191|  1.72M|                && field < 64
  ------------------
  |  Branch (2191:20): [True: 1.72M, False: 0]
  ------------------
 2192|  1.72M|                && oxm_bitmap & htonll(UINT64_C(1) << field)) {
  ------------------
  |  Branch (2192:20): [True: 378k, False: 1.34M]
  ------------------
 2193|   378k|                bitmap_set1(fields.bm, id);
 2194|   378k|            }
 2195|  9.19M|        }
 2196|  10.3M|    }
 2197|  49.1k|    return fields;
 2198|  49.1k|}
nx-match.c:mf_oxm_header:
  221|  10.3M|{
  222|  10.3M|    const struct nxm_field *f = nxm_field_by_mf_id(id, version);
  223|  10.3M|    return f ? f->header : 0;
  ------------------
  |  Branch (223:12): [True: 10.1M, False: 245k]
  ------------------
  224|  10.3M|}
nx-match.c:is_experimenter_oxm:
  108|  3.51M|{
  109|  3.51M|    return nxm_class(header) == OFPXMC12_EXPERIMENTER;
  110|  3.51M|}
nx-match.c:nxm_no_len:
  104|  31.0M|static uint64_t nxm_no_len(uint64_t header) { return header & 0xffffff80ffffffffULL; }
nx-match.c:mf_from_oxm_header:
  258|   505k|{
  259|   505k|    const struct nxm_field *f = nxm_field_by_header(header, is_action, h_error);
  260|       |
  261|   505k|    if (f) {
  ------------------
  |  Branch (261:9): [True: 305k, False: 200k]
  ------------------
  262|   305k|        const struct mf_field *mff = mf_from_id(f->id);
  263|   305k|        const struct mf_field *vl_mff = mf_get_vl_mff(mff, vl_mff_map);
  264|   305k|        return vl_mff ? vl_mff : mff;
  ------------------
  |  Branch (264:16): [True: 0, False: 305k]
  ------------------
  265|   305k|    } else {
  266|       |        return NULL;
  267|   200k|    }
  268|   505k|}
nx-match.c:nx_pull_entry__:
  398|   367k|{
  399|   367k|    const struct mf_field *field;
  400|   367k|    enum ofperr header_error;
  401|   367k|    unsigned int payload_len;
  402|   367k|    const uint8_t *payload;
  403|   367k|    int width;
  404|       |
  405|   367k|    header_error = nx_pull_header__(b, allow_cookie, vl_mff_map, header,
  406|   367k|                                    &field, is_action);
  407|   367k|    if (header_error && header_error != OFPERR_OFPBMC_BAD_FIELD) {
  ------------------
  |  Branch (407:9): [True: 140k, False: 226k]
  |  Branch (407:25): [True: 10.8k, False: 129k]
  ------------------
  408|  10.8k|        return header_error;
  409|  10.8k|    }
  410|       |
  411|   356k|    payload_len = nxm_payload_len(*header);
  412|   356k|    payload = ofpbuf_try_pull(b, payload_len);
  413|   356k|    if (!payload) {
  ------------------
  |  Branch (413:9): [True: 27.1k, False: 329k]
  ------------------
  414|  27.1k|        VLOG_DBG_RL(&rl, "OXM header "NXM_HEADER_FMT" calls for %u-byte "
  ------------------
  |  |  226|  27.1k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  27.1k|    do {                                                                \
  |  |  |  |  288|  27.1k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  27.1k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 27.1k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  27.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 27.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|  27.1k|                    "payload but only %"PRIu32" bytes follow OXM header",
  416|  27.1k|                    NXM_HEADER_ARGS(*header), payload_len, b->size);
  417|  27.1k|        return OFPERR_OFPBMC_BAD_LEN;
  418|  27.1k|    }
  419|       |
  420|   329k|    width = nxm_field_bytes(*header);
  421|   329k|    if (nxm_hasmask(*header)
  ------------------
  |  Branch (421:9): [True: 132k, False: 196k]
  ------------------
  422|   132k|        && !is_mask_consistent(*header, payload, payload + width)) {
  ------------------
  |  Branch (422:12): [True: 4.15k, False: 128k]
  ------------------
  423|  4.15k|        return OFPERR_OFPBMC_BAD_WILDCARDS;
  424|  4.15k|    }
  425|       |
  426|   325k|    copy_entry_value(field, value, payload, width);
  427|       |
  428|   325k|    if (mask) {
  ------------------
  |  Branch (428:9): [True: 313k, False: 12.4k]
  ------------------
  429|   313k|        if (nxm_hasmask(*header)) {
  ------------------
  |  Branch (429:13): [True: 128k, False: 184k]
  ------------------
  430|   128k|            copy_entry_value(field, mask, payload + width, width);
  431|   184k|        } else {
  432|   184k|            memset(mask, 0xff, sizeof *mask);
  433|   184k|        }
  434|   313k|    } else if (nxm_hasmask(*header)) {
  ------------------
  |  Branch (434:16): [True: 177, False: 12.2k]
  ------------------
  435|    177|        VLOG_DBG_RL(&rl, "OXM header "NXM_HEADER_FMT" includes mask but "
  ------------------
  |  |  226|    177|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    177|    do {                                                                \
  |  |  |  |  288|    177|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    177|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 177]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    177|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 177]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  436|    177|                    "masked OXMs are not allowed here",
  437|    177|                    NXM_HEADER_ARGS(*header));
  438|    177|        return OFPERR_OFPBMC_BAD_MASK;
  439|    177|    }
  440|       |
  441|   325k|    if (field_) {
  ------------------
  |  Branch (441:9): [True: 325k, False: 0]
  ------------------
  442|   325k|        *field_ = field;
  443|   325k|        return header_error;
  444|   325k|    }
  445|       |
  446|      0|    return 0;
  447|   325k|}
nx-match.c:nxm_payload_len:
  136|   999k|{
  137|   999k|    ovs_assert(nxm_length(header) >= nxm_experimenter_len(header));
  ------------------
  |  |   62|   999k|#define ovs_assert ovs_ignore
  ------------------
  138|   999k|    return nxm_length(header) - nxm_experimenter_len(header);
  139|   999k|}
nx-match.c:nxm_experimenter_len:
  128|  3.06M|{
  129|  3.06M|    return is_experimenter_oxm(header) ? 4 : 0;
  ------------------
  |  Branch (129:12): [True: 144k, False: 2.92M]
  ------------------
  130|  3.06M|}
nx-match.c:nxm_vendor:
   99|   180k|static uint32_t nxm_vendor(uint64_t header) { return header; }
nx-match.c:nxm_length:
  103|  23.4M|static int nxm_length(uint64_t header) { return (header >> 32) & 0xff; }
nx-match.c:is_mask_consistent:
  294|   132k|{
  295|   132k|    unsigned int width = nxm_field_bytes(header);
  296|   132k|    unsigned int i;
  297|       |
  298|   547k|    for (i = 0; i < width; i++) {
  ------------------
  |  Branch (298:17): [True: 418k, False: 128k]
  ------------------
  299|   418k|        if (value[i] & ~mask[i]) {
  ------------------
  |  Branch (299:13): [True: 4.15k, False: 414k]
  ------------------
  300|  4.15k|            if (!VLOG_DROP_WARN(&rl)) {
  ------------------
  |  |  234|  4.15k|#define VLOG_DROP_WARN(RL) vlog_should_drop(&this_module, VLL_WARN, RL)
  ------------------
  |  Branch (300:17): [True: 0, False: 4.15k]
  ------------------
  301|      0|                VLOG_WARN_RL(&rl, "Rejecting NXM/OXM entry "NXM_HEADER_FMT " "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|                             "with 1-bits in value for bits wildcarded by the "
  303|      0|                             "mask.", NXM_HEADER_ARGS(header));
  304|      0|            }
  305|  4.15k|            return false;
  306|  4.15k|        }
  307|   418k|    }
  308|   128k|    return true;
  309|   132k|}
nx-match.c:copy_entry_value:
  378|   454k|{
  379|   454k|    int copy_len;
  380|   454k|    void *copy_dst;
  381|       |
  382|   454k|    copy_dst = value;
  383|   454k|    copy_len = MIN(width, field ? field->n_bytes : sizeof *value);
  ------------------
  |  |   91|   908k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 278k, False: 175k]
  |  |  |  Branch (91:27): [True: 332k, False: 121k]
  |  |  |  Branch (91:39): [True: 175k, False: 40]
  |  |  ------------------
  ------------------
  384|       |
  385|   454k|    if (field && field->variable_len) {
  ------------------
  |  Branch (385:9): [True: 332k, False: 121k]
  |  Branch (385:18): [True: 157k, False: 175k]
  ------------------
  386|   157k|        memset(value, 0, field->n_bytes);
  387|   157k|        copy_dst = &value->u8 + field->n_bytes - copy_len;
  388|   157k|    }
  389|       |
  390|   454k|    memcpy(copy_dst, payload, copy_len);
  391|   454k|}
nx-match.c:nx_pull_header__:
  321|   453k|{
  322|   453k|    if (b->size < 4) {
  ------------------
  |  Branch (322:9): [True: 9.10k, False: 444k]
  ------------------
  323|  9.10k|        goto bad_len;
  324|  9.10k|    }
  325|       |
  326|   444k|    *header = ((uint64_t) ntohl(get_unaligned_be32(b->data))) << 32;
  327|   444k|    if (is_experimenter_oxm(*header)) {
  ------------------
  |  Branch (327:9): [True: 15.2k, False: 429k]
  ------------------
  328|  15.2k|        if (b->size < 8) {
  ------------------
  |  Branch (328:13): [True: 750, False: 14.4k]
  ------------------
  329|    750|            goto bad_len;
  330|    750|        }
  331|  14.4k|        *header = ntohll(get_unaligned_be64(b->data));
  332|  14.4k|    }
  333|   443k|    if (nxm_length(*header) < nxm_experimenter_len(*header)) {
  ------------------
  |  Branch (333:9): [True: 216, False: 443k]
  ------------------
  334|    216|        VLOG_WARN_RL(&rl, "OXM header "NXM_HEADER_FMT" has invalid length %d "
  ------------------
  |  |  224|    216|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    216|    do {                                                                \
  |  |  |  |  288|    216|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    216|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 216]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    216|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 216]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|    216|                     "(minimum is %d)",
  336|    216|                     NXM_HEADER_ARGS(*header), nxm_length(*header),
  337|    216|                     nxm_header_len(*header));
  338|    216|        goto error;
  339|    216|    }
  340|   443k|    ofpbuf_pull(b, nxm_header_len(*header));
  341|       |
  342|   443k|    if (field) {
  ------------------
  |  Branch (342:9): [True: 443k, False: 0]
  ------------------
  343|   443k|        enum ofperr h_error = 0;
  344|   443k|        *field = mf_from_oxm_header(*header, vl_mff_map, is_action, &h_error);
  345|   443k|        if (!*field && !(allow_cookie && is_cookie_pseudoheader(*header))) {
  ------------------
  |  Branch (345:13): [True: 196k, False: 247k]
  |  Branch (345:26): [True: 542, False: 195k]
  |  Branch (345:42): [True: 373, False: 169]
  ------------------
  346|   195k|            VLOG_DBG_RL(&rl, "OXM header "NXM_HEADER_FMT" is unknown",
  ------------------
  |  |  226|   195k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|   195k|    do {                                                                \
  |  |  |  |  288|   195k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|   195k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 195k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|   195k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 195k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|   195k|                        NXM_HEADER_ARGS(*header));
  348|   195k|            if (is_action) {
  ------------------
  |  Branch (348:17): [True: 1.15k, False: 194k]
  ------------------
  349|  1.15k|                if (h_error) {
  ------------------
  |  Branch (349:21): [True: 705, False: 454]
  ------------------
  350|    705|                     *field = NULL;
  351|    705|                     return h_error;
  352|    705|                }
  353|    454|                return OFPERR_OFPBAC_BAD_SET_TYPE;
  354|   194k|            } else {
  355|   194k|                return OFPERR_OFPBMC_BAD_FIELD;
  356|   194k|            }
  357|   247k|        } else if (mf_vl_mff_invalid(*field, vl_mff_map)) {
  ------------------
  |  Branch (357:20): [True: 0, False: 247k]
  ------------------
  358|      0|            return OFPERR_NXFMFC_INVALID_TLV_FIELD;
  359|      0|        }
  360|   443k|    }
  361|       |
  362|   247k|    return 0;
  363|       |
  364|  9.85k|bad_len:
  365|  9.85k|    VLOG_DBG_RL(&rl, "encountered partial (%"PRIu32"-byte) OXM entry",
  ------------------
  |  |  226|  9.85k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  9.85k|    do {                                                                \
  |  |  |  |  288|  9.85k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  9.85k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 9.85k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  9.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 9.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  366|  9.85k|                b->size);
  367|  10.0k|error:
  368|  10.0k|    *header = 0;
  369|  10.0k|    if (field) {
  ------------------
  |  Branch (369:9): [True: 10.0k, False: 0]
  ------------------
  370|       |        *field = NULL;
  371|  10.0k|    }
  372|  10.0k|    return OFPERR_OFPBMC_BAD_LEN;
  373|  9.85k|}
nx-match.c:nxm_header_len:
  145|   443k|{
  146|   443k|    return 4 + nxm_experimenter_len(header);
  147|   443k|}
nx-match.c:is_cookie_pseudoheader:
  313|    542|{
  314|    542|    return header == NXM_NX_COOKIE || header == NXM_NX_COOKIE_W;
  ------------------
  |  |  187|    542|#define NXM_NX_COOKIE     NXM_HEADER  (0, 0x0001, 30, 0, 8)
  |  |  ------------------
  |  |  |  |  150|  1.08k|    (((uint64_t) (CLASS) << 48) |                               \
  |  |  |  |  151|  1.08k|     ((uint64_t) (FIELD) << 41) |                               \
  |  |  |  |  152|  1.08k|     ((uint64_t) (HASMASK) << 40) |                             \
  |  |  |  |  153|  1.08k|     ((uint64_t) (LENGTH) << 32) |                              \
  |  |  |  |  154|  1.08k|     (VENDOR))
  |  |  ------------------
  ------------------
                  return header == NXM_NX_COOKIE || header == NXM_NX_COOKIE_W;
  ------------------
  |  |  188|    890|#define NXM_NX_COOKIE_W   nxm_make_wild_header(NXM_NX_COOKIE)
  |  |  ------------------
  |  |  |  |  187|    348|#define NXM_NX_COOKIE     NXM_HEADER  (0, 0x0001, 30, 0, 8)
  |  |  |  |  ------------------
  |  |  |  |  |  |  150|    348|    (((uint64_t) (CLASS) << 48) |                               \
  |  |  |  |  |  |  151|    348|     ((uint64_t) (FIELD) << 41) |                               \
  |  |  |  |  |  |  152|    348|     ((uint64_t) (HASMASK) << 40) |                             \
  |  |  |  |  |  |  153|    348|     ((uint64_t) (LENGTH) << 32) |                              \
  |  |  |  |  |  |  154|    348|     (VENDOR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (314:12): [True: 194, False: 348]
  |  Branch (314:39): [True: 179, False: 169]
  ------------------
  315|    542|}
nx-match.c:nxm_make_wild_header:
  173|    348|{
  174|    348|    unsigned int new_len = nxm_payload_len(header) * 2
  175|    348|                           + nxm_experimenter_len(header);
  176|    348|    return NXM_HEADER(nxm_vendor(header), nxm_class(header),
  ------------------
  |  |  150|    348|    (((uint64_t) (CLASS) << 48) |                               \
  |  |  151|    348|     ((uint64_t) (FIELD) << 41) |                               \
  |  |  152|    348|     ((uint64_t) (HASMASK) << 40) |                             \
  |  |  153|    348|     ((uint64_t) (LENGTH) << 32) |                              \
  |  |  154|    348|     (VENDOR))
  ------------------
  177|    348|                      nxm_field(header), 1, new_len);
  178|    348|}
nx-match.c:nxm_hasmask:
  102|  11.7M|static bool nxm_hasmask(uint64_t header) { return (header >> 40) & 1; }
nx-match.c:nx_pull_match__:
  605|  11.9k|{
  606|  11.9k|    uint8_t *p = NULL;
  607|       |
  608|  11.9k|    if (match_len) {
  ------------------
  |  Branch (608:9): [True: 2.00k, False: 9.89k]
  ------------------
  609|  2.00k|        p = ofpbuf_try_pull(b, ROUND_UP(match_len, 8));
  ------------------
  |  |  303|  2.00k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  2.00k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  610|  2.00k|        if (!p) {
  ------------------
  |  Branch (610:13): [True: 553, False: 1.45k]
  ------------------
  611|    553|            VLOG_DBG_RL(&rl, "nx_match length %u, rounded up to a "
  ------------------
  |  |  226|    553|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    553|    do {                                                                \
  |  |  |  |  288|    553|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    553|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 553]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    553|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 553]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  612|    553|                        "multiple of 8, is longer than space in message (max "
  613|    553|                        "length %"PRIu32")", match_len, b->size);
  614|    553|            return OFPERR_OFPBMC_BAD_LEN;
  615|    553|        }
  616|  2.00k|    }
  617|       |
  618|  11.3k|    return nx_pull_raw(p, match_len, strict, pipeline_fields_only, match,
  619|  11.3k|                       cookie, cookie_mask, tun_table, vl_mff_map);
  620|  11.9k|}
nx-match.c:oxm_pull_match__:
  664|   186k|{
  665|   186k|    struct ofp11_match_header *omh = b->data;
  666|   186k|    uint8_t *p;
  667|   186k|    uint16_t match_len;
  668|       |
  669|   186k|    if (b->size < sizeof *omh) {
  ------------------
  |  Branch (669:9): [True: 3.16k, False: 183k]
  ------------------
  670|  3.16k|        return OFPERR_OFPBMC_BAD_LEN;
  671|  3.16k|    }
  672|       |
  673|   183k|    match_len = ntohs(omh->length);
  674|   183k|    if (match_len < sizeof *omh) {
  ------------------
  |  Branch (674:9): [True: 3.38k, False: 179k]
  ------------------
  675|  3.38k|        return OFPERR_OFPBMC_BAD_LEN;
  676|  3.38k|    }
  677|       |
  678|   179k|    if (omh->type != htons(OFPMT_OXM)) {
  ------------------
  |  Branch (678:9): [True: 14.6k, False: 165k]
  ------------------
  679|  14.6k|        return OFPERR_OFPBMC_BAD_TYPE;
  680|  14.6k|    }
  681|       |
  682|   165k|    p = ofpbuf_try_pull(b, ROUND_UP(match_len, 8));
  ------------------
  |  |  303|   165k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|   165k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  683|   165k|    if (!p) {
  ------------------
  |  Branch (683:9): [True: 3.48k, False: 161k]
  ------------------
  684|  3.48k|        VLOG_DBG_RL(&rl, "oxm length %u, rounded up to a "
  ------------------
  |  |  226|  3.48k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  3.48k|    do {                                                                \
  |  |  |  |  288|  3.48k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  3.48k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3.48k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  3.48k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|  3.48k|                    "multiple of 8, is longer than space in message (max "
  686|  3.48k|                    "length %"PRIu32")", match_len, b->size);
  687|  3.48k|        return OFPERR_OFPBMC_BAD_LEN;
  688|  3.48k|    }
  689|       |
  690|   161k|    return nx_pull_raw(p + sizeof *omh, match_len - sizeof *omh,
  691|   161k|                       strict, pipeline_fields_only, match, NULL, NULL,
  692|   161k|                       tun_table, vl_mff_map);
  693|   165k|}
nx-match.c:nx_pull_raw:
  535|   178k|{
  536|   178k|    ovs_assert((cookie != NULL) == (cookie_mask != NULL));
  ------------------
  |  |   62|   178k|#define ovs_assert ovs_ignore
  ------------------
  537|       |
  538|   178k|    match_init_catchall(match);
  539|   178k|    match->flow.tunnel.metadata.tab = tun_table;
  540|   178k|    if (cookie) {
  ------------------
  |  Branch (540:9): [True: 3.49k, False: 175k]
  ------------------
  541|  3.49k|        *cookie = *cookie_mask = htonll(0);
  542|  3.49k|    }
  543|       |
  544|   178k|    struct ofpbuf b = ofpbuf_const_initializer(p, match_len);
  545|   453k|    while (b.size) {
  ------------------
  |  Branch (545:12): [True: 338k, False: 115k]
  ------------------
  546|   338k|        const uint8_t *pos = b.data;
  547|   338k|        const struct mf_field *field;
  548|   338k|        union mf_value value;
  549|   338k|        union mf_value mask;
  550|   338k|        enum ofperr error;
  551|       |
  552|   338k|        error = nx_pull_match_entry(&b, cookie != NULL, vl_mff_map, &field,
  553|   338k|                                    &value, &mask);
  554|   338k|        if (error) {
  ------------------
  |  Branch (554:13): [True: 145k, False: 192k]
  ------------------
  555|   145k|            if (error == OFPERR_OFPBMC_BAD_FIELD && !strict) {
  ------------------
  |  Branch (555:17): [True: 103k, False: 41.5k]
  |  Branch (555:53): [True: 102k, False: 832]
  ------------------
  556|   102k|                continue;
  557|   102k|            }
  558|   192k|        } else if (!field) {
  ------------------
  |  Branch (558:20): [True: 171, False: 192k]
  ------------------
  559|    171|            if (!cookie) {
  ------------------
  |  Branch (559:17): [True: 0, False: 171]
  ------------------
  560|      0|                error = OFPERR_OFPBMC_BAD_FIELD;
  561|    171|            } else if (*cookie_mask) {
  ------------------
  |  Branch (561:24): [True: 0, False: 171]
  ------------------
  562|      0|                error = OFPERR_OFPBMC_DUP_FIELD;
  563|    171|            } else {
  564|    171|                *cookie = value.be64;
  565|    171|                *cookie_mask = mask.be64;
  566|    171|            }
  567|   192k|        } else if (strict && !mf_are_match_prereqs_ok(field, match)) {
  ------------------
  |  Branch (567:20): [True: 20.5k, False: 172k]
  |  Branch (567:30): [True: 3.25k, False: 17.2k]
  ------------------
  568|  3.25k|            error = OFPERR_OFPBMC_BAD_PREREQ;
  569|   189k|        } else if (!mf_is_all_wild(field, &match->wc)) {
  ------------------
  |  Branch (569:20): [True: 9.52k, False: 179k]
  ------------------
  570|  9.52k|            error = OFPERR_OFPBMC_DUP_FIELD;
  571|   179k|        } else if (pipeline_fields_only && !mf_is_pipeline_field(field)) {
  ------------------
  |  Branch (571:20): [True: 92.8k, False: 87.0k]
  |  Branch (571:44): [True: 8.22k, False: 84.6k]
  ------------------
  572|  8.22k|            error = OFPERR_OFPBRC_PIPELINE_FIELDS_ONLY;
  573|   171k|        } else {
  574|   171k|            char *err_str;
  575|       |
  576|   171k|            mf_set(field, &value, &mask, match, &err_str);
  577|   171k|            if (err_str) {
  ------------------
  |  Branch (577:17): [True: 0, False: 171k]
  ------------------
  578|      0|                VLOG_DBG_RL(&rl, "error parsing OXM at offset %"PRIdPTR" "
  ------------------
  |  |  226|      0|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  579|      0|                           "within match (%s)", pos - p, err_str);
  580|      0|                free(err_str);
  581|      0|                return OFPERR_OFPBMC_BAD_VALUE;
  582|      0|            }
  583|       |
  584|   171k|            match_add_ethernet_prereq(match, field);
  585|   171k|        }
  586|       |
  587|   235k|        if (error) {
  ------------------
  |  Branch (587:13): [True: 63.4k, False: 171k]
  ------------------
  588|  63.4k|            VLOG_DBG_RL(&rl, "error parsing OXM at offset %"PRIdPTR" "
  ------------------
  |  |  226|  63.4k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  63.4k|    do {                                                                \
  |  |  |  |  288|  63.4k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  63.4k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 63.4k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  63.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 63.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|  63.4k|                        "within match (%s)", pos -
  590|  63.4k|                        p, ofperr_to_string(error));
  591|  63.4k|            return error;
  592|  63.4k|        }
  593|   235k|    }
  594|       |
  595|   115k|    match->flow.tunnel.metadata.tab = NULL;
  596|   115k|    return 0;
  597|   178k|}
nx-match.c:nx_pull_match_entry:
  505|   338k|{
  506|   338k|    enum ofperr error;
  507|   338k|    uint64_t header;
  508|       |
  509|   338k|    error = nx_pull_entry__(b, allow_cookie, vl_mff_map, &header, field, value,
  510|   338k|                            mask, false);
  511|   338k|    if (error) {
  ------------------
  |  Branch (511:9): [True: 144k, False: 194k]
  ------------------
  512|   144k|        return error;
  513|   144k|    }
  514|   194k|    if (field && *field) {
  ------------------
  |  Branch (514:9): [True: 194k, False: 0]
  |  Branch (514:18): [True: 193k, False: 171]
  ------------------
  515|   193k|        if (!mf_is_mask_valid(*field, mask)) {
  ------------------
  |  Branch (515:13): [True: 728, False: 193k]
  ------------------
  516|    728|            VLOG_DBG_RL(&rl, "bad mask for field %s", (*field)->name);
  ------------------
  |  |  226|    728|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    728|    do {                                                                \
  |  |  |  |  288|    728|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    728|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 728]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    728|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 728]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|    728|            return OFPERR_OFPBMC_BAD_MASK;
  518|    728|        }
  519|   193k|        if (!mf_is_value_valid(*field, value)) {
  ------------------
  |  Branch (519:13): [True: 497, False: 192k]
  ------------------
  520|    497|            VLOG_DBG_RL(&rl, "bad value for field %s", (*field)->name);
  ------------------
  |  |  226|    497|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    497|    do {                                                                \
  |  |  |  |  288|    497|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    497|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 497]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    497|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 497]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    497|            return OFPERR_OFPBMC_BAD_VALUE;
  522|    497|        }
  523|   193k|    }
  524|   192k|    return 0;
  525|   194k|}
nx-match.c:nx_format_mask_tlv:
 1377|  8.53k|{
 1378|  8.53k|    const struct mf_field *mf = mf_from_id(id);
 1379|       |
 1380|  8.53k|    ds_put_format(ds, "%s", mf->name);
 1381|       |
 1382|  8.53k|    if (!is_all_ones(mask, mf->n_bytes)) {
  ------------------
  |  Branch (1382:9): [True: 8.40k, False: 131]
  ------------------
 1383|  8.40k|        ds_put_char(ds, '=');
 1384|  8.40k|        mf_format(mf, mask, NULL, NULL, ds);
 1385|  8.40k|    }
 1386|       |
 1387|  8.53k|    ds_put_char(ds, ',');
 1388|  8.53k|}
nx-match.c:nxm_field_bytes:
  282|   462k|{
  283|   462k|    unsigned int length = nxm_payload_len(header);
  284|   462k|    return nxm_hasmask(header) ? length / 2 : length;
  ------------------
  |  Branch (284:12): [True: 265k, False: 196k]
  ------------------
  285|   462k|}
nx-match.c:nxm_class:
  100|  12.8M|static int nxm_class(uint64_t header) { return header >> 48; }
nx-match.c:nxm_field:
  101|  9.37M|static int nxm_field(uint64_t header) { return (header >> 41) & 0x7f; }
nx-match.c:nxm_field_by_header:
 2286|  10.6M|{
 2287|  10.6M|    const struct nxm_field_index *nfi;
 2288|  10.6M|    uint64_t header_no_len;
 2289|       |
 2290|  10.6M|    nxm_init();
 2291|  10.6M|    if (nxm_hasmask(header)) {
  ------------------
  |  Branch (2291:9): [True: 179k, False: 10.4M]
  ------------------
 2292|   179k|        header = nxm_make_exact_header(header);
 2293|   179k|    }
 2294|       |
 2295|  10.6M|    header_no_len = nxm_no_len(header);
 2296|       |
 2297|  10.6M|    HMAP_FOR_EACH_IN_BUCKET (nfi, header_node, hash_uint64(header_no_len),
  ------------------
  |  |  144|  10.6M|    for (INIT_MULTIVAR(NODE, MEMBER, hmap_first_in_bucket(HMAP, HASH),        \
  |  |  ------------------
  |  |  |  |  171|  10.6M|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  10.6M|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  145|  10.6M|                       struct hmap_node);                                     \
  |  |  146|  20.5M|         CONDITION_MULTIVAR(NODE, MEMBER, ITER_VAR(NODE) != NULL);            \
  |  |  ------------------
  |  |  |  |  185|  20.5M|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 20.3M, False: 151k]
  |  |  |  |  |  Branch (185:6): [True: 20.3M, False: 151k]
  |  |  |  |  ------------------
  |  |  |  |  186|  20.5M|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  20.3M|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  20.3M|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  20.3M|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  20.5M|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |  147|  10.6M|         UPDATE_MULTIVAR(NODE, hmap_next_in_bucket(ITER_VAR(NODE))))
  |  |  ------------------
  |  |  |  |  193|  9.88M|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  9.88M|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2298|  20.3M|                             &nxm_header_map) {
 2299|  20.3M|        if (is_action && nxm_length(header) > 0) {
  ------------------
  |  Branch (2299:13): [True: 47.7k, False: 20.3M]
  |  Branch (2299:26): [True: 12.3k, False: 35.3k]
  ------------------
 2300|  12.3k|            if (nxm_length(header) != nxm_length(nfi->nf.header) && h_error ) {
  ------------------
  |  Branch (2300:17): [True: 5.14k, False: 7.22k]
  |  Branch (2300:69): [True: 5.14k, False: 0]
  ------------------
 2301|  5.14k|               *h_error = OFPERR_OFPBAC_BAD_SET_LEN;
 2302|  5.14k|            }
 2303|  12.3k|        }
 2304|  20.3M|        if (header_no_len == nxm_no_len(nfi->nf.header)) {
  ------------------
  |  Branch (2304:13): [True: 10.4M, False: 9.88M]
  ------------------
 2305|  10.4M|            if (nxm_length(header) == nxm_length(nfi->nf.header) ||
  ------------------
  |  Branch (2305:17): [True: 10.3M, False: 185k]
  ------------------
 2306|  10.4M|                mf_from_id(nfi->nf.id)->variable_len) {
  ------------------
  |  Branch (2306:17): [True: 136k, False: 48.5k]
  ------------------
 2307|  10.4M|                return &nfi->nf;
 2308|  10.4M|            } else {
 2309|  48.5k|                return NULL;
 2310|  48.5k|            }
 2311|  10.4M|        }
 2312|  20.3M|    }
 2313|   151k|    return NULL;
 2314|  10.6M|}
nx-match.c:nxm_init:
 2263|  21.0M|{
 2264|  21.0M|    static struct ovsthread_once once = OVSTHREAD_ONCE_INITIALIZER;
  ------------------
  |  |  134|  21.0M|    {                                           \
  |  |  135|  21.0M|        false,                                  \
  |  |  136|  21.0M|        OVS_MUTEX_INITIALIZER,                  \
  |  |  ------------------
  |  |  |  |   45|  21.0M|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  21.0M|                                "<unlocked>" }
  |  |  ------------------
  |  |  137|  21.0M|    }
  ------------------
 2265|  21.0M|    if (ovsthread_once_start(&once)) {
  ------------------
  |  Branch (2265:9): [True: 1, False: 21.0M]
  ------------------
 2266|      1|        hmap_init(&nxm_header_map);
 2267|      1|        hmap_init(&nxm_name_map);
 2268|    212|        for (int i = 0; i < MFF_N_IDS; i++) {
  ------------------
  |  Branch (2268:25): [True: 211, False: 1]
  ------------------
 2269|    211|            ovs_list_init(&nxm_mf_map[i]);
 2270|    211|        }
 2271|      1|        for (struct nxm_field_index *nfi = all_nxm_fields;
 2272|    238|             nfi < &all_nxm_fields[ARRAY_SIZE(all_nxm_fields)]; nfi++) {
  ------------------
  |  |  297|    238|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|    238|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|    238|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|    238|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    238|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|    238|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:14): [True: 237, False: 1]
  ------------------
 2273|    237|            hmap_insert(&nxm_header_map, &nfi->header_node,
  ------------------
  |  |  101|    237|    hmap_insert_at(HMAP, NODE, HASH, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|    237|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    237|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|    237|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|    237|                        hash_uint64(nxm_no_len(nfi->nf.header)));
 2275|    237|            hmap_insert(&nxm_name_map, &nfi->name_node,
  ------------------
  |  |  101|    237|    hmap_insert_at(HMAP, NODE, HASH, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|    237|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    237|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|    237|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2276|    237|                        hash_string(nfi->nf.name, 0));
 2277|    237|            ovs_list_push_back(&nxm_mf_map[nfi->nf.id], &nfi->mf_node);
 2278|    237|        }
 2279|      1|        ovsthread_once_done(&once);
 2280|      1|    }
 2281|  21.0M|}
nx-match.c:nxm_make_exact_header:
  165|   179k|{
  166|   179k|    unsigned int new_len = nxm_payload_len(header)
  167|   179k|                           / 2 + nxm_experimenter_len(header);
  168|   179k|    return NXM_HEADER(nxm_vendor(header), nxm_class(header),
  ------------------
  |  |  150|   179k|    (((uint64_t) (CLASS) << 48) |                               \
  |  |  151|   179k|     ((uint64_t) (FIELD) << 41) |                               \
  |  |  152|   179k|     ((uint64_t) (HASMASK) << 40) |                             \
  |  |  153|   179k|     ((uint64_t) (LENGTH) << 32) |                              \
  |  |  154|   179k|     (VENDOR))
  ------------------
  169|   179k|                      nxm_field(header), 0, new_len);
  170|   179k|}
nx-match.c:nxm_field_by_mf_id:
 2333|  10.4M|{
 2334|  10.4M|    const struct nxm_field_index *nfi;
 2335|  10.4M|    const struct nxm_field *f;
 2336|       |
 2337|  10.4M|    nxm_init();
 2338|       |
 2339|  10.4M|    f = NULL;
 2340|  11.7M|    LIST_FOR_EACH (nfi, mf_node, &nxm_mf_map[id]) {
  ------------------
  |  |   76|  10.4M|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  10.4M|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  10.4M|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  22.1M|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  22.1M|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 11.7M, False: 10.4M]
  |  |  |  |  |  Branch (185:6): [True: 11.7M, False: 10.4M]
  |  |  |  |  ------------------
  |  |  |  |  186|  22.1M|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  11.7M|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  11.7M|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  11.7M|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  22.1M|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  11.7M|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  11.7M|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  11.7M|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2341|  11.7M|        if (!f || version >= nfi->nf.version) {
  ------------------
  |  Branch (2341:13): [True: 10.1M, False: 1.53M]
  |  Branch (2341:19): [True: 1.32M, False: 201k]
  ------------------
 2342|  11.5M|            f = &nfi->nf;
 2343|  11.5M|        }
 2344|  11.7M|    }
 2345|  10.4M|    return f;
 2346|  10.4M|}

ofp-actions.c:nxm_decode_ofs:
  167|  18.3k|{
  168|       |    return ntohs(ofs_nbits) >> 6;
  169|  18.3k|}
ofp-actions.c:nxm_decode_n_bits:
  173|  18.3k|{
  174|       |    return (ntohs(ofs_nbits) & 0x3f) + 1;
  175|  18.3k|}

ofpact_put_set_field:
 3385|  19.1k|{
 3386|       |    /* Ensure there's enough space for:
 3387|       |     * - value (8-byte aligned)
 3388|       |     * - mask  (8-byte aligned)
 3389|       |     * - padding (to make the whole ofpact_set_field 8-byte aligned)
 3390|       |     */
 3391|  19.1k|    size_t total_size = 2 * ROUND_UP(field->n_bytes, OFPACT_ALIGNTO);
  ------------------
  |  |  303|  19.1k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  19.1k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
 3392|  19.1k|    struct ofpact_set_field *sf = ofpact_put_SET_FIELD(ofpacts);
 3393|  19.1k|    sf->field = field;
 3394|       |
 3395|       |    /* Fill with all zeroes to make sure the padding is initialized. */
 3396|  19.1k|    ofpbuf_put_zeros(ofpacts, total_size);
 3397|  19.1k|    sf = ofpacts->header;
 3398|       |
 3399|       |    /* Fill in the value and mask if given, otherwise keep the zeroes
 3400|       |     * so that the caller may fill in the value and mask itself. */
 3401|  19.1k|    if (value) {
  ------------------
  |  Branch (3401:9): [True: 16.0k, False: 3.08k]
  ------------------
 3402|  16.0k|        memcpy(sf->value, value, field->n_bytes);
 3403|  16.0k|        if (mask) {
  ------------------
  |  Branch (3403:13): [True: 16.0k, False: 0]
  ------------------
 3404|  16.0k|            memcpy(ofpact_set_field_mask(sf), mask, field->n_bytes);
  ------------------
  |  |  563|  16.0k|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|  16.0k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|  16.0k|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|  16.0k|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 3405|  16.0k|        } else {
 3406|      0|            memset(ofpact_set_field_mask(sf), 0xff, field->n_bytes);
  ------------------
  |  |  563|      0|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|      0|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|      0|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|      0|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 3407|      0|        }
 3408|  16.0k|    }
 3409|       |
 3410|       |    /* Update length. */
 3411|  19.1k|    ofpact_finish_SET_FIELD(ofpacts, &sf);
 3412|       |
 3413|  19.1k|    return sf;
 3414|  19.1k|}
ofpact_put_reg_load:
 3424|  3.08k|{
 3425|  3.08k|    struct ofpact_set_field *sf = ofpact_put_set_field(ofpacts, field, value,
 3426|  3.08k|                                                       mask);
 3427|  3.08k|    sf->ofpact.raw = NXAST_RAW_REG_LOAD;
 3428|       |
 3429|  3.08k|    return sf;
 3430|  3.08k|}
ofpact_put_reg_load2:
 3435|  3.87k|{
 3436|  3.87k|    struct ofpact_set_field *sf = ofpact_put_set_field(ofpacts, field, value,
 3437|  3.87k|                                                       mask);
 3438|  3.87k|    sf->ofpact.raw = NXAST_RAW_REG_LOAD2;
 3439|       |
 3440|  3.87k|    return sf;
 3441|  3.87k|}
ofpacts_pull_openflow_actions:
 8121|   152k|{
 8122|   152k|    return ofpacts_pull_openflow_actions__(
 8123|   152k|        openflow, actions_len, version,
 8124|   152k|        (1u << OVSINST_OFPIT11_APPLY_ACTIONS) | (1u << OVSINST_OFPIT13_METER),
 8125|   152k|        ofpacts, 0, vl_mff_map, ofpacts_tlv_bitmap);
 8126|   152k|}
ovs_instruction_name_from_type:
 8363|  22.0k|{
 8364|  22.0k|    return type < ARRAY_SIZE(inst_info) ? inst_info[type].name : NULL;
  ------------------
  |  |  297|  22.0k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|  22.0k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  22.0k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|  22.0k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.0k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|  22.0k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8364:12): [True: 22.0k, False: 0]
  ------------------
 8365|  22.0k|}
ovs_instruction_type_from_ofpact_type:
 8382|   171k|{
 8383|   171k|    switch (type) {
 8384|    616|    case OFPACT_METER:
  ------------------
  |  Branch (8384:5): [True: 616, False: 170k]
  ------------------
 8385|    616|        return (version >= OFP15_VERSION
  ------------------
  |  Branch (8385:17): [True: 13, False: 603]
  ------------------
 8386|    616|                ? OVSINST_OFPIT11_APPLY_ACTIONS
 8387|    616|                : OVSINST_OFPIT13_METER);
 8388|    148|    case OFPACT_CLEAR_ACTIONS:
  ------------------
  |  Branch (8388:5): [True: 148, False: 170k]
  ------------------
 8389|    148|        return OVSINST_OFPIT11_CLEAR_ACTIONS;
 8390|  11.6k|    case OFPACT_WRITE_ACTIONS:
  ------------------
  |  Branch (8390:5): [True: 11.6k, False: 159k]
  ------------------
 8391|  11.6k|        return OVSINST_OFPIT11_WRITE_ACTIONS;
 8392|  1.21k|    case OFPACT_WRITE_METADATA:
  ------------------
  |  Branch (8392:5): [True: 1.21k, False: 169k]
  ------------------
 8393|  1.21k|        return OVSINST_OFPIT11_WRITE_METADATA;
 8394|  1.99k|    case OFPACT_GOTO_TABLE:
  ------------------
  |  Branch (8394:5): [True: 1.99k, False: 169k]
  ------------------
 8395|  1.99k|        return OVSINST_OFPIT11_GOTO_TABLE;
 8396|  14.4k|    case OFPACT_OUTPUT:
  ------------------
  |  Branch (8396:5): [True: 14.4k, False: 156k]
  ------------------
 8397|  14.7k|    case OFPACT_GROUP:
  ------------------
  |  Branch (8397:5): [True: 325, False: 170k]
  ------------------
 8398|  17.1k|    case OFPACT_CLONE:
  ------------------
  |  Branch (8398:5): [True: 2.43k, False: 168k]
  ------------------
 8399|  19.1k|    case OFPACT_CONTROLLER:
  ------------------
  |  Branch (8399:5): [True: 1.92k, False: 169k]
  ------------------
 8400|  19.4k|    case OFPACT_ENQUEUE:
  ------------------
  |  Branch (8400:5): [True: 382, False: 170k]
  ------------------
 8401|  20.5k|    case OFPACT_OUTPUT_REG:
  ------------------
  |  Branch (8401:5): [True: 1.09k, False: 169k]
  ------------------
 8402|  21.6k|    case OFPACT_OUTPUT_TRUNC:
  ------------------
  |  Branch (8402:5): [True: 1.05k, False: 170k]
  ------------------
 8403|  23.3k|    case OFPACT_BUNDLE:
  ------------------
  |  Branch (8403:5): [True: 1.70k, False: 169k]
  ------------------
 8404|  26.9k|    case OFPACT_SET_VLAN_VID:
  ------------------
  |  Branch (8404:5): [True: 3.62k, False: 167k]
  ------------------
 8405|  30.6k|    case OFPACT_SET_VLAN_PCP:
  ------------------
  |  Branch (8405:5): [True: 3.73k, False: 167k]
  ------------------
 8406|  35.2k|    case OFPACT_STRIP_VLAN:
  ------------------
  |  Branch (8406:5): [True: 4.55k, False: 166k]
  ------------------
 8407|  35.4k|    case OFPACT_PUSH_VLAN:
  ------------------
  |  Branch (8407:5): [True: 201, False: 170k]
  ------------------
 8408|  35.4k|    case OFPACT_SET_ETH_SRC:
  ------------------
  |  Branch (8408:5): [True: 24, False: 171k]
  ------------------
 8409|  35.8k|    case OFPACT_SET_ETH_DST:
  ------------------
  |  Branch (8409:5): [True: 343, False: 170k]
  ------------------
 8410|  39.6k|    case OFPACT_SET_IPV4_SRC:
  ------------------
  |  Branch (8410:5): [True: 3.85k, False: 167k]
  ------------------
 8411|  47.1k|    case OFPACT_SET_IPV4_DST:
  ------------------
  |  Branch (8411:5): [True: 7.45k, False: 163k]
  ------------------
 8412|  52.7k|    case OFPACT_SET_IP_DSCP:
  ------------------
  |  Branch (8412:5): [True: 5.63k, False: 165k]
  ------------------
 8413|  52.9k|    case OFPACT_SET_IP_ECN:
  ------------------
  |  Branch (8413:5): [True: 146, False: 170k]
  ------------------
 8414|  52.9k|    case OFPACT_SET_IP_TTL:
  ------------------
  |  Branch (8414:5): [True: 12, False: 171k]
  ------------------
 8415|  65.0k|    case OFPACT_SET_L4_SRC_PORT:
  ------------------
  |  Branch (8415:5): [True: 12.1k, False: 158k]
  ------------------
 8416|  70.6k|    case OFPACT_SET_L4_DST_PORT:
  ------------------
  |  Branch (8416:5): [True: 5.64k, False: 165k]
  ------------------
 8417|  70.7k|    case OFPACT_REG_MOVE:
  ------------------
  |  Branch (8417:5): [True: 94, False: 170k]
  ------------------
 8418|  86.3k|    case OFPACT_SET_FIELD:
  ------------------
  |  Branch (8418:5): [True: 15.5k, False: 155k]
  ------------------
 8419|  86.6k|    case OFPACT_STACK_PUSH:
  ------------------
  |  Branch (8419:5): [True: 367, False: 170k]
  ------------------
 8420|  88.1k|    case OFPACT_STACK_POP:
  ------------------
  |  Branch (8420:5): [True: 1.44k, False: 169k]
  ------------------
 8421|  90.0k|    case OFPACT_DEC_TTL:
  ------------------
  |  Branch (8421:5): [True: 1.92k, False: 169k]
  ------------------
 8422|  92.3k|    case OFPACT_SET_MPLS_LABEL:
  ------------------
  |  Branch (8422:5): [True: 2.30k, False: 168k]
  ------------------
 8423|  92.3k|    case OFPACT_SET_MPLS_TC:
  ------------------
  |  Branch (8423:5): [True: 20, False: 171k]
  ------------------
 8424|  94.2k|    case OFPACT_SET_MPLS_TTL:
  ------------------
  |  Branch (8424:5): [True: 1.93k, False: 169k]
  ------------------
 8425|  94.7k|    case OFPACT_DEC_MPLS_TTL:
  ------------------
  |  Branch (8425:5): [True: 437, False: 170k]
  ------------------
 8426|  94.7k|    case OFPACT_PUSH_MPLS:
  ------------------
  |  Branch (8426:5): [True: 3, False: 171k]
  ------------------
 8427|  94.8k|    case OFPACT_POP_MPLS:
  ------------------
  |  Branch (8427:5): [True: 74, False: 170k]
  ------------------
 8428|  95.9k|    case OFPACT_SET_TUNNEL:
  ------------------
  |  Branch (8428:5): [True: 1.15k, False: 169k]
  ------------------
 8429|  96.1k|    case OFPACT_SET_QUEUE:
  ------------------
  |  Branch (8429:5): [True: 184, False: 170k]
  ------------------
 8430|  98.7k|    case OFPACT_POP_QUEUE:
  ------------------
  |  Branch (8430:5): [True: 2.64k, False: 168k]
  ------------------
 8431|  99.8k|    case OFPACT_FIN_TIMEOUT:
  ------------------
  |  Branch (8431:5): [True: 1.02k, False: 170k]
  ------------------
 8432|   100k|    case OFPACT_RESUBMIT:
  ------------------
  |  Branch (8432:5): [True: 370, False: 170k]
  ------------------
 8433|   120k|    case OFPACT_LEARN:
  ------------------
  |  Branch (8433:5): [True: 20.2k, False: 150k]
  ------------------
 8434|   120k|    case OFPACT_CONJUNCTION:
  ------------------
  |  Branch (8434:5): [True: 0, False: 171k]
  ------------------
 8435|   121k|    case OFPACT_MULTIPATH:
  ------------------
  |  Branch (8435:5): [True: 1.25k, False: 169k]
  ------------------
 8436|   127k|    case OFPACT_NOTE:
  ------------------
  |  Branch (8436:5): [True: 5.82k, False: 165k]
  ------------------
 8437|   127k|    case OFPACT_EXIT:
  ------------------
  |  Branch (8437:5): [True: 248, False: 170k]
  ------------------
 8438|   138k|    case OFPACT_UNROLL_XLATE:
  ------------------
  |  Branch (8438:5): [True: 10.5k, False: 160k]
  ------------------
 8439|   141k|    case OFPACT_SAMPLE:
  ------------------
  |  Branch (8439:5): [True: 3.63k, False: 167k]
  ------------------
 8440|   141k|    case OFPACT_DEBUG_RECIRC:
  ------------------
  |  Branch (8440:5): [True: 0, False: 171k]
  ------------------
 8441|   141k|    case OFPACT_DEBUG_SLOW:
  ------------------
  |  Branch (8441:5): [True: 0, False: 171k]
  ------------------
 8442|   147k|    case OFPACT_CT:
  ------------------
  |  Branch (8442:5): [True: 5.86k, False: 165k]
  ------------------
 8443|   147k|    case OFPACT_CT_CLEAR:
  ------------------
  |  Branch (8443:5): [True: 95, False: 170k]
  ------------------
 8444|   150k|    case OFPACT_NAT:
  ------------------
  |  Branch (8444:5): [True: 2.63k, False: 168k]
  ------------------
 8445|   150k|    case OFPACT_ENCAP:
  ------------------
  |  Branch (8445:5): [True: 206, False: 170k]
  ------------------
 8446|   155k|    case OFPACT_DECAP:
  ------------------
  |  Branch (8446:5): [True: 4.53k, False: 166k]
  ------------------
 8447|   155k|    case OFPACT_DEC_NSH_TTL:
  ------------------
  |  Branch (8447:5): [True: 16, False: 171k]
  ------------------
 8448|   155k|    case OFPACT_CHECK_PKT_LARGER:
  ------------------
  |  Branch (8448:5): [True: 101, False: 170k]
  ------------------
 8449|   155k|    case OFPACT_DELETE_FIELD:
  ------------------
  |  Branch (8449:5): [True: 63, False: 171k]
  ------------------
 8450|   155k|    default:
  ------------------
  |  Branch (8450:5): [True: 0, False: 171k]
  ------------------
 8451|   155k|        return OVSINST_OFPIT11_APPLY_ACTIONS;
 8452|   171k|    }
 8453|   171k|}
ovs_instruction_type_from_inst_type:
 8458|    728|{
 8459|    728|    switch (inst_type) {
 8460|       |
 8461|      0|#define DEFINE_INST(ENUM, STRUCT, EXTENSIBLE, NAME) \
 8462|      0|    case ENUM:                                      \
 8463|      0|        *instruction_type = OVSINST_##ENUM;         \
 8464|      0|        return 0;
 8465|      0|OVS_INSTRUCTIONS
  ------------------
  |  | 1344|     20|    DEFINE_INST(OFPIT13_METER,                              \
  |  |  ------------------
  |  |  |  | 8462|     20|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 20, False: 708]
  |  |  |  |  ------------------
  |  |  |  | 8463|     20|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|     20|        return 0;
  |  |  ------------------
  |  | 1345|     20|                ofp13_instruction_meter,          false,    \
  |  | 1346|     20|                "meter")                                    \
  |  | 1347|     20|                                                            \
  |  | 1348|     20|    DEFINE_INST(OFPIT11_APPLY_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8462|      8|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 8, False: 720]
  |  |  |  |  ------------------
  |  |  |  | 8463|      8|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|      8|        return 0;
  |  |  ------------------
  |  | 1349|      8|                ofp11_instruction_actions,        true,     \
  |  | 1350|      8|                "apply_actions")                            \
  |  | 1351|      8|                                                            \
  |  | 1352|     15|    DEFINE_INST(OFPIT11_CLEAR_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8462|     15|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 15, False: 713]
  |  |  |  |  ------------------
  |  |  |  | 8463|     15|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|     15|        return 0;
  |  |  ------------------
  |  | 1353|     15|                ofp11_instruction,                false,    \
  |  | 1354|     15|                "clear_actions")                            \
  |  | 1355|     15|                                                            \
  |  | 1356|     15|    DEFINE_INST(OFPIT11_WRITE_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8462|      6|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 6, False: 722]
  |  |  |  |  ------------------
  |  |  |  | 8463|      6|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|      6|        return 0;
  |  |  ------------------
  |  | 1357|      6|                ofp11_instruction_actions,        true,     \
  |  | 1358|      6|                "write_actions")                            \
  |  | 1359|      6|                                                            \
  |  | 1360|     33|    DEFINE_INST(OFPIT11_WRITE_METADATA,                     \
  |  |  ------------------
  |  |  |  | 8462|     33|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 33, False: 695]
  |  |  |  |  ------------------
  |  |  |  | 8463|     33|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|     33|        return 0;
  |  |  ------------------
  |  | 1361|     33|                ofp11_instruction_write_metadata, false,    \
  |  | 1362|     33|                "write_metadata")                           \
  |  | 1363|     33|                                                            \
  |  | 1364|    492|    DEFINE_INST(OFPIT11_GOTO_TABLE,                         \
  |  |  ------------------
  |  |  |  | 8462|    492|    case ENUM:                                      \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8462:5): [True: 492, False: 236]
  |  |  |  |  ------------------
  |  |  |  | 8463|    492|        *instruction_type = OVSINST_##ENUM;         \
  |  |  |  | 8464|    492|        return 0;
  |  |  ------------------
  |  | 1365|    492|                ofp11_instruction_goto_table,     false,    \
  |  | 1366|    492|                "goto_table")
  ------------------
 8466|      0|#undef DEFINE_INST
 8467|       |
 8468|    154|    default:
  ------------------
  |  Branch (8468:5): [True: 154, False: 574]
  ------------------
 8469|    154|        return OFPERR_OFPBIC_UNKNOWN_INST;
 8470|    728|    }
 8471|    728|}
ovsinst_bitmap_from_openflow:
 8529|  20.1k|{
 8530|  20.1k|    uint32_t ovsinst_bitmap = 0;
 8531|  20.1k|    const struct ovsinst_map *x;
 8532|       |
 8533|   121k|    for (x = get_ovsinst_map(version); x->ofpit >= 0; x++) {
  ------------------
  |  Branch (8533:40): [True: 100k, False: 20.1k]
  ------------------
 8534|   100k|        if (ofpit_bitmap & htonl(1u << x->ofpit)) {
  ------------------
  |  Branch (8534:13): [True: 31.8k, False: 69.0k]
  ------------------
 8535|  31.8k|            ovsinst_bitmap |= 1u << x->ovsinst;
 8536|  31.8k|        }
 8537|   100k|    }
 8538|  20.1k|    return ovsinst_bitmap;
 8539|  20.1k|}
ofpacts_pull_openflow_instructions:
 8647|   102k|{
 8648|   102k|    const struct ofp11_instruction *instructions;
 8649|   102k|    const struct ofp11_instruction *insts[N_OVS_INSTRUCTIONS];
 8650|   102k|    enum ofperr error;
 8651|       |
 8652|   102k|    ofpbuf_clear(ofpacts);
 8653|   102k|    if (version == OFP10_VERSION) {
  ------------------
  |  Branch (8653:9): [True: 62.1k, False: 40.1k]
  ------------------
 8654|  62.1k|        return ofpacts_pull_openflow_actions__(openflow, instructions_len,
 8655|  62.1k|                                               version,
 8656|  62.1k|                                               (1u << N_OVS_INSTRUCTIONS) - 1,
 8657|  62.1k|                                               ofpacts, 0, vl_mff_map,
 8658|  62.1k|                                               ofpacts_tlv_bitmap);
 8659|  62.1k|    }
 8660|       |
 8661|  40.1k|    if (instructions_len % OFP11_INSTRUCTION_ALIGN != 0) {
  ------------------
  |  |  262|  40.1k|#define OFP11_INSTRUCTION_ALIGN 8
  ------------------
  |  Branch (8661:9): [True: 501, False: 39.6k]
  ------------------
 8662|    501|        VLOG_WARN_RL(&rl, "OpenFlow message instructions length %u is not a "
  ------------------
  |  |  224|    501|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    501|    do {                                                                \
  |  |  |  |  288|    501|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    501|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 501]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    501|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 501]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8663|    501|                     "multiple of %d",
 8664|    501|                     instructions_len, OFP11_INSTRUCTION_ALIGN);
 8665|    501|        error = OFPERR_OFPBIC_BAD_LEN;
 8666|    501|        goto exit;
 8667|    501|    }
 8668|       |
 8669|  39.6k|    instructions = ofpbuf_try_pull(openflow, instructions_len);
 8670|  39.6k|    if (instructions == NULL) {
  ------------------
  |  Branch (8670:9): [True: 201, False: 39.4k]
  ------------------
 8671|    201|        VLOG_WARN_RL(&rl, "OpenFlow message instructions length %u exceeds "
  ------------------
  |  |  224|    201|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    201|    do {                                                                \
  |  |  |  |  288|    201|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    201|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 201]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    201|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 201]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8672|    201|                     "remaining message length (%"PRIu32")",
 8673|    201|                     instructions_len, openflow->size);
 8674|    201|        error = OFPERR_OFPBIC_BAD_LEN;
 8675|    201|        goto exit;
 8676|    201|    }
 8677|       |
 8678|  39.4k|    error = decode_openflow11_instructions(
 8679|  39.4k|        instructions, instructions_len / OFP11_INSTRUCTION_ALIGN, version,
  ------------------
  |  |  262|  39.4k|#define OFP11_INSTRUCTION_ALIGN 8
  ------------------
 8680|  39.4k|        insts);
 8681|  39.4k|    if (error) {
  ------------------
  |  Branch (8681:9): [True: 5.17k, False: 34.2k]
  ------------------
 8682|  5.17k|        goto exit;
 8683|  5.17k|    }
 8684|       |
 8685|  34.2k|    if (insts[OVSINST_OFPIT13_METER]) {
  ------------------
  |  Branch (8685:9): [True: 603, False: 33.6k]
  ------------------
 8686|    603|        const struct ofp13_instruction_meter *oim;
 8687|    603|        struct ofpact_meter *om;
 8688|       |
 8689|    603|        oim = ALIGNED_CAST(const struct ofp13_instruction_meter *,
  ------------------
  |  |  434|    603|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 8690|    603|                           insts[OVSINST_OFPIT13_METER]);
 8691|       |
 8692|    603|        om = ofpact_put_METER(ofpacts);
 8693|    603|        om->meter_id = ntohl(oim->meter_id);
 8694|    603|        om->provider_meter_id = UINT32_MAX; /* No provider meter ID. */
 8695|    603|    }
 8696|  34.2k|    if (insts[OVSINST_OFPIT11_APPLY_ACTIONS]) {
  ------------------
  |  Branch (8696:9): [True: 4.33k, False: 29.9k]
  ------------------
 8697|  4.33k|        const struct ofp_action_header *actions;
 8698|  4.33k|        size_t actions_len;
 8699|       |
 8700|  4.33k|        get_actions_from_instruction(insts[OVSINST_OFPIT11_APPLY_ACTIONS],
 8701|  4.33k|                                     &actions, &actions_len);
 8702|  4.33k|        error = ofpacts_decode(actions, actions_len, version, vl_mff_map,
 8703|  4.33k|                               ofpacts_tlv_bitmap, ofpacts);
 8704|  4.33k|        if (error) {
  ------------------
  |  Branch (8704:13): [True: 793, False: 3.53k]
  ------------------
 8705|    793|            goto exit;
 8706|    793|        }
 8707|  4.33k|    }
 8708|  33.4k|    if (insts[OVSINST_OFPIT11_CLEAR_ACTIONS]) {
  ------------------
  |  Branch (8708:9): [True: 148, False: 33.3k]
  ------------------
 8709|    148|        instruction_get_OFPIT11_CLEAR_ACTIONS(
 8710|    148|            insts[OVSINST_OFPIT11_CLEAR_ACTIONS]);
 8711|    148|        ofpact_put_CLEAR_ACTIONS(ofpacts);
 8712|    148|    }
 8713|  33.4k|    if (insts[OVSINST_OFPIT11_WRITE_ACTIONS]) {
  ------------------
  |  Branch (8713:9): [True: 18.4k, False: 15.0k]
  ------------------
 8714|  18.4k|        struct ofpact_nest *on;
 8715|  18.4k|        const struct ofp_action_header *actions;
 8716|  18.4k|        size_t actions_len;
 8717|  18.4k|        size_t start = ofpacts->size;
 8718|  18.4k|        ofpact_put(ofpacts, OFPACT_WRITE_ACTIONS,
 8719|  18.4k|                   offsetof(struct ofpact_nest, actions));
 8720|  18.4k|        get_actions_from_instruction(insts[OVSINST_OFPIT11_WRITE_ACTIONS],
 8721|  18.4k|                                     &actions, &actions_len);
 8722|  18.4k|        error = ofpacts_decode_for_action_set(actions, actions_len,
 8723|  18.4k|                                              version, vl_mff_map,
 8724|  18.4k|                                              ofpacts_tlv_bitmap, ofpacts);
 8725|  18.4k|        if (error) {
  ------------------
  |  Branch (8725:13): [True: 6.81k, False: 11.6k]
  ------------------
 8726|  6.81k|            goto exit;
 8727|  6.81k|        }
 8728|  11.6k|        on = ofpbuf_at_assert(ofpacts, start, sizeof *on);
 8729|  11.6k|        on->ofpact.len = ofpacts->size - start;
 8730|  11.6k|    }
 8731|  26.6k|    if (insts[OVSINST_OFPIT11_WRITE_METADATA]) {
  ------------------
  |  Branch (8731:9): [True: 845, False: 25.8k]
  ------------------
 8732|    845|        const struct ofp11_instruction_write_metadata *oiwm;
 8733|    845|        struct ofpact_metadata *om;
 8734|       |
 8735|    845|        oiwm = ALIGNED_CAST(const struct ofp11_instruction_write_metadata *,
  ------------------
  |  |  434|    845|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 8736|    845|                            insts[OVSINST_OFPIT11_WRITE_METADATA]);
 8737|       |
 8738|    845|        om = ofpact_put_WRITE_METADATA(ofpacts);
 8739|    845|        om->metadata = oiwm->metadata;
 8740|    845|        om->mask = oiwm->metadata_mask;
 8741|    845|    }
 8742|  26.6k|    if (insts[OVSINST_OFPIT11_GOTO_TABLE]) {
  ------------------
  |  Branch (8742:9): [True: 1.99k, False: 24.6k]
  ------------------
 8743|  1.99k|        const struct ofp11_instruction_goto_table *oigt;
 8744|  1.99k|        struct ofpact_goto_table *ogt;
 8745|       |
 8746|  1.99k|        oigt = instruction_get_OFPIT11_GOTO_TABLE(
 8747|  1.99k|            insts[OVSINST_OFPIT11_GOTO_TABLE]);
 8748|  1.99k|        ogt = ofpact_put_GOTO_TABLE(ofpacts);
 8749|  1.99k|        ogt->table_id = oigt->table_id;
 8750|  1.99k|    }
 8751|       |
 8752|  26.6k|    error = ofpacts_verify(ofpacts->data, ofpacts->size, version,
 8753|  26.6k|                           (1u << N_OVS_INSTRUCTIONS) - 1, 0, NULL);
 8754|  40.1k|exit:
 8755|  40.1k|    if (error) {
  ------------------
  |  Branch (8755:9): [True: 13.4k, False: 26.6k]
  ------------------
 8756|  13.4k|        ofpbuf_clear(ofpacts);
 8757|  13.4k|    }
 8758|  40.1k|    return error;
 8759|  26.6k|}
ofpact_check_output_port:
 8782|  38.5k|{
 8783|  38.5k|    switch (port) {
 8784|  2.36k|    case OFPP_IN_PORT:
  ------------------
  |  |   39|  2.36k|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  ------------------
  |  |  |  |  157|  2.36k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8784:5): [True: 2.36k, False: 36.2k]
  ------------------
 8785|  5.72k|    case OFPP_TABLE:
  ------------------
  |  |   40|  5.72k|#define OFPP_TABLE      OFP_PORT_C(0xfff9) /* Perform actions in flow table. */
  |  |  ------------------
  |  |  |  |  157|  5.72k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8785:5): [True: 3.35k, False: 35.2k]
  ------------------
 8786|  8.30k|    case OFPP_NORMAL:
  ------------------
  |  |   41|  8.30k|#define OFPP_NORMAL     OFP_PORT_C(0xfffa) /* Process with normal L2/L3. */
  |  |  ------------------
  |  |  |  |  157|  8.30k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8786:5): [True: 2.58k, False: 35.9k]
  ------------------
 8787|  10.0k|    case OFPP_FLOOD:
  ------------------
  |  |   42|  10.0k|#define OFPP_FLOOD      OFP_PORT_C(0xfffb) /* All ports except input port and
  |  |  ------------------
  |  |  |  |  157|  10.0k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8787:5): [True: 1.70k, False: 36.8k]
  ------------------
 8788|  11.0k|    case OFPP_ALL:
  ------------------
  |  |   44|  11.0k|#define OFPP_ALL        OFP_PORT_C(0xfffc) /* All ports except input port. */
  |  |  ------------------
  |  |  |  |  157|  11.0k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8788:5): [True: 1.08k, False: 37.4k]
  ------------------
 8789|  19.8k|    case OFPP_CONTROLLER:
  ------------------
  |  |   45|  19.8k|#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
  |  |  ------------------
  |  |  |  |  157|  19.8k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8789:5): [True: 8.78k, False: 29.7k]
  ------------------
 8790|  20.0k|    case OFPP_LOCAL:
  ------------------
  |  |   46|  20.0k|#define OFPP_LOCAL      OFP_PORT_C(0xfffe) /* Local openflow "port". */
  |  |  ------------------
  |  |  |  |  157|  20.0k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8790:5): [True: 202, False: 38.3k]
  ------------------
 8791|  20.0k|        return 0;
 8792|       |
 8793|     26|    case OFPP_NONE:
  ------------------
  |  |   47|     26|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|     26|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (8793:5): [True: 26, False: 38.5k]
  ------------------
 8794|     26|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 8795|       |
 8796|  18.4k|    default:
  ------------------
  |  Branch (8796:5): [True: 18.4k, False: 20.1k]
  ------------------
 8797|  18.4k|        if (ofp_to_u16(port) < ofp_to_u16(max_ports)) {
  ------------------
  |  Branch (8797:13): [True: 17.7k, False: 722]
  ------------------
 8798|  17.7k|            return 0;
 8799|  17.7k|        }
 8800|    722|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 8801|  38.5k|    }
 8802|  38.5k|}
ofpacts_check:
 8851|  68.8k|{
 8852|       |    /* Save fields that might temporarily be modified. */
 8853|  68.8k|    struct flow *flow = &cp->match->flow;
 8854|  68.8k|    ovs_be32 packet_type = flow->packet_type;
 8855|  68.8k|    ovs_be16 dl_type = flow->dl_type;
 8856|  68.8k|    uint8_t nw_proto = flow->nw_proto;
 8857|  68.8k|    union flow_vlan_hdr vlans[FLOW_MAX_VLAN_HEADERS];
 8858|  68.8k|    memcpy(vlans, flow->vlans, sizeof vlans);
 8859|       |
 8860|       |    /* Check all the actions. */
 8861|  68.8k|    cp->usable_protocols = OFPUTIL_P_ANY;
  ------------------
  |  |  100|  68.8k|#define OFPUTIL_P_ANY ((1 << 9) - 1)
  ------------------
 8862|  68.8k|    enum ofperr error = 0;
 8863|  68.8k|    struct ofpact *a;
 8864|   145k|    OFPACT_FOR_EACH (a, ofpacts, ofpacts_len) {
  ------------------
  |  |  261|   209k|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 145k, False: 63.9k]
  |  |  ------------------
  |  |  262|   141k|         (POS) = ofpact_next(POS))
  ------------------
 8865|   145k|        error = ofpact_check__(a, cp);
 8866|   145k|        if (error) {
  ------------------
  |  Branch (8866:13): [True: 4.90k, False: 141k]
  ------------------
 8867|  4.90k|            break;
 8868|  4.90k|        }
 8869|   145k|    }
 8870|       |
 8871|       |    /* Restore fields that may have been modified. */
 8872|  68.8k|    flow->packet_type = packet_type;
 8873|  68.8k|    flow->dl_type = dl_type;
 8874|  68.8k|    memcpy(flow->vlans, vlans, sizeof vlans);
 8875|  68.8k|    flow->nw_proto = nw_proto;
 8876|       |
 8877|  68.8k|    return error;
 8878|  68.8k|}
ofpacts_check_consistency:
 8886|  53.5k|{
 8887|  53.5k|    enum ofperr error = ofpacts_check(ofpacts, ofpacts_len, cp);
 8888|  53.5k|    if (!error && needed_protocols & ~cp->usable_protocols) {
  ------------------
  |  Branch (8888:9): [True: 49.1k, False: 4.41k]
  |  Branch (8888:19): [True: 2.36k, False: 46.7k]
  ------------------
 8889|  2.36k|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 8890|  2.36k|    }
 8891|  51.1k|    return error;
 8892|  53.5k|}
ofpact_get_mf_dst:
 8898|   177k|{
 8899|   177k|    if (ofpact->type == OFPACT_SET_FIELD) {
  ------------------
  |  Branch (8899:9): [True: 15.7k, False: 161k]
  ------------------
 8900|  15.7k|        const struct ofpact_set_field *orl;
 8901|       |
 8902|  15.7k|        orl = CONTAINER_OF(ofpact, struct ofpact_set_field, ofpact);
  ------------------
  |  |  124|  15.7k|        ((STRUCT *) (void *) ((char *) (POINTER) - offsetof (STRUCT, MEMBER)))
  ------------------
 8903|  15.7k|        return orl->field;
 8904|   161k|    } else if (ofpact->type == OFPACT_REG_MOVE) {
  ------------------
  |  Branch (8904:16): [True: 94, False: 161k]
  ------------------
 8905|     94|        const struct ofpact_reg_move *orm;
 8906|       |
 8907|     94|        orm = CONTAINER_OF(ofpact, struct ofpact_reg_move, ofpact);
  ------------------
  |  |  124|     94|        ((STRUCT *) (void *) ((char *) (POINTER) - offsetof (STRUCT, MEMBER)))
  ------------------
 8908|     94|        return orm->dst.field;
 8909|     94|    }
 8910|       |
 8911|   161k|    return NULL;
 8912|   177k|}
ofpact_bitmap_from_openflow:
 9265|  49.1k|{
 9266|  49.1k|    uint64_t ofpact_bitmap = 0;
 9267|  49.1k|    const struct ofpact_map *x;
 9268|       |
 9269|   812k|    for (x = get_ofpact_map(version); x->ofpat >= 0; x++) {
  ------------------
  |  Branch (9269:39): [True: 763k, False: 49.1k]
  ------------------
 9270|   763k|        if (ofpat_bitmap & htonl(1u << x->ofpat)) {
  ------------------
  |  Branch (9270:13): [True: 226k, False: 537k]
  ------------------
 9271|       |            ofpact_bitmap |= UINT64_C(1) << x->ofpact;
 9272|   226k|        }
 9273|   763k|    }
 9274|  49.1k|    return ofpact_bitmap;
 9275|  49.1k|}
ofpact_bitmap_format:
 9281|  24.9k|{
 9282|  24.9k|    if (!ofpacts_bitmap) {
  ------------------
  |  Branch (9282:9): [True: 713, False: 24.2k]
  ------------------
 9283|    713|        ds_put_cstr(s, "<none>");
 9284|  24.2k|    } else {
 9285|   145k|        while (ofpacts_bitmap) {
  ------------------
  |  Branch (9285:16): [True: 120k, False: 24.2k]
  ------------------
 9286|   120k|            ds_put_format(s, "%s ",
 9287|   120k|                          ofpact_name(rightmost_1bit_idx(ofpacts_bitmap)));
 9288|   120k|            ofpacts_bitmap = zero_rightmost_1bit(ofpacts_bitmap);
 9289|   120k|        }
 9290|  24.2k|        ds_chomp(s, ' ');
 9291|  24.2k|    }
 9292|  24.9k|}
ofpacts_format:
 9484|   113k|{
 9485|   113k|    if (!ofpacts_len) {
  ------------------
  |  Branch (9485:9): [True: 21.9k, False: 91.5k]
  ------------------
 9486|  21.9k|        ds_put_format(fp->s, "%sdrop%s", colors.drop, colors.end);
 9487|  91.5k|    } else {
 9488|  91.5k|        const struct ofpact *a;
 9489|       |
 9490|   182k|        OFPACT_FOR_EACH (a, ofpacts, ofpacts_len) {
  ------------------
  |  |  261|   273k|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 182k, False: 91.5k]
  |  |  ------------------
  |  |  262|   182k|         (POS) = ofpact_next(POS))
  ------------------
 9491|   182k|            if (a != ofpacts) {
  ------------------
  |  Branch (9491:17): [True: 90.5k, False: 91.5k]
  ------------------
 9492|  90.5k|                ds_put_char(fp->s, ',');
 9493|  90.5k|            }
 9494|       |
 9495|   182k|            ofpact_format(a, fp);
 9496|   182k|        }
 9497|  91.5k|    }
 9498|   113k|}
ofpact_put:
 9505|   321k|{
 9506|   321k|    struct ofpact *ofpact;
 9507|       |
 9508|   321k|    ofpacts->header = ofpbuf_put_uninit(ofpacts, len);
 9509|   321k|    ofpact = ofpacts->header;
 9510|   321k|    ofpact_init(ofpact, type, len);
 9511|   321k|    return ofpact;
 9512|   321k|}
ofpact_init:
 9517|   321k|{
 9518|   321k|    memset(ofpact, 0, len);
 9519|   321k|    ofpact->type = type;
 9520|   321k|    ofpact->raw = -1;
 9521|   321k|    ofpact->len = len;
 9522|   321k|}
ofpact_finish:
 9535|  76.2k|{
 9536|  76.2k|    ptrdiff_t len;
 9537|       |
 9538|  76.2k|    ovs_assert(ofpact == ofpacts->header);
  ------------------
  |  |   62|  76.2k|#define ovs_assert ovs_ignore
  ------------------
 9539|  76.2k|    len = (char *) ofpbuf_tail(ofpacts) - (char *) ofpact;
 9540|  76.2k|    ovs_assert(len > 0 && len <= UINT16_MAX);
  ------------------
  |  |   62|  76.2k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (9540:16): [True: 76.2k, False: 0]
  |  Branch (9540:27): [True: 76.2k, False: 0]
  ------------------
 9541|  76.2k|    ofpact->len = len;
 9542|  76.2k|    ofpbuf_padto(ofpacts, OFPACT_ALIGN(ofpacts->size));
  ------------------
  |  |  205|  76.2k|#define OFPACT_ALIGN(SIZE) ROUND_UP(SIZE, OFPACT_ALIGNTO)
  |  |  ------------------
  |  |  |  |  303|  76.2k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|  76.2k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9543|       |
 9544|  76.2k|    return ofpacts->header;
 9545|  76.2k|}
ofpact_name:
 9713|   123k|{
 9714|   123k|    switch (type) {
  ------------------
  |  Branch (9714:13): [True: 123k, False: 0]
  ------------------
 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
 9716|   123k|        OFPACTS
  ------------------
  |  |   64|  10.3k|    OFPACT(OUTPUT,          ofpact_output,      ofpact, "output")       \
  |  |  ------------------
  |  |  |  | 9715|  10.3k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 10.3k, False: 113k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   65|  10.3k|    OFPACT(GROUP,           ofpact_group,       ofpact, "group")        \
  |  |  ------------------
  |  |  |  | 9715|  6.53k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 6.53k, False: 117k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   66|  6.53k|    OFPACT(CONTROLLER,      ofpact_controller,  userdata, "controller") \
  |  |  ------------------
  |  |  |  | 9715|     45|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 45, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   67|    126|    OFPACT(ENQUEUE,         ofpact_enqueue,     ofpact, "enqueue")      \
  |  |  ------------------
  |  |  |  | 9715|    126|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 126, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   68|    126|    OFPACT(OUTPUT_REG,      ofpact_output_reg,  ofpact, "output_reg")   \
  |  |  ------------------
  |  |  |  | 9715|      5|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 5, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   69|      5|    OFPACT(BUNDLE,          ofpact_bundle,      members, "bundle")      \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|                                                                        \
  |  |   71|      0|    /* Header changes. */                                               \
  |  |   72|  4.75k|    OFPACT(SET_FIELD,       ofpact_set_field,   ofpact, "set_field")    \
  |  |  ------------------
  |  |  |  | 9715|  4.75k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 4.75k, False: 118k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|  4.75k|    OFPACT(SET_VLAN_VID,    ofpact_vlan_vid,    ofpact, "set_vlan_vid") \
  |  |  ------------------
  |  |  |  | 9715|  4.53k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 4.53k, False: 119k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   74|  4.53k|    OFPACT(SET_VLAN_PCP,    ofpact_vlan_pcp,    ofpact, "set_vlan_pcp") \
  |  |  ------------------
  |  |  |  | 9715|  3.01k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 3.01k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   75|  7.52k|    OFPACT(STRIP_VLAN,      ofpact_null,        ofpact, "strip_vlan")   \
  |  |  ------------------
  |  |  |  | 9715|  7.52k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 7.52k, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   76|  7.52k|    OFPACT(PUSH_VLAN,       ofpact_push_vlan,   ofpact, "push_vlan")    \
  |  |  ------------------
  |  |  |  | 9715|  7.26k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 7.26k, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  7.26k|    OFPACT(SET_ETH_SRC,     ofpact_mac,         ofpact, "mod_dl_src")   \
  |  |  ------------------
  |  |  |  | 9715|  2.98k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.98k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   78|  2.98k|    OFPACT(SET_ETH_DST,     ofpact_mac,         ofpact, "mod_dl_dst")   \
  |  |  ------------------
  |  |  |  | 9715|  2.51k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.51k, False: 121k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   79|  2.84k|    OFPACT(SET_IPV4_SRC,    ofpact_ipv4,        ofpact, "mod_nw_src")   \
  |  |  ------------------
  |  |  |  | 9715|  2.84k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.84k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   80|  2.84k|    OFPACT(SET_IPV4_DST,    ofpact_ipv4,        ofpact, "mod_nw_dst")   \
  |  |  ------------------
  |  |  |  | 9715|  2.47k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.47k, False: 121k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   81|  2.47k|    OFPACT(SET_IP_DSCP,     ofpact_dscp,        ofpact, "mod_nw_tos")   \
  |  |  ------------------
  |  |  |  | 9715|  2.28k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.28k, False: 121k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.87k|    OFPACT(SET_IP_ECN,      ofpact_ecn,         ofpact, "mod_nw_ecn")   \
  |  |  ------------------
  |  |  |  | 9715|  2.87k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.87k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  5.42k|    OFPACT(SET_IP_TTL,      ofpact_ip_ttl,      ofpact, "mod_nw_ttl")   \
  |  |  ------------------
  |  |  |  | 9715|  5.42k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 5.42k, False: 118k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   84|  5.42k|    OFPACT(SET_L4_SRC_PORT, ofpact_l4_port,     ofpact, "mod_tp_src")   \
  |  |  ------------------
  |  |  |  | 9715|  2.91k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.91k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   85|  3.06k|    OFPACT(SET_L4_DST_PORT, ofpact_l4_port,     ofpact, "mod_tp_dst")   \
  |  |  ------------------
  |  |  |  | 9715|  3.06k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 3.06k, False: 120k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   86|  3.06k|    OFPACT(REG_MOVE,        ofpact_reg_move,    ofpact, "move")         \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   87|     29|    OFPACT(STACK_PUSH,      ofpact_stack,       ofpact, "push")         \
  |  |  ------------------
  |  |  |  | 9715|     29|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 29, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   88|     29|    OFPACT(STACK_POP,       ofpact_stack,       ofpact, "pop")          \
  |  |  ------------------
  |  |  |  | 9715|      6|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 6, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|  10.4k|    OFPACT(DEC_TTL,         ofpact_cnt_ids,     cnt_ids, "dec_ttl")     \
  |  |  ------------------
  |  |  |  | 9715|  10.4k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 10.4k, False: 113k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  10.4k|    OFPACT(SET_MPLS_LABEL,  ofpact_mpls_label,  ofpact, "set_mpls_label") \
  |  |  ------------------
  |  |  |  | 9715|  2.49k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.49k, False: 121k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   91|  2.49k|    OFPACT(SET_MPLS_TC,     ofpact_mpls_tc,     ofpact, "set_mpls_tc")  \
  |  |  ------------------
  |  |  |  | 9715|  2.44k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2.44k, False: 121k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   92|  5.26k|    OFPACT(SET_MPLS_TTL,    ofpact_mpls_ttl,    ofpact, "set_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 9715|  5.26k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 5.26k, False: 118k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   93|  9.22k|    OFPACT(DEC_MPLS_TTL,    ofpact_null,        ofpact, "dec_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 9715|  9.22k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 9.22k, False: 114k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   94|  9.22k|    OFPACT(PUSH_MPLS,       ofpact_push_mpls,   ofpact, "push_mpls")    \
  |  |  ------------------
  |  |  |  | 9715|  7.19k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 7.19k, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|  7.19k|    OFPACT(POP_MPLS,        ofpact_pop_mpls,    ofpact, "pop_mpls")     \
  |  |  ------------------
  |  |  |  | 9715|  6.19k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 6.19k, False: 117k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   96|  6.19k|    OFPACT(DEC_NSH_TTL,     ofpact_null,        ofpact, "dec_nsh_ttl")  \
  |  |  ------------------
  |  |  |  | 9715|      1|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 1, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   97|      1|    OFPACT(DELETE_FIELD,    ofpact_delete_field, ofpact, "delete_field") \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   98|      0|                                                                        \
  |  |   99|      0|    /* Generic encap & decap */                                         \
  |  |  100|     19|    OFPACT(ENCAP,           ofpact_encap,       props, "encap")         \
  |  |  ------------------
  |  |  |  | 9715|     19|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 19, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  101|     19|    OFPACT(DECAP,           ofpact_decap,       ofpact, "decap")        \
  |  |  ------------------
  |  |  |  | 9715|      1|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 1, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  102|      1|                                                                        \
  |  |  103|      1|    /* Metadata. */                                                     \
  |  |  104|    604|    OFPACT(SET_TUNNEL,      ofpact_tunnel,      ofpact, "set_tunnel")   \
  |  |  ------------------
  |  |  |  | 9715|    604|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 604, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  105|  6.26k|    OFPACT(SET_QUEUE,       ofpact_queue,       ofpact, "set_queue")    \
  |  |  ------------------
  |  |  |  | 9715|  6.26k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 6.26k, False: 117k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  106|  6.26k|    OFPACT(POP_QUEUE,       ofpact_null,        ofpact, "pop_queue")    \
  |  |  ------------------
  |  |  |  | 9715|  1.34k|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 1.34k, False: 122k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  107|  1.34k|    OFPACT(FIN_TIMEOUT,     ofpact_fin_timeout, ofpact, "fin_timeout")  \
  |  |  ------------------
  |  |  |  | 9715|      2|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 2, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  108|      2|                                                                        \
  |  |  109|      2|    /* Flow table interaction. */                                       \
  |  |  110|     78|    OFPACT(RESUBMIT,        ofpact_resubmit,    ofpact, "resubmit")     \
  |  |  ------------------
  |  |  |  | 9715|     78|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 78, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  111|     78|    OFPACT(LEARN,           ofpact_learn,       specs, "learn")         \
  |  |  ------------------
  |  |  |  | 9715|      6|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 6, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|      6|    OFPACT(CONJUNCTION,     ofpact_conjunction, ofpact, "conjunction")  \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  113|      0|                                                                        \
  |  |  114|      0|    /* Arithmetic. */                                                   \
  |  |  115|      8|    OFPACT(MULTIPATH,       ofpact_multipath,   ofpact, "multipath")    \
  |  |  ------------------
  |  |  |  | 9715|      8|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 8, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  116|      8|                                                                        \
  |  |  117|      8|    /* Other. */                                                        \
  |  |  118|     26|    OFPACT(NOTE,            ofpact_note,        data, "note")           \
  |  |  ------------------
  |  |  |  | 9715|     26|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 26, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  119|     50|    OFPACT(EXIT,            ofpact_null,        ofpact, "exit")         \
  |  |  ------------------
  |  |  |  | 9715|     50|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 50, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  120|     50|    OFPACT(SAMPLE,          ofpact_sample,      ofpact, "sample")       \
  |  |  ------------------
  |  |  |  | 9715|     39|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 39, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|     39|    OFPACT(UNROLL_XLATE,    ofpact_unroll_xlate, ofpact, "unroll_xlate") \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  122|    234|    OFPACT(CT,              ofpact_conntrack,   ofpact, "ct")           \
  |  |  ------------------
  |  |  |  | 9715|    234|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 234, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  123|    234|    OFPACT(CT_CLEAR,        ofpact_null,        ofpact, "ct_clear")     \
  |  |  ------------------
  |  |  |  | 9715|     50|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 50, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  124|     50|    OFPACT(NAT,             ofpact_nat,         ofpact, "nat")          \
  |  |  ------------------
  |  |  |  | 9715|     23|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 23, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  125|     68|    OFPACT(OUTPUT_TRUNC,    ofpact_output_trunc,ofpact, "output_trunc") \
  |  |  ------------------
  |  |  |  | 9715|     68|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 68, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  126|     68|    OFPACT(CLONE,           ofpact_nest,        actions, "clone")       \
  |  |  ------------------
  |  |  |  | 9715|     10|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 10, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  127|     10|    OFPACT(CHECK_PKT_LARGER, ofpact_check_pkt_larger, ofpact,           \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  128|      0|           "check_pkt_larger")                                          \
  |  |  129|      0|                                                                        \
  |  |  130|      0|    /* Debugging actions.                                               \
  |  |  131|      0|     *                                                                  \
  |  |  132|      0|     * These are intentionally undocumented, subject to change, and     \
  |  |  133|      0|     * only accepted if ovs-vswitchd is started with --enable-dummy. */ \
  |  |  134|      0|    OFPACT(DEBUG_RECIRC, ofpact_null,           ofpact, "debug_recirc") \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  135|      0|    OFPACT(DEBUG_SLOW,   ofpact_null,           ofpact, "debug_slow")   \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  136|      0|                                                                        \
  |  |  137|      0|    /* Instructions ("meter" is an action in OF1.5+). */                \
  |  |  138|      0|    OFPACT(METER,           ofpact_meter,       ofpact, "meter")        \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  139|      0|    OFPACT(CLEAR_ACTIONS,   ofpact_null,        ofpact, "clear_actions") \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  140|      0|    OFPACT(WRITE_ACTIONS,   ofpact_nest,        actions, "write_actions") \
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  141|      4|    OFPACT(WRITE_METADATA,  ofpact_metadata,    ofpact, "write_metadata") \
  |  |  ------------------
  |  |  |  | 9715|      4|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 4, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  142|      4|    OFPACT(GOTO_TABLE,      ofpact_goto_table,  ofpact, "goto_table")
  |  |  ------------------
  |  |  |  | 9715|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME) case OFPACT_##ENUM: return NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9715:44): [True: 0, False: 123k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9717|   123k|#undef OFPACT
 9718|   123k|    }
 9719|      0|    return "<unknown>";
 9720|   123k|}
ofp-actions.c:ofpacts_pull_openflow_actions__:
 8060|   225k|{
 8061|   225k|    const struct ofp_action_header *actions;
 8062|   225k|    enum ofperr error;
 8063|       |
 8064|   225k|    if (actions_len % OFP_ACTION_ALIGN != 0) {
  ------------------
  |  |  384|   225k|#define OFP_ACTION_ALIGN 8
  ------------------
  |  Branch (8064:9): [True: 8.54k, False: 216k]
  ------------------
 8065|  8.54k|        VLOG_WARN_RL(&rl, "OpenFlow message actions length %u is not a "
  ------------------
  |  |  224|  8.54k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  8.54k|    do {                                                                \
  |  |  |  |  288|  8.54k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  8.54k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 8.54k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  8.54k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 8.54k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8066|  8.54k|                     "multiple of %d", actions_len, OFP_ACTION_ALIGN);
 8067|  8.54k|        return OFPERR_OFPBRC_BAD_LEN;
 8068|  8.54k|    }
 8069|       |
 8070|   216k|    actions = ofpbuf_try_pull(openflow, actions_len);
 8071|   216k|    if (actions == NULL) {
  ------------------
  |  Branch (8071:9): [True: 1.82k, False: 214k]
  ------------------
 8072|  1.82k|        VLOG_WARN_RL(&rl, "OpenFlow message actions length %u exceeds "
  ------------------
  |  |  224|  1.82k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.82k|    do {                                                                \
  |  |  |  |  288|  1.82k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.82k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.82k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.82k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8073|  1.82k|                     "remaining message length (%"PRIu32")",
 8074|  1.82k|                     actions_len, openflow->size);
 8075|  1.82k|        return OFPERR_OFPBRC_BAD_LEN;
 8076|  1.82k|    }
 8077|       |
 8078|   214k|    error = ofpacts_decode(actions, actions_len, version, vl_mff_map,
 8079|   214k|                           ofpacts_tlv_bitmap, ofpacts);
 8080|   214k|    if (!error) {
  ------------------
  |  Branch (8080:9): [True: 115k, False: 99.2k]
  ------------------
 8081|   115k|        error = ofpacts_verify(ofpacts->data, ofpacts->size, version,
 8082|   115k|                               allowed_ovsinsts, outer_action, NULL);
 8083|   115k|    }
 8084|   214k|    if (error) {
  ------------------
  |  Branch (8084:9): [True: 108k, False: 106k]
  ------------------
 8085|   108k|        ofpbuf_clear(ofpacts);
 8086|   108k|    }
 8087|   214k|    return error;
 8088|   216k|}
ofp-actions.c:action_set_classify:
 8189|  47.2k|{
 8190|  47.2k|    switch (a->type) {
 8191|      0|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
 8192|      0|        ACTION_SET_ORDER
  ------------------
  |  | 8140|  3.48k|    SLOT(OFPACT_STRIP_VLAN)                     \
  |  |  ------------------
  |  |  |  | 8191|  3.48k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 3.48k, False: 43.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8141|  4.64k|    SLOT(OFPACT_POP_MPLS)                       \
  |  |  ------------------
  |  |  |  | 8191|  4.64k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 4.64k, False: 42.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8142|  7.13k|    SLOT(OFPACT_DECAP)                          \
  |  |  ------------------
  |  |  |  | 8191|  7.13k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 7.13k, False: 40.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8143|  7.13k|    SLOT(OFPACT_ENCAP)                          \
  |  |  ------------------
  |  |  |  | 8191|  2.85k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 2.85k, False: 44.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8144|  3.78k|    SLOT(OFPACT_PUSH_MPLS)                      \
  |  |  ------------------
  |  |  |  | 8191|  3.78k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 3.78k, False: 43.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8145|  3.78k|    SLOT(OFPACT_PUSH_VLAN)                      \
  |  |  ------------------
  |  |  |  | 8191|  1.32k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 1.32k, False: 45.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8146|  1.33k|    SLOT(OFPACT_DEC_TTL)                        \
  |  |  ------------------
  |  |  |  | 8191|  1.33k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 1.33k, False: 45.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8147|  5.97k|    SLOT(OFPACT_DEC_MPLS_TTL)                   \
  |  |  ------------------
  |  |  |  | 8191|  5.97k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 5.97k, False: 41.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8148|  5.97k|    SLOT(OFPACT_DEC_NSH_TTL)
  |  |  ------------------
  |  |  |  | 8191|  1.18k|#define SLOT(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8191:22): [True: 1.18k, False: 46.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8193|      0|#undef SLOT
 8194|       |
 8195|      0|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
 8196|  1.18k|        ACTION_SET_FINAL_PRIORITY
  ------------------
  |  | 8155|     86|    FINAL(OFPACT_CT)                            \
  |  |  ------------------
  |  |  |  | 8195|     86|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8195:23): [True: 86, False: 47.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8156|     86|    FINAL(OFPACT_CT_CLEAR)                      \
  |  |  ------------------
  |  |  |  | 8195|     18|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8195:23): [True: 18, False: 47.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8157|    436|    FINAL(OFPACT_RESUBMIT)                      \
  |  |  ------------------
  |  |  |  | 8195|    436|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8195:23): [True: 436, False: 46.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8158|    436|    FINAL(OFPACT_OUTPUT)                        \
  |  |  ------------------
  |  |  |  | 8195|     33|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8195:23): [True: 33, False: 47.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8159|    258|    FINAL(OFPACT_GROUP)
  |  |  ------------------
  |  |  |  | 8195|    258|#define FINAL(OFPACT) case OFPACT: return ACTION_SLOT_##OFPACT;
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8195:23): [True: 258, False: 46.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8197|      0|#undef FINAL
 8198|       |
 8199|     76|    case OFPACT_SET_FIELD:
  ------------------
  |  Branch (8199:5): [True: 76, False: 47.1k]
  ------------------
 8200|    145|    case OFPACT_REG_MOVE:
  ------------------
  |  Branch (8200:5): [True: 69, False: 47.1k]
  ------------------
 8201|    158|    case OFPACT_SET_ETH_DST:
  ------------------
  |  Branch (8201:5): [True: 13, False: 47.1k]
  ------------------
 8202|    537|    case OFPACT_SET_ETH_SRC:
  ------------------
  |  Branch (8202:5): [True: 379, False: 46.8k]
  ------------------
 8203|  1.53k|    case OFPACT_SET_IP_DSCP:
  ------------------
  |  Branch (8203:5): [True: 1.00k, False: 46.2k]
  ------------------
 8204|  4.98k|    case OFPACT_SET_IP_ECN:
  ------------------
  |  Branch (8204:5): [True: 3.44k, False: 43.7k]
  ------------------
 8205|  6.29k|    case OFPACT_SET_IP_TTL:
  ------------------
  |  Branch (8205:5): [True: 1.31k, False: 45.8k]
  ------------------
 8206|  6.39k|    case OFPACT_SET_IPV4_DST:
  ------------------
  |  Branch (8206:5): [True: 98, False: 47.1k]
  ------------------
 8207|  6.44k|    case OFPACT_SET_IPV4_SRC:
  ------------------
  |  Branch (8207:5): [True: 55, False: 47.1k]
  ------------------
 8208|  7.20k|    case OFPACT_SET_L4_DST_PORT:
  ------------------
  |  Branch (8208:5): [True: 759, False: 46.4k]
  ------------------
 8209|  7.33k|    case OFPACT_SET_L4_SRC_PORT:
  ------------------
  |  Branch (8209:5): [True: 124, False: 47.0k]
  ------------------
 8210|  8.79k|    case OFPACT_SET_MPLS_LABEL:
  ------------------
  |  Branch (8210:5): [True: 1.46k, False: 45.7k]
  ------------------
 8211|  10.1k|    case OFPACT_SET_MPLS_TC:
  ------------------
  |  Branch (8211:5): [True: 1.40k, False: 45.8k]
  ------------------
 8212|  12.1k|    case OFPACT_SET_MPLS_TTL:
  ------------------
  |  Branch (8212:5): [True: 1.95k, False: 45.2k]
  ------------------
 8213|  12.2k|    case OFPACT_SET_QUEUE:
  ------------------
  |  Branch (8213:5): [True: 93, False: 47.1k]
  ------------------
 8214|  12.3k|    case OFPACT_SET_TUNNEL:
  ------------------
  |  Branch (8214:5): [True: 74, False: 47.1k]
  ------------------
 8215|  13.2k|    case OFPACT_SET_VLAN_PCP:
  ------------------
  |  Branch (8215:5): [True: 915, False: 46.2k]
  ------------------
 8216|  13.2k|    case OFPACT_SET_VLAN_VID:
  ------------------
  |  Branch (8216:5): [True: 28, False: 47.1k]
  ------------------
 8217|  13.2k|        return ACTION_SLOT_SET_OR_MOVE;
 8218|       |
 8219|      0|    case OFPACT_BUNDLE:
  ------------------
  |  Branch (8219:5): [True: 0, False: 47.2k]
  ------------------
 8220|      0|    case OFPACT_CLEAR_ACTIONS:
  ------------------
  |  Branch (8220:5): [True: 0, False: 47.2k]
  ------------------
 8221|      5|    case OFPACT_CLONE:
  ------------------
  |  Branch (8221:5): [True: 5, False: 47.2k]
  ------------------
 8222|     11|    case OFPACT_NAT:
  ------------------
  |  Branch (8222:5): [True: 6, False: 47.2k]
  ------------------
 8223|     13|    case OFPACT_CONTROLLER:
  ------------------
  |  Branch (8223:5): [True: 2, False: 47.2k]
  ------------------
 8224|     13|    case OFPACT_ENQUEUE:
  ------------------
  |  Branch (8224:5): [True: 0, False: 47.2k]
  ------------------
 8225|     41|    case OFPACT_EXIT:
  ------------------
  |  Branch (8225:5): [True: 28, False: 47.1k]
  ------------------
 8226|     41|    case OFPACT_UNROLL_XLATE:
  ------------------
  |  Branch (8226:5): [True: 0, False: 47.2k]
  ------------------
 8227|     47|    case OFPACT_FIN_TIMEOUT:
  ------------------
  |  Branch (8227:5): [True: 6, False: 47.2k]
  ------------------
 8228|     47|    case OFPACT_GOTO_TABLE:
  ------------------
  |  Branch (8228:5): [True: 0, False: 47.2k]
  ------------------
 8229|    136|    case OFPACT_LEARN:
  ------------------
  |  Branch (8229:5): [True: 89, False: 47.1k]
  ------------------
 8230|    136|    case OFPACT_CONJUNCTION:
  ------------------
  |  Branch (8230:5): [True: 0, False: 47.2k]
  ------------------
 8231|  1.28k|    case OFPACT_METER:
  ------------------
  |  Branch (8231:5): [True: 1.14k, False: 46.0k]
  ------------------
 8232|  1.31k|    case OFPACT_MULTIPATH:
  ------------------
  |  Branch (8232:5): [True: 33, False: 47.1k]
  ------------------
 8233|  1.32k|    case OFPACT_NOTE:
  ------------------
  |  Branch (8233:5): [True: 12, False: 47.1k]
  ------------------
 8234|  1.32k|    case OFPACT_OUTPUT_REG:
  ------------------
  |  Branch (8234:5): [True: 1, False: 47.2k]
  ------------------
 8235|  1.34k|    case OFPACT_OUTPUT_TRUNC:
  ------------------
  |  Branch (8235:5): [True: 13, False: 47.1k]
  ------------------
 8236|  1.34k|    case OFPACT_POP_QUEUE:
  ------------------
  |  Branch (8236:5): [True: 3, False: 47.2k]
  ------------------
 8237|  1.37k|    case OFPACT_SAMPLE:
  ------------------
  |  Branch (8237:5): [True: 29, False: 47.1k]
  ------------------
 8238|  1.37k|    case OFPACT_STACK_POP:
  ------------------
  |  Branch (8238:5): [True: 0, False: 47.2k]
  ------------------
 8239|  1.37k|    case OFPACT_STACK_PUSH:
  ------------------
  |  Branch (8239:5): [True: 0, False: 47.2k]
  ------------------
 8240|  1.37k|    case OFPACT_WRITE_ACTIONS:
  ------------------
  |  Branch (8240:5): [True: 0, False: 47.2k]
  ------------------
 8241|  1.37k|    case OFPACT_WRITE_METADATA:
  ------------------
  |  Branch (8241:5): [True: 1, False: 47.2k]
  ------------------
 8242|  1.37k|    case OFPACT_DEBUG_RECIRC:
  ------------------
  |  Branch (8242:5): [True: 0, False: 47.2k]
  ------------------
 8243|  1.37k|    case OFPACT_DEBUG_SLOW:
  ------------------
  |  Branch (8243:5): [True: 0, False: 47.2k]
  ------------------
 8244|  1.37k|    case OFPACT_CHECK_PKT_LARGER:
  ------------------
  |  Branch (8244:5): [True: 0, False: 47.2k]
  ------------------
 8245|  1.38k|    case OFPACT_DELETE_FIELD:
  ------------------
  |  Branch (8245:5): [True: 7, False: 47.2k]
  ------------------
 8246|  1.38k|        return ACTION_SLOT_INVALID;
 8247|       |
 8248|      0|    default:
  ------------------
  |  Branch (8248:5): [True: 0, False: 47.2k]
  ------------------
 8249|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 8250|  47.2k|    }
 8251|  47.2k|}
ofp-actions.c:get_ovsinst_map:
 8482|  20.1k|{
 8483|       |    /* OpenFlow 1.1, 1.2, and 1.5 instructions. */
 8484|  20.1k|    static const struct ovsinst_map of11[] = {
 8485|  20.1k|        { OVSINST_OFPIT11_GOTO_TABLE, 1 },
 8486|  20.1k|        { OVSINST_OFPIT11_WRITE_METADATA, 2 },
 8487|  20.1k|        { OVSINST_OFPIT11_WRITE_ACTIONS, 3 },
 8488|  20.1k|        { OVSINST_OFPIT11_APPLY_ACTIONS, 4 },
 8489|  20.1k|        { OVSINST_OFPIT11_CLEAR_ACTIONS, 5 },
 8490|  20.1k|        { 0, -1 },
 8491|  20.1k|    };
 8492|       |
 8493|       |    /* OpenFlow 1.3 and 1.4 instructions. */
 8494|  20.1k|    static const struct ovsinst_map of13[] = {
 8495|  20.1k|        { OVSINST_OFPIT11_GOTO_TABLE, 1 },
 8496|  20.1k|        { OVSINST_OFPIT11_WRITE_METADATA, 2 },
 8497|  20.1k|        { OVSINST_OFPIT11_WRITE_ACTIONS, 3 },
 8498|  20.1k|        { OVSINST_OFPIT11_APPLY_ACTIONS, 4 },
 8499|  20.1k|        { OVSINST_OFPIT11_CLEAR_ACTIONS, 5 },
 8500|  20.1k|        { OVSINST_OFPIT13_METER, 6 },
 8501|  20.1k|        { 0, -1 },
 8502|  20.1k|    };
 8503|       |
 8504|  20.1k|    return version == OFP13_VERSION || version == OFP14_VERSION ? of13 : of11;
  ------------------
  |  Branch (8504:12): [True: 0, False: 20.1k]
  |  Branch (8504:40): [True: 0, False: 20.1k]
  ------------------
 8505|  20.1k|}
ofp-actions.c:decode_openflow11_instructions:
 8598|  39.4k|{
 8599|  39.4k|    const struct ofp11_instruction *inst;
 8600|  39.4k|    size_t left;
 8601|       |
 8602|  39.4k|    memset(out, 0, N_OVS_INSTRUCTIONS * sizeof *out);
 8603|  39.4k|    INSTRUCTION_FOR_EACH (inst, left, insts, n_insts) {
  ------------------
  |  | 8560|  39.4k|    for ((ITER) = (INSTRUCTIONS), (LEFT) = (N_INSTRUCTIONS);            \
  |  | 8561|  65.9k|         (LEFT) > 0 && instruction_is_valid(ITER, LEFT);                \
  |  |  ------------------
  |  |  |  Branch (8561:10): [True: 31.7k, False: 34.2k]
  |  |  |  Branch (8561:24): [True: 28.3k, False: 3.35k]
  |  |  ------------------
  |  | 8562|  39.4k|         ((LEFT) -= (ntohs((ITER)->len)                                 \
  |  | 8563|  26.5k|                     / sizeof(struct ofp11_instruction)),               \
  |  | 8564|  26.5k|          (ITER) = instruction_next(ITER)))
  ------------------
 8604|  28.3k|        enum ovs_instruction_type type;
 8605|  28.3k|        enum ofperr error;
 8606|       |
 8607|  28.3k|        error = decode_openflow11_instruction(inst, &type);
 8608|  28.3k|        if (error) {
  ------------------
  |  Branch (8608:13): [True: 1.68k, False: 26.6k]
  ------------------
 8609|  1.68k|            return error;
 8610|  1.68k|        }
 8611|       |
 8612|  26.6k|        if (type == OVSINST_OFPIT13_METER && version >= OFP15_VERSION) {
  ------------------
  |  Branch (8612:13): [True: 680, False: 26.0k]
  |  Branch (8612:46): [True: 50, False: 630]
  ------------------
 8613|       |            /* "meter" is an action, not an instruction, in OpenFlow 1.5. */
 8614|     50|            return OFPERR_OFPBIC_UNKNOWN_INST;
 8615|     50|        }
 8616|       |
 8617|  26.6k|        if (out[type]) {
  ------------------
  |  Branch (8617:13): [True: 88, False: 26.5k]
  ------------------
 8618|     88|            return OFPERR_OFPBIC_DUP_INST;
 8619|     88|        }
 8620|  26.5k|        out[type] = inst;
 8621|  26.5k|    }
 8622|       |
 8623|  37.6k|    if (left) {
  ------------------
  |  Branch (8623:9): [True: 3.35k, False: 34.2k]
  ------------------
 8624|  3.35k|        VLOG_WARN_RL(&rl, "bad instruction format at offset %"PRIuSIZE,
  ------------------
  |  |  224|  3.35k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  3.35k|    do {                                                                \
  |  |  |  |  288|  3.35k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  3.35k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3.35k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  3.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8625|  3.35k|                     (n_insts - left) * sizeof *inst);
 8626|  3.35k|        return OFPERR_OFPBIC_BAD_LEN;
 8627|  3.35k|    }
 8628|  34.2k|    return 0;
 8629|  37.6k|}
ofp-actions.c:instruction_is_valid:
 8551|  31.7k|{
 8552|  31.7k|    uint16_t len = ntohs(inst->len);
 8553|  31.7k|    return (!(len % OFP11_INSTRUCTION_ALIGN)
  ------------------
  |  |  262|  31.7k|#define OFP11_INSTRUCTION_ALIGN 8
  ------------------
  |  Branch (8553:13): [True: 29.0k, False: 2.63k]
  ------------------
 8554|  29.0k|            && len >= sizeof *inst
  ------------------
  |  Branch (8554:16): [True: 28.6k, False: 461]
  ------------------
 8555|  28.6k|            && len / sizeof *inst <= n_instructions);
  ------------------
  |  Branch (8555:16): [True: 28.3k, False: 259]
  ------------------
 8556|  31.7k|}
ofp-actions.c:decode_openflow11_instruction:
 8569|  28.3k|{
 8570|  28.3k|    uint16_t len = ntohs(inst->len);
 8571|       |
 8572|  28.3k|    switch (inst->type) {
 8573|    113|    case CONSTANT_HTONS(OFPIT11_EXPERIMENTER):
  ------------------
  |  |   84|    113|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |   85|    113|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  ------------------
  |  Branch (8573:5): [True: 113, False: 28.2k]
  ------------------
 8574|    113|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
 8575|       |
 8576|      0|#define DEFINE_INST(ENUM, STRUCT, EXTENSIBLE, NAME)     \
 8577|      0|        case CONSTANT_HTONS(ENUM):                      \
 8578|      0|            if (EXTENSIBLE                              \
 8579|      0|                ? len >= sizeof(struct STRUCT)          \
 8580|      0|                : len == sizeof(struct STRUCT)) {       \
 8581|      0|                *type = OVSINST_##ENUM;                 \
 8582|      0|                return 0;                               \
 8583|      0|            } else {                                    \
 8584|      0|                return OFPERR_OFPBIC_BAD_LEN;           \
 8585|      0|            }
 8586|    113|OVS_INSTRUCTIONS
  ------------------
  |  | 1344|    746|    DEFINE_INST(OFPIT13_METER,                              \
  |  |  ------------------
  |  |  |  | 8577|    746|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|    746|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|    746|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 746, False: 27.6k]
  |  |  |  |  ------------------
  |  |  |  | 8578|    746|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [Folded, False: 746]
  |  |  |  |  |  Branch (8578:17): [True: 680, False: 66]
  |  |  |  |  ------------------
  |  |  |  | 8579|    746|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|    746|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|    680|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|    680|                return 0;                               \
  |  |  |  | 8583|    680|            } else {                                    \
  |  |  |  | 8584|     66|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|     66|            }
  |  |  ------------------
  |  | 1345|    746|                ofp13_instruction_meter,          false,    \
  |  | 1346|    746|                "meter")                                    \
  |  | 1347|    746|                                                            \
  |  | 1348|  4.33k|    DEFINE_INST(OFPIT11_APPLY_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8577|  4.33k|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  4.33k|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|  4.33k|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 4.33k, False: 24.0k]
  |  |  |  |  ------------------
  |  |  |  | 8578|  4.33k|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [True: 4.33k, Folded]
  |  |  |  |  |  Branch (8578:17): [True: 4.33k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8579|  4.33k|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|  4.33k|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|  4.33k|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|  4.33k|                return 0;                               \
  |  |  |  | 8583|  4.33k|            } else {                                    \
  |  |  |  | 8584|      0|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|      0|            }
  |  |  ------------------
  |  | 1349|  4.33k|                ofp11_instruction_actions,        true,     \
  |  | 1350|  4.33k|                "apply_actions")                            \
  |  | 1351|  4.33k|                                                            \
  |  | 1352|  4.33k|    DEFINE_INST(OFPIT11_CLEAR_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8577|    286|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|    286|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|    286|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 286, False: 28.0k]
  |  |  |  |  ------------------
  |  |  |  | 8578|    286|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [Folded, False: 286]
  |  |  |  |  |  Branch (8578:17): [True: 275, False: 11]
  |  |  |  |  ------------------
  |  |  |  | 8579|    286|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|    286|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|    275|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|    275|                return 0;                               \
  |  |  |  | 8583|    275|            } else {                                    \
  |  |  |  | 8584|     11|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|     11|            }
  |  |  ------------------
  |  | 1353|    286|                ofp11_instruction,                false,    \
  |  | 1354|    286|                "clear_actions")                            \
  |  | 1355|    286|                                                            \
  |  | 1356|  18.5k|    DEFINE_INST(OFPIT11_WRITE_ACTIONS,                      \
  |  |  ------------------
  |  |  |  | 8577|  18.5k|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  18.5k|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|  18.5k|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 18.5k, False: 9.83k]
  |  |  |  |  ------------------
  |  |  |  | 8578|  18.5k|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [True: 18.5k, Folded]
  |  |  |  |  |  Branch (8578:17): [True: 18.5k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8579|  18.5k|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|  18.5k|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|  18.5k|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|  18.5k|                return 0;                               \
  |  |  |  | 8583|  18.5k|            } else {                                    \
  |  |  |  | 8584|      0|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|      0|            }
  |  |  ------------------
  |  | 1357|  18.5k|                ofp11_instruction_actions,        true,     \
  |  | 1358|  18.5k|                "write_actions")                            \
  |  | 1359|  18.5k|                                                            \
  |  | 1360|  18.5k|    DEFINE_INST(OFPIT11_WRITE_METADATA,                     \
  |  |  ------------------
  |  |  |  | 8577|    945|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|    945|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|    945|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 945, False: 27.4k]
  |  |  |  |  ------------------
  |  |  |  | 8578|    945|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [Folded, False: 945]
  |  |  |  |  |  Branch (8578:17): [True: 845, False: 100]
  |  |  |  |  ------------------
  |  |  |  | 8579|    945|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|    945|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|    845|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|    845|                return 0;                               \
  |  |  |  | 8583|    845|            } else {                                    \
  |  |  |  | 8584|    100|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|    100|            }
  |  |  ------------------
  |  | 1361|    945|                ofp11_instruction_write_metadata, false,    \
  |  | 1362|    945|                "write_metadata")                           \
  |  | 1363|    945|                                                            \
  |  | 1364|  2.15k|    DEFINE_INST(OFPIT11_GOTO_TABLE,                         \
  |  |  ------------------
  |  |  |  | 8577|  2.15k|        case CONSTANT_HTONS(ENUM):                      \
  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  2.15k|        (((((ovs_be16) (VALUE)) & 0xff00) >> 8) |   \
  |  |  |  |  |  |   85|  2.15k|         ((((ovs_be16) (VALUE)) & 0x00ff) << 8))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8577:9): [True: 2.15k, False: 26.2k]
  |  |  |  |  ------------------
  |  |  |  | 8578|  2.15k|            if (EXTENSIBLE                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8578:17): [Folded, False: 2.15k]
  |  |  |  |  |  Branch (8578:17): [True: 2.01k, False: 132]
  |  |  |  |  ------------------
  |  |  |  | 8579|  2.15k|                ? len >= sizeof(struct STRUCT)          \
  |  |  |  | 8580|  2.15k|                : len == sizeof(struct STRUCT)) {       \
  |  |  |  | 8581|  2.01k|                *type = OVSINST_##ENUM;                 \
  |  |  |  | 8582|  2.01k|                return 0;                               \
  |  |  |  | 8583|  2.01k|            } else {                                    \
  |  |  |  | 8584|    132|                return OFPERR_OFPBIC_BAD_LEN;           \
  |  |  |  | 8585|    132|            }
  |  |  ------------------
  |  | 1365|  2.15k|                ofp11_instruction_goto_table,     false,    \
  |  | 1366|  2.15k|                "goto_table")
  ------------------
 8587|      0|#undef DEFINE_INST
 8588|       |
 8589|  1.26k|    default:
  ------------------
  |  Branch (8589:5): [True: 1.26k, False: 27.1k]
  ------------------
 8590|  1.26k|        return OFPERR_OFPBIC_UNKNOWN_INST;
 8591|  28.3k|    }
 8592|  28.3k|}
ofp-actions.c:instruction_next:
 8543|  26.5k|{
 8544|  26.5k|    return ((struct ofp11_instruction *) (void *)
 8545|       |            ((uint8_t *) inst + ntohs(inst->len)));
 8546|  26.5k|}
ofp-actions.c:get_actions_from_instruction:
 8635|  22.7k|{
 8636|  22.7k|    *actions = ALIGNED_CAST(const struct ofp_action_header *, inst + 1);
  ------------------
  |  |  434|  22.7k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 8637|       |    *actions_len = ntohs(inst->len) - sizeof *inst;
 8638|  22.7k|}
ofp-actions.c:ofpacts_decode:
 8029|   237k|{
 8030|   237k|    size_t bad_action_offset = 0;
 8031|   237k|    struct ofpbuf aligned_buf;
 8032|       |
 8033|   237k|    if (!OFPACT_IS_ALIGNED(actions)) {
  ------------------
  |  |  206|   237k|#define OFPACT_IS_ALIGNED(ADDR) ((uintptr_t) (ADDR) % OFPACT_ALIGNTO == 0)
  |  |  ------------------
  |  |  |  |  204|   237k|#define OFPACT_ALIGNTO 8
  |  |  ------------------
  ------------------
  |  Branch (8033:9): [True: 133k, False: 103k]
  ------------------
 8034|   133k|        ofpbuf_init(&aligned_buf, actions_len);
 8035|   133k|        ofpbuf_put(&aligned_buf, actions, actions_len);
 8036|   133k|    } else {
 8037|   103k|        ofpbuf_use_data(&aligned_buf, actions, actions_len);
 8038|   103k|    }
 8039|       |
 8040|   237k|    enum ofperr error
 8041|   237k|        = ofpacts_decode_aligned(&aligned_buf, ofp_version, vl_mff_map,
 8042|   237k|                                 ofpacts_tlv_bitmap, ofpacts,
 8043|   237k|                                 &bad_action_offset);
 8044|   237k|    if (error) {
  ------------------
  |  Branch (8044:9): [True: 105k, False: 132k]
  ------------------
 8045|   105k|        log_bad_action(actions, actions_len, bad_action_offset, error);
 8046|   105k|    }
 8047|   237k|    ofpbuf_uninit(&aligned_buf);
 8048|   237k|    return error;
 8049|   237k|}
ofp-actions.c:ofpacts_decode_aligned:
 7986|   237k|{
 7987|   237k|    size_t decoded_len = 0;
 7988|   237k|    enum ofperr error = 0;
 7989|       |
 7990|   237k|    ovs_assert(OFPACT_IS_ALIGNED(openflow->data));
  ------------------
  |  |   62|   237k|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(OFPACT_IS_ALIGNED(openflow->data));
  ------------------
  |  |  206|   237k|#define OFPACT_IS_ALIGNED(ADDR) ((uintptr_t) (ADDR) % OFPACT_ALIGNTO == 0)
  |  |  ------------------
  |  |  |  |  204|   237k|#define OFPACT_ALIGNTO 8
  |  |  ------------------
  ------------------
 7991|   476k|    while (openflow->size) {
  ------------------
  |  Branch (7991:12): [True: 344k, False: 132k]
  ------------------
 7992|       |        /* Ensure the next action data is properly aligned before decoding it.
 7993|       |         * Some times it's valid to have to decode actions that are not
 7994|       |         * properly aligned (e.g., when processing OF 1.0 statistics reply
 7995|       |         * messages which have a header of 12 bytes - struct ofp10_stats_msg).
 7996|       |         * In other cases the encoder might be buggy.
 7997|       |         */
 7998|   344k|        if (!OFPACT_IS_ALIGNED(openflow->data)) {
  ------------------
  |  |  206|   344k|#define OFPACT_IS_ALIGNED(ADDR) ((uintptr_t) (ADDR) % OFPACT_ALIGNTO == 0)
  |  |  ------------------
  |  |  |  |  204|   344k|#define OFPACT_ALIGNTO 8
  |  |  ------------------
  ------------------
  |  Branch (7998:13): [True: 0, False: 344k]
  ------------------
 7999|      0|            ofpbuf_align(openflow);
 8000|      0|        }
 8001|       |
 8002|   344k|        const struct ofp_action_header *action = openflow->data;
 8003|   344k|        enum ofp_raw_action_type raw;
 8004|   344k|        size_t act_len = 0;
 8005|   344k|        uint64_t arg;
 8006|       |
 8007|   344k|        error = ofpact_pull_raw(openflow, ofp_version, &raw, &arg, &act_len);
 8008|   344k|        if (!error) {
  ------------------
  |  Branch (8008:13): [True: 300k, False: 43.2k]
  ------------------
 8009|   300k|            error = ofpact_decode(action, raw, ofp_version, arg, vl_mff_map,
 8010|   300k|                                  ofpacts_tlv_bitmap, ofpacts);
 8011|   300k|        }
 8012|       |
 8013|   344k|        if (error) {
  ------------------
  |  Branch (8013:13): [True: 105k, False: 238k]
  ------------------
 8014|   105k|            *bad_action_offset = decoded_len;
 8015|   105k|            goto done;
 8016|   105k|        }
 8017|   238k|        decoded_len += act_len;
 8018|   238k|    }
 8019|       |
 8020|   237k|done:
 8021|   237k|    return error;
 8022|   237k|}
ofp-actions.c:ofpact_pull_raw:
 9903|   344k|{
 9904|   344k|    const struct ofp_action_header *oah = buf->data;
 9905|   344k|    const struct ofpact_raw_instance *action;
 9906|   344k|    unsigned int length;
 9907|   344k|    enum ofperr error;
 9908|       |
 9909|   344k|    *raw = *arg = *raw_len = 0;
 9910|   344k|    error = ofpact_decode_raw(ofp_version, oah, buf->size, &action);
 9911|   344k|    if (error) {
  ------------------
  |  Branch (9911:9): [True: 28.8k, False: 315k]
  ------------------
 9912|  28.8k|        return error;
 9913|  28.8k|    }
 9914|       |
 9915|   315k|    if (action->deprecation) {
  ------------------
  |  Branch (9915:9): [True: 19.8k, False: 295k]
  ------------------
 9916|  19.8k|        VLOG_INFO_RL(&rl, "%s is deprecated in %s (%s)",
  ------------------
  |  |  225|  19.8k|#define VLOG_INFO_RL(RL, ...) VLOG_RL(RL, VLL_INFO, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  19.8k|    do {                                                                \
  |  |  |  |  288|  19.8k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  19.8k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 19.8k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  19.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 19.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9917|  19.8k|                     action->name, ofputil_version_to_string(ofp_version),
 9918|  19.8k|                     action->deprecation);
 9919|  19.8k|    }
 9920|       |
 9921|   315k|    length = ntohs(oah->len);
 9922|   315k|    if (length > buf->size) {
  ------------------
  |  Branch (9922:9): [True: 5.29k, False: 309k]
  ------------------
 9923|  5.29k|        VLOG_WARN_RL(&rl, "OpenFlow action %s length %u exceeds action buffer "
  ------------------
  |  |  224|  5.29k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  5.29k|    do {                                                                \
  |  |  |  |  288|  5.29k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  5.29k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 5.29k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  5.29k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 5.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9924|  5.29k|                     "length %"PRIu32, action->name, length, buf->size);
 9925|  5.29k|        return OFPERR_OFPBAC_BAD_LEN;
 9926|  5.29k|    }
 9927|   309k|    if (length < action->min_length || length > action->max_length) {
  ------------------
  |  Branch (9927:9): [True: 4.41k, False: 305k]
  |  Branch (9927:40): [True: 2.94k, False: 302k]
  ------------------
 9928|  7.36k|        VLOG_WARN_RL(&rl, "OpenFlow action %s length %u not in valid range "
  ------------------
  |  |  224|  7.36k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  7.36k|    do {                                                                \
  |  |  |  |  288|  7.36k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  7.36k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 7.36k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  7.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 7.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9929|  7.36k|                     "[%hu,%hu]", action->name, length,
 9930|  7.36k|                     action->min_length, action->max_length);
 9931|  7.36k|        return OFPERR_OFPBAC_BAD_LEN;
 9932|  7.36k|    }
 9933|   302k|    if (length % 8) {
  ------------------
  |  Branch (9933:9): [True: 1.71k, False: 300k]
  ------------------
 9934|  1.71k|        VLOG_WARN_RL(&rl, "OpenFlow action %s length %u is not a multiple "
  ------------------
  |  |  224|  1.71k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.71k|    do {                                                                \
  |  |  |  |  288|  1.71k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.71k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.71k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9935|  1.71k|                     "of 8", action->name, length);
 9936|  1.71k|        return OFPERR_OFPBAC_BAD_LEN;
 9937|  1.71k|    }
 9938|       |
 9939|   300k|    *raw = action->raw;
 9940|   300k|    *arg = 0;
 9941|   300k|    if (action->arg_len) {
  ------------------
  |  Branch (9941:9): [True: 91.8k, False: 208k]
  ------------------
 9942|  91.8k|        const uint8_t *p;
 9943|  91.8k|        int i;
 9944|       |
 9945|  91.8k|        p = ofpbuf_at_assert(buf, action->arg_ofs, action->arg_len);
 9946|   295k|        for (i = 0; i < action->arg_len; i++) {
  ------------------
  |  Branch (9946:21): [True: 203k, False: 91.8k]
  ------------------
 9947|   203k|            *arg = (*arg << 8) | p[i];
 9948|   203k|        }
 9949|  91.8k|    }
 9950|       |
 9951|   300k|    ofpbuf_pull(buf, length);
 9952|   300k|    *raw_len = length;
 9953|       |
 9954|   300k|    return 0;
 9955|   302k|}
ofp-actions.c:ofpact_decode_raw:
 9850|   344k|{
 9851|   344k|    const struct ofpact_raw_instance *inst;
 9852|   344k|    struct ofpact_hdrs hdrs;
 9853|       |
 9854|   344k|    *instp = NULL;
 9855|   344k|    if (length < sizeof *oah) {
  ------------------
  |  Branch (9855:9): [True: 0, False: 344k]
  ------------------
 9856|      0|        return OFPERR_OFPBAC_BAD_LEN;
 9857|      0|    }
 9858|       |
 9859|       |    /* Get base action type. */
 9860|   344k|    if (oah->type == htons(OFPAT_VENDOR)) {
  ------------------
  |  Branch (9860:9): [True: 177k, False: 167k]
  ------------------
 9861|       |        /* Get vendor. */
 9862|   177k|        hdrs.vendor = ntohl(oah->vendor);
 9863|   177k|        if (hdrs.vendor == NX_VENDOR_ID || hdrs.vendor == ONF_VENDOR_ID) {
  ------------------
  |  |  110|   354k|#define NX_VENDOR_ID    0x00002320 /* Nicira. */
  ------------------
                      if (hdrs.vendor == NX_VENDOR_ID || hdrs.vendor == ONF_VENDOR_ID) {
  ------------------
  |  |  111|  11.2k|#define ONF_VENDOR_ID   0x4f4e4600 /* Open Networking Foundation. */
  ------------------
  |  Branch (9863:13): [True: 165k, False: 11.2k]
  |  Branch (9863:44): [True: 26, False: 11.2k]
  ------------------
 9864|       |            /* Get extension subtype. */
 9865|   165k|            const struct ext_action_header *nah;
 9866|       |
 9867|   165k|            nah = ALIGNED_CAST(const struct ext_action_header *, oah);
  ------------------
  |  |  434|   165k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 9868|   165k|            if (length < sizeof *nah) {
  ------------------
  |  Branch (9868:17): [True: 316, False: 165k]
  ------------------
 9869|    316|                return OFPERR_OFPBAC_BAD_LEN;
 9870|    316|            }
 9871|   165k|            hdrs.type = ntohs(nah->subtype);
 9872|   165k|        } else {
 9873|  11.2k|            VLOG_WARN_RL(&rl, "OpenFlow action has unknown vendor %#"PRIx32,
  ------------------
  |  |  224|  11.2k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  11.2k|    do {                                                                \
  |  |  |  |  288|  11.2k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  11.2k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 11.2k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  11.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 11.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9874|  11.2k|                         hdrs.vendor);
 9875|  11.2k|            return OFPERR_OFPBAC_BAD_VENDOR;
 9876|  11.2k|        }
 9877|   177k|    } else {
 9878|   167k|        hdrs.vendor = 0;
 9879|   167k|        hdrs.type = ntohs(oah->type);
 9880|   167k|    }
 9881|       |
 9882|   332k|    hdrs.ofp_version = ofp_version;
 9883|   332k|    HMAP_FOR_EACH_WITH_HASH (inst, decode_node, ofpact_hdrs_hash(&hdrs),
  ------------------
  |  |  138|   332k|    for (INIT_MULTIVAR(NODE, MEMBER, hmap_first_with_hash(HMAP, HASH),        \
  |  |  ------------------
  |  |  |  |  171|   332k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|   332k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  139|   332k|                       struct hmap_node);                                     \
  |  |  140|   332k|         CONDITION_MULTIVAR(NODE, MEMBER, ITER_VAR(NODE) != NULL);            \
  |  |  ------------------
  |  |  |  |  185|   332k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 315k, False: 17.3k]
  |  |  |  |  |  Branch (185:6): [True: 315k, False: 17.3k]
  |  |  |  |  ------------------
  |  |  |  |  186|   332k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   315k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|   315k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|   315k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|   332k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |  141|   332k|         UPDATE_MULTIVAR(NODE, hmap_next_with_hash(ITER_VAR(NODE))))
  |  |  ------------------
  |  |  |  |  193|      0|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|      0|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9884|   332k|                             ofpact_decode_hmap()) {
 9885|   315k|        if (ofpact_hdrs_equal(&hdrs, &inst->hdrs)) {
  ------------------
  |  Branch (9885:13): [True: 315k, False: 0]
  ------------------
 9886|   315k|            *instp = inst;
 9887|   315k|            return 0;
 9888|   315k|        }
 9889|   315k|    }
 9890|       |
 9891|  17.3k|    VLOG_WARN_RL(&rl, "unknown %s action for vendor %#"PRIx32" and "
  ------------------
  |  |  224|  17.3k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  17.3k|    do {                                                                \
  |  |  |  |  288|  17.3k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  17.3k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 17.3k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  17.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 17.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9892|  17.3k|                 "type %"PRIu16, ofputil_version_to_string(ofp_version),
 9893|  17.3k|                 hdrs.vendor, hdrs.type);
 9894|  17.3k|    return (hdrs.vendor
  ------------------
  |  Branch (9894:13): [True: 2.32k, False: 14.9k]
  ------------------
 9895|  17.3k|            ? OFPERR_OFPBAC_BAD_VENDOR_TYPE
 9896|  17.3k|            : OFPERR_OFPBAC_BAD_TYPE);
 9897|   332k|}
ofp-actions.c:ofpact_decode_hmap:
 9806|   332k|{
 9807|   332k|    static struct ovsthread_once once = OVSTHREAD_ONCE_INITIALIZER;
  ------------------
  |  |  134|   332k|    {                                           \
  |  |  135|   332k|        false,                                  \
  |  |  136|   332k|        OVS_MUTEX_INITIALIZER,                  \
  |  |  ------------------
  |  |  |  |   45|   332k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|   332k|                                "<unlocked>" }
  |  |  ------------------
  |  |  137|   332k|    }
  ------------------
 9808|   332k|    static struct hmap hmap;
 9809|       |
 9810|   332k|    if (ovsthread_once_start(&once)) {
  ------------------
  |  Branch (9810:9): [True: 1, False: 332k]
  ------------------
 9811|      1|        struct ofpact_raw_instance *inst;
 9812|       |
 9813|      1|        hmap_init(&hmap);
 9814|      1|        for (inst = all_raw_instances;
 9815|    385|             inst < &all_raw_instances[ARRAY_SIZE(all_raw_instances)];
  ------------------
  |  |  297|    385|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|    385|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|    385|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|    385|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    385|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|    385|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9815:14): [True: 384, False: 1]
  ------------------
 9816|    384|             inst++) {
 9817|    384|            hmap_insert(&hmap, &inst->decode_node,
  ------------------
  |  |  101|    384|    hmap_insert_at(HMAP, NODE, HASH, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|    384|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    384|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|    384|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9818|    384|                        ofpact_hdrs_hash(&inst->hdrs));
 9819|    384|        }
 9820|      1|        ovsthread_once_done(&once);
 9821|      1|    }
 9822|   332k|    return &hmap;
 9823|   332k|}
ofp-actions.c:ofpact_hdrs_hash:
 9797|   332k|{
 9798|   332k|    return hash_2words(hdrs->vendor,
 9799|   332k|                       ((uint32_t) hdrs->type << 16) | hdrs->ofp_version);
 9800|   332k|}
ofp-actions.c:ofpact_hdrs_equal:
 9789|   315k|{
 9790|   315k|    return (a->vendor == b->vendor
  ------------------
  |  Branch (9790:13): [True: 315k, False: 0]
  ------------------
 9791|   315k|            && a->type == b->type
  ------------------
  |  Branch (9791:16): [True: 315k, False: 0]
  ------------------
 9792|   315k|            && a->ofp_version == b->ofp_version);
  ------------------
  |  Branch (9792:16): [True: 315k, False: 0]
  ------------------
 9793|   315k|}
ofp-actions.c:decode_OFPAT_RAW10_OUTPUT:
  578|  16.3k|{
  579|  16.3k|    struct ofpact_output *output;
  580|       |
  581|  16.3k|    output = ofpact_put_OUTPUT(out);
  582|  16.3k|    output->port = u16_to_ofp(ntohs(oao->port));
  583|  16.3k|    output->max_len = ntohs(oao->max_len);
  584|       |
  585|  16.3k|    return ofpact_check_output_port(output->port, OFPP_MAX);
  ------------------
  |  |   33|  16.3k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|  16.3k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  586|  16.3k|}
ofp-actions.c:decode_OFPAT_RAW11_OUTPUT:
  592|  1.28k|{
  593|  1.28k|    struct ofpact_output *output;
  594|  1.28k|    enum ofperr error;
  595|       |
  596|  1.28k|    output = ofpact_put_OUTPUT(out);
  597|  1.28k|    output->max_len = ntohs(oao->max_len);
  598|       |
  599|  1.28k|    error = ofputil_port_from_ofp11(oao->port, &output->port);
  600|  1.28k|    if (error) {
  ------------------
  |  Branch (600:9): [True: 414, False: 873]
  ------------------
  601|    414|        return error;
  602|    414|    }
  603|       |
  604|    873|    return ofpact_check_output_port(output->port, OFPP_MAX);
  ------------------
  |  |   33|    873|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|    873|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  605|  1.28k|}
ofp-actions.c:decode_OFPAT_RAW10_SET_VLAN_VID:
 1575|  5.71k|{
 1576|       |    return decode_set_vlan_vid(vid, true, out);
 1577|  5.71k|}
ofp-actions.c:decode_set_vlan_vid:
 1560|  7.46k|{
 1561|  7.46k|    if (vid & ~0xfff) {
  ------------------
  |  Branch (1561:9): [True: 412, False: 7.05k]
  ------------------
 1562|    412|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1563|  7.05k|    } else {
 1564|  7.05k|        struct ofpact_vlan_vid *vlan_vid = ofpact_put_SET_VLAN_VID(out);
 1565|  7.05k|        vlan_vid->vlan_vid = vid;
 1566|  7.05k|        vlan_vid->push_vlan_if_needed = push_vlan_if_needed;
 1567|  7.05k|        return 0;
 1568|  7.05k|    }
 1569|  7.46k|}
ofp-actions.c:decode_OFPAT_RAW10_SET_VLAN_PCP:
 1683|  4.91k|{
 1684|       |    return decode_set_vlan_pcp(pcp, true, out);
 1685|  4.91k|}
ofp-actions.c:decode_set_vlan_pcp:
 1668|  5.97k|{
 1669|  5.97k|    if (pcp & ~7) {
  ------------------
  |  Branch (1669:9): [True: 75, False: 5.89k]
  ------------------
 1670|     75|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1671|  5.89k|    } else {
 1672|  5.89k|        struct ofpact_vlan_pcp *vlan_pcp = ofpact_put_SET_VLAN_PCP(out);
 1673|  5.89k|        vlan_pcp->vlan_pcp = pcp;
 1674|  5.89k|        vlan_pcp->push_vlan_if_needed = push_vlan_if_needed;
 1675|  5.89k|        return 0;
 1676|  5.89k|    }
 1677|  5.97k|}
ofp-actions.c:decode_OFPAT_RAW11_SET_VLAN_VID:
 1583|  1.75k|{
 1584|       |    return decode_set_vlan_vid(vid, false, out);
 1585|  1.75k|}
ofp-actions.c:decode_OFPAT_RAW11_SET_VLAN_PCP:
 1691|  1.05k|{
 1692|       |    return decode_set_vlan_pcp(pcp, false, out);
 1693|  1.05k|}
ofp-actions.c:decode_OFPAT_RAW11_PUSH_VLAN:
 1840|  2.36k|{
 1841|  2.36k|    struct ofpact_push_vlan *push_vlan;
 1842|  2.36k|    if (!eth_type_vlan(eth_type)) {
  ------------------
  |  Branch (1842:9): [True: 783, False: 1.58k]
  ------------------
 1843|    783|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1844|    783|    }
 1845|  1.58k|    push_vlan = ofpact_put_PUSH_VLAN(out);
 1846|  1.58k|    push_vlan->ethertype = eth_type;
 1847|  1.58k|    return 0;
 1848|  2.36k|}
ofp-actions.c:decode_OFPAT_RAW10_STRIP_VLAN:
 1776|  5.82k|{
 1777|  5.82k|    ofpact_put_STRIP_VLAN(out)->ofpact.raw = OFPAT_RAW10_STRIP_VLAN;
 1778|  5.82k|    return 0;
 1779|  5.82k|}
ofp-actions.c:decode_OFPAT_RAW11_POP_VLAN:
 1783|  3.57k|{
 1784|  3.57k|    ofpact_put_STRIP_VLAN(out)->ofpact.raw = OFPAT_RAW11_POP_VLAN;
 1785|  3.57k|    return 0;
 1786|  3.57k|}
ofp-actions.c:decode_OFPAT_RAW_SET_DL_SRC:
 1919|    409|{
 1920|    409|    ofpact_put_SET_ETH_SRC(out)->mac = a->dl_addr;
 1921|    409|    return 0;
 1922|    409|}
ofp-actions.c:decode_OFPAT_RAW_SET_DL_DST:
 1928|    360|{
 1929|    360|    ofpact_put_SET_ETH_DST(out)->mac = a->dl_addr;
 1930|    360|    return 0;
 1931|    360|}
ofp-actions.c:decode_OFPAT_RAW_SET_NW_SRC:
 2015|  5.02k|{
 2016|  5.02k|    ofpact_put_SET_IPV4_SRC(out)->ipv4 = ipv4;
 2017|  5.02k|    return 0;
 2018|  5.02k|}
ofp-actions.c:decode_OFPAT_RAW_SET_NW_DST:
 2024|  8.89k|{
 2025|  8.89k|    ofpact_put_SET_IPV4_DST(out)->ipv4 = ipv4;
 2026|  8.89k|    return 0;
 2027|  8.89k|}
ofp-actions.c:decode_OFPAT_RAW_SET_NW_TOS:
 2117|  8.70k|{
 2118|  8.70k|    if (dscp & ~IP_DSCP_MASK) {
  ------------------
  |  |  724|  8.70k|#define IP_DSCP_MASK 0xfc
  ------------------
  |  Branch (2118:9): [True: 412, False: 8.28k]
  ------------------
 2119|    412|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 2120|  8.28k|    } else {
 2121|  8.28k|        ofpact_put_SET_IP_DSCP(out)->dscp = dscp;
 2122|  8.28k|        return 0;
 2123|  8.28k|    }
 2124|  8.70k|}
ofp-actions.c:decode_OFPAT_RAW11_SET_NW_ECN:
 2186|  4.63k|{
 2187|  4.63k|    if (ecn & ~IP_ECN_MASK) {
  ------------------
  |  |  722|  4.63k|#define IP_ECN_MASK 0x03
  ------------------
  |  Branch (2187:9): [True: 794, False: 3.84k]
  ------------------
 2188|    794|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 2189|  3.84k|    } else {
 2190|  3.84k|        ofpact_put_SET_IP_ECN(out)->ecn = ecn;
 2191|  3.84k|        return 0;
 2192|  3.84k|    }
 2193|  4.63k|}
ofp-actions.c:decode_OFPAT_RAW_SET_TP_SRC:
 2305|  14.6k|{
 2306|       |    ofpact_put_SET_L4_SRC_PORT(out)->port = ntohs(port);
 2307|  14.6k|    return 0;
 2308|  14.6k|}
ofp-actions.c:decode_OFPAT_RAW_SET_TP_DST:
 2314|  6.72k|{
 2315|       |    ofpact_put_SET_L4_DST_PORT(out)->port = ntohs(port);
 2316|  6.72k|    return 0;
 2317|  6.72k|}
ofp-actions.c:decode_OFPAT_RAW10_ENQUEUE:
 1094|    455|{
 1095|    455|    struct ofpact_enqueue *enqueue;
 1096|       |
 1097|    455|    enqueue = ofpact_put_ENQUEUE(out);
 1098|    455|    enqueue->port = u16_to_ofp(ntohs(oae->port));
 1099|    455|    enqueue->queue = ntohl(oae->queue_id);
 1100|    455|    if (ofp_to_u16(enqueue->port) >= ofp_to_u16(OFPP_MAX)
  ------------------
  |  |   33|    455|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|    455|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1100:9): [True: 330, False: 125]
  ------------------
 1101|    455|        && enqueue->port != OFPP_IN_PORT
  ------------------
  |  |   39|    330|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  ------------------
  |  |  |  |  157|    785|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1101:12): [True: 187, False: 143]
  ------------------
 1102|    187|        && enqueue->port != OFPP_LOCAL) {
  ------------------
  |  |   46|    187|#define OFPP_LOCAL      OFP_PORT_C(0xfffe) /* Local openflow "port". */
  |  |  ------------------
  |  |  |  |  157|    187|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1102:12): [True: 73, False: 114]
  ------------------
 1103|     73|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 1104|     73|    }
 1105|    382|    return 0;
 1106|    455|}
ofp-actions.c:decode_OFPAT_RAW_SET_MPLS_LABEL:
 3765|  3.81k|{
 3766|  3.81k|    ofpact_put_SET_MPLS_LABEL(out)->label = label;
 3767|  3.81k|    return 0;
 3768|  3.81k|}
ofp-actions.c:decode_OFPAT_RAW_SET_MPLS_TC:
 3838|  1.45k|{
 3839|  1.45k|    ofpact_put_SET_MPLS_TC(out)->tc = tc;
 3840|  1.45k|    return 0;
 3841|  1.45k|}
ofp-actions.c:decode_OFPAT_RAW_SET_MPLS_TTL:
 3899|  3.97k|{
 3900|  3.97k|    ofpact_put_SET_MPLS_TTL(out)->ttl = ttl;
 3901|  3.97k|    return 0;
 3902|  3.97k|}
ofp-actions.c:decode_OFPAT_RAW_DEC_MPLS_TTL:
 3955|  6.76k|{
 3956|  6.76k|    ofpact_put_DEC_MPLS_TTL(out);
 3957|  6.76k|    return 0;
 3958|  6.76k|}
ofp-actions.c:decode_OFPAT_RAW_PUSH_MPLS:
 3994|  5.00k|{
 3995|  5.00k|    struct ofpact_push_mpls *oam;
 3996|       |
 3997|  5.00k|    if (!eth_type_mpls(ethertype)) {
  ------------------
  |  Branch (3997:9): [True: 488, False: 4.52k]
  ------------------
 3998|    488|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 3999|    488|    }
 4000|  4.52k|    oam = ofpact_put_PUSH_MPLS(out);
 4001|  4.52k|    oam->ethertype = ethertype;
 4002|       |
 4003|  4.52k|    return 0;
 4004|  5.00k|}
ofp-actions.c:decode_OFPAT_RAW_POP_MPLS:
 4059|  5.71k|{
 4060|  5.71k|    ofpact_put_POP_MPLS(out)->ethertype = ethertype;
 4061|  5.71k|    return 0;
 4062|  5.71k|}
ofp-actions.c:decode_OFPAT_RAW_SET_QUEUE:
 4270|    287|{
 4271|    287|    ofpact_put_SET_QUEUE(out)->queue_id = queue_id;
 4272|    287|    return 0;
 4273|    287|}
ofp-actions.c:decode_OFPAT_RAW_GROUP:
  727|    599|{
  728|    599|    ofpact_put_GROUP(out)->group_id = group_id;
  729|    599|    return 0;
  730|    599|}
ofp-actions.c:decode_OFPAT_RAW11_SET_NW_TTL:
 2250|  1.35k|{
 2251|  1.35k|    ofpact_put_SET_IP_TTL(out)->ttl = ttl;
 2252|  1.35k|    return 0;
 2253|  1.35k|}
ofp-actions.c:decode_OFPAT_RAW_DEC_NW_TTL:
 3612|  1.54k|{
 3613|  1.54k|    uint16_t id = 0;
 3614|  1.54k|    struct ofpact_cnt_ids *ids;
 3615|  1.54k|    enum ofperr error = 0;
 3616|       |
 3617|  1.54k|    ids = ofpact_put_DEC_TTL(out);
 3618|  1.54k|    ids->n_controllers = 1;
 3619|  1.54k|    ofpbuf_put(out, &id, sizeof id);
 3620|  1.54k|    ids = out->header;
 3621|  1.54k|    ofpact_finish_DEC_TTL(out, &ids);
 3622|  1.54k|    return error;
 3623|  1.54k|}
ofp-actions.c:decode_NXAST_RAW_DEC_TTL_CNT_IDS:
 3629|  4.38k|{
 3630|  4.38k|    struct ofpact_cnt_ids *ids;
 3631|  4.38k|    size_t ids_size;
 3632|  4.38k|    int i;
 3633|       |
 3634|  4.38k|    ids = ofpact_put_DEC_TTL(out);
 3635|  4.38k|    ids->ofpact.raw = NXAST_RAW_DEC_TTL_CNT_IDS;
 3636|  4.38k|    ids->n_controllers = ntohs(nac_ids->n_controllers);
 3637|  4.38k|    ids_size = ntohs(nac_ids->len) - sizeof *nac_ids;
 3638|       |
 3639|  4.38k|    if (!is_all_zeros(nac_ids->zeros, sizeof nac_ids->zeros)) {
  ------------------
  |  Branch (3639:9): [True: 454, False: 3.92k]
  ------------------
 3640|    454|        return OFPERR_NXBRC_MUST_BE_ZERO;
 3641|    454|    }
 3642|       |
 3643|  3.92k|    if (ids_size < ids->n_controllers * sizeof(ovs_be16)) {
  ------------------
  |  Branch (3643:9): [True: 225, False: 3.70k]
  ------------------
 3644|    225|        VLOG_WARN_RL(&rl, "Nicira action dec_ttl_cnt_ids only has %"PRIuSIZE" "
  ------------------
  |  |  224|    225|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    225|    do {                                                                \
  |  |  |  |  288|    225|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    225|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 225]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    225|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 225]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|    225|                     "bytes allocated for controller ids.  %"PRIuSIZE" bytes "
 3646|    225|                     "are required for %u controllers.",
 3647|    225|                     ids_size, ids->n_controllers * sizeof(ovs_be16),
 3648|    225|                     ids->n_controllers);
 3649|    225|        return OFPERR_OFPBAC_BAD_LEN;
 3650|    225|    }
 3651|       |
 3652|  11.9k|    for (i = 0; i < ids->n_controllers; i++) {
  ------------------
  |  Branch (3652:17): [True: 8.23k, False: 3.70k]
  ------------------
 3653|  8.23k|        uint16_t id = ntohs(((ovs_be16 *)(nac_ids + 1))[i]);
 3654|  8.23k|        ofpbuf_put(out, &id, sizeof id);
 3655|  8.23k|        ids = out->header;
 3656|  8.23k|    }
 3657|       |
 3658|  3.70k|    ofpact_finish_DEC_TTL(out, &ids);
 3659|       |
 3660|  3.70k|    return 0;
 3661|  3.92k|}
ofp-actions.c:decode_OFPAT_RAW12_SET_FIELD:
 2850|  3.77k|{
 2851|       |    return decode_ofpat_set_field(oasf, false, vl_mff_map, tlv_bitmap,
 2852|  3.77k|                                  ofpacts);
 2853|  3.77k|}
ofp-actions.c:decode_ofpat_set_field:
 2789|  15.0k|{
 2790|  15.0k|    struct ofpbuf b = ofpbuf_const_initializer(oasf, ntohs(oasf->len));
 2791|  15.0k|    ofpbuf_pull(&b, OBJECT_OFFSETOF(oasf, pad));
  ------------------
  |  |  108|  15.0k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 2792|       |
 2793|  15.0k|    union mf_value value, mask;
 2794|  15.0k|    const struct mf_field *field;
 2795|  15.0k|    enum ofperr error;
 2796|  15.0k|    error  = mf_vl_mff_nx_pull_entry(&b, vl_mff_map, &field, &value,
 2797|  15.0k|                                     may_mask ? &mask : NULL, tlv_bitmap);
  ------------------
  |  Branch (2797:38): [True: 11.2k, False: 3.77k]
  ------------------
 2798|  15.0k|    if (error) {
  ------------------
  |  Branch (2798:9): [True: 1.33k, False: 13.7k]
  ------------------
 2799|  1.33k|        return (error == OFPERR_OFPBMC_BAD_MASK
  ------------------
  |  Branch (2799:17): [True: 158, False: 1.17k]
  ------------------
 2800|  1.33k|                ? OFPERR_OFPBAC_BAD_SET_MASK
 2801|  1.33k|                : error);
 2802|  1.33k|    }
 2803|       |
 2804|  13.7k|    if (!may_mask) {
  ------------------
  |  Branch (2804:9): [True: 3.06k, False: 10.6k]
  ------------------
 2805|  3.06k|        memset(&mask, 0xff, field->n_bytes);
 2806|  3.06k|    }
 2807|       |
 2808|  13.7k|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (2808:9): [True: 837, False: 12.8k]
  ------------------
 2809|    837|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2810|    837|    }
 2811|       |
 2812|       |    /* OpenFlow says specifically that one may not set OXM_OF_IN_PORT via
 2813|       |     * Set-Field. */
 2814|  12.8k|    if (field->id == MFF_IN_PORT_OXM) {
  ------------------
  |  Branch (2814:9): [True: 67, False: 12.8k]
  ------------------
 2815|     67|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2816|     67|    }
 2817|       |
 2818|       |    /* oxm_length is now validated to be compatible with mf_value. */
 2819|  12.8k|    if (!field->writable) {
  ------------------
  |  Branch (2819:9): [True: 34, False: 12.7k]
  ------------------
 2820|     34|        VLOG_WARN_RL(&rl, "destination field %s is not writable",
  ------------------
  |  |  224|     34|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     34|    do {                                                                \
  |  |  |  |  288|     34|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     34|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 34]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     34|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 34]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2821|     34|                     field->name);
 2822|     34|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2823|     34|    }
 2824|       |
 2825|       |    /* The value must be valid for match.  OpenFlow 1.5 also says,
 2826|       |     * "In an OXM_OF_VLAN_VID set-field action, the OFPVID_PRESENT bit must be
 2827|       |     * a 1-bit in oxm_value and in oxm_mask." */
 2828|  12.7k|    if (!mf_is_value_valid(field, &value)
  ------------------
  |  Branch (2828:9): [True: 159, False: 12.6k]
  ------------------
 2829|  12.6k|        || (field->id == MFF_VLAN_VID
  ------------------
  |  Branch (2829:13): [True: 536, False: 12.0k]
  ------------------
 2830|    536|            && (!(mask.be16 & htons(OFPVID12_PRESENT))
  ------------------
  |  Branch (2830:17): [True: 34, False: 502]
  ------------------
 2831|    627|                || !(value.be16 & htons(OFPVID12_PRESENT))))) {
  ------------------
  |  Branch (2831:20): [True: 434, False: 68]
  ------------------
 2832|    627|        struct ds ds = DS_EMPTY_INITIALIZER;
  ------------------
  |  |   46|    627|#define DS_EMPTY_INITIALIZER { NULL, 0, 0 }
  ------------------
 2833|    627|        mf_format(field, &value, NULL, NULL, &ds);
 2834|    627|        VLOG_WARN_RL(&rl, "Invalid value for set field %s: %s",
  ------------------
  |  |  224|    627|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    627|    do {                                                                \
  |  |  |  |  288|    627|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    627|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 627]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    627|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 627]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2835|    627|                     field->name, ds_cstr(&ds));
 2836|    627|        ds_destroy(&ds);
 2837|       |
 2838|    627|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2839|    627|    }
 2840|       |
 2841|  12.1k|    ofpact_put_set_field(ofpacts, field, &value, &mask);
 2842|  12.1k|    return 0;
 2843|  12.7k|}
ofp-actions.c:decode_OFPAT_RAW15_SET_FIELD:
 2860|  11.2k|{
 2861|       |    return decode_ofpat_set_field(oasf, true, vl_mff_map, tlv_bitmap, ofpacts);
 2862|  11.2k|}
ofp-actions.c:decode_NXAST_RAW_REG_LOAD:
 2869|  3.71k|{
 2870|  3.71k|    struct mf_subfield dst;
 2871|  3.71k|    enum ofperr error;
 2872|       |
 2873|  3.71k|    dst.ofs = nxm_decode_ofs(narl->ofs_nbits);
 2874|  3.71k|    dst.n_bits = nxm_decode_n_bits(narl->ofs_nbits);
 2875|  3.71k|    error = mf_vl_mff_mf_from_nxm_header(ntohl(narl->dst), vl_mff_map,
 2876|  3.71k|                                         &dst.field, tlv_bitmap);
 2877|  3.71k|    if (error) {
  ------------------
  |  Branch (2877:9): [True: 147, False: 3.57k]
  ------------------
 2878|    147|        return error;
 2879|    147|    }
 2880|       |
 2881|  3.57k|    error = mf_check_dst(&dst, NULL);
 2882|  3.57k|    if (error) {
  ------------------
  |  Branch (2882:9): [True: 408, False: 3.16k]
  ------------------
 2883|    408|        return error;
 2884|    408|    }
 2885|       |
 2886|       |    /* Reject 'narl' if a bit numbered 'n_bits' or higher is set to 1 in
 2887|       |     * narl->value. */
 2888|  3.16k|    if (dst.n_bits < 64 && ntohll(narl->value) >> dst.n_bits) {
  ------------------
  |  Branch (2888:9): [True: 2.69k, False: 469]
  |  Branch (2888:28): [True: 82, False: 2.61k]
  ------------------
 2889|     82|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 2890|     82|    }
 2891|       |
 2892|  3.08k|    struct ofpact_set_field *sf = ofpact_put_reg_load(out, dst.field, NULL,
 2893|  3.08k|                                                      NULL);
 2894|  3.08k|    bitwise_put(ntohll(narl->value),
 2895|  3.08k|                sf->value, dst.field->n_bytes, dst.ofs,
 2896|  3.08k|                dst.n_bits);
 2897|  3.08k|    bitwise_put(UINT64_MAX,
 2898|  3.08k|                ofpact_set_field_mask(sf), dst.field->n_bytes, dst.ofs,
  ------------------
  |  |  563|  3.08k|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|  3.08k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|  3.08k|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|  3.08k|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 2899|  3.08k|                dst.n_bits);
 2900|  3.08k|    return 0;
 2901|  3.16k|}
ofp-actions.c:decode_NXAST_RAW_REG_LOAD2:
 2908|  4.85k|{
 2909|  4.85k|    struct ofpbuf b = ofpbuf_const_initializer(eah, ntohs(eah->len));
 2910|  4.85k|    ofpbuf_pull(&b, OBJECT_OFFSETOF(eah, pad));
  ------------------
  |  |  108|  4.85k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 2911|       |
 2912|  4.85k|    union mf_value value, mask;
 2913|  4.85k|    const struct mf_field *field;
 2914|  4.85k|    enum ofperr error;
 2915|  4.85k|    error = mf_vl_mff_nx_pull_entry(&b, vl_mff_map, &field, &value, &mask,
 2916|  4.85k|                                    tlv_bitmap);
 2917|  4.85k|    if (error) {
  ------------------
  |  Branch (2917:9): [True: 326, False: 4.53k]
  ------------------
 2918|    326|        return error;
 2919|    326|    }
 2920|       |
 2921|  4.53k|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (2921:9): [True: 67, False: 4.46k]
  ------------------
 2922|     67|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2923|     67|    }
 2924|       |
 2925|  4.46k|    if (!field->writable) {
  ------------------
  |  Branch (2925:9): [True: 588, False: 3.87k]
  ------------------
 2926|    588|        VLOG_WARN_RL(&rl, "destination field %s is not writable", field->name);
  ------------------
  |  |  224|    588|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    588|    do {                                                                \
  |  |  |  |  288|    588|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    588|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 588]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    588|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 588]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2927|    588|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2928|    588|    }
 2929|       |
 2930|       |    /* Put value and mask. */
 2931|  3.87k|    ofpact_put_reg_load2(out, field, &value, &mask);
 2932|  3.87k|    return 0;
 2933|  4.46k|}
ofp-actions.c:decode_OFPAT_RAW15_COPY_FIELD:
 2610|  2.19k|{
 2611|  2.19k|    return decode_copy_field__(oacf->src_offset, oacf->dst_offset,
 2612|  2.19k|                               oacf->n_bits, oacf, oacf->len,
 2613|       |                               OBJECT_OFFSETOF(oacf, pad2), vl_mff_map,
  ------------------
  |  |  108|  2.19k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 2614|  2.19k|                               tlv_bitmap, ofpacts);
 2615|  2.19k|}
ofp-actions.c:decode_copy_field__:
 2574|  2.20k|{
 2575|  2.20k|    struct ofpact_reg_move *move = ofpact_put_REG_MOVE(ofpacts);
 2576|  2.20k|    enum ofperr error;
 2577|       |
 2578|  2.20k|    move->ofpact.raw = ONFACT_RAW13_COPY_FIELD;
 2579|  2.20k|    move->src.ofs = ntohs(src_offset);
 2580|  2.20k|    move->src.n_bits = ntohs(n_bits);
 2581|  2.20k|    move->dst.ofs = ntohs(dst_offset);
 2582|  2.20k|    move->dst.n_bits = ntohs(n_bits);
 2583|       |
 2584|  2.20k|    struct ofpbuf b = ofpbuf_const_initializer(action, ntohs(action_len));
 2585|  2.20k|    ofpbuf_pull(&b, oxm_offset);
 2586|       |
 2587|  2.20k|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &move->src.field, NULL,
 2588|  2.20k|                                     tlv_bitmap);
 2589|  2.20k|    if (error) {
  ------------------
  |  Branch (2589:9): [True: 399, False: 1.80k]
  ------------------
 2590|    399|        return error;
 2591|    399|    }
 2592|  1.80k|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &move->dst.field, NULL,
 2593|  1.80k|                                     tlv_bitmap);
 2594|  1.80k|    if (error) {
  ------------------
  |  Branch (2594:9): [True: 241, False: 1.56k]
  ------------------
 2595|    241|        return error;
 2596|    241|    }
 2597|       |
 2598|  1.56k|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (2598:9): [True: 454, False: 1.11k]
  ------------------
 2599|    454|        return OFPERR_NXBRC_MUST_BE_ZERO;
 2600|    454|    }
 2601|       |
 2602|  1.11k|    return nxm_reg_move_check(move, NULL);
 2603|  1.56k|}
ofp-actions.c:decode_ONFACT_RAW13_COPY_FIELD:
 2622|     10|{
 2623|     10|    return decode_copy_field__(oacf->src_offset, oacf->dst_offset,
 2624|     10|                               oacf->n_bits, oacf, oacf->len,
 2625|       |                               OBJECT_OFFSETOF(oacf, pad3), vl_mff_map,
  ------------------
  |  |  108|     10|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 2626|     10|                               tlv_bitmap, ofpacts);
 2627|     10|}
ofp-actions.c:decode_NXAST_RAW_REG_MOVE:
 2634|  6.60k|{
 2635|  6.60k|    struct ofpact_reg_move *move = ofpact_put_REG_MOVE(ofpacts);
 2636|  6.60k|    enum ofperr error;
 2637|       |
 2638|  6.60k|    move->ofpact.raw = NXAST_RAW_REG_MOVE;
 2639|  6.60k|    move->src.ofs = ntohs(narm->src_ofs);
 2640|  6.60k|    move->src.n_bits = ntohs(narm->n_bits);
 2641|  6.60k|    move->dst.ofs = ntohs(narm->dst_ofs);
 2642|  6.60k|    move->dst.n_bits = ntohs(narm->n_bits);
 2643|       |
 2644|  6.60k|    struct ofpbuf b = ofpbuf_const_initializer(narm, ntohs(narm->len));
 2645|  6.60k|    ofpbuf_pull(&b, sizeof *narm);
 2646|       |
 2647|  6.60k|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &move->src.field, NULL,
 2648|  6.60k|                                     tlv_bitmap);
 2649|  6.60k|    if (error) {
  ------------------
  |  Branch (2649:9): [True: 624, False: 5.97k]
  ------------------
 2650|    624|        return error;
 2651|    624|    }
 2652|       |
 2653|  5.97k|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &move->dst.field, NULL,
 2654|  5.97k|                                     tlv_bitmap);
 2655|  5.97k|    if (error) {
  ------------------
  |  Branch (2655:9): [True: 295, False: 5.68k]
  ------------------
 2656|    295|        return error;
 2657|    295|    }
 2658|       |
 2659|  5.68k|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (2659:9): [True: 34, False: 5.64k]
  ------------------
 2660|     34|        return OFPERR_NXBRC_MUST_BE_ZERO;
 2661|     34|    }
 2662|       |
 2663|  5.64k|    return nxm_reg_move_check(move, NULL);
 2664|  5.68k|}
ofp-actions.c:decode_OFPAT_RAW15_METER:
 7565|  2.28k|{
 7566|  2.28k|    struct ofpact_meter *om = ofpact_put_METER(out);
 7567|  2.28k|    om->meter_id = meter_id;
 7568|       |    om->provider_meter_id = UINT32_MAX; /* No provider meter ID. */
 7569|  2.28k|    return 0;
 7570|  2.28k|}
ofp-actions.c:decode_NXAST_RAW_RESUBMIT:
 4919|  1.07k|{
 4920|  1.07k|    struct ofpact_resubmit *resubmit;
 4921|       |
 4922|  1.07k|    resubmit = ofpact_put_RESUBMIT(out);
 4923|  1.07k|    resubmit->ofpact.raw = NXAST_RAW_RESUBMIT;
 4924|  1.07k|    resubmit->in_port = u16_to_ofp(port);
 4925|  1.07k|    resubmit->table_id = 0xff;
 4926|  1.07k|    return 0;
 4927|  1.07k|}
ofp-actions.c:decode_NXAST_RAW_RESUBMIT_TABLE:
 4933|    843|{
 4934|    843|    struct ofpact_resubmit *resubmit;
 4935|       |
 4936|    843|    if (nar->pad[0] || nar->pad[1] || nar->pad[2]) {
  ------------------
  |  Branch (4936:9): [True: 237, False: 606]
  |  Branch (4936:24): [True: 146, False: 460]
  |  Branch (4936:39): [True: 339, False: 121]
  ------------------
 4937|    722|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 4938|    722|    }
 4939|       |
 4940|    121|    resubmit = ofpact_put_RESUBMIT(out);
 4941|    121|    resubmit->ofpact.raw = NXAST_RAW_RESUBMIT_TABLE;
 4942|       |    resubmit->in_port = u16_to_ofp(ntohs(nar->in_port));
 4943|    121|    resubmit->table_id = nar->table;
 4944|    121|    return 0;
 4945|    843|}
ofp-actions.c:decode_NXAST_RAW_RESUBMIT_TABLE_CT:
 4951|    409|{
 4952|    409|    enum ofperr error = decode_NXAST_RAW_RESUBMIT_TABLE(nar, ofp_version, out);
 4953|    409|    if (error) {
  ------------------
  |  Branch (4953:9): [True: 366, False: 43]
  ------------------
 4954|    366|        return error;
 4955|    366|    }
 4956|     43|    struct ofpact_resubmit *resubmit = out->header;
 4957|     43|    resubmit->ofpact.raw = NXAST_RAW_RESUBMIT_TABLE_CT;
 4958|       |    resubmit->with_ct_orig = true;
 4959|     43|    return 0;
 4960|    409|}
ofp-actions.c:decode_NXAST_RAW_SET_TUNNEL:
 4111|  1.74k|{
 4112|  1.74k|    struct ofpact_tunnel *tunnel = ofpact_put_SET_TUNNEL(out);
 4113|  1.74k|    tunnel->ofpact.raw = NXAST_RAW_SET_TUNNEL;
 4114|  1.74k|    tunnel->tun_id = tun_id;
 4115|  1.74k|    return 0;
 4116|  1.74k|}
ofp-actions.c:decode_NXAST_RAW_SET_TUNNEL64:
 4122|    158|{
 4123|    158|    struct ofpact_tunnel *tunnel = ofpact_put_SET_TUNNEL(out);
 4124|    158|    tunnel->ofpact.raw = NXAST_RAW_SET_TUNNEL64;
 4125|    158|    tunnel->tun_id = tun_id;
 4126|    158|    return 0;
 4127|    158|}
ofp-actions.c:decode_NXAST_RAW_POP_QUEUE:
 4307|  2.74k|{
 4308|  2.74k|    ofpact_put_POP_QUEUE(out);
 4309|  2.74k|    return 0;
 4310|  2.74k|}
ofp-actions.c:decode_NXAST_RAW_NOTE:
 5899|  11.7k|{
 5900|  11.7k|    struct ofpact_note *note;
 5901|  11.7k|    unsigned int length;
 5902|       |
 5903|  11.7k|    length = ntohs(nan->len) - offsetof(struct nx_action_note, note);
 5904|  11.7k|    note = ofpact_put_NOTE(out);
 5905|  11.7k|    note->length = length;
 5906|  11.7k|    ofpbuf_put(out, nan->note, length);
 5907|  11.7k|    note = out->header;
 5908|  11.7k|    ofpact_finish_NOTE(out, &note);
 5909|       |
 5910|  11.7k|    return 0;
 5911|  11.7k|}
ofp-actions.c:decode_NXAST_RAW_MULTIPATH:
 5804|  2.46k|{
 5805|  2.46k|    uint32_t n_links = ntohs(nam->max_link) + 1;
 5806|  2.46k|    size_t min_n_bits = log_2_ceil(n_links);
 5807|  2.46k|    struct ofpact_multipath *mp;
 5808|  2.46k|    enum ofperr error;
 5809|       |
 5810|  2.46k|    mp = ofpact_put_MULTIPATH(out);
 5811|  2.46k|    mp->fields = ntohs(nam->fields);
 5812|  2.46k|    mp->basis = ntohs(nam->basis);
 5813|  2.46k|    mp->algorithm = ntohs(nam->algorithm);
 5814|  2.46k|    mp->max_link = ntohs(nam->max_link);
 5815|  2.46k|    mp->arg = ntohl(nam->arg);
 5816|  2.46k|    mp->dst.ofs = nxm_decode_ofs(nam->ofs_nbits);
 5817|  2.46k|    mp->dst.n_bits = nxm_decode_n_bits(nam->ofs_nbits);
 5818|  2.46k|    error = mf_vl_mff_mf_from_nxm_header(ntohl(nam->dst), vl_mff_map,
 5819|  2.46k|                                         &mp->dst.field, tlv_bitmap);
 5820|  2.46k|    if (error) {
  ------------------
  |  Branch (5820:9): [True: 148, False: 2.31k]
  ------------------
 5821|    148|        return error;
 5822|    148|    }
 5823|       |
 5824|  2.31k|    if (!flow_hash_fields_valid(mp->fields)) {
  ------------------
  |  Branch (5824:9): [True: 149, False: 2.16k]
  ------------------
 5825|    149|        VLOG_WARN_RL(&rl, "unsupported fields %d", (int) mp->fields);
  ------------------
  |  |  224|    149|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    149|    do {                                                                \
  |  |  |  |  288|    149|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    149|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5826|    149|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5827|  2.16k|    } else if (mp->algorithm != NX_MP_ALG_MODULO_N
  ------------------
  |  Branch (5827:16): [True: 2.01k, False: 147]
  ------------------
 5828|  2.01k|               && mp->algorithm != NX_MP_ALG_HASH_THRESHOLD
  ------------------
  |  Branch (5828:19): [True: 2.00k, False: 11]
  ------------------
 5829|  2.00k|               && mp->algorithm != NX_MP_ALG_HRW
  ------------------
  |  Branch (5829:19): [True: 1.78k, False: 222]
  ------------------
 5830|  1.78k|               && mp->algorithm != NX_MP_ALG_ITER_HASH) {
  ------------------
  |  Branch (5830:19): [True: 521, False: 1.26k]
  ------------------
 5831|    521|        VLOG_WARN_RL(&rl, "unsupported algorithm %d", (int) mp->algorithm);
  ------------------
  |  |  224|    521|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    521|    do {                                                                \
  |  |  |  |  288|    521|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    521|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 521]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    521|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 521]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5832|    521|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5833|  1.64k|    } else if (mp->dst.n_bits < min_n_bits) {
  ------------------
  |  Branch (5833:16): [True: 36, False: 1.60k]
  ------------------
 5834|     36|        VLOG_WARN_RL(&rl, "multipath action requires at least %"PRIuSIZE" bits for "
  ------------------
  |  |  224|     36|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     36|    do {                                                                \
  |  |  |  |  288|     36|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     36|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 36]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     36|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5835|     36|                     "%"PRIu32" links", min_n_bits, n_links);
 5836|     36|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5837|     36|    }
 5838|       |
 5839|  1.60k|    return multipath_check(mp, NULL);
 5840|  2.31k|}
ofp-actions.c:decode_NXAST_RAW_BUNDLE:
 1486|  2.03k|{
 1487|  2.03k|    return decode_bundle(false, nab, NULL, NULL, out);
 1488|  2.03k|}
ofp-actions.c:decode_bundle:
 1403|  4.44k|{
 1404|  4.44k|    static struct vlog_rate_limit rll = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|  4.44k|        {                                                                 \
  |  |  111|  4.44k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  17.7k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 4.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  4.44k|            0,                              /* first_dropped */           \
  |  |  113|  4.44k|            0,                              /* last_dropped */            \
  |  |  114|  4.44k|            0,                              /* n_dropped */               \
  |  |  115|  4.44k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  4.44k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  4.44k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  4.44k|        }
  ------------------
 1405|  4.44k|    struct ofpact_bundle *bundle;
 1406|  4.44k|    uint32_t member_type;
 1407|  4.44k|    size_t members_size, i;
 1408|  4.44k|    enum ofperr error;
 1409|       |
 1410|  4.44k|    bundle = ofpact_put_BUNDLE(ofpacts);
 1411|       |
 1412|  4.44k|    bundle->n_members = ntohs(nab->n_members);
 1413|  4.44k|    bundle->basis = ntohs(nab->basis);
 1414|  4.44k|    bundle->fields = ntohs(nab->fields);
 1415|  4.44k|    bundle->algorithm = ntohs(nab->algorithm);
 1416|  4.44k|    member_type = ntohl(nab->member_type);
 1417|  4.44k|    members_size = ntohs(nab->len) - sizeof *nab;
 1418|       |
 1419|  4.44k|    error = OFPERR_OFPBAC_BAD_ARGUMENT;
 1420|  4.44k|    if (!flow_hash_fields_valid(bundle->fields)) {
  ------------------
  |  Branch (1420:9): [True: 1.68k, False: 2.75k]
  ------------------
 1421|  1.68k|        VLOG_WARN_RL(&rll, "unsupported fields %d", (int) bundle->fields);
  ------------------
  |  |  224|  1.68k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.68k|    do {                                                                \
  |  |  |  |  288|  1.68k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.68k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.68k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.68k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1422|  2.75k|    } else if (bundle->n_members > BUNDLE_MAX_MEMBERS) {
  ------------------
  |  |   43|  2.75k|#define BUNDLE_MAX_MEMBERS 2048
  ------------------
  |  Branch (1422:16): [True: 460, False: 2.29k]
  ------------------
 1423|    460|        VLOG_WARN_RL(&rll, "too many members");
  ------------------
  |  |  224|    460|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    460|    do {                                                                \
  |  |  |  |  288|    460|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    460|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 460]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    460|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 460]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|  2.29k|    } else if (bundle->algorithm != NX_BD_ALG_HRW
  ------------------
  |  Branch (1424:16): [True: 1.33k, False: 959]
  ------------------
 1425|  1.33k|               && bundle->algorithm != NX_BD_ALG_ACTIVE_BACKUP) {
  ------------------
  |  Branch (1425:19): [True: 704, False: 632]
  ------------------
 1426|    704|        VLOG_WARN_RL(&rll, "unsupported algorithm %d", (int) bundle->algorithm);
  ------------------
  |  |  224|    704|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    704|    do {                                                                \
  |  |  |  |  288|    704|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    704|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 704]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    704|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 704]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|  1.59k|    } else if (member_type != mf_nxm_header(MFF_IN_PORT)) {
  ------------------
  |  Branch (1427:16): [True: 858, False: 733]
  ------------------
 1428|    858|        VLOG_WARN_RL(&rll, "unsupported member type %"PRIu32, member_type);
  ------------------
  |  |  224|    858|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    858|    do {                                                                \
  |  |  |  |  288|    858|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    858|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 858]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    858|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 858]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|    858|    } else {
 1430|    733|        error = 0;
 1431|    733|    }
 1432|       |
 1433|  4.44k|    if (!is_all_zeros(nab->zero, sizeof nab->zero)) {
  ------------------
  |  Branch (1433:9): [True: 3.23k, False: 1.20k]
  ------------------
 1434|  3.23k|        VLOG_WARN_RL(&rll, "reserved field is nonzero");
  ------------------
  |  |  224|  3.23k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  3.23k|    do {                                                                \
  |  |  |  |  288|  3.23k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  3.23k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3.23k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  3.23k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3.23k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  3.23k|        error = OFPERR_OFPBAC_BAD_ARGUMENT;
 1436|  3.23k|    }
 1437|       |
 1438|  4.44k|    if (load) {
  ------------------
  |  Branch (1438:9): [True: 2.40k, False: 2.03k]
  ------------------
 1439|  2.40k|        bundle->dst.ofs = nxm_decode_ofs(nab->ofs_nbits);
 1440|  2.40k|        bundle->dst.n_bits = nxm_decode_n_bits(nab->ofs_nbits);
 1441|  2.40k|        error = mf_vl_mff_mf_from_nxm_header(ntohl(nab->dst), vl_mff_map,
 1442|  2.40k|                                             &bundle->dst.field, tlv_bitmap);
 1443|  2.40k|        if (error) {
  ------------------
  |  Branch (1443:13): [True: 234, False: 2.17k]
  ------------------
 1444|    234|            return error;
 1445|    234|        }
 1446|       |
 1447|  2.17k|        if (bundle->dst.n_bits < 16) {
  ------------------
  |  Branch (1447:13): [True: 219, False: 1.95k]
  ------------------
 1448|    219|            VLOG_WARN_RL(&rll, "bundle_load action requires at least 16 bit "
  ------------------
  |  |  224|    219|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    219|    do {                                                                \
  |  |  |  |  288|    219|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    219|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 219]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    219|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 219]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1449|    219|                         "destination.");
 1450|    219|            error = OFPERR_OFPBAC_BAD_ARGUMENT;
 1451|    219|        }
 1452|  2.17k|    } else {
 1453|  2.03k|        if (nab->ofs_nbits || nab->dst) {
  ------------------
  |  Branch (1453:13): [True: 1.05k, False: 983]
  |  Branch (1453:31): [True: 214, False: 769]
  ------------------
 1454|  1.26k|            VLOG_WARN_RL(&rll, "bundle action has nonzero reserved fields");
  ------------------
  |  |  224|  1.26k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.26k|    do {                                                                \
  |  |  |  |  288|  1.26k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.26k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.26k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.26k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1455|  1.26k|            error = OFPERR_OFPBAC_BAD_ARGUMENT;
 1456|  1.26k|        }
 1457|  2.03k|    }
 1458|       |
 1459|  4.20k|    if (members_size < bundle->n_members * sizeof(ovs_be16)) {
  ------------------
  |  Branch (1459:9): [True: 1.21k, False: 2.99k]
  ------------------
 1460|  1.21k|        VLOG_WARN_RL(&rll, "Nicira action %s only has %"PRIuSIZE" bytes "
  ------------------
  |  |  224|  1.21k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.21k|    do {                                                                \
  |  |  |  |  288|  1.21k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.21k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (290:56): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.21k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1461|  1.21k|                     "allocated for members.  %"PRIuSIZE" bytes are "
 1462|  1.21k|                     "required for %u members.",
 1463|  1.21k|                     load ? "bundle_load" : "bundle", members_size,
 1464|  1.21k|                     bundle->n_members * sizeof(ovs_be16), bundle->n_members);
 1465|  1.21k|        error = OFPERR_OFPBAC_BAD_LEN;
 1466|  2.99k|    } else {
 1467|  17.8k|        for (i = 0; i < bundle->n_members; i++) {
  ------------------
  |  Branch (1467:21): [True: 14.8k, False: 2.99k]
  ------------------
 1468|  14.8k|            ofp_port_t ofp_port
 1469|  14.8k|                = u16_to_ofp(ntohs(((ovs_be16 *)(nab + 1))[i]));
 1470|  14.8k|            ofpbuf_put(ofpacts, &ofp_port, sizeof ofp_port);
 1471|  14.8k|            bundle = ofpacts->header;
 1472|  14.8k|        }
 1473|  2.99k|    }
 1474|       |
 1475|  4.20k|    ofpact_finish_BUNDLE(ofpacts, &bundle);
 1476|  4.20k|    if (!error) {
  ------------------
  |  Branch (1476:9): [True: 2.59k, False: 1.61k]
  ------------------
 1477|  2.59k|        error = bundle_check(bundle, OFPP_MAX, NULL);
  ------------------
  |  |   33|  2.59k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|  2.59k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
 1478|  2.59k|    }
 1479|  4.20k|    return error;
 1480|  4.44k|}
ofp-actions.c:decode_NXAST_RAW_BUNDLE_LOAD:
 1495|  2.40k|{
 1496|       |    return decode_bundle(true, nab, vl_mff_map, tlv_bitmap, out);
 1497|  2.40k|}
ofp-actions.c:decode_NXAST_RAW_OUTPUT_REG:
 1226|  1.18k|{
 1227|  1.18k|    struct ofpact_output_reg *output_reg;
 1228|  1.18k|    enum ofperr error;
 1229|       |
 1230|  1.18k|    if (!is_all_zeros(naor->zero, sizeof naor->zero)) {
  ------------------
  |  Branch (1230:9): [True: 197, False: 988]
  ------------------
 1231|    197|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1232|    197|    }
 1233|       |
 1234|    988|    output_reg = ofpact_put_OUTPUT_REG(out);
 1235|    988|    output_reg->ofpact.raw = NXAST_RAW_OUTPUT_REG;
 1236|    988|    output_reg->src.ofs = nxm_decode_ofs(naor->ofs_nbits);
 1237|    988|    output_reg->src.n_bits = nxm_decode_n_bits(naor->ofs_nbits);
 1238|    988|    output_reg->max_len = ntohs(naor->max_len);
 1239|    988|    error = mf_vl_mff_mf_from_nxm_header(ntohl(naor->src), vl_mff_map,
 1240|    988|                                         &output_reg->src.field, tlv_bitmap);
 1241|    988|    if (error) {
  ------------------
  |  Branch (1241:9): [True: 66, False: 922]
  ------------------
 1242|     66|        return error;
 1243|     66|    }
 1244|       |
 1245|    922|    return mf_check_src(&output_reg->src, NULL);
 1246|    988|}
ofp-actions.c:decode_NXAST_RAW_OUTPUT_REG2:
 1253|    442|{
 1254|    442|    struct ofpact_output_reg *output_reg;
 1255|    442|    enum ofperr error;
 1256|       |
 1257|    442|    output_reg = ofpact_put_OUTPUT_REG(out);
 1258|    442|    output_reg->ofpact.raw = NXAST_RAW_OUTPUT_REG2;
 1259|    442|    output_reg->src.ofs = nxm_decode_ofs(naor->ofs_nbits);
 1260|    442|    output_reg->src.n_bits = nxm_decode_n_bits(naor->ofs_nbits);
 1261|    442|    output_reg->max_len = ntohs(naor->max_len);
 1262|       |
 1263|    442|    struct ofpbuf b = ofpbuf_const_initializer(naor, ntohs(naor->len));
 1264|    442|    ofpbuf_pull(&b, OBJECT_OFFSETOF(naor, pad));
  ------------------
  |  |  108|    442|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 1265|       |
 1266|    442|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &output_reg->src.field,
 1267|    442|                                     NULL, tlv_bitmap);
 1268|    442|    if (error) {
  ------------------
  |  Branch (1268:9): [True: 133, False: 309]
  ------------------
 1269|    133|        return error;
 1270|    133|    }
 1271|       |
 1272|    309|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (1272:9): [True: 114, False: 195]
  ------------------
 1273|    114|        return OFPERR_NXBRC_MUST_BE_ZERO;
 1274|    114|    }
 1275|       |
 1276|    195|    return mf_check_src(&output_reg->src, NULL);
 1277|    309|}
ofp-actions.c:decode_NXAST_RAW_LEARN:
 5476|  24.6k|{
 5477|  24.6k|    struct ofpact_learn *learn;
 5478|  24.6k|    enum ofperr error;
 5479|       |
 5480|  24.6k|    learn = ofpact_put_LEARN(ofpacts);
 5481|       |
 5482|  24.6k|    error = decode_LEARN_common(nal, NXAST_RAW_LEARN, learn);
 5483|  24.6k|    if (error) {
  ------------------
  |  Branch (5483:9): [True: 885, False: 23.7k]
  ------------------
 5484|    885|        return error;
 5485|    885|    }
 5486|       |
 5487|  23.7k|    if (learn->flags & ~(NX_LEARN_F_SEND_FLOW_REM |
  ------------------
  |  Branch (5487:9): [True: 68, False: 23.6k]
  ------------------
 5488|  23.7k|                         NX_LEARN_F_DELETE_LEARNED)) {
 5489|     68|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5490|     68|    }
 5491|       |
 5492|  23.6k|    return decode_LEARN_specs(nal + 1, (char *) nal + ntohs(nal->len),
 5493|  23.6k|                              vl_mff_map, tlv_bitmap, ofpacts);
 5494|  23.7k|}
ofp-actions.c:decode_LEARN_common:
 5365|  26.1k|{
 5366|  26.1k|    if (nal->pad) {
  ------------------
  |  Branch (5366:9): [True: 1.73k, False: 24.4k]
  ------------------
 5367|  1.73k|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5368|  1.73k|    }
 5369|       |
 5370|  24.4k|    learn->ofpact.raw = raw;
 5371|  24.4k|    learn->idle_timeout = ntohs(nal->idle_timeout);
 5372|  24.4k|    learn->hard_timeout = ntohs(nal->hard_timeout);
 5373|  24.4k|    learn->priority = ntohs(nal->priority);
 5374|  24.4k|    learn->cookie = nal->cookie;
 5375|  24.4k|    learn->table_id = nal->table_id;
 5376|  24.4k|    learn->fin_idle_timeout = ntohs(nal->fin_idle_timeout);
 5377|  24.4k|    learn->fin_hard_timeout = ntohs(nal->fin_hard_timeout);
 5378|  24.4k|    learn->flags = ntohs(nal->flags);
 5379|       |
 5380|  24.4k|    if (learn->table_id == 0xff) {
  ------------------
  |  Branch (5380:9): [True: 190, False: 24.2k]
  ------------------
 5381|    190|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5382|    190|    }
 5383|       |
 5384|  24.2k|    return 0;
 5385|  24.4k|}
ofp-actions.c:decode_LEARN_specs:
 5391|  23.9k|{
 5392|  23.9k|    struct ofpact_learn *learn = ofpacts->header;
 5393|       |
 5394|  66.1k|    while (p != end) {
  ------------------
  |  Branch (5394:12): [True: 58.6k, False: 7.56k]
  ------------------
 5395|  58.6k|        struct ofpact_learn_spec *spec;
 5396|  58.6k|        uint16_t header = ntohs(get_be16(&p));
 5397|       |
 5398|  58.6k|        if (!header) {
  ------------------
  |  Branch (5398:13): [True: 13.5k, False: 45.0k]
  ------------------
 5399|  13.5k|            break;
 5400|  13.5k|        }
 5401|       |
 5402|  45.0k|        spec = ofpbuf_put_zeros(ofpacts, sizeof *spec);
 5403|  45.0k|        learn = ofpacts->header;
 5404|       |
 5405|  45.0k|        spec->src_type = header & NX_LEARN_SRC_MASK;
  ------------------
  |  |  823|  45.0k|#define NX_LEARN_SRC_MASK      (1 << 13)
  ------------------
 5406|  45.0k|        spec->dst_type = header & NX_LEARN_DST_MASK;
  ------------------
  |  |  829|  45.0k|#define NX_LEARN_DST_MASK      (3 << 11)
  ------------------
 5407|  45.0k|        spec->n_bits = header & NX_LEARN_N_BITS_MASK;
  ------------------
  |  |  819|  45.0k|#define NX_LEARN_N_BITS_MASK    0x3ff
  ------------------
 5408|       |
 5409|       |        /* Check for valid src and dst type combination. */
 5410|  45.0k|        if (spec->dst_type == NX_LEARN_DST_MATCH ||
  ------------------
  |  |  825|  90.1k|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (5410:13): [True: 41.1k, False: 3.91k]
  ------------------
 5411|  3.91k|            spec->dst_type == NX_LEARN_DST_LOAD ||
  ------------------
  |  |  826|  48.9k|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (5411:13): [True: 1.92k, False: 1.98k]
  ------------------
 5412|  1.98k|            (spec->dst_type == NX_LEARN_DST_OUTPUT &&
  ------------------
  |  |  827|  3.97k|#define NX_LEARN_DST_OUTPUT    (2 << 11) /* Add OFPAT_OUTPUT action. */
  ------------------
  |  Branch (5412:14): [True: 1.68k, False: 303]
  ------------------
 5413|  44.6k|             spec->src_type == NX_LEARN_SRC_FIELD)) {
  ------------------
  |  |  821|  1.68k|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
  |  Branch (5413:14): [True: 1.55k, False: 134]
  ------------------
 5414|       |            /* OK. */
 5415|  44.6k|        } else {
 5416|    437|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 5417|    437|        }
 5418|       |
 5419|       |        /* Check that the arguments don't overrun the end of the action. */
 5420|  44.6k|        if ((char *) end - (char *) p < learn_min_len(header)) {
  ------------------
  |  Branch (5420:13): [True: 687, False: 43.9k]
  ------------------
 5421|    687|            return OFPERR_OFPBAC_BAD_LEN;
 5422|    687|        }
 5423|       |
 5424|       |        /* Get the source. */
 5425|  43.9k|        const uint8_t *imm = NULL;
 5426|  43.9k|        unsigned int imm_bytes = 0;
 5427|  43.9k|        enum ofperr error;
 5428|  43.9k|        if (spec->src_type == NX_LEARN_SRC_FIELD) {
  ------------------
  |  |  821|  43.9k|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
  |  Branch (5428:13): [True: 2.27k, False: 41.6k]
  ------------------
 5429|  2.27k|            error = get_subfield(spec->n_bits, &p, &spec->src, vl_mff_map,
 5430|  2.27k|                                 tlv_bitmap);
 5431|  2.27k|            if (error) {
  ------------------
  |  Branch (5431:17): [True: 609, False: 1.66k]
  ------------------
 5432|    609|                return error;
 5433|    609|            }
 5434|  41.6k|        } else {
 5435|  41.6k|            int p_bytes = 2 * DIV_ROUND_UP(spec->n_bits, 16);
  ------------------
  |  |  300|  41.6k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  ------------------
 5436|  41.6k|            p = (const uint8_t *) p + p_bytes;
 5437|       |
 5438|  41.6k|            imm_bytes = DIV_ROUND_UP(spec->n_bits, 8);
  ------------------
  |  |  300|  41.6k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  ------------------
 5439|  41.6k|            imm = (const uint8_t *) p - imm_bytes;
 5440|  41.6k|        }
 5441|       |
 5442|       |        /* Get the destination. */
 5443|  43.3k|        if (spec->dst_type == NX_LEARN_DST_MATCH ||
  ------------------
  |  |  825|  86.6k|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (5443:13): [True: 40.2k, False: 3.13k]
  ------------------
 5444|  41.9k|            spec->dst_type == NX_LEARN_DST_LOAD) {
  ------------------
  |  |  826|  3.13k|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (5444:13): [True: 1.70k, False: 1.42k]
  ------------------
 5445|  41.9k|            error = get_subfield(spec->n_bits, &p, &spec->dst, vl_mff_map,
 5446|  41.9k|                                 tlv_bitmap);
 5447|  41.9k|            if (error) {
  ------------------
  |  Branch (5447:17): [True: 1.09k, False: 40.8k]
  ------------------
 5448|  1.09k|                return error;
 5449|  1.09k|            }
 5450|  41.9k|        }
 5451|       |
 5452|  42.2k|        if (imm) {
  ------------------
  |  Branch (5452:13): [True: 40.5k, False: 1.64k]
  ------------------
 5453|  40.5k|            uint8_t *src_imm = ofpbuf_put_zeros(ofpacts,
 5454|  40.5k|                                                OFPACT_ALIGN(imm_bytes));
  ------------------
  |  |  205|  40.5k|#define OFPACT_ALIGN(SIZE) ROUND_UP(SIZE, OFPACT_ALIGNTO)
  |  |  ------------------
  |  |  |  |  303|  40.5k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|  40.5k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5455|  40.5k|            memcpy(src_imm, imm, imm_bytes);
 5456|       |
 5457|  40.5k|            learn = ofpacts->header;
 5458|  40.5k|        }
 5459|  42.2k|    }
 5460|  21.1k|    ofpact_finish_LEARN(ofpacts, &learn);
 5461|       |
 5462|  21.1k|    if (!is_all_zeros(p, (char *) end - (char *) p)) {
  ------------------
  |  Branch (5462:9): [True: 763, False: 20.3k]
  ------------------
 5463|    763|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5464|    763|    }
 5465|       |
 5466|  20.3k|    return 0;
 5467|  21.1k|}
ofp-actions.c:get_be16:
 5309|   102k|{
 5310|   102k|    const ovs_be16 *p = *pp;
 5311|   102k|    ovs_be16 value = *p;
 5312|   102k|    *pp = p + 1;
 5313|   102k|    return value;
 5314|   102k|}
ofp-actions.c:learn_min_len:
 5340|  44.6k|{
 5341|  44.6k|    int n_bits = header & NX_LEARN_N_BITS_MASK;
  ------------------
  |  |  819|  44.6k|#define NX_LEARN_N_BITS_MASK    0x3ff
  ------------------
 5342|  44.6k|    int src_type = header & NX_LEARN_SRC_MASK;
  ------------------
  |  |  823|  44.6k|#define NX_LEARN_SRC_MASK      (1 << 13)
  ------------------
 5343|  44.6k|    int dst_type = header & NX_LEARN_DST_MASK;
  ------------------
  |  |  829|  44.6k|#define NX_LEARN_DST_MASK      (3 << 11)
  ------------------
 5344|  44.6k|    unsigned int min_len;
 5345|       |
 5346|  44.6k|    min_len = 0;
 5347|  44.6k|    if (src_type == NX_LEARN_SRC_FIELD) {
  ------------------
  |  |  821|  44.6k|#define NX_LEARN_SRC_FIELD     (0 << 13) /* Copy from field. */
  ------------------
  |  Branch (5347:9): [True: 2.71k, False: 41.9k]
  ------------------
 5348|  2.71k|        min_len += sizeof(ovs_be32); /* src_field */
 5349|  2.71k|        min_len += sizeof(ovs_be16); /* src_ofs */
 5350|  41.9k|    } else {
 5351|  41.9k|        min_len += 2 * DIV_ROUND_UP(n_bits, 16);
  ------------------
  |  |  300|  41.9k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  ------------------
 5352|  41.9k|    }
 5353|  44.6k|    if (dst_type == NX_LEARN_DST_MATCH ||
  ------------------
  |  |  825|  89.2k|#define NX_LEARN_DST_MATCH     (0 << 11) /* Add match criterion. */
  ------------------
  |  Branch (5353:9): [True: 41.1k, False: 3.47k]
  ------------------
 5354|  43.0k|        dst_type == NX_LEARN_DST_LOAD) {
  ------------------
  |  |  826|  3.47k|#define NX_LEARN_DST_LOAD      (1 << 11) /* Add NXAST_REG_LOAD action. */
  ------------------
  |  Branch (5354:9): [True: 1.92k, False: 1.55k]
  ------------------
 5355|  43.0k|        min_len += sizeof(ovs_be32); /* dst_field */
 5356|  43.0k|        min_len += sizeof(ovs_be16); /* dst_ofs */
 5357|  43.0k|    }
 5358|  44.6k|    return min_len;
 5359|  44.6k|}
ofp-actions.c:get_subfield:
 5328|  44.1k|{
 5329|  44.1k|    enum ofperr error;
 5330|       |
 5331|  44.1k|    error = mf_vl_mff_mf_from_nxm_header(ntohl(get_be32(p)), vl_mff_map,
 5332|  44.1k|                                         &sf->field, tlv_bitmap);
 5333|       |    sf->ofs = ntohs(get_be16(p));
 5334|  44.1k|    sf->n_bits = n_bits;
 5335|  44.1k|    return error;
 5336|  44.1k|}
ofp-actions.c:get_be32:
 5318|  44.1k|{
 5319|  44.1k|    const ovs_be32 *p = *pp;
 5320|  44.1k|    ovs_be32 value = get_unaligned_be32(p);
 5321|  44.1k|    *pp = p + 1;
 5322|  44.1k|    return value;
 5323|  44.1k|}
ofp-actions.c:decode_NXAST_RAW_LEARN2:
 5503|  1.98k|{
 5504|  1.98k|    struct ofpbuf b = ofpbuf_const_initializer(nal, ntohs(nal->up.len));
 5505|  1.98k|    struct ofpact_learn *learn;
 5506|  1.98k|    enum ofperr error;
 5507|       |
 5508|  1.98k|    if (nal->pad2) {
  ------------------
  |  Branch (5508:9): [True: 411, False: 1.57k]
  ------------------
 5509|    411|        return OFPERR_NXBAC_MUST_BE_ZERO;
 5510|    411|    }
 5511|       |
 5512|  1.57k|    learn = ofpact_put_LEARN(ofpacts);
 5513|  1.57k|    error = decode_LEARN_common(&nal->up, NXAST_RAW_LEARN2, learn);
 5514|  1.57k|    if (error) {
  ------------------
  |  Branch (5514:9): [True: 1.03k, False: 534]
  ------------------
 5515|  1.03k|        return error;
 5516|  1.03k|    }
 5517|       |
 5518|    534|    learn->limit = ntohl(nal->limit);
 5519|       |
 5520|    534|    if (learn->flags & ~(NX_LEARN_F_SEND_FLOW_REM |
  ------------------
  |  Branch (5520:9): [True: 18, False: 516]
  ------------------
 5521|    534|                         NX_LEARN_F_DELETE_LEARNED |
 5522|    534|                         NX_LEARN_F_WRITE_RESULT)) {
 5523|     18|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5524|     18|    }
 5525|       |
 5526|    516|    ofpbuf_pull(&b, sizeof *nal);
 5527|       |
 5528|    516|    if (learn->flags & NX_LEARN_F_WRITE_RESULT) {
  ------------------
  |  Branch (5528:9): [True: 169, False: 347]
  ------------------
 5529|    169|        error = nx_pull_header(&b, vl_mff_map, &learn->result_dst.field, NULL);
 5530|    169|        if (error) {
  ------------------
  |  Branch (5530:13): [True: 68, False: 101]
  ------------------
 5531|     68|            return error;
 5532|     68|        }
 5533|    101|        if (!learn->result_dst.field->writable) {
  ------------------
  |  Branch (5533:13): [True: 34, False: 67]
  ------------------
 5534|     34|            return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 5535|     34|        }
 5536|     67|        learn->result_dst.ofs = ntohs(nal->result_dst_ofs);
 5537|     67|        learn->result_dst.n_bits = 1;
 5538|    347|    } else if (nal->result_dst_ofs) {
  ------------------
  |  Branch (5538:16): [True: 101, False: 246]
  ------------------
 5539|    101|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 5540|    101|    }
 5541|       |
 5542|    313|    return decode_LEARN_specs(b.data, (char *) nal + ntohs(nal->up.len),
 5543|    313|                              vl_mff_map, tlv_bitmap, ofpacts);
 5544|    516|}
ofp-actions.c:decode_NXAST_RAW_EXIT:
 5967|    341|{
 5968|    341|    ofpact_put_EXIT(out);
 5969|    341|    return 0;
 5970|    341|}
ofp-actions.c:decode_NXAST_RAW_FIN_TIMEOUT:
 4379|  1.03k|{
 4380|  1.03k|    struct ofpact_fin_timeout *oft;
 4381|       |
 4382|  1.03k|    oft = ofpact_put_FIN_TIMEOUT(out);
 4383|  1.03k|    oft->fin_idle_timeout = ntohs(naft->fin_idle_timeout);
 4384|       |    oft->fin_hard_timeout = ntohs(naft->fin_hard_timeout);
 4385|  1.03k|    return 0;
 4386|  1.03k|}
ofp-actions.c:decode_NXAST_RAW_CONTROLLER:
  804|  1.16k|{
  805|  1.16k|    struct ofpact_controller *oc;
  806|       |
  807|  1.16k|    oc = ofpact_put_CONTROLLER(out);
  808|  1.16k|    oc->ofpact.raw = NXAST_RAW_CONTROLLER;
  809|  1.16k|    oc->max_len = ntohs(nac->max_len);
  810|  1.16k|    oc->controller_id = ntohs(nac->controller_id);
  811|  1.16k|    oc->reason = nac->reason;
  812|  1.16k|    oc->meter_id = NX_CTLR_NO_METER;
  ------------------
  |  |  307|  1.16k|#define NX_CTLR_NO_METER 0
  ------------------
  813|  1.16k|    ofpact_finish_CONTROLLER(out, &oc);
  814|       |
  815|  1.16k|    return 0;
  816|  1.16k|}
ofp-actions.c:decode_NXAST_RAW_CONTROLLER2:
  822|  1.15k|{
  823|  1.15k|    if (!is_all_zeros(eah->pad, sizeof eah->pad)) {
  ------------------
  |  Branch (823:9): [True: 43, False: 1.11k]
  ------------------
  824|     43|        return OFPERR_NXBRC_MUST_BE_ZERO;
  825|     43|    }
  826|       |
  827|  1.11k|    size_t start_ofs = out->size;
  828|  1.11k|    struct ofpact_controller *oc = ofpact_put_CONTROLLER(out);
  829|  1.11k|    oc->ofpact.raw = NXAST_RAW_CONTROLLER2;
  830|  1.11k|    oc->max_len = UINT16_MAX;
  831|  1.11k|    oc->reason = OFPR_ACTION;
  832|  1.11k|    oc->meter_id = NX_CTLR_NO_METER;
  ------------------
  |  |  307|  1.11k|#define NX_CTLR_NO_METER 0
  ------------------
  833|       |
  834|  1.11k|    struct ofpbuf properties;
  835|  1.11k|    ofpbuf_use_const(&properties, eah, ntohs(eah->len));
  836|  1.11k|    ofpbuf_pull(&properties, sizeof *eah);
  837|       |
  838|  3.77k|    while (properties.size > 0) {
  ------------------
  |  Branch (838:12): [True: 3.01k, False: 759]
  ------------------
  839|  3.01k|        struct ofpbuf payload;
  840|  3.01k|        uint64_t type;
  841|       |
  842|  3.01k|        enum ofperr error = ofpprop_pull(&properties, &payload, &type);
  843|  3.01k|        if (error) {
  ------------------
  |  Branch (843:13): [True: 78, False: 2.93k]
  ------------------
  844|     78|            return error;
  845|     78|        }
  846|       |
  847|  2.93k|        switch (type) {
  848|    699|        case NXAC2PT_MAX_LEN:
  ------------------
  |  Branch (848:9): [True: 699, False: 2.23k]
  ------------------
  849|    699|            error = ofpprop_parse_u16(&payload, &oc->max_len);
  850|    699|            break;
  851|       |
  852|    128|        case NXAC2PT_CONTROLLER_ID:
  ------------------
  |  Branch (852:9): [True: 128, False: 2.80k]
  ------------------
  853|    128|            error = ofpprop_parse_u16(&payload, &oc->controller_id);
  854|    128|            break;
  855|       |
  856|  1.03k|        case NXAC2PT_REASON: {
  ------------------
  |  Branch (856:9): [True: 1.03k, False: 1.90k]
  ------------------
  857|  1.03k|            uint8_t u8;
  858|  1.03k|            error = ofpprop_parse_u8(&payload, &u8);
  859|  1.03k|            if (!error) {
  ------------------
  |  Branch (859:17): [True: 798, False: 237]
  ------------------
  860|    798|                oc->reason = u8;
  861|    798|            }
  862|  1.03k|            break;
  863|      0|        }
  864|       |
  865|    178|        case NXAC2PT_USERDATA:
  ------------------
  |  Branch (865:9): [True: 178, False: 2.75k]
  ------------------
  866|    178|            out->size = start_ofs + sizeof(struct ofpact_controller);
  867|    178|            ofpbuf_put(out, payload.msg, ofpbuf_msgsize(&payload));
  868|    178|            oc = ofpbuf_at_assert(out, start_ofs, sizeof *oc);
  869|    178|            oc->userdata_len = ofpbuf_msgsize(&payload);
  870|    178|            break;
  871|       |
  872|    748|        case NXAC2PT_PAUSE:
  ------------------
  |  Branch (872:9): [True: 748, False: 2.18k]
  ------------------
  873|    748|            oc->pause = true;
  874|    748|            break;
  875|       |
  876|    111|        case NXAC2PT_METER_ID:
  ------------------
  |  Branch (876:9): [True: 111, False: 2.82k]
  ------------------
  877|    111|            error = ofpprop_parse_u32(&payload, &oc->meter_id);
  878|    111|            break;
  879|       |
  880|     36|        default:
  ------------------
  |  Branch (880:9): [True: 36, False: 2.89k]
  ------------------
  881|     36|            error = OFPPROP_UNKNOWN(false, "NXAST_RAW_CONTROLLER2", type);
  ------------------
  |  |  144|     36|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  882|     36|            break;
  883|  2.93k|        }
  884|  2.93k|        if (error) {
  ------------------
  |  Branch (884:13): [True: 274, False: 2.66k]
  ------------------
  885|    274|            return error;
  886|    274|        }
  887|  2.93k|    }
  888|       |
  889|    759|    ofpact_finish_CONTROLLER(out, &oc);
  890|       |
  891|    759|    return 0;
  892|  1.11k|}
ofp-actions.c:decode_NXAST_RAW_WRITE_METADATA:
 7723|    600|{
 7724|    600|    struct ofpact_metadata *om;
 7725|       |
 7726|    600|    if (!is_all_zeros(nawm->zeros, sizeof nawm->zeros)) {
  ------------------
  |  Branch (7726:9): [True: 194, False: 406]
  ------------------
 7727|    194|        return OFPERR_NXBRC_MUST_BE_ZERO;
 7728|    194|    }
 7729|       |
 7730|    406|    om = ofpact_put_WRITE_METADATA(out);
 7731|    406|    om->metadata = nawm->metadata;
 7732|    406|    om->mask = nawm->mask;
 7733|       |
 7734|    406|    return 0;
 7735|    600|}
ofp-actions.c:decode_NXAST_RAW_STACK_PUSH:
 3494|  1.36k|{
 3495|  1.36k|    struct ofpact_stack *push = ofpact_put_STACK_PUSH(ofpacts);
 3496|  1.36k|    enum ofperr error = decode_stack_action(nasp, vl_mff_map, tlv_bitmap,
 3497|  1.36k|                                            push);
 3498|  1.36k|    return error ? error : nxm_stack_push_check(push, NULL);
  ------------------
  |  Branch (3498:12): [True: 185, False: 1.18k]
  ------------------
 3499|  1.36k|}
ofp-actions.c:decode_stack_action:
 3467|  3.45k|{
 3468|  3.45k|    enum ofperr error;
 3469|  3.45k|    stack_action->subfield.ofs = ntohs(nasp->offset);
 3470|       |
 3471|  3.45k|    struct ofpbuf b = ofpbuf_const_initializer(nasp, sizeof *nasp);
 3472|  3.45k|    ofpbuf_pull(&b, OBJECT_OFFSETOF(nasp, pad));
  ------------------
  |  |  108|  3.45k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 3473|  3.45k|    error  = mf_vl_mff_nx_pull_header(&b, vl_mff_map,
 3474|  3.45k|                                      &stack_action->subfield.field, NULL,
 3475|  3.45k|                                      tlv_bitmap);
 3476|  3.45k|    if (error) {
  ------------------
  |  Branch (3476:9): [True: 375, False: 3.07k]
  ------------------
 3477|    375|        return error;
 3478|    375|    }
 3479|       |
 3480|  3.07k|    stack_action->subfield.n_bits = ntohs(*(const ovs_be16 *) b.data);
 3481|  3.07k|    ofpbuf_pull(&b, 2);
 3482|  3.07k|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (3482:9): [True: 337, False: 2.73k]
  ------------------
 3483|    337|        return OFPERR_NXBRC_MUST_BE_ZERO;
 3484|    337|    }
 3485|       |
 3486|  2.73k|    return 0;
 3487|  3.07k|}
ofp-actions.c:decode_NXAST_RAW_STACK_POP:
 3506|  2.08k|{
 3507|  2.08k|    struct ofpact_stack *pop = ofpact_put_STACK_POP(ofpacts);
 3508|  2.08k|    enum ofperr error = decode_stack_action(nasp, vl_mff_map, tlv_bitmap,
 3509|  2.08k|                                            pop);
 3510|  2.08k|    return error ? error : nxm_stack_pop_check(pop, NULL);
  ------------------
  |  Branch (3510:12): [True: 527, False: 1.55k]
  ------------------
 3511|  2.08k|}
ofp-actions.c:decode_NXAST_RAW_SAMPLE:
 6215|    438|{
 6216|    438|    struct ofpact_sample *sample;
 6217|       |
 6218|    438|    sample = ofpact_put_SAMPLE(out);
 6219|    438|    sample->ofpact.raw = NXAST_RAW_SAMPLE;
 6220|    438|    sample->probability = ntohs(nas->probability);
 6221|    438|    sample->collector_set_id = ntohl(nas->collector_set_id);
 6222|    438|    sample->obs_domain_imm = ntohl(nas->obs_domain_id);
 6223|    438|    sample->obs_domain_src.field = NULL;
 6224|    438|    sample->obs_point_imm = ntohl(nas->obs_point_id);
 6225|    438|    sample->obs_point_src.field = NULL;
 6226|    438|    sample->sampling_port = OFPP_NONE;
  ------------------
  |  |   47|    438|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|    438|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
 6227|    438|    sample->direction = NX_ACTION_SAMPLE_DEFAULT;
 6228|    438|    sample->obs_domain_src.field = NULL;
 6229|    438|    sample->obs_point_src.field = NULL;
 6230|    438|    if (sample->probability == 0) {
  ------------------
  |  Branch (6230:9): [True: 82, False: 356]
  ------------------
 6231|     82|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 6232|     82|    }
 6233|       |
 6234|    356|    return 0;
 6235|    438|}
ofp-actions.c:decode_NXAST_RAW_SAMPLE2:
 6264|    274|{
 6265|    274|    return decode_SAMPLE2(nas, NXAST_RAW_SAMPLE2, NX_ACTION_SAMPLE_DEFAULT,
 6266|    274|                          ofpact_put_SAMPLE(out));
 6267|    274|}
ofp-actions.c:decode_SAMPLE2:
 6242|  3.13k|{
 6243|  3.13k|    sample->ofpact.raw = raw;
 6244|  3.13k|    sample->probability = ntohs(nas->probability);
 6245|  3.13k|    sample->collector_set_id = ntohl(nas->collector_set_id);
 6246|  3.13k|    sample->obs_domain_imm = ntohl(nas->obs_domain_id);
 6247|  3.13k|    sample->obs_domain_src.field = NULL;
 6248|  3.13k|    sample->obs_point_imm = ntohl(nas->obs_point_id);
 6249|  3.13k|    sample->obs_point_src.field = NULL;
 6250|  3.13k|    sample->sampling_port = u16_to_ofp(ntohs(nas->sampling_port));
 6251|  3.13k|    sample->direction = direction;
 6252|       |
 6253|  3.13k|    if (sample->probability == 0) {
  ------------------
  |  Branch (6253:9): [True: 1.26k, False: 1.86k]
  ------------------
 6254|  1.26k|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 6255|  1.26k|    }
 6256|       |
 6257|  1.86k|    return 0;
 6258|  3.13k|}
ofp-actions.c:decode_NXAST_RAW_SAMPLE3:
 6285|  3.62k|{
 6286|  3.62k|    struct ofpact_sample *sample = ofpact_put_SAMPLE(out);
 6287|  3.62k|    int err;
 6288|       |
 6289|  3.62k|    if (!is_all_zeros(nas->zeros, sizeof nas->zeros)) {
  ------------------
  |  Branch (6289:9): [True: 743, False: 2.87k]
  ------------------
 6290|    743|        return OFPERR_NXBRC_MUST_BE_ZERO;
 6291|    743|    }
 6292|  2.87k|    err = check_sample_direction(nas->direction);
 6293|  2.87k|    if (err) {
  ------------------
  |  Branch (6293:9): [True: 18, False: 2.85k]
  ------------------
 6294|     18|        return err;
 6295|     18|    }
 6296|  2.85k|    return decode_SAMPLE2(nas, NXAST_RAW_SAMPLE3, nas->direction, sample);
 6297|  2.87k|}
ofp-actions.c:check_sample_direction:
 6271|  5.95k|{
 6272|  5.95k|    if (direction != NX_ACTION_SAMPLE_DEFAULT &&
  ------------------
  |  Branch (6272:9): [True: 1.90k, False: 4.05k]
  ------------------
 6273|  1.90k|        direction != NX_ACTION_SAMPLE_INGRESS &&
  ------------------
  |  Branch (6273:9): [True: 1.18k, False: 716]
  ------------------
 6274|  1.18k|        direction != NX_ACTION_SAMPLE_EGRESS) {
  ------------------
  |  Branch (6274:9): [True: 144, False: 1.04k]
  ------------------
 6275|    144|        VLOG_WARN_RL(&rl, "invalid sample direction %"PRIu8, direction);
  ------------------
  |  |  224|    144|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    144|    do {                                                                \
  |  |  |  |  288|    144|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    144|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 144]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    144|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6276|    144|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 6277|    144|    }
 6278|  5.80k|    return 0;
 6279|  5.95k|}
ofp-actions.c:decode_NXAST_RAW_SAMPLE4:
 6340|  3.67k|{
 6341|  3.67k|    struct ofpact_sample *sample = ofpact_put_SAMPLE(out);
 6342|  3.67k|    int err;
 6343|       |
 6344|  3.67k|    if (!is_all_zeros(nas->zeros, sizeof nas->zeros)) {
  ------------------
  |  Branch (6344:9): [True: 598, False: 3.07k]
  ------------------
 6345|    598|        return OFPERR_NXBRC_MUST_BE_ZERO;
 6346|    598|    }
 6347|       |
 6348|  3.07k|    err = check_sample_direction(nas->direction);
 6349|  3.07k|    if (err) {
  ------------------
  |  Branch (6349:9): [True: 126, False: 2.94k]
  ------------------
 6350|    126|        return err;
 6351|    126|    }
 6352|       |
 6353|  2.94k|    sample->ofpact.raw = NXAST_RAW_SAMPLE4;
 6354|  2.94k|    sample->probability = ntohs(nas->probability);
 6355|  2.94k|    sample->collector_set_id = ntohl(nas->collector_set_id);
 6356|  2.94k|    sample->sampling_port = u16_to_ofp(ntohs(nas->sampling_port));
 6357|  2.94k|    sample->direction = nas->direction;
 6358|       |
 6359|  2.94k|    if (sample->probability == 0) {
  ------------------
  |  Branch (6359:9): [True: 18, False: 2.93k]
  ------------------
 6360|     18|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 6361|     18|    }
 6362|       |
 6363|  2.93k|    err = decode_sample_obs_id(nas->obs_domain_src,
 6364|  2.93k|                               nas->obs_domain_ofs_nbits,
 6365|  2.93k|                               nas->obs_domain_imm,
 6366|  2.93k|                               vl_mff_map, tlv_bitmap,
 6367|  2.93k|                               &sample->obs_domain_src,
 6368|  2.93k|                               &sample->obs_domain_imm);
 6369|  2.93k|    if (err) {
  ------------------
  |  Branch (6369:9): [True: 447, False: 2.48k]
  ------------------
 6370|    447|        return err;
 6371|    447|    }
 6372|       |
 6373|  2.48k|    return decode_sample_obs_id(nas->obs_point_src,
 6374|  2.48k|                                nas->obs_point_ofs_nbits,
 6375|  2.48k|                                nas->obs_point_imm,
 6376|  2.48k|                                vl_mff_map, tlv_bitmap,
 6377|  2.48k|                                &sample->obs_point_src,
 6378|  2.48k|                                &sample->obs_point_imm);
 6379|  2.93k|}
ofp-actions.c:decode_sample_obs_id:
 6303|  5.41k|{
 6304|  5.41k|    if (src) {
  ------------------
  |  Branch (6304:9): [True: 4.21k, False: 1.19k]
  ------------------
 6305|  4.21k|        enum ofperr error;
 6306|       |
 6307|  4.21k|        src_out->ofs = nxm_decode_ofs(ofs_nbits);
 6308|  4.21k|        src_out->n_bits = nxm_decode_n_bits(ofs_nbits);
 6309|  4.21k|        error = mf_vl_mff_mf_from_nxm_header(ntohl(src),
 6310|  4.21k|                                             vl_mff_map, &src_out->field,
 6311|  4.21k|                                             tlv_bitmap);
 6312|  4.21k|        if (error) {
  ------------------
  |  Branch (6312:13): [True: 658, False: 3.56k]
  ------------------
 6313|    658|            return error;
 6314|    658|        }
 6315|       |
 6316|  3.56k|        error = mf_check_src(src_out, NULL);
 6317|  3.56k|        if (error) {
  ------------------
  |  Branch (6317:13): [True: 336, False: 3.22k]
  ------------------
 6318|    336|            return error;
 6319|    336|        }
 6320|       |
 6321|  3.22k|        if (src_out->n_bits > 32) {
  ------------------
  |  Branch (6321:13): [True: 446, False: 2.77k]
  ------------------
 6322|    446|            VLOG_WARN_RL(&rl, "size of field used in observation_id (%d) "
  ------------------
  |  |  224|    446|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    446|    do {                                                                \
  |  |  |  |  288|    446|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    446|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 446]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    446|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 446]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6323|    446|                               "exceeds maximum (32)", src_out->n_bits);
 6324|    446|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 6325|    446|        }
 6326|  3.22k|    } else {
 6327|  1.19k|        src_out->field = NULL;
 6328|  1.19k|        *imm_out = ntohl(imm);
 6329|  1.19k|    }
 6330|       |
 6331|  3.97k|    return 0;
 6332|  5.41k|}
ofp-actions.c:decode_NXAST_RAW_CONJUNCTION:
 5678|  5.48k|{
 5679|  5.48k|    if (nac->n_clauses < 2 || nac->n_clauses > 64
  ------------------
  |  Branch (5679:9): [True: 1.12k, False: 4.36k]
  |  Branch (5679:31): [True: 21, False: 4.33k]
  ------------------
 5680|  4.33k|        || nac->clause >= nac->n_clauses) {
  ------------------
  |  Branch (5680:12): [True: 481, False: 3.85k]
  ------------------
 5681|  1.62k|        return OFPERR_NXBAC_BAD_CONJUNCTION;
 5682|  3.85k|    } else {
 5683|       |        add_conjunction(out, ntohl(nac->id), nac->clause, nac->n_clauses);
 5684|  3.85k|        return 0;
 5685|  3.85k|    }
 5686|  5.48k|}
ofp-actions.c:add_conjunction:
 5665|  3.85k|{
 5666|  3.85k|    struct ofpact_conjunction *oc;
 5667|       |
 5668|  3.85k|    oc = ofpact_put_CONJUNCTION(out);
 5669|  3.85k|    oc->id = id;
 5670|  3.85k|    oc->clause = clause;
 5671|  3.85k|    oc->n_clauses = n_clauses;
 5672|  3.85k|}
ofp-actions.c:decode_NXAST_RAW_CT:
 6828|  9.51k|{
 6829|  9.51k|    const size_t ct_offset = ofpacts_pull(out);
 6830|  9.51k|    struct ofpact_conntrack *conntrack = ofpact_put_CT(out);
 6831|  9.51k|    int error;
 6832|       |
 6833|  9.51k|    conntrack->flags = ntohs(nac->flags);
 6834|  9.51k|    if (conntrack->flags & NX_CT_F_FORCE &&
  ------------------
  |  Branch (6834:9): [True: 2.35k, False: 7.16k]
  ------------------
 6835|  2.35k|        !(conntrack->flags & NX_CT_F_COMMIT)) {
  ------------------
  |  Branch (6835:9): [True: 352, False: 1.99k]
  ------------------
 6836|    352|        error = OFPERR_OFPBAC_BAD_ARGUMENT;
 6837|    352|        goto out;
 6838|    352|    }
 6839|       |
 6840|  9.16k|    error = decode_ct_zone(nac, conntrack, vl_mff_map, tlv_bitmap);
 6841|  9.16k|    if (error) {
  ------------------
  |  Branch (6841:9): [True: 1.84k, False: 7.31k]
  ------------------
 6842|  1.84k|        goto out;
 6843|  1.84k|    }
 6844|  7.31k|    conntrack->recirc_table = nac->recirc_table;
 6845|  7.31k|    conntrack->alg = ntohs(nac->alg);
 6846|       |
 6847|  7.31k|    ofpbuf_pull(out, sizeof(*conntrack));
 6848|       |
 6849|  7.31k|    struct ofpbuf openflow = ofpbuf_const_initializer(
 6850|  7.31k|        nac + 1, ntohs(nac->len) - sizeof(*nac));
 6851|  7.31k|    error = ofpacts_pull_openflow_actions__(&openflow, openflow.size,
 6852|  7.31k|                                            ofp_version,
 6853|  7.31k|                                            1u << OVSINST_OFPIT11_APPLY_ACTIONS,
 6854|  7.31k|                                            out, OFPACT_CT, vl_mff_map,
 6855|  7.31k|                                            tlv_bitmap);
 6856|  7.31k|    if (error) {
  ------------------
  |  Branch (6856:9): [True: 1.02k, False: 6.28k]
  ------------------
 6857|  1.02k|        return error;
 6858|  1.02k|    }
 6859|       |
 6860|  6.28k|    conntrack = ofpbuf_push_uninit(out, sizeof(*conntrack));
 6861|  6.28k|    out->header = &conntrack->ofpact;
 6862|  6.28k|    ofpact_finish_CT(out, &conntrack);
 6863|       |
 6864|  6.28k|    if (conntrack->ofpact.len > sizeof(*conntrack)
  ------------------
  |  Branch (6864:9): [True: 3.27k, False: 3.01k]
  ------------------
 6865|  3.27k|        && !(conntrack->flags & NX_CT_F_COMMIT)) {
  ------------------
  |  Branch (6865:12): [True: 344, False: 2.93k]
  ------------------
 6866|    344|        const struct ofpact *a;
 6867|    344|        size_t ofpacts_len = conntrack->ofpact.len - sizeof(*conntrack);
 6868|       |
 6869|    344|        OFPACT_FOR_EACH (a, conntrack->actions, ofpacts_len) {
  ------------------
  |  |  261|    362|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 344, False: 18]
  |  |  ------------------
  |  |  262|    344|         (POS) = ofpact_next(POS))
  ------------------
 6870|    344|            if (a->type != OFPACT_NAT || ofpact_get_NAT(a)->flags
  ------------------
  |  Branch (6870:17): [True: 229, False: 115]
  |  Branch (6870:42): [True: 79, False: 36]
  ------------------
 6871|    326|                || ofpact_get_NAT(a)->range_af != AF_UNSPEC) {
  ------------------
  |  Branch (6871:20): [True: 18, False: 18]
  ------------------
 6872|    326|                VLOG_WARN_RL(&rl, "CT action requires commit flag if actions "
  ------------------
  |  |  224|    326|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    326|    do {                                                                \
  |  |  |  |  288|    326|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    326|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 326]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    326|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 326]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6873|    326|                             "other than NAT without arguments are specified.");
 6874|    326|                error = OFPERR_OFPBAC_BAD_ARGUMENT;
 6875|    326|                goto out;
 6876|    326|            }
 6877|    344|        }
 6878|    344|    }
 6879|       |
 6880|  8.48k|out:
 6881|  8.48k|    ofpbuf_push_uninit(out, ct_offset);
 6882|  8.48k|    return error;
 6883|  6.28k|}
ofp-actions.c:ofpacts_pull:
  536|  12.4k|{
  537|  12.4k|    size_t ofs;
  538|       |
  539|  12.4k|    ofs = ofpacts->size;
  540|  12.4k|    ofpbuf_pull(ofpacts, ofs);
  541|       |
  542|  12.4k|    return ofs;
  543|  12.4k|}
ofp-actions.c:decode_ct_zone:
 6792|  9.16k|{
 6793|  9.16k|    if (nac->zone_src) {
  ------------------
  |  Branch (6793:9): [True: 4.15k, False: 5.00k]
  ------------------
 6794|  4.15k|        enum ofperr error;
 6795|       |
 6796|  4.15k|        out->zone_src.ofs = nxm_decode_ofs(nac->zone_ofs_nbits);
 6797|  4.15k|        out->zone_src.n_bits = nxm_decode_n_bits(nac->zone_ofs_nbits);
 6798|  4.15k|        error = mf_vl_mff_mf_from_nxm_header(ntohl(nac->zone_src),
 6799|  4.15k|                                             vl_mff_map, &out->zone_src.field,
 6800|  4.15k|                                             tlv_bitmap);
 6801|  4.15k|        if (error) {
  ------------------
  |  Branch (6801:13): [True: 1.18k, False: 2.97k]
  ------------------
 6802|  1.18k|            return error;
 6803|  1.18k|        }
 6804|       |
 6805|  2.97k|        error = mf_check_src(&out->zone_src, NULL);
 6806|  2.97k|        if (error) {
  ------------------
  |  Branch (6806:13): [True: 325, False: 2.64k]
  ------------------
 6807|    325|            return error;
 6808|    325|        }
 6809|       |
 6810|  2.64k|        if (out->zone_src.n_bits != 16) {
  ------------------
  |  Branch (6810:13): [True: 339, False: 2.30k]
  ------------------
 6811|    339|            VLOG_WARN_RL(&rl, "zone n_bits %d not within valid range [16..16]",
  ------------------
  |  |  224|    339|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    339|    do {                                                                \
  |  |  |  |  288|    339|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    339|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 339]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    339|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 339]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6812|    339|                         out->zone_src.n_bits);
 6813|    339|            return OFPERR_OFPBAC_BAD_SET_LEN;
 6814|    339|        }
 6815|  5.00k|    } else {
 6816|  5.00k|        out->zone_src.field = NULL;
 6817|  5.00k|        out->zone_imm = ntohs(nac->zone_imm);
 6818|  5.00k|    }
 6819|       |
 6820|  7.31k|    return 0;
 6821|  9.16k|}
ofp-actions.c:decode_NXAST_RAW_NAT:
 7207|  28.0k|{
 7208|  28.0k|    struct ofpact_nat *nat;
 7209|  28.0k|    uint16_t range_present = ntohs(nan->range_present);
 7210|  28.0k|    const char *opts = (char *)(nan + 1);
 7211|  28.0k|    uint16_t len = ntohs(nan->len) - sizeof *nan;
 7212|       |
 7213|  28.0k|    nat = ofpact_put_NAT(out);
 7214|  28.0k|    nat->flags = ntohs(nan->flags);
 7215|       |
 7216|       |    /* Check for unknown or mutually exclusive flags. */
 7217|  28.0k|    if ((nat->flags & ~NX_NAT_F_MASK)
  ------------------
  |  Branch (7217:9): [True: 6.19k, False: 21.8k]
  ------------------
 7218|  21.8k|        || (nat->flags & NX_NAT_F_SRC && nat->flags & NX_NAT_F_DST)
  ------------------
  |  Branch (7218:13): [True: 3.61k, False: 18.2k]
  |  Branch (7218:42): [True: 316, False: 3.30k]
  ------------------
 7219|  21.5k|        || (nat->flags & NX_NAT_F_PROTO_HASH
  ------------------
  |  Branch (7219:13): [True: 330, False: 21.1k]
  ------------------
 7220|  6.74k|            && nat->flags & NX_NAT_F_PROTO_RANDOM)) {
  ------------------
  |  Branch (7220:16): [True: 231, False: 99]
  ------------------
 7221|  6.74k|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 7222|  6.74k|    }
 7223|       |
 7224|  21.2k|#define NX_NAT_GET_OPT(DST, SRC, LEN, TYPE)                     \
 7225|  21.2k|    (LEN >= sizeof(TYPE)                                        \
 7226|  21.2k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
 7227|  21.2k|        SRC += sizeof(TYPE))                                    \
 7228|  21.2k|     : NULL)
 7229|       |
 7230|  21.2k|    nat->range_af = AF_UNSPEC;
 7231|  21.2k|    if (range_present & NX_NAT_RANGE_IPV4_MIN) {
  ------------------
  |  Branch (7231:9): [True: 11.8k, False: 9.41k]
  ------------------
 7232|  11.8k|        if (range_present & (NX_NAT_RANGE_IPV6_MIN | NX_NAT_RANGE_IPV6_MAX)) {
  ------------------
  |  Branch (7232:13): [True: 2.05k, False: 9.80k]
  ------------------
 7233|  2.05k|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 7234|  2.05k|        }
 7235|       |
 7236|  9.80k|        if (!NX_NAT_GET_OPT(&nat->range.addr.ipv4.min, opts, len, ovs_be32)
  ------------------
  |  | 7225|  19.6k|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 9.73k, False: 66]
  |  |  ------------------
  |  | 7226|  19.6k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|  9.73k|        SRC += sizeof(TYPE))                                    \
  |  | 7228|  19.6k|     : NULL)
  ------------------
  |  Branch (7236:13): [True: 66, False: 9.73k]
  ------------------
 7237|  9.73k|            || !nat->range.addr.ipv4.min) {
  ------------------
  |  Branch (7237:16): [True: 176, False: 9.56k]
  ------------------
 7238|    242|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 7239|    242|        }
 7240|       |
 7241|  9.56k|        nat->range_af = AF_INET;
 7242|       |
 7243|  9.56k|        if (range_present & NX_NAT_RANGE_IPV4_MAX) {
  ------------------
  |  Branch (7243:13): [True: 2.16k, False: 7.40k]
  ------------------
 7244|  2.16k|            if (!NX_NAT_GET_OPT(&nat->range.addr.ipv4.max, opts, len,
  ------------------
  |  | 7225|  2.16k|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 2.16k, False: 0]
  |  |  ------------------
  |  | 7226|  2.16k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|  2.16k|        SRC += sizeof(TYPE))                                    \
  |  | 7228|  2.16k|     : NULL)
  ------------------
  |  Branch (7244:17): [True: 0, False: 2.16k]
  ------------------
 7245|  2.16k|                                ovs_be32)) {
 7246|      0|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7247|      0|            }
 7248|  2.16k|            if (ntohl(nat->range.addr.ipv4.max)
  ------------------
  |  Branch (7248:17): [True: 1.11k, False: 1.04k]
  ------------------
 7249|  2.16k|                < ntohl(nat->range.addr.ipv4.min)) {
 7250|  1.11k|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7251|  1.11k|            }
 7252|  2.16k|        }
 7253|  9.56k|    } else if (range_present & NX_NAT_RANGE_IPV4_MAX) {
  ------------------
  |  Branch (7253:16): [True: 601, False: 8.81k]
  ------------------
 7254|    601|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 7255|  8.81k|    } else if (range_present & NX_NAT_RANGE_IPV6_MIN) {
  ------------------
  |  Branch (7255:16): [True: 5.47k, False: 3.34k]
  ------------------
 7256|  5.47k|        if (!NX_NAT_GET_OPT(&nat->range.addr.ipv6.min, opts, len,
  ------------------
  |  | 7225|  10.9k|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 2.63k, False: 2.83k]
  |  |  ------------------
  |  | 7226|  10.9k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|  2.63k|        SRC += sizeof(TYPE))                                    \
  |  | 7228|  10.9k|     : NULL)
  ------------------
  |  Branch (7256:13): [True: 2.83k, False: 2.63k]
  ------------------
 7257|  5.47k|                            struct in6_addr)
 7258|  4.22k|            || ipv6_mask_is_any(&nat->range.addr.ipv6.min)) {
  ------------------
  |  Branch (7258:16): [True: 1.38k, False: 1.24k]
  ------------------
 7259|  4.22k|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 7260|  4.22k|        }
 7261|       |
 7262|  1.24k|        nat->range_af = AF_INET6;
 7263|       |
 7264|  1.24k|        if (range_present & NX_NAT_RANGE_IPV6_MAX) {
  ------------------
  |  Branch (7264:13): [True: 1.02k, False: 225]
  ------------------
 7265|  1.02k|            if (!NX_NAT_GET_OPT(&nat->range.addr.ipv6.max, opts, len,
  ------------------
  |  | 7225|  1.02k|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 987, False: 33]
  |  |  ------------------
  |  | 7226|  1.02k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|    987|        SRC += sizeof(TYPE))                                    \
  |  | 7228|  1.02k|     : NULL)
  ------------------
  |  Branch (7265:17): [True: 33, False: 987]
  ------------------
 7266|  1.02k|                                struct in6_addr)) {
 7267|     33|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7268|     33|            }
 7269|    987|            if (memcmp(&nat->range.addr.ipv6.max, &nat->range.addr.ipv6.min,
  ------------------
  |  Branch (7269:17): [True: 176, False: 811]
  ------------------
 7270|    987|                       sizeof(struct in6_addr)) < 0) {
 7271|    176|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7272|    176|            }
 7273|    987|        }
 7274|  3.34k|    } else if (range_present & NX_NAT_RANGE_IPV6_MAX) {
  ------------------
  |  Branch (7274:16): [True: 1.04k, False: 2.29k]
  ------------------
 7275|  1.04k|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 7276|  1.04k|    }
 7277|       |
 7278|  11.7k|    if (range_present & NX_NAT_RANGE_PROTO_MIN) {
  ------------------
  |  Branch (7278:9): [True: 3.82k, False: 7.96k]
  ------------------
 7279|  3.82k|        ovs_be16 proto;
 7280|       |
 7281|  3.82k|        if (nat->range_af == AF_UNSPEC) {
  ------------------
  |  Branch (7281:13): [True: 1.08k, False: 2.73k]
  ------------------
 7282|  1.08k|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 7283|  1.08k|        }
 7284|  2.73k|        if (!NX_NAT_GET_OPT(&proto, opts, len, ovs_be16) || proto == 0) {
  ------------------
  |  | 7225|  5.47k|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 1.94k, False: 795]
  |  |  ------------------
  |  | 7226|  5.47k|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|  1.94k|        SRC += sizeof(TYPE))                                    \
  |  | 7228|  5.47k|     : NULL)
  ------------------
  |  Branch (7284:13): [True: 795, False: 1.94k]
  |  Branch (7284:61): [True: 165, False: 1.77k]
  ------------------
 7285|    960|            return OFPERR_OFPBAC_BAD_ARGUMENT;
 7286|    960|        }
 7287|  1.77k|        nat->range.proto.min = ntohs(proto);
 7288|  1.77k|        if (range_present & NX_NAT_RANGE_PROTO_MAX) {
  ------------------
  |  Branch (7288:13): [True: 836, False: 939]
  ------------------
 7289|    836|            if (!NX_NAT_GET_OPT(&proto, opts, len, ovs_be16)) {
  ------------------
  |  | 7225|    836|    (LEN >= sizeof(TYPE)                                        \
  |  |  ------------------
  |  |  |  Branch (7225:6): [True: 836, False: 0]
  |  |  ------------------
  |  | 7226|    836|     ? (memcpy(DST, SRC, sizeof(TYPE)), LEN -= sizeof(TYPE),    \
  |  | 7227|    836|        SRC += sizeof(TYPE))                                    \
  |  | 7228|    836|     : NULL)
  ------------------
  |  Branch (7289:17): [True: 0, False: 836]
  ------------------
 7290|      0|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7291|      0|            }
 7292|    836|            nat->range.proto.max = ntohs(proto);
 7293|    836|            if (nat->range.proto.max < nat->range.proto.min) {
  ------------------
  |  Branch (7293:17): [True: 526, False: 310]
  ------------------
 7294|    526|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 7295|    526|            }
 7296|    836|        }
 7297|  7.96k|    } else if (range_present & NX_NAT_RANGE_PROTO_MAX) {
  ------------------
  |  Branch (7297:16): [True: 393, False: 7.56k]
  ------------------
 7298|    393|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 7299|    393|    }
 7300|       |
 7301|  8.81k|    return 0;
 7302|  11.7k|}
ofp-actions.c:decode_NXAST_RAW_OUTPUT_TRUNC:
 7505|  1.14k|{
 7506|  1.14k|    struct ofpact_output_trunc *output_trunc;
 7507|       |
 7508|  1.14k|    output_trunc = ofpact_put_OUTPUT_TRUNC(out);
 7509|  1.14k|    output_trunc->max_len = ntohl(natrc->max_len);
 7510|  1.14k|    output_trunc->port = u16_to_ofp(ntohs(natrc->port));
 7511|       |
 7512|  1.14k|    if (output_trunc->max_len < ETH_HEADER_LEN) {
  ------------------
  |  |  439|  1.14k|#define ETH_HEADER_LEN 14
  ------------------
  |  Branch (7512:9): [True: 20, False: 1.12k]
  ------------------
 7513|     20|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 7514|     20|    }
 7515|  1.12k|    return 0;
 7516|  1.14k|}
ofp-actions.c:decode_NXAST_RAW_CLONE:
 6047|  2.95k|{
 6048|  2.95k|    int error;
 6049|  2.95k|    struct ofpbuf openflow;
 6050|  2.95k|    const size_t clone_offset = ofpacts_pull(out);
 6051|  2.95k|    struct ofpact_nest *clone = ofpact_put_CLONE(out);
 6052|       |
 6053|       |    /* decode action list */
 6054|  2.95k|    ofpbuf_pull(out, sizeof(*clone));
 6055|  2.95k|    openflow = ofpbuf_const_initializer(
 6056|  2.95k|                    eah + 1, ntohs(eah->len) - sizeof *eah);
 6057|  2.95k|    error = ofpacts_pull_openflow_actions__(&openflow, openflow.size,
 6058|  2.95k|                                            ofp_version,
 6059|  2.95k|                                            1u << OVSINST_OFPIT11_APPLY_ACTIONS,
 6060|  2.95k|                                            out, 0, vl_mff_map, tlv_bitmap);
 6061|  2.95k|    if (error) {
  ------------------
  |  Branch (6061:9): [True: 54, False: 2.89k]
  ------------------
 6062|     54|        return error;
 6063|     54|    }
 6064|  2.89k|    clone = ofpbuf_push_uninit(out, sizeof *clone);
 6065|  2.89k|    out->header = &clone->ofpact;
 6066|  2.89k|    ofpact_finish_CLONE(out, &clone);
 6067|  2.89k|    ofpbuf_push_uninit(out, clone_offset);
 6068|  2.89k|    return error;
 6069|  2.95k|}
ofp-actions.c:decode_NXAST_RAW_CT_CLEAR:
 7092|    138|{
 7093|    138|    ofpact_put_CT_CLEAR(out);
 7094|    138|    return 0;
 7095|    138|}
ofp-actions.c:decode_NXAST_RAW_ENCAP:
 4467|  5.89k|{
 4468|  5.89k|    struct ofpact_encap *encap;
 4469|  5.89k|    const struct ofp_ed_prop_header *ofp_prop;
 4470|  5.89k|    const size_t encap_ofs = out->size;
 4471|  5.89k|    size_t props_len;
 4472|  5.89k|    uint16_t n_props = 0;
 4473|  5.89k|    int err;
 4474|       |
 4475|  5.89k|    encap = ofpact_put_ENCAP(out);
 4476|  5.89k|    encap->ofpact.raw = NXAST_RAW_ENCAP;
 4477|  5.89k|    switch (ntohl(nae->new_pkt_type)) {
 4478|  2.58k|    case PT_ETH:
  ------------------
  |  Branch (4478:5): [True: 2.58k, False: 3.31k]
  ------------------
 4479|  3.80k|    case PT_NSH:
  ------------------
  |  Branch (4479:5): [True: 1.22k, False: 4.66k]
  ------------------
 4480|  4.49k|    case PT_MPLS:
  ------------------
  |  Branch (4480:5): [True: 687, False: 5.20k]
  ------------------
 4481|  5.42k|    case PT_MPLS_MC:
  ------------------
  |  Branch (4481:5): [True: 930, False: 4.96k]
  ------------------
 4482|       |        /* Add supported encap header types here. */
 4483|  5.42k|        break;
 4484|    465|    default:
  ------------------
  |  Branch (4484:5): [True: 465, False: 5.42k]
  ------------------
 4485|    465|        return OFPERR_NXBAC_BAD_HEADER_TYPE;
 4486|  5.89k|    }
 4487|  5.42k|    encap->new_pkt_type = nae->new_pkt_type;
 4488|  5.42k|    encap->hdr_size = ntohs(nae->hdr_size);
 4489|       |
 4490|  5.42k|    ofp_prop = nae->props;
 4491|  5.42k|    props_len = ntohs(nae->len) - offsetof(struct nx_action_encap, props);
 4492|  5.42k|    n_props = 0;
 4493|  8.86k|    while (props_len > 0) {
  ------------------
  |  Branch (4493:12): [True: 5.18k, False: 3.67k]
  ------------------
 4494|  5.18k|        err = decode_ed_prop(&ofp_prop, out, &props_len);
 4495|  5.18k|        if (err) {
  ------------------
  |  Branch (4495:13): [True: 1.75k, False: 3.43k]
  ------------------
 4496|  1.75k|            return err;
 4497|  1.75k|        }
 4498|  3.43k|        n_props++;
 4499|  3.43k|    }
 4500|  3.67k|    encap = ofpbuf_at_assert(out, encap_ofs, sizeof *encap);
 4501|  3.67k|    encap->n_props = n_props;
 4502|  3.67k|    out->header = &encap->ofpact;
 4503|  3.67k|    ofpact_finish_ENCAP(out, &encap);
 4504|       |
 4505|  3.67k|    return 0;
 4506|  5.42k|}
ofp-actions.c:decode_NXAST_RAW_DECAP:
 4698|  14.0k|{
 4699|  14.0k|    struct ofpact_decap * decap;
 4700|       |
 4701|  14.0k|    if (ntohs(nad->len) > sizeof *nad) {
  ------------------
  |  Branch (4701:9): [True: 162, False: 13.8k]
  ------------------
 4702|       |        /* No properties supported yet. */
 4703|    162|        return OFPERR_NXBAC_UNKNOWN_ED_PROP;
 4704|    162|    }
 4705|       |
 4706|  13.8k|    decap = ofpact_put_DECAP(ofpacts);
 4707|  13.8k|    decap->ofpact.raw = NXAST_RAW_DECAP;
 4708|  13.8k|    decap->new_pkt_type = nad->new_pkt_type;
 4709|  13.8k|    return 0;
 4710|  14.0k|}
ofp-actions.c:decode_NXAST_RAW_DEC_NSH_TTL:
 4800|  1.26k|{
 4801|  1.26k|    ofpact_put_DEC_NSH_TTL(out);
 4802|  1.26k|    return 0;
 4803|  1.26k|}
ofp-actions.c:decode_NXAST_RAW_CHECK_PKT_LARGER:
 7821|    422|{
 7822|    422|    struct ofpact_check_pkt_larger *check_pkt_larger;
 7823|    422|    enum ofperr error;
 7824|       |
 7825|    422|    check_pkt_larger = ofpact_put_CHECK_PKT_LARGER(out);
 7826|    422|    check_pkt_larger->pkt_len = ntohs(ncpl->pkt_len);
 7827|    422|    check_pkt_larger->dst.ofs = ntohs(ncpl->offset);
 7828|    422|    check_pkt_larger->dst.n_bits = 1;
 7829|       |
 7830|    422|    struct ofpbuf b = ofpbuf_const_initializer(ncpl, ntohs(ncpl->len));
 7831|    422|    ofpbuf_pull(&b, OBJECT_OFFSETOF(ncpl, pad));
  ------------------
  |  |  108|    422|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 7832|       |
 7833|    422|    error = mf_vl_mff_nx_pull_header(&b, vl_mff_map,
 7834|    422|                                     &check_pkt_larger->dst.field,
 7835|    422|                                     NULL, tlv_bitmap);
 7836|    422|    if (error) {
  ------------------
  |  Branch (7836:9): [True: 196, False: 226]
  ------------------
 7837|    196|        return error;
 7838|    196|    }
 7839|       |
 7840|    226|    if (!is_all_zeros(b.data, b.size)) {
  ------------------
  |  Branch (7840:9): [True: 125, False: 101]
  ------------------
 7841|    125|        return OFPERR_NXBRC_MUST_BE_ZERO;
 7842|    125|    }
 7843|       |
 7844|    101|    return mf_check_dst(&check_pkt_larger->dst, NULL);
 7845|    226|}
ofp-actions.c:decode_NXAST_RAW_DELETE_FIELD:
 4201|    113|{
 4202|    113|    struct ofpact_delete_field *delete_field;
 4203|    113|    enum ofperr err;
 4204|       |
 4205|    113|    delete_field = ofpact_put_DELETE_FIELD(out);
 4206|    113|    delete_field->ofpact.raw = NXAST_RAW_DELETE_FIELD;
 4207|       |
 4208|    113|    struct ofpbuf b = ofpbuf_const_initializer(nadf, ntohs(nadf->len));
 4209|    113|    ofpbuf_pull(&b, OBJECT_OFFSETOF(nadf, pad));
  ------------------
  |  |  108|    113|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  ------------------
 4210|       |
 4211|    113|    err = mf_vl_mff_nx_pull_header(&b, vl_mff_map, &delete_field->field,
 4212|    113|                                   NULL, tlv_bitmap);
 4213|    113|    if (err) {
  ------------------
  |  Branch (4213:9): [True: 43, False: 70]
  ------------------
 4214|     43|        return err;
 4215|     43|    }
 4216|       |
 4217|     70|    return 0;
 4218|    113|}
ofp-actions.c:decode_NXAST_RAW_DEBUG_SLOW:
 6617|    293|{
 6618|    293|    if (!enable_debug) {
  ------------------
  |  Branch (6618:9): [True: 293, False: 0]
  ------------------
 6619|    293|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 6620|    293|    }
 6621|       |
 6622|      0|    ofpact_put_DEBUG_SLOW(out);
 6623|      0|    return 0;
 6624|    293|}
ofp-actions.c:decode_NXAST_RAW_DEBUG_RECIRC:
 6577|     76|{
 6578|     76|    if (!enable_debug) {
  ------------------
  |  Branch (6578:9): [True: 76, False: 0]
  ------------------
 6579|     76|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 6580|     76|    }
 6581|       |
 6582|      0|    ofpact_put_DEBUG_RECIRC(out);
 6583|      0|    return 0;
 6584|     76|}
ofp-actions.c:log_bad_action:
 7969|   105k|{
 7970|   105k|    if (!VLOG_DROP_WARN(&rl)) {
  ------------------
  |  |  234|   105k|#define VLOG_DROP_WARN(RL) vlog_should_drop(&this_module, VLL_WARN, RL)
  ------------------
  |  Branch (7970:9): [True: 0, False: 105k]
  ------------------
 7971|      0|        struct ds s;
 7972|       |
 7973|      0|        ds_init(&s);
 7974|      0|        ds_put_hex_dump(&s, actions, actions_len, 0, false);
 7975|      0|        VLOG_WARN("bad action at offset %"PRIuSIZE" (%s):\n%s", action_offset,
  ------------------
  |  |  209|      0|#define VLOG_WARN(...) VLOG(VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|      0|    do {                                                \
  |  |  |  |  281|      0|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|      0|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7976|      0|                  ofperr_get_name(error), ds_cstr(&s));
 7977|      0|        ds_destroy(&s);
 7978|      0|    }
 7979|   105k|}
ofp-actions.c:ofpacts_decode_for_action_set:
 8326|  18.4k|{
 8327|  18.4k|    enum ofperr error;
 8328|  18.4k|    struct ofpact *a;
 8329|  18.4k|    size_t start = out->size;
 8330|       |
 8331|  18.4k|    error = ofpacts_decode(in, n_in, version, vl_mff_map, ofpacts_tlv_bitmap,
 8332|  18.4k|                           out);
 8333|       |
 8334|  18.4k|    if (error) {
  ------------------
  |  Branch (8334:9): [True: 5.42k, False: 13.0k]
  ------------------
 8335|  5.42k|        return error;
 8336|  5.42k|    }
 8337|       |
 8338|  47.2k|    OFPACT_FOR_EACH (a, ofpact_end(out->data, start), out->size - start) {
  ------------------
  |  |  261|  58.8k|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 47.2k, False: 11.6k]
  |  |  ------------------
  |  |  262|  45.8k|         (POS) = ofpact_next(POS))
  ------------------
 8339|  47.2k|        if (!ofpact_is_allowed_in_actions_set(a)) {
  ------------------
  |  Branch (8339:13): [True: 1.38k, False: 45.8k]
  ------------------
 8340|  1.38k|            VLOG_WARN_RL(&rl, "disallowed action in action set");
  ------------------
  |  |  224|  1.38k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.38k|    do {                                                                \
  |  |  |  |  288|  1.38k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.38k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.38k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.38k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8341|  1.38k|            return OFPERR_OFPBAC_BAD_TYPE;
 8342|  1.38k|        }
 8343|  47.2k|    }
 8344|       |
 8345|  11.6k|    return 0;
 8346|  13.0k|}
ofp-actions.c:ofpact_is_allowed_in_actions_set:
 8257|  47.2k|{
 8258|  47.2k|    return action_set_classify(a) != ACTION_SLOT_INVALID;
 8259|  47.2k|}
ofp-actions.c:ofpact_check__:
 8823|   145k|{
 8824|   145k|    switch (a->type) {
 8825|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME)                  \
 8826|      0|        case OFPACT_##ENUM:                                 \
 8827|      0|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
 8828|      0|        OFPACTS
  ------------------
  |  |   64|  5.12k|    OFPACT(OUTPUT,          ofpact_output,      ofpact, "output")       \
  |  |  ------------------
  |  |  |  | 8826|  5.12k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 5.12k, False: 140k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  5.12k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   65|  5.12k|    OFPACT(GROUP,           ofpact_group,       ofpact, "group")        \
  |  |  ------------------
  |  |  |  | 8826|    517|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 517, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    517|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   66|    517|    OFPACT(CONTROLLER,      ofpact_controller,  userdata, "controller") \
  |  |  ------------------
  |  |  |  | 8826|    367|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 367, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    367|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   67|    367|    OFPACT(ENQUEUE,         ofpact_enqueue,     ofpact, "enqueue")      \
  |  |  ------------------
  |  |  |  | 8826|    133|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 133, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    133|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   68|    815|    OFPACT(OUTPUT_REG,      ofpact_output_reg,  ofpact, "output_reg")   \
  |  |  ------------------
  |  |  |  | 8826|    815|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 815, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    815|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   69|    815|    OFPACT(BUNDLE,          ofpact_bundle,      members, "bundle")      \
  |  |  ------------------
  |  |  |  | 8826|    692|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 692, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    692|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   70|    692|                                                                        \
  |  |   71|    692|    /* Header changes. */                                               \
  |  |   72|  3.08k|    OFPACT(SET_FIELD,       ofpact_set_field,   ofpact, "set_field")    \
  |  |  ------------------
  |  |  |  | 8826|  3.08k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.08k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.08k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   73|  3.46k|    OFPACT(SET_VLAN_VID,    ofpact_vlan_vid,    ofpact, "set_vlan_vid") \
  |  |  ------------------
  |  |  |  | 8826|  3.46k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.46k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.46k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   74|  4.41k|    OFPACT(SET_VLAN_PCP,    ofpact_vlan_pcp,    ofpact, "set_vlan_pcp") \
  |  |  ------------------
  |  |  |  | 8826|  4.41k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 4.41k, False: 141k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  4.41k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   75|  7.54k|    OFPACT(STRIP_VLAN,      ofpact_null,        ofpact, "strip_vlan")   \
  |  |  ------------------
  |  |  |  | 8826|  7.54k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 7.54k, False: 138k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  7.54k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   76|  7.54k|    OFPACT(PUSH_VLAN,       ofpact_push_vlan,   ofpact, "push_vlan")    \
  |  |  ------------------
  |  |  |  | 8826|  1.32k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.32k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.32k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   77|  1.32k|    OFPACT(SET_ETH_SRC,     ofpact_mac,         ofpact, "mod_dl_src")   \
  |  |  ------------------
  |  |  |  | 8826|    387|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 387, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    387|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   78|    387|    OFPACT(SET_ETH_DST,     ofpact_mac,         ofpact, "mod_dl_dst")   \
  |  |  ------------------
  |  |  |  | 8826|    282|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 282, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    282|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   79|  3.80k|    OFPACT(SET_IPV4_SRC,    ofpact_ipv4,        ofpact, "mod_nw_src")   \
  |  |  ------------------
  |  |  |  | 8826|  3.80k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.80k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.80k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   80|  7.25k|    OFPACT(SET_IPV4_DST,    ofpact_ipv4,        ofpact, "mod_nw_dst")   \
  |  |  ------------------
  |  |  |  | 8826|  7.25k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 7.25k, False: 138k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  7.25k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   81|  7.25k|    OFPACT(SET_IP_DSCP,     ofpact_dscp,        ofpact, "mod_nw_tos")   \
  |  |  ------------------
  |  |  |  | 8826|  6.48k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 6.48k, False: 139k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  6.48k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   82|  6.48k|    OFPACT(SET_IP_ECN,      ofpact_ecn,         ofpact, "mod_nw_ecn")   \
  |  |  ------------------
  |  |  |  | 8826|  3.45k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.45k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.45k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   83|  3.45k|    OFPACT(SET_IP_TTL,      ofpact_ip_ttl,      ofpact, "mod_nw_ttl")   \
  |  |  ------------------
  |  |  |  | 8826|  1.31k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.31k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.31k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   84|  5.73k|    OFPACT(SET_L4_SRC_PORT, ofpact_l4_port,     ofpact, "mod_tp_src")   \
  |  |  ------------------
  |  |  |  | 8826|  5.73k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 5.73k, False: 140k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  5.73k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   85|  6.28k|    OFPACT(SET_L4_DST_PORT, ofpact_l4_port,     ofpact, "mod_tp_dst")   \
  |  |  ------------------
  |  |  |  | 8826|  6.28k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 6.28k, False: 139k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  6.28k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   86|  6.28k|    OFPACT(REG_MOVE,        ofpact_reg_move,    ofpact, "move")         \
  |  |  ------------------
  |  |  |  | 8826|     70|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 70, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     70|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   87|    144|    OFPACT(STACK_PUSH,      ofpact_stack,       ofpact, "push")         \
  |  |  ------------------
  |  |  |  | 8826|    144|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 144, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    144|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   88|  1.43k|    OFPACT(STACK_POP,       ofpact_stack,       ofpact, "pop")          \
  |  |  ------------------
  |  |  |  | 8826|  1.43k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.43k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.43k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   89|  1.43k|    OFPACT(DEC_TTL,         ofpact_cnt_ids,     cnt_ids, "dec_ttl")     \
  |  |  ------------------
  |  |  |  | 8826|  1.35k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.35k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.35k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   90|  3.71k|    OFPACT(SET_MPLS_LABEL,  ofpact_mpls_label,  ofpact, "set_mpls_label") \
  |  |  ------------------
  |  |  |  | 8826|  3.71k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.71k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.71k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   91|  3.71k|    OFPACT(SET_MPLS_TC,     ofpact_mpls_tc,     ofpact, "set_mpls_tc")  \
  |  |  ------------------
  |  |  |  | 8826|  1.40k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.40k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.40k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   92|  1.96k|    OFPACT(SET_MPLS_TTL,    ofpact_mpls_ttl,    ofpact, "set_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 8826|  1.96k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.96k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.96k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   93|  6.01k|    OFPACT(DEC_MPLS_TTL,    ofpact_null,        ofpact, "dec_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 8826|  6.01k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 6.01k, False: 139k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  6.01k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   94|  6.01k|    OFPACT(PUSH_MPLS,       ofpact_push_mpls,   ofpact, "push_mpls")    \
  |  |  ------------------
  |  |  |  | 8826|  3.76k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.76k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.76k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   95|  4.66k|    OFPACT(POP_MPLS,        ofpact_pop_mpls,    ofpact, "pop_mpls")     \
  |  |  ------------------
  |  |  |  | 8826|  4.66k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 4.66k, False: 141k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  4.66k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   96|  4.66k|    OFPACT(DEC_NSH_TTL,     ofpact_null,        ofpact, "dec_nsh_ttl")  \
  |  |  ------------------
  |  |  |  | 8826|  1.18k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.18k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.18k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   97|  1.18k|    OFPACT(DELETE_FIELD,    ofpact_delete_field, ofpact, "delete_field") \
  |  |  ------------------
  |  |  |  | 8826|     60|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 60, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     60|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |   98|     60|                                                                        \
  |  |   99|     60|    /* Generic encap & decap */                                         \
  |  |  100|  2.58k|    OFPACT(ENCAP,           ofpact_encap,       props, "encap")         \
  |  |  ------------------
  |  |  |  | 8826|  2.58k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 2.58k, False: 143k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  2.58k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  101|  11.6k|    OFPACT(DECAP,           ofpact_decap,       ofpact, "decap")        \
  |  |  ------------------
  |  |  |  | 8826|  11.6k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 11.6k, False: 134k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  11.6k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  102|  11.6k|                                                                        \
  |  |  103|  11.6k|    /* Metadata. */                                                     \
  |  |  104|  11.6k|    OFPACT(SET_TUNNEL,      ofpact_tunnel,      ofpact, "set_tunnel")   \
  |  |  ------------------
  |  |  |  | 8826|     76|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 76, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     76|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  105|     99|    OFPACT(SET_QUEUE,       ofpact_queue,       ofpact, "set_queue")    \
  |  |  ------------------
  |  |  |  | 8826|     99|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 99, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     99|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  106|    819|    OFPACT(POP_QUEUE,       ofpact_null,        ofpact, "pop_queue")    \
  |  |  ------------------
  |  |  |  | 8826|    819|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 819, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    819|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  107|    819|    OFPACT(FIN_TIMEOUT,     ofpact_fin_timeout, ofpact, "fin_timeout")  \
  |  |  ------------------
  |  |  |  | 8826|    149|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 149, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    149|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  108|    149|                                                                        \
  |  |  109|    149|    /* Flow table interaction. */                                       \
  |  |  110|    524|    OFPACT(RESUBMIT,        ofpact_resubmit,    ofpact, "resubmit")     \
  |  |  ------------------
  |  |  |  | 8826|    524|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 524, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    524|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  111|  19.7k|    OFPACT(LEARN,           ofpact_learn,       specs, "learn")         \
  |  |  ------------------
  |  |  |  | 8826|  19.7k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 19.7k, False: 126k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  19.7k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  112|  19.7k|    OFPACT(CONJUNCTION,     ofpact_conjunction, ofpact, "conjunction")  \
  |  |  ------------------
  |  |  |  | 8826|     79|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 79, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     79|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  113|     79|                                                                        \
  |  |  114|     79|    /* Arithmetic. */                                                   \
  |  |  115|    291|    OFPACT(MULTIPATH,       ofpact_multipath,   ofpact, "multipath")    \
  |  |  ------------------
  |  |  |  | 8826|    291|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 291, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    291|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  116|    291|                                                                        \
  |  |  117|    291|    /* Other. */                                                        \
  |  |  118|    291|    OFPACT(NOTE,            ofpact_note,        data, "note")           \
  |  |  ------------------
  |  |  |  | 8826|     72|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 72, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     72|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  119|    230|    OFPACT(EXIT,            ofpact_null,        ofpact, "exit")         \
  |  |  ------------------
  |  |  |  | 8826|    230|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 230, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    230|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  120|    293|    OFPACT(SAMPLE,          ofpact_sample,      ofpact, "sample")       \
  |  |  ------------------
  |  |  |  | 8826|    293|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 293, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    293|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  121|    293|    OFPACT(UNROLL_XLATE,    ofpact_unroll_xlate, ofpact, "unroll_xlate") \
  |  |  ------------------
  |  |  |  | 8826|      0|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 0, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|      0|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  122|  3.34k|    OFPACT(CT,              ofpact_conntrack,   ofpact, "ct")           \
  |  |  ------------------
  |  |  |  | 8826|  3.34k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 3.34k, False: 142k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  3.34k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  123|  3.34k|    OFPACT(CT_CLEAR,        ofpact_null,        ofpact, "ct_clear")     \
  |  |  ------------------
  |  |  |  | 8826|     19|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 19, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     19|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  124|  1.94k|    OFPACT(NAT,             ofpact_nat,         ofpact, "nat")          \
  |  |  ------------------
  |  |  |  | 8826|  1.94k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.94k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.94k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  125|  1.94k|    OFPACT(OUTPUT_TRUNC,    ofpact_output_trunc,ofpact, "output_trunc") \
  |  |  ------------------
  |  |  |  | 8826|    983|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 983, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    983|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  126|  2.30k|    OFPACT(CLONE,           ofpact_nest,        actions, "clone")       \
  |  |  ------------------
  |  |  |  | 8826|  2.30k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 2.30k, False: 143k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  2.30k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  127|  2.30k|    OFPACT(CHECK_PKT_LARGER, ofpact_check_pkt_larger, ofpact,           \
  |  |  ------------------
  |  |  |  | 8826|     10|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 10, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|     10|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  128|     10|           "check_pkt_larger")                                          \
  |  |  129|     10|                                                                        \
  |  |  130|     10|    /* Debugging actions.                                               \
  |  |  131|     10|     *                                                                  \
  |  |  132|     10|     * These are intentionally undocumented, subject to change, and     \
  |  |  133|     10|     * only accepted if ovs-vswitchd is started with --enable-dummy. */ \
  |  |  134|     10|    OFPACT(DEBUG_RECIRC, ofpact_null,           ofpact, "debug_recirc") \
  |  |  ------------------
  |  |  |  | 8826|      0|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 0, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|      0|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  135|      0|    OFPACT(DEBUG_SLOW,   ofpact_null,           ofpact, "debug_slow")   \
  |  |  ------------------
  |  |  |  | 8826|      0|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 0, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|      0|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  136|      0|                                                                        \
  |  |  137|      0|    /* Instructions ("meter" is an action in OF1.5+). */                \
  |  |  138|    166|    OFPACT(METER,           ofpact_meter,       ofpact, "meter")        \
  |  |  ------------------
  |  |  |  | 8826|    166|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 166, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    166|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  139|    166|    OFPACT(CLEAR_ACTIONS,   ofpact_null,        ofpact, "clear_actions") \
  |  |  ------------------
  |  |  |  | 8826|    145|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 145, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    145|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  140|  11.0k|    OFPACT(WRITE_ACTIONS,   ofpact_nest,        actions, "write_actions") \
  |  |  ------------------
  |  |  |  | 8826|  11.0k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 11.0k, False: 134k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  11.0k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  141|  11.0k|    OFPACT(WRITE_METADATA,  ofpact_metadata,    ofpact, "write_metadata") \
  |  |  ------------------
  |  |  |  | 8826|    148|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 148, False: 145k]
  |  |  |  |  ------------------
  |  |  |  | 8827|    148|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  |  |  142|  1.06k|    OFPACT(GOTO_TABLE,      ofpact_goto_table,  ofpact, "goto_table")
  |  |  ------------------
  |  |  |  | 8826|  1.06k|        case OFPACT_##ENUM:                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8826:9): [True: 1.06k, False: 144k]
  |  |  |  |  ------------------
  |  |  |  | 8827|  1.06k|            return check_##ENUM(ofpact_get_##ENUM(a), cp);
  |  |  ------------------
  ------------------
 8829|      0|#undef OFPACT
 8830|      0|    default:
  ------------------
  |  Branch (8830:5): [True: 0, False: 145k]
  ------------------
 8831|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 8832|   145k|    }
 8833|   145k|}
ofp-actions.c:check_OUTPUT:
  717|  5.12k|{
  718|  5.12k|    return ofpact_check_output_port(a->port, cp->max_ports);
  719|  5.12k|}
ofp-actions.c:check_GROUP:
  756|    517|{
  757|    517|    return 0;
  758|    517|}
ofp-actions.c:check_CONTROLLER:
 1074|    367|{
 1075|    367|    return 0;
 1076|    367|}
ofp-actions.c:check_ENQUEUE:
 1161|    133|{
 1162|    133|    if (ofp_to_u16(a->port) >= ofp_to_u16(cp->max_ports)
  ------------------
  |  Branch (1162:9): [True: 87, False: 46]
  ------------------
 1163|    133|        && a->port != OFPP_IN_PORT
  ------------------
  |  |   39|     87|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  ------------------
  |  |  |  |  157|    220|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1163:12): [True: 18, False: 69]
  ------------------
 1164|     18|        && a->port != OFPP_LOCAL) {
  ------------------
  |  |   46|     18|#define OFPP_LOCAL      OFP_PORT_C(0xfffe) /* Local openflow "port". */
  |  |  ------------------
  |  |  |  |  157|     18|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1164:12): [True: 0, False: 18]
  ------------------
 1165|      0|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 1166|      0|    }
 1167|    133|    return 0;
 1168|    133|}
ofp-actions.c:check_OUTPUT_REG:
 1326|    815|{
 1327|    815|    return mf_check_src(&a->src, cp->match);
 1328|    815|}
ofp-actions.c:check_BUNDLE:
 1552|    692|{
 1553|    692|    return bundle_check(a, cp->max_ports, cp->match);
 1554|    692|}
ofp-actions.c:check_SET_FIELD:
 3352|  3.08k|{
 3353|  3.08k|    const struct mf_field *mf = a->field;
 3354|  3.08k|    struct flow *flow = &cp->match->flow;
 3355|  3.08k|    ovs_be16 *tci = &flow->vlans[0].tci;
 3356|       |
 3357|       |    /* Require OXM_OF_VLAN_VID to have an existing VLAN header. */
 3358|  3.08k|    if (!mf_are_prereqs_ok(mf, flow, NULL)
  ------------------
  |  Branch (3358:9): [True: 1.27k, False: 1.81k]
  ------------------
 3359|  1.81k|        || (mf->id == MFF_VLAN_VID && !(*tci & htons(VLAN_CFI)))) {
  ------------------
  |  Branch (3359:13): [True: 260, False: 1.55k]
  |  Branch (3359:39): [True: 34, False: 226]
  ------------------
 3360|  1.30k|        VLOG_WARN_RL(&rl, "set_field %s lacks correct prerequisites",
  ------------------
  |  |  224|  1.30k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.30k|    do {                                                                \
  |  |  |  |  288|  1.30k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.30k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.30k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3361|  1.30k|                     mf->name);
 3362|  1.30k|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 3363|  1.30k|    }
 3364|       |
 3365|       |    /* Remember if we saw a VLAN tag in the flow, to aid translating to
 3366|       |     * OpenFlow 1.1 if need be. */
 3367|  1.78k|    a->flow_has_vlan = (*tci & htons(VLAN_CFI)) != 0;
 3368|  1.78k|    if (mf->id == MFF_VLAN_TCI) {
  ------------------
  |  Branch (3368:9): [True: 18, False: 1.76k]
  ------------------
 3369|       |        /* The set field may add or remove the VLAN tag,
 3370|       |         * Mark the status temporarily. */
 3371|     18|        *tci = a->value->be16;
 3372|     18|    }
 3373|       |
 3374|  1.78k|    return 0;
 3375|  3.08k|}
ofp-actions.c:check_SET_VLAN_VID:
 1649|  3.46k|{
 1650|       |    /* Remember if we saw a vlan tag in the flow to aid translating to OpenFlow
 1651|       |     * 1.1+ if need be. */
 1652|  3.46k|    ovs_be16 *tci = &cp->match->flow.vlans[0].tci;
 1653|  3.46k|    a->flow_has_vlan = (*tci & htons(VLAN_CFI)) != 0;
 1654|  3.46k|    if (!a->flow_has_vlan && !a->push_vlan_if_needed) {
  ------------------
  |  Branch (1654:9): [True: 721, False: 2.74k]
  |  Branch (1654:30): [True: 63, False: 658]
  ------------------
 1655|     63|        inconsistent_match(&cp->usable_protocols);
 1656|     63|    }
 1657|       |
 1658|       |    /* Temporarily mark that we have a vlan tag. */
 1659|  3.46k|    *tci |= htons(VLAN_CFI);
 1660|       |
 1661|  3.46k|    return 0;
 1662|  3.46k|}
ofp-actions.c:inconsistent_match:
 8812|  35.8k|{
 8813|  35.8k|    *usable_protocols &= OFPUTIL_P_OF10_ANY;
  ------------------
  |  |   60|  35.8k|#define OFPUTIL_P_OF10_ANY (OFPUTIL_P_OF10_STD_ANY | OFPUTIL_P_OF10_NXM_ANY)
  |  |  ------------------
  |  |  |  |   58|  35.8k|#define OFPUTIL_P_OF10_STD_ANY (OFPUTIL_P_OF10_STD | OFPUTIL_P_OF10_STD_TID)
  |  |  ------------------
  |  |               #define OFPUTIL_P_OF10_ANY (OFPUTIL_P_OF10_STD_ANY | OFPUTIL_P_OF10_NXM_ANY)
  |  |  ------------------
  |  |  |  |   59|  35.8k|#define OFPUTIL_P_OF10_NXM_ANY (OFPUTIL_P_OF10_NXM | OFPUTIL_P_OF10_NXM_TID)
  |  |  ------------------
  ------------------
 8814|  35.8k|}
ofp-actions.c:check_SET_VLAN_PCP:
 1757|  4.41k|{
 1758|       |    /* Remember if we saw a vlan tag in the flow to aid translating to OpenFlow
 1759|       |     * 1.1+ if need be. */
 1760|  4.41k|    ovs_be16 *tci = &cp->match->flow.vlans[0].tci;
 1761|  4.41k|    a->flow_has_vlan = (*tci & htons(VLAN_CFI)) != 0;
 1762|  4.41k|    if (!a->flow_has_vlan && !a->push_vlan_if_needed) {
  ------------------
  |  Branch (1762:9): [True: 3.04k, False: 1.36k]
  |  Branch (1762:30): [True: 699, False: 2.34k]
  ------------------
 1763|    699|        inconsistent_match(&cp->usable_protocols);
 1764|    699|    }
 1765|       |
 1766|       |    /* Temporarily mark that we have a vlan tag. */
 1767|  4.41k|    *tci |= htons(VLAN_CFI);
 1768|       |
 1769|  4.41k|    return 0;
 1770|  4.41k|}
ofp-actions.c:check_STRIP_VLAN:
 1826|  7.54k|{
 1827|  7.54k|    if (!(cp->match->flow.vlans[0].tci & htons(VLAN_CFI))) {
  ------------------
  |  Branch (1827:9): [True: 3.19k, False: 4.35k]
  ------------------
 1828|  3.19k|        inconsistent_match(&cp->usable_protocols);
 1829|  3.19k|    }
 1830|       |    flow_pop_vlan(&cp->match->flow, NULL);
 1831|  7.54k|    return 0;
 1832|  7.54k|}
ofp-actions.c:check_PUSH_VLAN:
 1894|  1.32k|{
 1895|  1.32k|    struct flow *flow = &cp->match->flow;
 1896|  1.32k|    if (flow->vlans[FLOW_MAX_VLAN_HEADERS - 1].tci & htons(VLAN_CFI)) {
  ------------------
  |  |   75|  1.32k|#define FLOW_MAX_VLAN_HEADERS 2
  ------------------
  |  Branch (1896:9): [True: 211, False: 1.11k]
  ------------------
 1897|       |        /* Support maximum (FLOW_MAX_VLAN_HEADERS) VLAN headers. */
 1898|    211|        return OFPERR_OFPBAC_BAD_TAG;
 1899|    211|    }
 1900|       |    /* Temporary mark that we have a vlan tag. */
 1901|  1.11k|    flow_push_vlan_uninit(flow, NULL);
 1902|       |    flow->vlans[0].tci |= htons(VLAN_CFI);
 1903|  1.11k|    return 0;
 1904|  1.32k|}
ofp-actions.c:check_SET_ETH_SRC:
 1998|    387|{
 1999|    387|    return 0;
 2000|    387|}
ofp-actions.c:check_SET_ETH_DST:
 2005|    282|{
 2006|    282|    return 0;
 2007|    282|}
ofp-actions.c:check_SET_IPV4_SRC:
 2100|  3.80k|{
 2101|  3.80k|    return check_set_ipv4(cp);
 2102|  3.80k|}
ofp-actions.c:check_set_ipv4:
 2089|  11.0k|{
 2090|  11.0k|    ovs_be16 dl_type = get_dl_type(&cp->match->flow);
 2091|  11.0k|    if (dl_type != htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (2091:9): [True: 4.47k, False: 6.58k]
  ------------------
 2092|  4.47k|        inconsistent_match(&cp->usable_protocols);
 2093|  4.47k|    }
 2094|  11.0k|    return 0;
 2095|  11.0k|}
ofp-actions.c:check_SET_IPV4_DST:
 2107|  7.25k|{
 2108|  7.25k|    return check_set_ipv4(cp);
 2109|  7.25k|}
ofp-actions.c:check_SET_IP_DSCP:
 2176|  6.48k|{
 2177|  6.48k|    return check_set_ip(cp);
 2178|  6.48k|}
ofp-actions.c:check_set_ip:
 2166|  12.5k|{
 2167|  12.5k|    if (!is_ip_any(&cp->match->flow)) {
  ------------------
  |  Branch (2167:9): [True: 5.57k, False: 7.02k]
  ------------------
 2168|  5.57k|        inconsistent_match(&cp->usable_protocols);
 2169|  5.57k|    }
 2170|  12.5k|    return 0;
 2171|  12.5k|}
ofp-actions.c:check_SET_IP_ECN:
 2240|  3.45k|{
 2241|  3.45k|    return check_set_ip(cp);
 2242|  3.45k|}
ofp-actions.c:check_SET_IP_TTL:
 2295|  1.31k|{
 2296|  1.31k|    return check_set_ip(cp);
 2297|  1.31k|}
ofp-actions.c:check_SET_L4_SRC_PORT:
 2411|  5.73k|{
 2412|  5.73k|    return check_set_l4_port(a, cp);
 2413|  5.73k|}
ofp-actions.c:check_set_l4_port:
 2392|  12.0k|{
 2393|  12.0k|    const struct flow *flow = &cp->match->flow;
 2394|  12.0k|    if (!is_ip_any(flow)
  ------------------
  |  Branch (2394:9): [True: 4.99k, False: 7.02k]
  ------------------
 2395|  7.02k|        || flow->nw_frag & FLOW_NW_FRAG_LATER
  ------------------
  |  |   55|  19.0k|#define FLOW_NW_FRAG_LATER (1 << 1) /* Set for IP frag with nonzero offset. */
  ------------------
  |  Branch (2395:12): [True: 0, False: 7.02k]
  ------------------
 2396|  7.02k|        || (flow->nw_proto != IPPROTO_TCP &&
  ------------------
  |  Branch (2396:13): [True: 5.82k, False: 1.20k]
  ------------------
 2397|  5.82k|            flow->nw_proto != IPPROTO_UDP &&
  ------------------
  |  Branch (2397:13): [True: 5.34k, False: 481]
  ------------------
 2398|  9.60k|            flow->nw_proto != IPPROTO_SCTP)) {
  ------------------
  |  Branch (2398:13): [True: 4.61k, False: 738]
  ------------------
 2399|  9.60k|        inconsistent_match(&cp->usable_protocols);
 2400|  9.60k|    }
 2401|       |
 2402|       |    /* Note the transport protocol in use, to allow this action to be converted
 2403|       |     * to an OF1.2 set_field action later if necessary. */
 2404|  12.0k|    a->flow_ip_proto = flow->nw_proto;
 2405|       |
 2406|  12.0k|    return 0;
 2407|  12.0k|}
ofp-actions.c:check_SET_L4_DST_PORT:
 2417|  6.28k|{
 2418|  6.28k|    return check_set_l4_port(a, cp);
 2419|  6.28k|}
ofp-actions.c:check_REG_MOVE:
 2722|     70|{
 2723|     70|    return nxm_reg_move_check(a, cp->match);
 2724|     70|}
ofp-actions.c:check_STACK_PUSH:
 3572|    144|{
 3573|    144|    return nxm_stack_push_check(a, cp->match);
 3574|    144|}
ofp-actions.c:check_STACK_POP:
 3579|  1.43k|{
 3580|  1.43k|    return nxm_stack_pop_check(a, cp->match);
 3581|  1.43k|}
ofp-actions.c:check_DEC_TTL:
 3755|  1.35k|{
 3756|  1.35k|    return check_set_ip(cp);
 3757|  1.35k|}
ofp-actions.c:check_SET_MPLS_LABEL:
 3828|  3.71k|{
 3829|  3.71k|    return check_set_mpls(cp);
 3830|  3.71k|}
ofp-actions.c:check_set_mpls:
 3817|  13.1k|{
 3818|  13.1k|    ovs_be16 dl_type = get_dl_type(&cp->match->flow);
 3819|  13.1k|    if (!eth_type_mpls(dl_type)) {
  ------------------
  |  Branch (3819:9): [True: 7.96k, False: 5.13k]
  ------------------
 3820|  7.96k|        inconsistent_match(&cp->usable_protocols);
 3821|  7.96k|    }
 3822|  13.1k|    return 0;
 3823|  13.1k|}
ofp-actions.c:check_SET_MPLS_TC:
 3889|  1.40k|{
 3890|  1.40k|    return check_set_mpls(cp);
 3891|  1.40k|}
ofp-actions.c:check_SET_MPLS_TTL:
 3947|  1.96k|{
 3948|  1.96k|    return check_set_mpls(cp);
 3949|  1.96k|}
ofp-actions.c:check_DEC_MPLS_TTL:
 3984|  6.01k|{
 3985|  6.01k|    return check_set_mpls(cp);
 3986|  6.01k|}
ofp-actions.c:check_PUSH_MPLS:
 4037|  3.76k|{
 4038|  3.76k|    struct flow *flow = &cp->match->flow;
 4039|       |
 4040|  3.76k|    if (flow->packet_type != htonl(PT_ETH)) {
  ------------------
  |  Branch (4040:9): [True: 19, False: 3.74k]
  ------------------
 4041|     19|        inconsistent_match(&cp->usable_protocols);
 4042|     19|    }
 4043|  3.76k|    flow->dl_type = a->ethertype;
 4044|       |
 4045|       |    /* The packet is now MPLS and the MPLS payload is opaque.
 4046|       |     * Thus nothing can be assumed about the network protocol.
 4047|       |     * Temporarily mark that we have no nw_proto. */
 4048|  3.76k|    flow->nw_proto = 0;
 4049|       |
 4050|  3.76k|    return 0;
 4051|  3.76k|}
ofp-actions.c:check_POP_MPLS:
 4094|  4.66k|{
 4095|  4.66k|    struct flow *flow = &cp->match->flow;
 4096|  4.66k|    ovs_be16 dl_type = get_dl_type(flow);
 4097|       |
 4098|  4.66k|    if (flow->packet_type != htonl(PT_ETH) || !eth_type_mpls(dl_type)) {
  ------------------
  |  Branch (4098:9): [True: 671, False: 3.99k]
  |  Branch (4098:47): [True: 3.29k, False: 697]
  ------------------
 4099|  3.96k|        inconsistent_match(&cp->usable_protocols);
 4100|  3.96k|    }
 4101|  4.66k|    flow->dl_type = a->ethertype;
 4102|  4.66k|    return 0;
 4103|  4.66k|}
ofp-actions.c:check_DEC_NSH_TTL:
 4829|  1.18k|{
 4830|  1.18k|    struct flow *flow = &cp->match->flow;
 4831|  1.18k|    if (flow->packet_type != htonl(PT_NSH) &&
  ------------------
  |  Branch (4831:9): [True: 490, False: 695]
  ------------------
 4832|    490|        flow->dl_type != htons(ETH_TYPE_NSH)) {
  ------------------
  |  Branch (4832:9): [True: 216, False: 274]
  ------------------
 4833|    216|        inconsistent_match(&cp->usable_protocols);
 4834|    216|    }
 4835|  1.18k|    return 0;
 4836|  1.18k|}
ofp-actions.c:check_DELETE_FIELD:
 4256|     60|{
 4257|     60|    if (odf->field->id < MFF_TUN_METADATA0 ||
  ------------------
  |  Branch (4257:9): [True: 6, False: 54]
  ------------------
 4258|     54|        odf->field->id > MFF_TUN_METADATA63) {
  ------------------
  |  Branch (4258:9): [True: 36, False: 18]
  ------------------
 4259|     42|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 4260|     42|    }
 4261|     18|    return 0;
 4262|     60|}
ofp-actions.c:check_ENCAP:
 4664|  2.58k|{
 4665|  2.58k|    struct flow *flow = &cp->match->flow;
 4666|  2.58k|    flow->packet_type = a->new_pkt_type;
 4667|  2.58k|    if (pt_ns(flow->packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (4667:9): [True: 1.97k, False: 610]
  ------------------
 4668|  1.97k|        flow->dl_type = htons(pt_ns_type(flow->packet_type));
 4669|  1.97k|    }
 4670|  2.58k|    if (!is_ip_any(flow)) {
  ------------------
  |  Branch (4670:9): [True: 2.32k, False: 261]
  ------------------
 4671|  2.32k|        flow->nw_proto = 0;
 4672|  2.32k|    }
 4673|  2.58k|    return 0;
 4674|  2.58k|}
ofp-actions.c:check_DECAP:
 4781|  11.6k|{
 4782|  11.6k|    struct flow *flow = &cp->match->flow;
 4783|  11.6k|    if (flow->packet_type == htonl(PT_ETH)) {
  ------------------
  |  Branch (4783:9): [True: 7.56k, False: 4.08k]
  ------------------
 4784|       |        /* Adjust the packet_type to allow subsequent actions. */
 4785|  7.56k|        flow->packet_type = PACKET_TYPE_BE(OFPHTN_ETHERTYPE,
  ------------------
  |  | 1565|  7.56k|#define PACKET_TYPE_BE(NS, NS_TYPE) (htonl((NS) << 16 | (NS_TYPE)))
  ------------------
 4786|  7.56k|                                           ntohs(flow->dl_type));
 4787|  7.56k|    } else {
 4788|       |        /* The actual packet_type is only known after decapsulation.
 4789|       |         * Do not allow subsequent actions that depend on packet headers. */
 4790|  4.08k|        flow->packet_type = htonl(PT_UNKNOWN);
 4791|  4.08k|        flow->dl_type = OVS_BE16_MAX;
  ------------------
  |  |   42|  4.08k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
 4792|  4.08k|    }
 4793|  11.6k|    return 0;
 4794|  11.6k|}
ofp-actions.c:check_SET_TUNNEL:
 4177|     76|{
 4178|     76|    return 0;
 4179|     76|}
ofp-actions.c:check_SET_QUEUE:
 4299|     99|{
 4300|     99|    return 0;
 4301|     99|}
ofp-actions.c:check_POP_QUEUE:
 4337|    819|{
 4338|    819|    return 0;
 4339|    819|}
ofp-actions.c:check_FIN_TIMEOUT:
 4444|    149|{
 4445|    149|    if (cp->match->flow.nw_proto != IPPROTO_TCP) {
  ------------------
  |  Branch (4445:9): [True: 114, False: 35]
  ------------------
 4446|    114|        inconsistent_match(&cp->usable_protocols);
 4447|    114|    }
 4448|    149|    return 0;
 4449|    149|}
ofp-actions.c:check_RESUBMIT:
 5051|    524|{
 5052|    524|    if (a->with_ct_orig && !is_ct_valid(&cp->match->flow, &cp->match->wc,
  ------------------
  |  Branch (5052:9): [True: 14, False: 510]
  |  Branch (5052:28): [True: 14, False: 0]
  ------------------
 5053|     14|                                        NULL)) {
 5054|     14|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 5055|     14|    }
 5056|    510|    return 0;
 5057|    524|}
ofp-actions.c:check_LEARN:
 5646|  19.7k|{
 5647|  19.7k|    return learn_check(a, cp->match);
 5648|  19.7k|}
ofp-actions.c:check_CONJUNCTION:
 5739|     79|{
 5740|     79|    return 0;
 5741|     79|}
ofp-actions.c:check_MULTIPATH:
 5873|    291|{
 5874|    291|    return multipath_check(a, cp->match);
 5875|    291|}
ofp-actions.c:check_NOTE:
 5959|     72|{
 5960|     72|    return 0;
 5961|     72|}
ofp-actions.c:check_EXIT:
 5996|    230|{
 5997|    230|    return 0;
 5998|    230|}
ofp-actions.c:check_SAMPLE:
 6561|    293|{
 6562|    293|    return 0;
 6563|    293|}
ofp-actions.c:check_CT:
 7068|  3.34k|{
 7069|  3.34k|    struct flow *flow = &cp->match->flow;
 7070|       |
 7071|  3.34k|    if (!dl_type_is_ip_any(get_dl_type(flow))
  ------------------
  |  Branch (7071:9): [True: 102, False: 3.24k]
  ------------------
 7072|  3.24k|        || (flow->ct_state & CS_INVALID && a->flags & NX_CT_F_COMMIT)
  ------------------
  |  Branch (7072:13): [True: 0, False: 3.24k]
  |  Branch (7072:44): [True: 0, False: 0]
  ------------------
 7073|  3.24k|        || (a->alg == IPPORT_FTP && flow->nw_proto != IPPROTO_TCP)
  ------------------
  |  |  695|  6.49k|#define IPPORT_FTP  21
  ------------------
  |  Branch (7073:13): [True: 84, False: 3.16k]
  |  Branch (7073:37): [True: 18, False: 66]
  ------------------
 7074|  3.22k|        || (a->alg == IPPORT_TFTP && flow->nw_proto != IPPROTO_UDP)) {
  ------------------
  |  |  699|  6.45k|#define IPPORT_TFTP  69
  ------------------
  |  Branch (7074:13): [True: 80, False: 3.14k]
  |  Branch (7074:38): [True: 36, False: 44]
  ------------------
 7075|       |        /* We can't downgrade to OF1.0 and expect inconsistent CT actions
 7076|       |         * be silently discarded.  Instead, datapath flow install fails, so
 7077|       |         * it is better to flag inconsistent CT actions as hard errors. */
 7078|    156|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 7079|    156|    }
 7080|       |
 7081|  3.19k|    if (a->zone_src.field) {
  ------------------
  |  Branch (7081:9): [True: 1.23k, False: 1.96k]
  ------------------
 7082|  1.23k|        return mf_check_src(&a->zone_src, cp->match);
 7083|  1.23k|    }
 7084|       |
 7085|  1.96k|    return check_subactions(a->actions, ofpact_ct_get_action_len(a), cp);
 7086|  3.19k|}
ofp-actions.c:check_subactions:
 6123|  4.26k|{
 6124|  4.26k|    struct ofpact_check_params sub = *cp;
 6125|  4.26k|    enum ofperr error = ofpacts_check(ofpacts, ofpacts_len, &sub);
 6126|  4.26k|    cp->usable_protocols &= sub.usable_protocols;
 6127|  4.26k|    return error;
 6128|  4.26k|}
ofp-actions.c:check_CT_CLEAR:
 7122|     19|{
 7123|     19|    return 0;
 7124|     19|}
ofp-actions.c:check_NAT:
 7480|  1.94k|{
 7481|  1.94k|    ovs_be16 dl_type = get_dl_type(&cp->match->flow);
 7482|  1.94k|    if (!dl_type_is_ip_any(dl_type) ||
  ------------------
  |  Branch (7482:9): [True: 0, False: 1.94k]
  ------------------
 7483|  1.94k|        (a->range_af == AF_INET && dl_type != htons(ETH_TYPE_IP)) ||
  ------------------
  |  Branch (7483:10): [True: 970, False: 978]
  |  Branch (7483:36): [True: 53, False: 917]
  ------------------
 7484|  1.89k|        (a->range_af == AF_INET6 && dl_type != htons(ETH_TYPE_IPV6))) {
  ------------------
  |  Branch (7484:10): [True: 0, False: 1.89k]
  |  Branch (7484:37): [True: 0, False: 0]
  ------------------
 7485|     53|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 7486|     53|    }
 7487|  1.89k|    return 0;
 7488|  1.94k|}
ofp-actions.c:check_OUTPUT_TRUNC:
 7550|    983|{
 7551|    983|    return ofpact_check_output_port(a->port, cp->max_ports);
 7552|    983|}
ofp-actions.c:check_CLONE:
 6132|  2.30k|{
 6133|  2.30k|    return check_subactions(a->actions, ofpact_nest_get_action_len(a), cp);
 6134|  2.30k|}
ofp-actions.c:check_CHECK_PKT_LARGER:
 7911|     10|{
 7912|     10|    return 0;
 7913|     10|}
ofp-actions.c:check_METER:
 7601|    166|{
 7602|    166|    uint32_t mid = a->meter_id;
 7603|    166|    return mid == 0 || mid > OFPM13_MAX ? OFPERR_OFPMMFC_INVALID_METER : 0;
  ------------------
  |  Branch (7603:12): [True: 11, False: 155]
  |  Branch (7603:24): [True: 0, False: 155]
  ------------------
 7604|    166|}
ofp-actions.c:check_CLEAR_ACTIONS:
 7635|    145|{
 7636|    145|    return 0;
 7637|    145|}
ofp-actions.c:check_WRITE_ACTIONS:
 7698|  11.0k|{
 7699|       |    /* Use a temporary copy of 'cp' to avoid updating 'cp->usable_protocols',
 7700|       |     * since we can't check consistency of an action set. */
 7701|  11.0k|    struct ofpact_check_params tmp = *cp;
 7702|  11.0k|    return ofpacts_check(a->actions, ofpact_nest_get_action_len(a), &tmp);
 7703|  11.0k|}
ofp-actions.c:check_WRITE_METADATA:
 7794|    148|{
 7795|    148|    return 0;
 7796|    148|}
ofp-actions.c:check_GOTO_TABLE:
 7958|  1.06k|{
 7959|  1.06k|    if ((cp->table_id != 255 && a->table_id <= cp->table_id)
  ------------------
  |  Branch (7959:10): [True: 84, False: 983]
  |  Branch (7959:33): [True: 36, False: 48]
  ------------------
 7960|  1.03k|        || (cp->n_tables != 255 && a->table_id >= cp->n_tables)) {
  ------------------
  |  Branch (7960:13): [True: 0, False: 1.03k]
  |  Branch (7960:36): [True: 0, False: 0]
  ------------------
 7961|     36|        return OFPERR_OFPBIC_BAD_TABLE_ID;
 7962|     36|    }
 7963|  1.03k|    return 0;
 7964|  1.06k|}
ofp-actions.c:ofpacts_verify:
 9006|   142k|{
 9007|   142k|    const struct ofpact *a;
 9008|   142k|    enum ovs_instruction_type inst;
 9009|       |
 9010|   142k|    inst = OVSINST_OFPIT13_METER;
 9011|   181k|    OFPACT_FOR_EACH (a, ofpacts, ofpacts_len) {
  ------------------
  |  |  261|   313k|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 181k, False: 131k]
  |  |  ------------------
  |  |  262|   170k|         (POS) = ofpact_next(POS))
  ------------------
 9012|   181k|        enum ovs_instruction_type next;
 9013|   181k|        enum ofperr error;
 9014|       |
 9015|   181k|        if (a->type == OFPACT_CONJUNCTION) {
  ------------------
  |  Branch (9015:13): [True: 3.68k, False: 177k]
  ------------------
 9016|  7.80k|            OFPACT_FOR_EACH (a, ofpacts, ofpacts_len) {
  ------------------
  |  |  261|  9.20k|    for ((POS) = (OFPACTS); (POS) < ofpact_end(OFPACTS, OFPACTS_LEN);  \
  |  |  ------------------
  |  |  |  Branch (261:29): [True: 7.80k, False: 1.40k]
  |  |  ------------------
  |  |  262|  5.52k|         (POS) = ofpact_next(POS))
  ------------------
 9017|  7.80k|                if (a->type != OFPACT_CONJUNCTION && a->type != OFPACT_NOTE) {
  ------------------
  |  Branch (9017:21): [True: 6.09k, False: 1.70k]
  |  Branch (9017:54): [True: 2.28k, False: 3.81k]
  ------------------
 9018|  2.28k|                    verify_error(errorp, "\"conjunction\" actions may be used "
 9019|  2.28k|                                 "along with \"note\" but not any other kind "
 9020|  2.28k|                                 "of action (such as the \"%s\" action used "
 9021|  2.28k|                                 "here)", ofpact_name(a->type));
 9022|  2.28k|                    return OFPERR_NXBAC_BAD_CONJUNCTION;
 9023|  2.28k|                }
 9024|  7.80k|            }
 9025|  1.40k|            return 0;
 9026|  3.68k|        }
 9027|       |
 9028|   177k|        error = ofpacts_verify_nested(a, outer_action, errorp);
 9029|   177k|        if (error) {
  ------------------
  |  Branch (9029:13): [True: 6.41k, False: 171k]
  ------------------
 9030|  6.41k|            return error;
 9031|  6.41k|        }
 9032|       |
 9033|   171k|        next = ovs_instruction_type_from_ofpact_type(a->type, version);
 9034|   171k|        if (a > ofpacts
  ------------------
  |  Branch (9034:13): [True: 71.8k, False: 99.1k]
  ------------------
 9035|  71.8k|            && (inst == OVSINST_OFPIT11_APPLY_ACTIONS
  ------------------
  |  Branch (9035:16): [True: 151, False: 71.7k]
  |  Branch (9035:17): [True: 70.7k, False: 1.16k]
  ------------------
 9036|  71.8k|                ? next < inst
 9037|  71.8k|                : next <= inst)) {
 9038|    151|            const char *name = ovs_instruction_name_from_type(inst);
 9039|    151|            const char *next_name = ovs_instruction_name_from_type(next);
 9040|       |
 9041|    151|            if (next == inst) {
  ------------------
  |  Branch (9041:17): [True: 147, False: 4]
  ------------------
 9042|    147|                verify_error(errorp, "duplicate %s instruction not allowed, "
 9043|    147|                             "for OpenFlow 1.1+ compatibility", name);
 9044|    147|            } else {
 9045|      4|                verify_error(errorp, "invalid instruction ordering: "
 9046|      4|                             "%s must appear before %s, "
 9047|      4|                             "for OpenFlow 1.1+ compatibility",
 9048|      4|                             next_name, name);
 9049|      4|            }
 9050|    151|            return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
 9051|    151|        }
 9052|   170k|        if (!((1u << next) & allowed_ovsinsts)) {
  ------------------
  |  Branch (9052:13): [True: 67, False: 170k]
  ------------------
 9053|     67|            const char *name = ovs_instruction_name_from_type(next);
 9054|       |
 9055|     67|            if (next == OVSINST_OFPIT13_METER && version >= OFP15_VERSION) {
  ------------------
  |  Branch (9055:17): [True: 0, False: 67]
  |  Branch (9055:50): [True: 0, False: 0]
  ------------------
 9056|      0|                verify_error(errorp, "%s action not allowed here", name);
 9057|      0|                return OFPERR_OFPBAC_BAD_TYPE;
 9058|     67|            } else {
 9059|     67|                verify_error(errorp, "%s instruction not allowed here", name);
 9060|     67|                return OFPERR_OFPBIC_UNSUP_INST;
 9061|     67|            }
 9062|     67|        }
 9063|       |
 9064|   170k|        inst = next;
 9065|   170k|    }
 9066|       |
 9067|   131k|    return 0;
 9068|   142k|}
ofp-actions.c:verify_error:
 8916|  8.91k|{
 8917|  8.91k|    va_list args;
 8918|  8.91k|    va_start(args, format);
 8919|  8.91k|    char *error = xvasprintf(format, args);
 8920|  8.91k|    va_end(args);
 8921|       |
 8922|  8.91k|    if (errorp) {
  ------------------
  |  Branch (8922:9): [True: 0, False: 8.91k]
  ------------------
 8923|      0|        *errorp = error;
 8924|  8.91k|    } else {
 8925|  8.91k|        VLOG_WARN("%s", error);
  ------------------
  |  |  209|  8.91k|#define VLOG_WARN(...) VLOG(VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|  8.91k|    do {                                                \
  |  |  |  |  281|  8.91k|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|  8.91k|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 8.91k]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|  8.91k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 8.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8926|  8.91k|        free(error);
 8927|  8.91k|    }
 8928|  8.91k|}
ofp-actions.c:ofpacts_verify_nested:
 8949|   177k|{
 8950|   177k|    const struct mf_field *field = ofpact_get_mf_dst(a);
 8951|       |
 8952|   177k|    if (field && field_requires_ct(field->id) && outer_action != OFPACT_CT) {
  ------------------
  |  Branch (8952:9): [True: 15.8k, False: 161k]
  |  Branch (8952:18): [True: 705, False: 15.0k]
  |  Branch (8952:50): [True: 70, False: 635]
  ------------------
 8953|     70|        verify_error(errorp, "cannot set CT fields outside of ct action");
 8954|     70|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 8955|     70|    }
 8956|   177k|    if (a->type == OFPACT_NAT) {
  ------------------
  |  Branch (8956:9): [True: 8.75k, False: 168k]
  ------------------
 8957|  8.75k|        if (outer_action != OFPACT_CT) {
  ------------------
  |  Branch (8957:13): [True: 6.11k, False: 2.63k]
  ------------------
 8958|  6.11k|            verify_error(errorp,
 8959|  6.11k|                         "Cannot have NAT action outside of \"ct\" action");
 8960|  6.11k|            return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 8961|  6.11k|        }
 8962|  2.63k|        return 0;
 8963|  8.75k|    }
 8964|       |
 8965|   168k|    if (outer_action) {
  ------------------
  |  Branch (8965:9): [True: 867, False: 167k]
  ------------------
 8966|    867|        ovs_assert(outer_action == OFPACT_WRITE_ACTIONS
  ------------------
  |  |   62|    867|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (8966:20): [True: 0, False: 867]
  ------------------
 8967|    867|                   || outer_action == OFPACT_CT
  ------------------
  |  Branch (8967:23): [True: 867, False: 0]
  ------------------
 8968|      0|                   || outer_action == OFPACT_CLONE);
  ------------------
  |  Branch (8968:23): [True: 0, False: 0]
  ------------------
 8969|       |
 8970|    867|        if (outer_action == OFPACT_CT) {
  ------------------
  |  Branch (8970:13): [True: 867, False: 0]
  ------------------
 8971|    867|            if (!field) {
  ------------------
  |  Branch (8971:17): [True: 135, False: 732]
  ------------------
 8972|    135|                return unsupported_nesting(a->type, outer_action, errorp);
 8973|    732|            } else if (!field_requires_ct(field->id)) {
  ------------------
  |  Branch (8973:24): [True: 97, False: 635]
  ------------------
 8974|     97|                verify_error(errorp,
 8975|     97|                             "%s action doesn't support nested modification "
 8976|     97|                             "of %s", ofpact_name(outer_action), field->name);
 8977|     97|                return OFPERR_OFPBAC_BAD_ARGUMENT;
 8978|     97|            }
 8979|    867|        }
 8980|       |
 8981|    635|        if (a->type == OFPACT_METER) {
  ------------------
  |  Branch (8981:13): [True: 0, False: 635]
  ------------------
 8982|      0|            return unsupported_nesting(a->type, outer_action, errorp);
 8983|      0|        }
 8984|    635|    }
 8985|       |
 8986|   168k|    return 0;
 8987|   168k|}
ofp-actions.c:field_requires_ct:
 8941|  16.5k|{
 8942|  16.5k|    return field == MFF_CT_MARK || field == MFF_CT_LABEL;
  ------------------
  |  Branch (8942:12): [True: 1.34k, False: 15.1k]
  |  Branch (8942:36): [True: 0, False: 15.1k]
  ------------------
 8943|  16.5k|}
ofp-actions.c:unsupported_nesting:
 8933|    135|{
 8934|    135|    verify_error(errorp, "%s action doesn't support nested action %s",
 8935|    135|                 ofpact_name(outer_action), ofpact_name(action));
 8936|    135|    return OFPERR_OFPBAC_BAD_ARGUMENT;
 8937|    135|}
ofp-actions.c:next_load_segment:
 2967|  4.95k|{
 2968|  4.95k|    int n_bits = sf->field->n_bits;
 2969|  4.95k|    int n_bytes = sf->field->n_bytes;
 2970|  4.95k|    int start = dst->ofs + dst->n_bits;
 2971|       |
 2972|  4.95k|    if (start < n_bits) {
  ------------------
  |  Branch (2972:9): [True: 4.01k, False: 939]
  ------------------
 2973|  4.01k|        dst->field = sf->field;
 2974|  4.01k|        dst->ofs = bitwise_scan(ofpact_set_field_mask(sf), n_bytes, 1, start,
  ------------------
  |  |  563|  4.01k|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|  4.01k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|  4.01k|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|  4.01k|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 2975|  4.01k|                                n_bits);
 2976|  4.01k|        if (dst->ofs < n_bits) {
  ------------------
  |  Branch (2976:13): [True: 2.47k, False: 1.53k]
  ------------------
 2977|  2.47k|            dst->n_bits = bitwise_scan(ofpact_set_field_mask(sf), n_bytes, 0,
  ------------------
  |  |  563|  2.47k|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|  2.47k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|  2.47k|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|  2.47k|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 2978|  2.47k|                                       dst->ofs + 1,
 2979|  2.47k|                                       MIN(dst->ofs + 64, n_bits)) - dst->ofs;
  ------------------
  |  |   91|  2.47k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 1.41k, False: 1.06k]
  |  |  ------------------
  ------------------
 2980|  2.47k|            *value = bitwise_get(sf->value, n_bytes, dst->ofs, dst->n_bits);
 2981|  2.47k|            return true;
 2982|  2.47k|        }
 2983|  4.01k|    }
 2984|  2.47k|    return false;
 2985|  4.95k|}
ofp-actions.c:get_ofpact_map:
 9158|  49.1k|{
 9159|       |    /* OpenFlow 1.0 actions. */
 9160|  49.1k|    static const struct ofpact_map of10[] = {
 9161|  49.1k|        { OFPACT_OUTPUT, 0 },
 9162|  49.1k|        { OFPACT_SET_VLAN_VID, 1 },
 9163|  49.1k|        { OFPACT_SET_VLAN_PCP, 2 },
 9164|  49.1k|        { OFPACT_STRIP_VLAN, 3 },
 9165|  49.1k|        { OFPACT_SET_ETH_SRC, 4 },
 9166|  49.1k|        { OFPACT_SET_ETH_DST, 5 },
 9167|  49.1k|        { OFPACT_SET_IPV4_SRC, 6 },
 9168|  49.1k|        { OFPACT_SET_IPV4_DST, 7 },
 9169|  49.1k|        { OFPACT_SET_IP_DSCP, 8 },
 9170|  49.1k|        { OFPACT_SET_L4_SRC_PORT, 9 },
 9171|  49.1k|        { OFPACT_SET_L4_DST_PORT, 10 },
 9172|  49.1k|        { OFPACT_ENQUEUE, 11 },
 9173|  49.1k|        { 0, -1 },
 9174|  49.1k|    };
 9175|       |
 9176|       |    /* OpenFlow 1.1 actions. */
 9177|  49.1k|    static const struct ofpact_map of11[] = {
 9178|  49.1k|        { OFPACT_OUTPUT, 0 },
 9179|  49.1k|        { OFPACT_SET_VLAN_VID, 1 },
 9180|  49.1k|        { OFPACT_SET_VLAN_PCP, 2 },
 9181|  49.1k|        { OFPACT_SET_ETH_SRC, 3 },
 9182|  49.1k|        { OFPACT_SET_ETH_DST, 4 },
 9183|  49.1k|        { OFPACT_SET_IPV4_SRC, 5 },
 9184|  49.1k|        { OFPACT_SET_IPV4_DST, 6 },
 9185|  49.1k|        { OFPACT_SET_IP_DSCP, 7 },
 9186|  49.1k|        { OFPACT_SET_IP_ECN, 8 },
 9187|  49.1k|        { OFPACT_SET_L4_SRC_PORT, 9 },
 9188|  49.1k|        { OFPACT_SET_L4_DST_PORT, 10 },
 9189|       |        /* OFPAT_COPY_TTL_OUT (11) not supported. */
 9190|       |        /* OFPAT_COPY_TTL_IN (12) not supported. */
 9191|  49.1k|        { OFPACT_SET_MPLS_LABEL, 13 },
 9192|  49.1k|        { OFPACT_SET_MPLS_TC, 14 },
 9193|  49.1k|        { OFPACT_SET_MPLS_TTL, 15 },
 9194|  49.1k|        { OFPACT_DEC_MPLS_TTL, 16 },
 9195|  49.1k|        { OFPACT_PUSH_VLAN, 17 },
 9196|  49.1k|        { OFPACT_STRIP_VLAN, 18 },
 9197|  49.1k|        { OFPACT_PUSH_MPLS, 19 },
 9198|  49.1k|        { OFPACT_POP_MPLS, 20 },
 9199|  49.1k|        { OFPACT_SET_QUEUE, 21 },
 9200|  49.1k|        { OFPACT_GROUP, 22 },
 9201|  49.1k|        { OFPACT_SET_IP_TTL, 23 },
 9202|  49.1k|        { OFPACT_DEC_TTL, 24 },
 9203|  49.1k|        { 0, -1 },
 9204|  49.1k|    };
 9205|       |
 9206|       |    /* OpenFlow 1.2, 1.3, and 1.4 actions. */
 9207|  49.1k|    static const struct ofpact_map of12[] = {
 9208|  49.1k|        { OFPACT_OUTPUT, 0 },
 9209|       |        /* OFPAT_COPY_TTL_OUT (11) not supported. */
 9210|       |        /* OFPAT_COPY_TTL_IN (12) not supported. */
 9211|  49.1k|        { OFPACT_SET_MPLS_TTL, 15 },
 9212|  49.1k|        { OFPACT_DEC_MPLS_TTL, 16 },
 9213|  49.1k|        { OFPACT_PUSH_VLAN, 17 },
 9214|  49.1k|        { OFPACT_STRIP_VLAN, 18 },
 9215|  49.1k|        { OFPACT_PUSH_MPLS, 19 },
 9216|  49.1k|        { OFPACT_POP_MPLS, 20 },
 9217|  49.1k|        { OFPACT_SET_QUEUE, 21 },
 9218|  49.1k|        { OFPACT_GROUP, 22 },
 9219|  49.1k|        { OFPACT_SET_IP_TTL, 23 },
 9220|  49.1k|        { OFPACT_DEC_TTL, 24 },
 9221|  49.1k|        { OFPACT_SET_FIELD, 25 },
 9222|       |        /* OF1.3+ OFPAT_PUSH_PBB (26) not supported. */
 9223|       |        /* OF1.3+ OFPAT_POP_PBB (27) not supported. */
 9224|  49.1k|        { 0, -1 },
 9225|  49.1k|    };
 9226|       |
 9227|  49.1k|    switch (version) {
 9228|  1.73k|    case OFP10_VERSION:
  ------------------
  |  Branch (9228:5): [True: 1.73k, False: 47.4k]
  ------------------
 9229|  1.73k|        return of10;
 9230|       |
 9231|  15.7k|    case OFP11_VERSION:
  ------------------
  |  Branch (9231:5): [True: 15.7k, False: 33.4k]
  ------------------
 9232|  15.7k|        return of11;
 9233|       |
 9234|  24.5k|    case OFP12_VERSION:
  ------------------
  |  Branch (9234:5): [True: 24.5k, False: 24.5k]
  ------------------
 9235|  24.6k|    case OFP13_VERSION:
  ------------------
  |  Branch (9235:5): [True: 14, False: 49.1k]
  ------------------
 9236|  28.9k|    case OFP14_VERSION:
  ------------------
  |  Branch (9236:5): [True: 4.38k, False: 44.7k]
  ------------------
 9237|  31.6k|    case OFP15_VERSION:
  ------------------
  |  Branch (9237:5): [True: 2.67k, False: 46.4k]
  ------------------
 9238|  31.6k|    default:
  ------------------
  |  Branch (9238:5): [True: 0, False: 49.1k]
  ------------------
 9239|  31.6k|        return of12;
 9240|  49.1k|    }
 9241|  49.1k|}
ofp-actions.c:ofpact_format:
 9465|   182k|{
 9466|   182k|    switch (a->type) {
 9467|      0|#define OFPACT(ENUM, STRUCT, MEMBER, NAME)                              \
 9468|      0|        case OFPACT_##ENUM:                                             \
 9469|      0|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
 9470|      0|            break;
 9471|      0|        OFPACTS
  ------------------
  |  |   64|  14.2k|    OFPACT(OUTPUT,          ofpact_output,      ofpact, "output")       \
  |  |  ------------------
  |  |  |  | 9468|  14.2k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 14.2k, False: 167k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  14.2k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  14.2k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  14.2k|            break;
  |  |  ------------------
  |  |   65|  14.2k|    OFPACT(GROUP,           ofpact_group,       ofpact, "group")        \
  |  |  ------------------
  |  |  |  | 9468|    369|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 369, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    369|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    369|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    369|            break;
  |  |  ------------------
  |  |   66|  1.87k|    OFPACT(CONTROLLER,      ofpact_controller,  userdata, "controller") \
  |  |  ------------------
  |  |  |  | 9468|  1.87k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.87k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.87k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.87k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.87k|            break;
  |  |  ------------------
  |  |   67|  1.87k|    OFPACT(ENQUEUE,         ofpact_enqueue,     ofpact, "enqueue")      \
  |  |  ------------------
  |  |  |  | 9468|    382|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 382, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    382|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    382|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    382|            break;
  |  |  ------------------
  |  |   68|    696|    OFPACT(OUTPUT_REG,      ofpact_output_reg,  ofpact, "output_reg")   \
  |  |  ------------------
  |  |  |  | 9468|    696|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 696, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    696|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    696|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    696|            break;
  |  |  ------------------
  |  |   69|  1.69k|    OFPACT(BUNDLE,          ofpact_bundle,      members, "bundle")      \
  |  |  ------------------
  |  |  |  | 9468|  1.69k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.69k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.69k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.69k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.69k|            break;
  |  |  ------------------
  |  |   70|  1.69k|                                                                        \
  |  |   71|  1.69k|    /* Header changes. */                                               \
  |  |   72|  9.98k|    OFPACT(SET_FIELD,       ofpact_set_field,   ofpact, "set_field")    \
  |  |  ------------------
  |  |  |  | 9468|  9.98k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 9.98k, False: 172k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  9.98k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  9.98k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  9.98k|            break;
  |  |  ------------------
  |  |   73|  9.98k|    OFPACT(SET_VLAN_VID,    ofpact_vlan_vid,    ofpact, "set_vlan_vid") \
  |  |  ------------------
  |  |  |  | 9468|  3.52k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.52k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.52k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.52k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.52k|            break;
  |  |  ------------------
  |  |   74|  4.22k|    OFPACT(SET_VLAN_PCP,    ofpact_vlan_pcp,    ofpact, "set_vlan_pcp") \
  |  |  ------------------
  |  |  |  | 9468|  4.22k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 4.22k, False: 177k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  4.22k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  4.22k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  4.22k|            break;
  |  |  ------------------
  |  |   75|  7.27k|    OFPACT(STRIP_VLAN,      ofpact_null,        ofpact, "strip_vlan")   \
  |  |  ------------------
  |  |  |  | 9468|  7.27k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 7.27k, False: 174k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  7.27k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  7.27k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  7.27k|            break;
  |  |  ------------------
  |  |   76|  7.27k|    OFPACT(PUSH_VLAN,       ofpact_push_vlan,   ofpact, "push_vlan")    \
  |  |  ------------------
  |  |  |  | 9468|    891|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 891, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    891|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    891|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    891|            break;
  |  |  ------------------
  |  |   77|    891|    OFPACT(SET_ETH_SRC,     ofpact_mac,         ofpact, "mod_dl_src")   \
  |  |  ------------------
  |  |  |  | 9468|    403|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 403, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    403|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    403|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    403|            break;
  |  |  ------------------
  |  |   78|    403|    OFPACT(SET_ETH_DST,     ofpact_mac,         ofpact, "mod_dl_dst")   \
  |  |  ------------------
  |  |  |  | 9468|    344|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 344, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    344|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    344|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    344|            break;
  |  |  ------------------
  |  |   79|  2.87k|    OFPACT(SET_IPV4_SRC,    ofpact_ipv4,        ofpact, "mod_nw_src")   \
  |  |  ------------------
  |  |  |  | 9468|  2.87k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 2.87k, False: 179k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  2.87k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  2.87k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  2.87k|            break;
  |  |  ------------------
  |  |   80|  6.26k|    OFPACT(SET_IPV4_DST,    ofpact_ipv4,        ofpact, "mod_nw_dst")   \
  |  |  ------------------
  |  |  |  | 9468|  6.26k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 6.26k, False: 175k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  6.26k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  6.26k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  6.26k|            break;
  |  |  ------------------
  |  |   81|  6.50k|    OFPACT(SET_IP_DSCP,     ofpact_dscp,        ofpact, "mod_nw_tos")   \
  |  |  ------------------
  |  |  |  | 9468|  6.50k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 6.50k, False: 175k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  6.50k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  6.50k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  6.50k|            break;
  |  |  ------------------
  |  |   82|  6.50k|    OFPACT(SET_IP_ECN,      ofpact_ecn,         ofpact, "mod_nw_ecn")   \
  |  |  ------------------
  |  |  |  | 9468|  3.57k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.57k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.57k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.57k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.57k|            break;
  |  |  ------------------
  |  |   83|  3.57k|    OFPACT(SET_IP_TTL,      ofpact_ip_ttl,      ofpact, "mod_nw_ttl")   \
  |  |  ------------------
  |  |  |  | 9468|  1.32k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.32k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.32k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.32k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.32k|            break;
  |  |  ------------------
  |  |   84|  10.9k|    OFPACT(SET_L4_SRC_PORT, ofpact_l4_port,     ofpact, "mod_tp_src")   \
  |  |  ------------------
  |  |  |  | 9468|  10.9k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 10.9k, False: 171k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  10.9k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  10.9k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  10.9k|            break;
  |  |  ------------------
  |  |   85|  10.9k|    OFPACT(SET_L4_DST_PORT, ofpact_l4_port,     ofpact, "mod_tp_dst")   \
  |  |  ------------------
  |  |  |  | 9468|  6.30k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 6.30k, False: 175k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  6.30k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  6.30k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  6.30k|            break;
  |  |  ------------------
  |  |   86|  6.30k|    OFPACT(REG_MOVE,        ofpact_reg_move,    ofpact, "move")         \
  |  |  ------------------
  |  |  |  | 9468|     94|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 94, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|     94|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|     94|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|     94|            break;
  |  |  ------------------
  |  |   87|    297|    OFPACT(STACK_PUSH,      ofpact_stack,       ofpact, "push")         \
  |  |  ------------------
  |  |  |  | 9468|    297|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 297, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    297|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    297|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    297|            break;
  |  |  ------------------
  |  |   88|  1.12k|    OFPACT(STACK_POP,       ofpact_stack,       ofpact, "pop")          \
  |  |  ------------------
  |  |  |  | 9468|  1.12k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.12k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.12k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.12k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.12k|            break;
  |  |  ------------------
  |  |   89|  3.23k|    OFPACT(DEC_TTL,         ofpact_cnt_ids,     cnt_ids, "dec_ttl")     \
  |  |  ------------------
  |  |  |  | 9468|  3.23k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.23k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.23k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.23k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.23k|            break;
  |  |  ------------------
  |  |   90|  3.23k|    OFPACT(SET_MPLS_LABEL,  ofpact_mpls_label,  ofpact, "set_mpls_label") \
  |  |  ------------------
  |  |  |  | 9468|  1.39k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.39k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.39k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.39k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.39k|            break;
  |  |  ------------------
  |  |   91|  1.40k|    OFPACT(SET_MPLS_TC,     ofpact_mpls_tc,     ofpact, "set_mpls_tc")  \
  |  |  ------------------
  |  |  |  | 9468|  1.40k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.40k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.40k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.40k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.40k|            break;
  |  |  ------------------
  |  |   92|  3.74k|    OFPACT(SET_MPLS_TTL,    ofpact_mpls_ttl,    ofpact, "set_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 9468|  3.74k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.74k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.74k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.74k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.74k|            break;
  |  |  ------------------
  |  |   93|  6.19k|    OFPACT(DEC_MPLS_TTL,    ofpact_null,        ofpact, "dec_mpls_ttl") \
  |  |  ------------------
  |  |  |  | 9468|  6.19k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 6.19k, False: 175k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  6.19k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  6.19k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  6.19k|            break;
  |  |  ------------------
  |  |   94|  6.19k|    OFPACT(PUSH_MPLS,       ofpact_push_mpls,   ofpact, "push_mpls")    \
  |  |  ------------------
  |  |  |  | 9468|  3.76k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.76k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.76k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.76k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.76k|            break;
  |  |  ------------------
  |  |   95|  4.68k|    OFPACT(POP_MPLS,        ofpact_pop_mpls,    ofpact, "pop_mpls")     \
  |  |  ------------------
  |  |  |  | 9468|  4.68k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 4.68k, False: 177k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  4.68k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  4.68k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  4.68k|            break;
  |  |  ------------------
  |  |   96|  4.68k|    OFPACT(DEC_NSH_TTL,     ofpact_null,        ofpact, "dec_nsh_ttl")  \
  |  |  ------------------
  |  |  |  | 9468|  1.20k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.20k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.20k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.20k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.20k|            break;
  |  |  ------------------
  |  |   97|  1.20k|    OFPACT(DELETE_FIELD,    ofpact_delete_field, ofpact, "delete_field") \
  |  |  ------------------
  |  |  |  | 9468|     21|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 21, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|     21|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|     21|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|     21|            break;
  |  |  ------------------
  |  |   98|     21|                                                                        \
  |  |   99|     21|    /* Generic encap & decap */                                         \
  |  |  100|  2.77k|    OFPACT(ENCAP,           ofpact_encap,       props, "encap")         \
  |  |  ------------------
  |  |  |  | 9468|  2.77k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 2.77k, False: 179k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  2.77k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  2.77k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  2.77k|            break;
  |  |  ------------------
  |  |  101|  6.83k|    OFPACT(DECAP,           ofpact_decap,       ofpact, "decap")        \
  |  |  ------------------
  |  |  |  | 9468|  6.83k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 6.83k, False: 175k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  6.83k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  6.83k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  6.83k|            break;
  |  |  ------------------
  |  |  102|  6.83k|                                                                        \
  |  |  103|  6.83k|    /* Metadata. */                                                     \
  |  |  104|  6.83k|    OFPACT(SET_TUNNEL,      ofpact_tunnel,      ofpact, "set_tunnel")   \
  |  |  ------------------
  |  |  |  | 9468|    626|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 626, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    626|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    626|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    626|            break;
  |  |  ------------------
  |  |  105|    626|    OFPACT(SET_QUEUE,       ofpact_queue,       ofpact, "set_queue")    \
  |  |  ------------------
  |  |  |  | 9468|    277|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 277, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    277|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    277|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    277|            break;
  |  |  ------------------
  |  |  106|  1.20k|    OFPACT(POP_QUEUE,       ofpact_null,        ofpact, "pop_queue")    \
  |  |  ------------------
  |  |  |  | 9468|  1.20k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.20k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.20k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.20k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.20k|            break;
  |  |  ------------------
  |  |  107|  1.20k|    OFPACT(FIN_TIMEOUT,     ofpact_fin_timeout, ofpact, "fin_timeout")  \
  |  |  ------------------
  |  |  |  | 9468|  1.02k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.02k, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.02k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.02k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.02k|            break;
  |  |  ------------------
  |  |  108|  1.02k|                                                                        \
  |  |  109|  1.02k|    /* Flow table interaction. */                                       \
  |  |  110|  1.02k|    OFPACT(RESUBMIT,        ofpact_resubmit,    ofpact, "resubmit")     \
  |  |  ------------------
  |  |  |  | 9468|    713|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 713, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    713|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    713|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    713|            break;
  |  |  ------------------
  |  |  111|  18.3k|    OFPACT(LEARN,           ofpact_learn,       specs, "learn")         \
  |  |  ------------------
  |  |  |  | 9468|  18.3k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 18.3k, False: 163k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  18.3k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  18.3k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  18.3k|            break;
  |  |  ------------------
  |  |  112|  18.3k|    OFPACT(CONJUNCTION,     ofpact_conjunction, ofpact, "conjunction")  \
  |  |  ------------------
  |  |  |  | 9468|  1.47k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.47k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.47k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.47k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.47k|            break;
  |  |  ------------------
  |  |  113|  1.47k|                                                                        \
  |  |  114|  1.47k|    /* Arithmetic. */                                                   \
  |  |  115|  1.47k|    OFPACT(MULTIPATH,       ofpact_multipath,   ofpact, "multipath")    \
  |  |  ------------------
  |  |  |  | 9468|  1.25k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.25k, False: 180k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.25k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.25k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.25k|            break;
  |  |  ------------------
  |  |  116|  1.25k|                                                                        \
  |  |  117|  1.25k|    /* Other. */                                                        \
  |  |  118|  3.60k|    OFPACT(NOTE,            ofpact_note,        data, "note")           \
  |  |  ------------------
  |  |  |  | 9468|  3.60k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.60k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.60k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.60k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.60k|            break;
  |  |  ------------------
  |  |  119|  3.60k|    OFPACT(EXIT,            ofpact_null,        ofpact, "exit")         \
  |  |  ------------------
  |  |  |  | 9468|    248|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 248, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    248|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    248|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    248|            break;
  |  |  ------------------
  |  |  120|  3.46k|    OFPACT(SAMPLE,          ofpact_sample,      ofpact, "sample")       \
  |  |  ------------------
  |  |  |  | 9468|  3.46k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 3.46k, False: 178k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  3.46k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  3.46k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  3.46k|            break;
  |  |  ------------------
  |  |  121|  7.36k|    OFPACT(UNROLL_XLATE,    ofpact_unroll_xlate, ofpact, "unroll_xlate") \
  |  |  ------------------
  |  |  |  | 9468|  7.36k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 7.36k, False: 174k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  7.36k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  7.36k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  7.36k|            break;
  |  |  ------------------
  |  |  122|  7.36k|    OFPACT(CT,              ofpact_conntrack,   ofpact, "ct")           \
  |  |  ------------------
  |  |  |  | 9468|  5.73k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 5.73k, False: 176k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  5.73k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  5.73k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  5.73k|            break;
  |  |  ------------------
  |  |  123|  5.73k|    OFPACT(CT_CLEAR,        ofpact_null,        ofpact, "ct_clear")     \
  |  |  ------------------
  |  |  |  | 9468|     82|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 82, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|     82|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|     82|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|     82|            break;
  |  |  ------------------
  |  |  124|     82|    OFPACT(NAT,             ofpact_nat,         ofpact, "nat")          \
  |  |  ------------------
  |  |  |  | 9468|      0|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 0, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|      0|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|      0|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|      0|            break;
  |  |  ------------------
  |  |  125|    986|    OFPACT(OUTPUT_TRUNC,    ofpact_output_trunc,ofpact, "output_trunc") \
  |  |  ------------------
  |  |  |  | 9468|    986|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 986, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    986|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    986|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    986|            break;
  |  |  ------------------
  |  |  126|  2.38k|    OFPACT(CLONE,           ofpact_nest,        actions, "clone")       \
  |  |  ------------------
  |  |  |  | 9468|  2.38k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 2.38k, False: 179k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  2.38k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  2.38k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  2.38k|            break;
  |  |  ------------------
  |  |  127|  2.38k|    OFPACT(CHECK_PKT_LARGER, ofpact_check_pkt_larger, ofpact,           \
  |  |  ------------------
  |  |  |  | 9468|     91|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 91, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|     91|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|     91|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|     91|            break;
  |  |  ------------------
  |  |  128|     91|           "check_pkt_larger")                                          \
  |  |  129|     91|                                                                        \
  |  |  130|     91|    /* Debugging actions.                                               \
  |  |  131|     91|     *                                                                  \
  |  |  132|     91|     * These are intentionally undocumented, subject to change, and     \
  |  |  133|     91|     * only accepted if ovs-vswitchd is started with --enable-dummy. */ \
  |  |  134|     91|    OFPACT(DEBUG_RECIRC, ofpact_null,           ofpact, "debug_recirc") \
  |  |  ------------------
  |  |  |  | 9468|      0|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 0, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|      0|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|      0|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|      0|            break;
  |  |  ------------------
  |  |  135|      0|    OFPACT(DEBUG_SLOW,   ofpact_null,           ofpact, "debug_slow")   \
  |  |  ------------------
  |  |  |  | 9468|      0|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 0, False: 182k]
  |  |  |  |  ------------------
  |  |  |  | 9469|      0|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|      0|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|      0|            break;
  |  |  ------------------
  |  |  136|      0|                                                                        \
  |  |  137|      0|    /* Instructions ("meter" is an action in OF1.5+). */                \
  |  |  138|    166|    OFPACT(METER,           ofpact_meter,       ofpact, "meter")        \
  |  |  ------------------
  |  |  |  | 9468|    166|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 166, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    166|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    166|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    166|            break;
  |  |  ------------------
  |  |  139|    166|    OFPACT(CLEAR_ACTIONS,   ofpact_null,        ofpact, "clear_actions") \
  |  |  ------------------
  |  |  |  | 9468|    145|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 145, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    145|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    145|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    145|            break;
  |  |  ------------------
  |  |  140|  10.5k|    OFPACT(WRITE_ACTIONS,   ofpact_nest,        actions, "write_actions") \
  |  |  ------------------
  |  |  |  | 9468|  10.5k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 10.5k, False: 171k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  10.5k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  10.5k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  10.5k|            break;
  |  |  ------------------
  |  |  141|  10.5k|    OFPACT(WRITE_METADATA,  ofpact_metadata,    ofpact, "write_metadata") \
  |  |  ------------------
  |  |  |  | 9468|    844|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 844, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|    844|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|    844|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|    844|            break;
  |  |  ------------------
  |  |  142|  1.03k|    OFPACT(GOTO_TABLE,      ofpact_goto_table,  ofpact, "goto_table")
  |  |  ------------------
  |  |  |  | 9468|  1.03k|        case OFPACT_##ENUM:                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (9468:9): [True: 1.03k, False: 181k]
  |  |  |  |  ------------------
  |  |  |  | 9469|  1.03k|            format_##ENUM(ALIGNED_CAST(const struct STRUCT *, a), fp);  \
  |  |  |  |  ------------------
  |  |  |  |  |  |  434|  1.03k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  |  |  ------------------
  |  |  |  | 9470|  1.03k|            break;
  |  |  ------------------
  ------------------
 9472|      0|#undef OFPACT
 9473|      0|    default:
  ------------------
  |  Branch (9473:5): [True: 0, False: 182k]
  ------------------
 9474|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 9475|   182k|    }
 9476|   182k|}
ofp-actions.c:format_OUTPUT:
  704|  14.2k|{
  705|  14.2k|    if (ofp_to_u16(a->port) < ofp_to_u16(OFPP_MAX)) {
  ------------------
  |  |   33|  14.2k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|  14.2k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (705:9): [True: 3.89k, False: 10.3k]
  ------------------
  706|  3.89k|        ds_put_format(fp->s, "%soutput:%s", colors.special, colors.end);
  707|  3.89k|    }
  708|  14.2k|    ofputil_format_port(a->port, fp->port_map, fp->s);
  709|  14.2k|    if (a->port == OFPP_CONTROLLER) {
  ------------------
  |  |   45|  14.2k|#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
  |  |  ------------------
  |  |  |  |  157|  14.2k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 7.60k, False: 6.61k]
  ------------------
  710|       |        ds_put_format(fp->s, ":%"PRIu16, a->max_len);
  711|  7.60k|    }
  712|  14.2k|}
ofp-actions.c:format_GROUP:
  748|    369|{
  749|       |    ds_put_format(fp->s, "%sgroup:%s%"PRIu32,
  750|    369|                  colors.special, colors.end, a->group_id);
  751|    369|}
ofp-actions.c:format_CONTROLLER:
 1029|  1.87k|{
 1030|  1.87k|    if (a->reason == OFPR_ACTION && !a->controller_id && !a->userdata_len
  ------------------
  |  Branch (1030:9): [True: 950, False: 927]
  |  Branch (1030:37): [True: 649, False: 301]
  |  Branch (1030:58): [True: 574, False: 75]
  ------------------
 1031|    574|        && !a->pause && a->meter_id == NX_CTLR_NO_METER) {
  ------------------
  |  |  307|    153|#define NX_CTLR_NO_METER 0
  ------------------
  |  Branch (1031:12): [True: 153, False: 421]
  |  Branch (1031:25): [True: 42, False: 111]
  ------------------
 1032|     42|        ds_put_format(fp->s, "%sCONTROLLER:%s%"PRIu16,
 1033|     42|                      colors.special, colors.end, a->max_len);
 1034|  1.83k|    } else {
 1035|  1.83k|        enum ofp_packet_in_reason reason = a->reason;
 1036|       |
 1037|  1.83k|        ds_put_format(fp->s, "%scontroller(%s", colors.paren, colors.end);
 1038|  1.83k|        if (reason != OFPR_ACTION) {
  ------------------
  |  Branch (1038:13): [True: 927, False: 908]
  ------------------
 1039|    927|            char reasonbuf[OFPUTIL_PACKET_IN_REASON_BUFSIZE];
 1040|       |
 1041|    927|            ds_put_format(fp->s, "%sreason=%s%s,", colors.param, colors.end,
 1042|    927|                          ofputil_packet_in_reason_to_string(
 1043|    927|                              reason, reasonbuf, sizeof reasonbuf));
 1044|    927|        }
 1045|  1.83k|        if (a->max_len != UINT16_MAX) {
  ------------------
  |  Branch (1045:13): [True: 1.51k, False: 325]
  ------------------
 1046|  1.51k|            ds_put_format(fp->s, "%smax_len=%s%"PRIu16",",
 1047|  1.51k|                          colors.param, colors.end, a->max_len);
 1048|  1.51k|        }
 1049|  1.83k|        if (a->controller_id != 0) {
  ------------------
  |  Branch (1049:13): [True: 710, False: 1.12k]
  ------------------
 1050|    710|            ds_put_format(fp->s, "%sid=%s%"PRIu16",",
 1051|    710|                          colors.param, colors.end, a->controller_id);
 1052|    710|        }
 1053|  1.83k|        if (a->userdata_len) {
  ------------------
  |  Branch (1053:13): [True: 175, False: 1.66k]
  ------------------
 1054|    175|            ds_put_format(fp->s, "%suserdata=%s", colors.param, colors.end);
 1055|    175|            ds_put_hex_with_delimiter(fp->s, a->userdata, a->userdata_len,
 1056|    175|                                      ".");
 1057|    175|            ds_put_char(fp->s, ',');
 1058|    175|        }
 1059|  1.83k|        if (a->pause) {
  ------------------
  |  Branch (1059:13): [True: 557, False: 1.27k]
  ------------------
 1060|    557|            ds_put_format(fp->s, "%spause%s,", colors.value, colors.end);
 1061|    557|        }
 1062|  1.83k|        if (a->meter_id != NX_CTLR_NO_METER) {
  ------------------
  |  |  307|  1.83k|#define NX_CTLR_NO_METER 0
  ------------------
  |  Branch (1062:13): [True: 111, False: 1.72k]
  ------------------
 1063|    111|            ds_put_format(fp->s, "%smeter_id=%s%"PRIu32",",
 1064|    111|                          colors.param, colors.end, a->meter_id);
 1065|    111|        }
 1066|  1.83k|        ds_chomp(fp->s, ',');
 1067|  1.83k|        ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 1068|  1.83k|    }
 1069|  1.87k|}
ofp-actions.c:format_ENQUEUE:
 1152|    382|{
 1153|    382|    ds_put_format(fp->s, "%senqueue:%s", colors.param, colors.end);
 1154|    382|    ofputil_format_port(a->port, fp->port_map, fp->s);
 1155|       |    ds_put_format(fp->s, ":%"PRIu32, a->queue);
 1156|    382|}
ofp-actions.c:format_OUTPUT_REG:
 1318|    696|{
 1319|    696|    ds_put_format(fp->s, "%soutput:%s", colors.special, colors.end);
 1320|    696|    mf_format_subfield(&a->src, fp->s);
 1321|    696|}
ofp-actions.c:format_BUNDLE:
 1545|  1.69k|{
 1546|  1.69k|    bundle_format(a, fp->port_map, fp->s);
 1547|  1.69k|}
ofp-actions.c:format_SET_FIELD:
 3326|  9.98k|{
 3327|  9.98k|    if (a->ofpact.raw == NXAST_RAW_REG_LOAD) {
  ------------------
  |  Branch (3327:9): [True: 2.47k, False: 7.51k]
  ------------------
 3328|  2.47k|        struct mf_subfield dst;
 3329|  2.47k|        uint64_t value;
 3330|       |
 3331|  2.47k|        dst.ofs = dst.n_bits = 0;
 3332|  4.95k|        while (next_load_segment(a, &dst, &value)) {
  ------------------
  |  Branch (3332:16): [True: 2.47k, False: 2.47k]
  ------------------
 3333|  2.47k|            ds_put_format(fp->s, "%sload:%s%#"PRIx64"%s->%s",
 3334|  2.47k|                          colors.special, colors.end, value,
 3335|  2.47k|                          colors.special, colors.end);
 3336|  2.47k|            mf_format_subfield(&dst, fp->s);
 3337|  2.47k|            ds_put_char(fp->s, ',');
 3338|  2.47k|        }
 3339|  2.47k|        ds_chomp(fp->s, ',');
 3340|  7.51k|    } else {
 3341|  7.51k|        ds_put_format(fp->s, "%sset_field:%s", colors.special, colors.end);
 3342|  7.51k|        mf_format(a->field, a->value, ofpact_set_field_mask(a),
  ------------------
  |  |  563|  7.51k|    ALIGNED_CAST(union mf_value *,                                          \
  |  |  ------------------
  |  |  |  |  434|  7.51k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  |  |  ------------------
  |  |  564|  7.51k|                 (uint8_t *)(SF)->value +                                   \
  |  |  565|  7.51k|                            ROUND_UP((SF)->field->n_bytes, OFPACT_ALIGNTO))
  ------------------
 3343|  7.51k|                  fp->port_map, fp->s);
 3344|  7.51k|        ds_put_format(fp->s, "%s->%s%s",
 3345|  7.51k|                      colors.special, colors.end, a->field->name);
 3346|  7.51k|    }
 3347|  9.98k|}
ofp-actions.c:format_SET_VLAN_VID:
 1641|  3.52k|{
 1642|  3.52k|    ds_put_format(fp->s, "%s%s:%s%"PRIu16, colors.param,
 1643|  3.52k|                  a->push_vlan_if_needed ? "mod_vlan_vid" : "set_vlan_vid",
  ------------------
  |  Branch (1643:19): [True: 3.35k, False: 167]
  ------------------
 1644|  3.52k|                  colors.end, a->vlan_vid);
 1645|  3.52k|}
ofp-actions.c:format_SET_VLAN_PCP:
 1749|  4.22k|{
 1750|  4.22k|    ds_put_format(fp->s, "%s%s:%s%"PRIu8, colors.param,
 1751|  4.22k|                  a->push_vlan_if_needed ? "mod_vlan_pcp" : "set_vlan_pcp",
  ------------------
  |  Branch (1751:19): [True: 3.51k, False: 716]
  ------------------
 1752|  4.22k|                  colors.end, a->vlan_pcp);
 1753|  4.22k|}
ofp-actions.c:format_STRIP_VLAN:
 1816|  7.27k|{
 1817|  7.27k|    ds_put_format(fp->s, (a->ofpact.raw == OFPAT_RAW11_POP_VLAN
  ------------------
  |  Branch (1817:27): [True: 3.28k, False: 3.98k]
  ------------------
 1818|  7.27k|                    ? "%spop_vlan%s"
 1819|  7.27k|                    : "%sstrip_vlan%s"),
 1820|  7.27k|                  colors.value, colors.end);
 1821|  7.27k|}
ofp-actions.c:format_PUSH_VLAN:
 1886|    891|{
 1887|    891|    ds_put_format(fp->s, "%spush_vlan:%s%#"PRIx16,
 1888|       |                  colors.param, colors.end, ntohs(push_vlan->ethertype));
 1889|    891|}
ofp-actions.c:format_SET_ETH_SRC:
 1982|    403|{
 1983|    403|    ds_put_format(fp->s, "%smod_dl_src:%s"ETH_ADDR_FMT,
  ------------------
  |  |  370|    403|    "%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8
  ------------------
 1984|    403|                  colors.param, colors.end, ETH_ADDR_ARGS(a->mac));
  ------------------
  |  |  371|    403|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|    403|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
 1985|    403|}
ofp-actions.c:format_SET_ETH_DST:
 1990|    344|{
 1991|    344|    ds_put_format(fp->s, "%smod_dl_dst:%s"ETH_ADDR_FMT,
  ------------------
  |  |  370|    344|    "%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8
  ------------------
 1992|    344|                  colors.param, colors.end, ETH_ADDR_ARGS(a->mac));
  ------------------
  |  |  371|    344|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|    344|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
 1993|    344|}
ofp-actions.c:format_SET_IPV4_SRC:
 2074|  2.87k|{
 2075|  2.87k|    ds_put_format(fp->s, "%smod_nw_src:%s"IP_FMT,
  ------------------
  |  |  628|  2.87k|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
 2076|       |                  colors.param, colors.end, IP_ARGS(a->ipv4));
  ------------------
  |  |  630|  2.87k|    ntohl(ip) >> 24,                            \
  |  |  631|  2.87k|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|  2.87k|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|  2.87k|    ntohl(ip) & 0xff
  ------------------
 2077|  2.87k|}
ofp-actions.c:format_SET_IPV4_DST:
 2082|  6.26k|{
 2083|  6.26k|    ds_put_format(fp->s, "%smod_nw_dst:%s"IP_FMT,
  ------------------
  |  |  628|  6.26k|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
 2084|       |                  colors.param, colors.end, IP_ARGS(a->ipv4));
  ------------------
  |  |  630|  6.26k|    ntohl(ip) >> 24,                            \
  |  |  631|  6.26k|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|  6.26k|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|  6.26k|    ntohl(ip) & 0xff
  ------------------
 2085|  6.26k|}
ofp-actions.c:format_SET_IP_DSCP:
 2159|  6.50k|{
 2160|  6.50k|    ds_put_format(fp->s, "%smod_nw_tos:%s%d",
 2161|  6.50k|                  colors.param, colors.end, a->dscp);
 2162|  6.50k|}
ofp-actions.c:format_SET_IP_ECN:
 2232|  3.57k|{
 2233|  3.57k|    ds_put_format(fp->s, "%smod_nw_ecn:%s%d",
 2234|  3.57k|                  colors.param, colors.end, a->ecn);
 2235|  3.57k|}
ofp-actions.c:format_SET_IP_TTL:
 2287|  1.32k|{
 2288|  1.32k|    ds_put_format(fp->s, "%smod_nw_ttl:%s%d",
 2289|  1.32k|                  colors.param, colors.end, a->ttl);
 2290|  1.32k|}
ofp-actions.c:format_SET_L4_SRC_PORT:
 2377|  10.9k|{
 2378|  10.9k|    ds_put_format(fp->s, "%smod_tp_src:%s%d",
 2379|  10.9k|                  colors.param, colors.end, a->port);
 2380|  10.9k|}
ofp-actions.c:format_SET_L4_DST_PORT:
 2385|  6.30k|{
 2386|  6.30k|    ds_put_format(fp->s, "%smod_tp_dst:%s%d",
 2387|  6.30k|                  colors.param, colors.end, a->port);
 2388|  6.30k|}
ofp-actions.c:format_REG_MOVE:
 2715|     94|{
 2716|     94|    nxm_format_reg_move(a, fp->s);
 2717|     94|}
ofp-actions.c:format_STACK_PUSH:
 3558|    297|{
 3559|    297|    nxm_format_stack_push(a, fp->s);
 3560|    297|}
ofp-actions.c:format_STACK_POP:
 3565|  1.12k|{
 3566|  1.12k|    nxm_format_stack_pop(a, fp->s);
 3567|  1.12k|}
ofp-actions.c:format_DEC_TTL:
 3736|  3.23k|{
 3737|  3.23k|    size_t i;
 3738|       |
 3739|  3.23k|    ds_put_format(fp->s, "%sdec_ttl%s", colors.paren, colors.end);
 3740|  3.23k|    if (a->ofpact.raw == NXAST_RAW_DEC_TTL_CNT_IDS) {
  ------------------
  |  Branch (3740:9): [True: 1.89k, False: 1.34k]
  ------------------
 3741|  1.89k|        ds_put_format(fp->s, "%s(%s", colors.paren, colors.end);
 3742|  6.72k|        for (i = 0; i < a->n_controllers; i++) {
  ------------------
  |  Branch (3742:21): [True: 4.83k, False: 1.89k]
  ------------------
 3743|  4.83k|            if (i) {
  ------------------
  |  Branch (3743:17): [True: 3.24k, False: 1.59k]
  ------------------
 3744|  3.24k|                ds_put_cstr(fp->s, ",");
 3745|  3.24k|            }
 3746|       |            ds_put_format(fp->s, "%"PRIu16, a->cnt_ids[i]);
 3747|  4.83k|        }
 3748|  1.89k|        ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 3749|  1.89k|    }
 3750|  3.23k|}
ofp-actions.c:format_SET_MPLS_LABEL:
 3809|  1.39k|{
 3810|  1.39k|    ds_put_format(fp->s, "%sset_mpls_label(%s%"PRIu32"%s)%s",
 3811|       |                  colors.paren, colors.end, ntohl(a->label),
 3812|  1.39k|                  colors.paren, colors.end);
 3813|  1.39k|}
ofp-actions.c:format_SET_MPLS_TC:
 3880|  1.40k|{
 3881|  1.40k|    ds_put_format(fp->s, "%sset_mpls_tc(%s%"PRIu8"%s)%s",
 3882|  1.40k|                  colors.paren, colors.end, a->tc,
 3883|  1.40k|                  colors.paren, colors.end);
 3884|  1.40k|}
ofp-actions.c:format_SET_MPLS_TTL:
 3938|  3.74k|{
 3939|  3.74k|    ds_put_format(fp->s, "%sset_mpls_ttl(%s%"PRIu8"%s)%s",
 3940|  3.74k|                  colors.paren, colors.end, a->ttl,
 3941|  3.74k|                  colors.paren, colors.end);
 3942|  3.74k|}
ofp-actions.c:format_DEC_MPLS_TTL:
 3977|  6.19k|{
 3978|  6.19k|    ds_put_format(fp->s, "%sdec_mpls_ttl%s", colors.value, colors.end);
 3979|  6.19k|}
ofp-actions.c:format_PUSH_MPLS:
 4029|  3.76k|{
 4030|  3.76k|    ds_put_format(fp->s, "%spush_mpls:%s0x%04"PRIx16,
 4031|       |                  colors.param, colors.end, ntohs(a->ethertype));
 4032|  3.76k|}
ofp-actions.c:format_POP_MPLS:
 4087|  4.68k|{
 4088|  4.68k|    ds_put_format(fp->s, "%spop_mpls:%s0x%04"PRIx16,
 4089|       |                  colors.param, colors.end, ntohs(a->ethertype));
 4090|  4.68k|}
ofp-actions.c:format_DEC_NSH_TTL:
 4822|  1.20k|{
 4823|  1.20k|    ds_put_format(fp->s, "%sdec_nsh_ttl%s", colors.special, colors.end);
 4824|  1.20k|}
ofp-actions.c:format_DELETE_FIELD:
 4247|     21|{
 4248|     21|    ds_put_format(fp->s, "%sdelete_field:%s", colors.param,
 4249|     21|                  colors.end);
 4250|     21|    ds_put_format(fp->s, "%s", odf->field->name);
 4251|     21|}
ofp-actions.c:format_ENCAP:
 4651|  2.77k|{
 4652|  2.77k|    ds_put_format(fp->s, "%sencap(%s", colors.paren, colors.end);
 4653|  2.77k|    ds_put_format(fp->s, "%s", format_encap_pkt_type(a->new_pkt_type));
 4654|  2.77k|    if (a->n_props > 0) {
  ------------------
  |  Branch (4654:9): [True: 190, False: 2.58k]
  ------------------
 4655|    190|        ds_put_format(fp->s, "%s(%s", colors.paren, colors.end);
 4656|    190|        format_ed_props(fp->s, a->n_props, a->props);
 4657|    190|        ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 4658|    190|    }
 4659|  2.77k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 4660|  2.77k|}
ofp-actions.c:format_encap_pkt_type:
 4612|  2.77k|{
 4613|  2.77k|    switch (ntohl(pkt_type)) {
 4614|    801|    case PT_ETH:
  ------------------
  |  Branch (4614:5): [True: 801, False: 1.97k]
  ------------------
 4615|    801|        return "ethernet";
 4616|  1.05k|    case PT_NSH:
  ------------------
  |  Branch (4616:5): [True: 1.05k, False: 1.71k]
  ------------------
 4617|  1.05k|        return "nsh";
 4618|    539|    case PT_MPLS:
  ------------------
  |  Branch (4618:5): [True: 539, False: 2.23k]
  ------------------
 4619|    539|        return "mpls";
 4620|    377|    case PT_MPLS_MC:
  ------------------
  |  Branch (4620:5): [True: 377, False: 2.39k]
  ------------------
 4621|    377|        return "mpls_mc";
 4622|      0|    default:
  ------------------
  |  Branch (4622:5): [True: 0, False: 2.77k]
  ------------------
 4623|      0|        return "UNKNOWN";
 4624|  2.77k|    }
 4625|  2.77k|}
ofp-actions.c:format_ed_props:
 4630|    190|{
 4631|    190|    const uint8_t *p = (uint8_t *) prop;
 4632|    190|    int i;
 4633|       |
 4634|    190|    if (n_props == 0) {
  ------------------
  |  Branch (4634:9): [True: 0, False: 190]
  ------------------
 4635|      0|        return;
 4636|      0|    }
 4637|    530|    for (i = 0; i < n_props; i++) {
  ------------------
  |  Branch (4637:17): [True: 340, False: 190]
  ------------------
 4638|    340|        format_ed_prop(s, prop);
 4639|    340|        ds_put_char(s, ',');
 4640|    340|        p += ROUND_UP(prop->len, 8);
  ------------------
  |  |  303|    340|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|    340|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
 4641|    340|        prop = ALIGNED_CAST(const struct ofpact_ed_prop *, p);
  ------------------
  |  |  434|    340|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4642|    340|    }
 4643|    190|    if (n_props > 0) {
  ------------------
  |  Branch (4643:9): [True: 190, False: 0]
  ------------------
 4644|    190|        ds_chomp(s, ',');
 4645|    190|    }
 4646|    190|}
ofp-actions.c:format_DECAP:
 4768|  6.83k|{
 4769|  6.83k|    ds_put_format(fp->s, "%sdecap(%s", colors.paren, colors.end);
 4770|  6.83k|    if (a->new_pkt_type != htonl(PT_USE_NEXT_PROTO)) {
  ------------------
  |  Branch (4770:9): [True: 5.93k, False: 897]
  ------------------
 4771|  5.93k|        ds_put_format(fp->s, "packet_type(ns=%"PRIu16",type=%#"PRIx16")",
 4772|  5.93k|                      pt_ns(a->new_pkt_type),
 4773|  5.93k|                      pt_ns_type(a->new_pkt_type));
 4774|  5.93k|    }
 4775|  6.83k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 4776|  6.83k|}
ofp-actions.c:format_SET_TUNNEL:
 4167|    626|{
 4168|    626|    ds_put_format(fp->s, "%sset_tunnel%s:%s%#"PRIx64, colors.param,
 4169|    626|                  (a->tun_id > UINT32_MAX
  ------------------
  |  Branch (4169:20): [True: 133, False: 493]
  ------------------
 4170|    493|                   || a->ofpact.raw == NXAST_RAW_SET_TUNNEL64 ? "64" : ""),
  ------------------
  |  Branch (4170:23): [True: 22, False: 471]
  ------------------
 4171|    626|                  colors.end, a->tun_id);
 4172|    626|}
ofp-actions.c:format_SET_QUEUE:
 4291|    277|{
 4292|       |    ds_put_format(fp->s, "%sset_queue:%s%"PRIu32,
 4293|    277|                  colors.param, colors.end, a->queue_id);
 4294|    277|}
ofp-actions.c:format_POP_QUEUE:
 4330|  1.20k|{
 4331|  1.20k|    ds_put_format(fp->s, "%spop_queue%s", colors.value, colors.end);
 4332|  1.20k|}
ofp-actions.c:format_FIN_TIMEOUT:
 4426|  1.02k|{
 4427|  1.02k|    ds_put_format(fp->s, "%sfin_timeout(%s", colors.paren, colors.end);
 4428|  1.02k|    if (a->fin_idle_timeout) {
  ------------------
  |  Branch (4428:9): [True: 673, False: 352]
  ------------------
 4429|    673|        ds_put_format(fp->s, "%sidle_timeout=%s%"PRIu16",",
 4430|    673|                      colors.param, colors.end, a->fin_idle_timeout);
 4431|    673|    }
 4432|  1.02k|    if (a->fin_hard_timeout) {
  ------------------
  |  Branch (4432:9): [True: 1.00k, False: 23]
  ------------------
 4433|  1.00k|        ds_put_format(fp->s, "%shard_timeout=%s%"PRIu16",",
 4434|  1.00k|                      colors.param, colors.end, a->fin_hard_timeout);
 4435|  1.00k|    }
 4436|  1.02k|    ds_chomp(fp->s, ',');
 4437|  1.02k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 4438|  1.02k|}
ofp-actions.c:format_RESUBMIT:
 5028|    713|{
 5029|    713|    if (a->in_port != OFPP_IN_PORT && a->table_id == 255) {
  ------------------
  |  |   39|    713|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  ------------------
  |  |  |  |  157|  1.42k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (5029:9): [True: 611, False: 102]
  |  Branch (5029:39): [True: 570, False: 41]
  ------------------
 5030|    570|        ds_put_format(fp->s, "%sresubmit:%s", colors.special, colors.end);
 5031|    570|        ofputil_format_port(a->in_port, fp->port_map, fp->s);
 5032|    570|    } else {
 5033|    143|        ds_put_format(fp->s, "%sresubmit(%s", colors.paren, colors.end);
 5034|    143|        if (a->in_port != OFPP_IN_PORT) {
  ------------------
  |  |   39|    143|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  ------------------
  |  |  |  |  157|    143|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (5034:13): [True: 41, False: 102]
  ------------------
 5035|     41|            ofputil_format_port(a->in_port, fp->port_map, fp->s);
 5036|     41|        }
 5037|    143|        ds_put_char(fp->s, ',');
 5038|    143|        if (a->table_id != 255) {
  ------------------
  |  Branch (5038:13): [True: 107, False: 36]
  ------------------
 5039|    107|            ofputil_format_table(a->table_id, fp->table_map, fp->s);
 5040|    107|        }
 5041|    143|        if (a->with_ct_orig) {
  ------------------
  |  Branch (5041:13): [True: 29, False: 114]
  ------------------
 5042|     29|            ds_put_cstr(fp->s, ",ct");
 5043|     29|        }
 5044|    143|        ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 5045|    143|    }
 5046|    713|}
ofp-actions.c:format_LEARN:
 5639|  18.3k|{
 5640|  18.3k|    learn_format(a, fp->port_map, fp->table_map, fp->s);
 5641|  18.3k|}
ofp-actions.c:format_CONJUNCTION:
 5701|  1.47k|{
 5702|  1.47k|    ds_put_format(fp->s, "%sconjunction(%s%"PRIu32",%d/%"PRIu8"%s)%s",
 5703|  1.47k|                  colors.paren, colors.end,
 5704|  1.47k|                  oc->id, oc->clause + 1, oc->n_clauses,
 5705|  1.47k|                  colors.paren, colors.end);
 5706|  1.47k|}
ofp-actions.c:format_MULTIPATH:
 5866|  1.25k|{
 5867|  1.25k|    multipath_format(a, fp->s);
 5868|  1.25k|}
ofp-actions.c:format_NOTE:
 5951|  3.60k|{
 5952|  3.60k|    ds_put_format(fp->s, "%snote:%s", colors.param, colors.end);
 5953|  3.60k|    ds_put_hex_with_delimiter(fp->s, a->data, a->length, ".");
 5954|  3.60k|}
ofp-actions.c:format_EXIT:
 5989|    248|{
 5990|    248|    ds_put_format(fp->s, "%sexit%s", colors.special, colors.end);
 5991|    248|}
ofp-actions.c:format_SAMPLE:
 6527|  3.46k|{
 6528|  3.46k|    ds_put_format(fp->s, "%ssample(%s%sprobability=%s%"PRIu16
 6529|  3.46k|                  ",%scollector_set_id=%s%"PRIu32,
 6530|  3.46k|                  colors.paren, colors.end,
 6531|  3.46k|                  colors.param, colors.end, a->probability,
 6532|  3.46k|                  colors.param, colors.end, a->collector_set_id);
 6533|       |
 6534|  3.46k|    ds_put_format(fp->s, ",%sobs_domain_id=%s", colors.param, colors.end);
 6535|  3.46k|    if (a->obs_domain_src.field) {
  ------------------
  |  Branch (6535:9): [True: 1.30k, False: 2.16k]
  ------------------
 6536|  1.30k|        mf_format_subfield(&a->obs_domain_src, fp->s);
 6537|  2.16k|    } else {
 6538|  2.16k|        ds_put_format(fp->s, "%"PRIu32, a->obs_domain_imm);
 6539|  2.16k|    }
 6540|  3.46k|    ds_put_format(fp->s, ",%sobs_point_id=%s", colors.param, colors.end);
 6541|  3.46k|    if (a->obs_point_src.field) {
  ------------------
  |  Branch (6541:9): [True: 1.41k, False: 2.05k]
  ------------------
 6542|  1.41k|        mf_format_subfield(&a->obs_point_src, fp->s);
 6543|  2.05k|    } else {
 6544|  2.05k|        ds_put_format(fp->s, "%"PRIu32, a->obs_point_imm);
 6545|  2.05k|    }
 6546|  3.46k|    if (a->sampling_port != OFPP_NONE) {
  ------------------
  |  |   47|  3.46k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  3.46k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (6546:9): [True: 3.15k, False: 312]
  ------------------
 6547|  3.15k|        ds_put_format(fp->s, ",%ssampling_port=%s", colors.param, colors.end);
 6548|  3.15k|        ofputil_format_port(a->sampling_port, fp->port_map, fp->s);
 6549|  3.15k|    }
 6550|  3.46k|    if (a->direction == NX_ACTION_SAMPLE_INGRESS) {
  ------------------
  |  Branch (6550:9): [True: 120, False: 3.34k]
  ------------------
 6551|    120|        ds_put_format(fp->s, ",%singress%s", colors.param, colors.end);
 6552|  3.34k|    } else if (a->direction == NX_ACTION_SAMPLE_EGRESS) {
  ------------------
  |  Branch (6552:16): [True: 779, False: 2.57k]
  ------------------
 6553|    779|        ds_put_format(fp->s, ",%segress%s", colors.param, colors.end);
 6554|    779|    }
 6555|  3.46k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 6556|  3.46k|}
ofp-actions.c:format_UNROLL_XLATE:
 6021|  7.36k|{
 6022|  7.36k|    ds_put_format(fp->s, "%sunroll_xlate(%s%stable=%s",
 6023|  7.36k|                  colors.paren,   colors.end,
 6024|  7.36k|                  colors.special, colors.end);
 6025|  7.36k|    ofputil_format_table(a->rule_table_id, fp->table_map, fp->s);
 6026|  7.36k|    ds_put_format(fp->s, ", %scookie=%s%"PRIu64"%s)%s",
 6027|  7.36k|                  colors.param,   colors.end, ntohll(a->rule_cookie),
 6028|  7.36k|                  colors.paren,   colors.end);
 6029|  7.36k|}
ofp-actions.c:format_CT:
 7025|  5.73k|{
 7026|  5.73k|    ds_put_format(fp->s, "%sct(%s", colors.paren, colors.end);
 7027|  5.73k|    if (a->flags & NX_CT_F_COMMIT) {
  ------------------
  |  Branch (7027:9): [True: 3.89k, False: 1.83k]
  ------------------
 7028|  3.89k|        ds_put_format(fp->s, "%scommit%s,", colors.value, colors.end);
 7029|  3.89k|    }
 7030|  5.73k|    if (a->flags & NX_CT_F_FORCE) {
  ------------------
  |  Branch (7030:9): [True: 1.07k, False: 4.65k]
  ------------------
 7031|  1.07k|        ds_put_format(fp->s, "%sforce%s,", colors.value, colors.end);
 7032|  1.07k|    }
 7033|  5.73k|    if (a->recirc_table != NX_CT_RECIRC_NONE) {
  ------------------
  |  |  692|  5.73k|#define NX_CT_RECIRC_NONE OFPTT_ALL
  ------------------
  |  Branch (7033:9): [True: 5.50k, False: 230]
  ------------------
 7034|  5.50k|        ds_put_format(fp->s, "%stable=%s", colors.special, colors.end);
 7035|  5.50k|        ofputil_format_table(a->recirc_table, fp->table_map, fp->s);
 7036|  5.50k|        ds_put_char(fp->s, ',');
 7037|  5.50k|    }
 7038|  5.73k|    if (a->zone_src.field) {
  ------------------
  |  Branch (7038:9): [True: 2.24k, False: 3.48k]
  ------------------
 7039|  2.24k|        ds_put_format(fp->s, "%szone=%s", colors.param, colors.end);
 7040|  2.24k|        mf_format_subfield(&a->zone_src, fp->s);
 7041|  2.24k|        ds_put_char(fp->s, ',');
 7042|  3.48k|    } else if (a->zone_imm) {
  ------------------
  |  Branch (7042:16): [True: 2.76k, False: 725]
  ------------------
 7043|  2.76k|        ds_put_format(fp->s, "%szone=%s%"PRIu16",",
 7044|  2.76k|                      colors.param, colors.end, a->zone_imm);
 7045|  2.76k|    }
 7046|       |    /* If the first action is a NAT action, format it outside of the 'exec'
 7047|       |     * envelope. */
 7048|  5.73k|    const struct ofpact *action = a->actions;
 7049|  5.73k|    size_t actions_len = ofpact_ct_get_action_len(a);
 7050|  5.73k|    if (actions_len && action->type == OFPACT_NAT) {
  ------------------
  |  Branch (7050:9): [True: 2.88k, False: 2.84k]
  |  Branch (7050:24): [True: 2.47k, False: 406]
  ------------------
 7051|  2.47k|        format_NAT(ofpact_get_NAT(action), fp);
 7052|  2.47k|        ds_put_char(fp->s, ',');
 7053|  2.47k|        actions_len -= OFPACT_ALIGN(action->len);
  ------------------
  |  |  205|  2.47k|#define OFPACT_ALIGN(SIZE) ROUND_UP(SIZE, OFPACT_ALIGNTO)
  |  |  ------------------
  |  |  |  |  303|  2.47k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  |  300|  2.47k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7054|  2.47k|        action = ofpact_next(action);
 7055|  2.47k|    }
 7056|  5.73k|    if (actions_len) {
  ------------------
  |  Branch (7056:9): [True: 406, False: 5.32k]
  ------------------
 7057|    406|        ds_put_format(fp->s, "%sexec(%s", colors.paren, colors.end);
 7058|    406|        ofpacts_format(action, actions_len, fp);
 7059|    406|        ds_put_format(fp->s, "%s),%s", colors.paren, colors.end);
 7060|    406|    }
 7061|  5.73k|    format_alg(a->alg, fp->s);
 7062|  5.73k|    ds_chomp(fp->s, ',');
 7063|  5.73k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 7064|  5.73k|}
ofp-actions.c:format_alg:
 7002|  5.73k|{
 7003|  5.73k|    switch(port) {
 7004|    493|    case IPPORT_FTP:
  ------------------
  |  |  695|    493|#define IPPORT_FTP  21
  ------------------
  |  Branch (7004:5): [True: 493, False: 5.23k]
  ------------------
 7005|    493|        ds_put_format(s, "%salg=%sftp,", colors.param, colors.end);
 7006|    493|        break;
 7007|    906|    case IPPORT_TFTP:
  ------------------
  |  |  699|    906|#define IPPORT_TFTP  69
  ------------------
  |  Branch (7007:5): [True: 906, False: 4.82k]
  ------------------
 7008|    906|        ds_put_format(s, "%salg=%stftp,", colors.param, colors.end);
 7009|    906|        break;
 7010|  1.34k|    case 0:
  ------------------
  |  Branch (7010:5): [True: 1.34k, False: 4.38k]
  ------------------
 7011|       |        /* Don't print. */
 7012|  1.34k|        break;
 7013|  2.98k|    default:
  ------------------
  |  Branch (7013:5): [True: 2.98k, False: 2.74k]
  ------------------
 7014|  2.98k|        ds_put_format(s, "%salg=%s%d,", colors.param, colors.end, port);
 7015|  2.98k|        break;
 7016|  5.73k|    }
 7017|  5.73k|}
ofp-actions.c:format_CT_CLEAR:
 7115|     82|{
 7116|     82|    ds_put_format(fp->s, "%sct_clear%s", colors.value, colors.end);
 7117|     82|}
ofp-actions.c:format_NAT:
 7306|  2.47k|{
 7307|  2.47k|    ds_put_format(fp->s, "%snat%s", colors.paren, colors.end);
 7308|       |
 7309|  2.47k|    if (a->flags & (NX_NAT_F_SRC | NX_NAT_F_DST)) {
  ------------------
  |  Branch (7309:9): [True: 2.45k, False: 23]
  ------------------
 7310|  2.45k|        ds_put_format(fp->s, "%s(%s", colors.paren, colors.end);
 7311|  2.45k|        ds_put_format(fp->s, a->flags & NX_NAT_F_SRC ? "%ssrc%s" : "%sdst%s",
  ------------------
  |  Branch (7311:30): [True: 1.91k, False: 541]
  ------------------
 7312|  2.45k|                      colors.param, colors.end);
 7313|       |
 7314|  2.45k|        if (a->range_af != AF_UNSPEC) {
  ------------------
  |  Branch (7314:13): [True: 1.47k, False: 981]
  ------------------
 7315|  1.47k|            ds_put_format(fp->s, "%s=%s", colors.param, colors.end);
 7316|       |
 7317|  1.47k|            if (a->range_af == AF_INET) {
  ------------------
  |  Branch (7317:17): [True: 1.47k, False: 0]
  ------------------
 7318|  1.47k|                ds_put_format(fp->s, IP_FMT, IP_ARGS(a->range.addr.ipv4.min));
  ------------------
  |  |  628|  1.47k|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
                              ds_put_format(fp->s, IP_FMT, IP_ARGS(a->range.addr.ipv4.min));
  ------------------
  |  |  630|  1.47k|    ntohl(ip) >> 24,                            \
  |  |  631|  1.47k|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|  1.47k|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|  1.47k|    ntohl(ip) & 0xff
  ------------------
 7319|       |
 7320|  1.47k|                if (a->range.addr.ipv4.max
  ------------------
  |  Branch (7320:21): [True: 265, False: 1.20k]
  ------------------
 7321|    265|                    && a->range.addr.ipv4.max != a->range.addr.ipv4.min) {
  ------------------
  |  Branch (7321:24): [True: 223, False: 42]
  ------------------
 7322|    223|                    ds_put_format(fp->s, "-"IP_FMT,
  ------------------
  |  |  628|    223|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
 7323|    223|                                  IP_ARGS(a->range.addr.ipv4.max));
  ------------------
  |  |  630|    223|    ntohl(ip) >> 24,                            \
  |  |  631|    223|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|    223|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|    223|    ntohl(ip) & 0xff
  ------------------
 7324|    223|                }
 7325|  1.47k|            } else if (a->range_af == AF_INET6) {
  ------------------
  |  Branch (7325:24): [True: 0, False: 0]
  ------------------
 7326|      0|                ipv6_format_addr_bracket(&a->range.addr.ipv6.min, fp->s,
 7327|      0|                                        a->range.proto.min);
 7328|       |
 7329|      0|                if (!ipv6_mask_is_any(&a->range.addr.ipv6.max)
  ------------------
  |  Branch (7329:21): [True: 0, False: 0]
  ------------------
 7330|      0|                    && memcmp(&a->range.addr.ipv6.max, &a->range.addr.ipv6.min,
  ------------------
  |  Branch (7330:24): [True: 0, False: 0]
  ------------------
 7331|      0|                              sizeof(struct in6_addr)) != 0) {
 7332|      0|                    ds_put_char(fp->s, '-');
 7333|      0|                    ipv6_format_addr_bracket(&a->range.addr.ipv6.max, fp->s,
 7334|      0|                                            a->range.proto.min);
 7335|      0|                }
 7336|      0|            }
 7337|  1.47k|            if (a->range.proto.min) {
  ------------------
  |  Branch (7337:17): [True: 1.20k, False: 270]
  ------------------
 7338|  1.20k|                ds_put_char(fp->s, ':');
 7339|  1.20k|                ds_put_format(fp->s, "%"PRIu16, a->range.proto.min);
 7340|       |
 7341|  1.20k|                if (a->range.proto.max
  ------------------
  |  Branch (7341:21): [True: 284, False: 920]
  ------------------
 7342|    284|                    && a->range.proto.max != a->range.proto.min) {
  ------------------
  |  Branch (7342:24): [True: 100, False: 184]
  ------------------
 7343|    100|                    ds_put_format(fp->s, "-%"PRIu16, a->range.proto.max);
 7344|    100|                }
 7345|  1.20k|            }
 7346|  1.47k|            ds_put_char(fp->s, ',');
 7347|       |
 7348|  1.47k|            if (a->flags & NX_NAT_F_PERSISTENT) {
  ------------------
  |  Branch (7348:17): [True: 943, False: 531]
  ------------------
 7349|    943|                ds_put_format(fp->s, "%spersistent%s,",
 7350|    943|                              colors.value, colors.end);
 7351|    943|            }
 7352|  1.47k|            if (a->flags & NX_NAT_F_PROTO_HASH) {
  ------------------
  |  Branch (7352:17): [True: 31, False: 1.44k]
  ------------------
 7353|     31|                ds_put_format(fp->s, "%shash%s,", colors.value, colors.end);
 7354|     31|            }
 7355|  1.47k|            if (a->flags & NX_NAT_F_PROTO_RANDOM) {
  ------------------
  |  Branch (7355:17): [True: 926, False: 548]
  ------------------
 7356|    926|                ds_put_format(fp->s, "%srandom%s,", colors.value, colors.end);
 7357|    926|            }
 7358|  1.47k|        }
 7359|  2.45k|        ds_chomp(fp->s, ',');
 7360|  2.45k|        ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 7361|  2.45k|    }
 7362|  2.47k|}
ofp-actions.c:format_OUTPUT_TRUNC:
 7541|    986|{
 7542|    986|    ds_put_format(fp->s, "%soutput%s(port=", colors.special, colors.end);
 7543|    986|    ofputil_format_port(a->port, fp->port_map, fp->s);
 7544|    986|    ds_put_format(fp->s, ",max_len=%"PRIu32")", a->max_len);
 7545|    986|}
ofp-actions.c:format_CLONE:
 6114|  2.38k|{
 6115|  2.38k|    ds_put_format(fp->s, "%sclone(%s", colors.paren, colors.end);
 6116|  2.38k|    ofpacts_format(a->actions, ofpact_nest_get_action_len(a), fp);
 6117|  2.38k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 6118|  2.38k|}
ofp-actions.c:format_CHECK_PKT_LARGER:
 7902|     91|{
 7903|     91|    ds_put_format(fp->s, "%scheck_pkt_larger(%s%"PRIu32")->",
 7904|     91|                  colors.param, colors.end, a->pkt_len);
 7905|     91|    mf_format_subfield(&a->dst, fp->s);
 7906|     91|}
ofp-actions.c:format_METER:
 7593|    166|{
 7594|       |    ds_put_format(fp->s, "%smeter:%s%"PRIu32,
 7595|    166|                  colors.param, colors.end, a->meter_id);
 7596|    166|}
ofp-actions.c:format_CLEAR_ACTIONS:
 7628|    145|{
 7629|    145|    ds_put_format(fp->s, "%sclear_actions%s", colors.value, colors.end);
 7630|    145|}
ofp-actions.c:format_WRITE_ACTIONS:
 7689|  10.5k|{
 7690|  10.5k|    ds_put_format(fp->s, "%swrite_actions(%s", colors.paren, colors.end);
 7691|  10.5k|    ofpacts_format(a->actions, ofpact_nest_get_action_len(a), fp);
 7692|  10.5k|    ds_put_format(fp->s, "%s)%s", colors.paren, colors.end);
 7693|  10.5k|}
ofp-actions.c:format_WRITE_METADATA:
 7783|    844|{
 7784|    844|    ds_put_format(fp->s, "%swrite_metadata:%s%#"PRIx64,
 7785|    844|                  colors.param, colors.end, ntohll(a->metadata));
 7786|    844|    if (a->mask != OVS_BE64_MAX) {
  ------------------
  |  |   44|    844|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  |  Branch (7786:9): [True: 720, False: 124]
  ------------------
 7787|       |        ds_put_format(fp->s, "/%#"PRIx64, ntohll(a->mask));
 7788|    720|    }
 7789|    844|}
ofp-actions.c:format_GOTO_TABLE:
 7950|  1.03k|{
 7951|  1.03k|    ds_put_format(fp->s, "%sgoto_table:%s", colors.param, colors.end);
 7952|  1.03k|    ofputil_format_table(a->table_id, fp->table_map, fp->s);
 7953|  1.03k|}

ofp-actions.c:ofpact_decode:
 4645|   300k|{
 4646|   300k|    switch (raw) {
 4647|  16.3k|    case OFPAT_RAW10_OUTPUT:
  ------------------
  |  Branch (4647:5): [True: 16.3k, False: 284k]
  ------------------
 4648|  16.3k|        return decode_OFPAT_RAW10_OUTPUT(ALIGNED_CAST(const struct ofp10_action_output *, a), version, out);
  ------------------
  |  |  434|  16.3k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4649|       |
 4650|  1.28k|    case OFPAT_RAW11_OUTPUT:
  ------------------
  |  Branch (4650:5): [True: 1.28k, False: 299k]
  ------------------
 4651|  1.28k|        return decode_OFPAT_RAW11_OUTPUT(ALIGNED_CAST(const struct ofp11_action_output *, a), version, out);
  ------------------
  |  |  434|  1.28k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4652|       |
 4653|  5.71k|    case OFPAT_RAW10_SET_VLAN_VID:
  ------------------
  |  Branch (4653:5): [True: 5.71k, False: 295k]
  ------------------
 4654|  5.71k|        return decode_OFPAT_RAW10_SET_VLAN_VID(arg, version, out);
 4655|       |
 4656|  4.91k|    case OFPAT_RAW10_SET_VLAN_PCP:
  ------------------
  |  Branch (4656:5): [True: 4.91k, False: 295k]
  ------------------
 4657|  4.91k|        return decode_OFPAT_RAW10_SET_VLAN_PCP(arg, version, out);
 4658|       |
 4659|  1.75k|    case OFPAT_RAW11_SET_VLAN_VID:
  ------------------
  |  Branch (4659:5): [True: 1.75k, False: 299k]
  ------------------
 4660|  1.75k|        return decode_OFPAT_RAW11_SET_VLAN_VID(arg, version, out);
 4661|       |
 4662|  1.05k|    case OFPAT_RAW11_SET_VLAN_PCP:
  ------------------
  |  Branch (4662:5): [True: 1.05k, False: 299k]
  ------------------
 4663|  1.05k|        return decode_OFPAT_RAW11_SET_VLAN_PCP(arg, version, out);
 4664|       |
 4665|  2.36k|    case OFPAT_RAW11_PUSH_VLAN:
  ------------------
  |  Branch (4665:5): [True: 2.36k, False: 298k]
  ------------------
 4666|  2.36k|        return decode_OFPAT_RAW11_PUSH_VLAN(htons(arg), version, out);
 4667|       |
 4668|  5.82k|    case OFPAT_RAW10_STRIP_VLAN:
  ------------------
  |  Branch (4668:5): [True: 5.82k, False: 295k]
  ------------------
 4669|  5.82k|        return decode_OFPAT_RAW10_STRIP_VLAN(out);
 4670|       |
 4671|  3.57k|    case OFPAT_RAW11_POP_VLAN:
  ------------------
  |  Branch (4671:5): [True: 3.57k, False: 297k]
  ------------------
 4672|  3.57k|        return decode_OFPAT_RAW11_POP_VLAN(out);
 4673|       |
 4674|    409|    case OFPAT_RAW_SET_DL_SRC:
  ------------------
  |  Branch (4674:5): [True: 409, False: 300k]
  ------------------
 4675|    409|        return decode_OFPAT_RAW_SET_DL_SRC(ALIGNED_CAST(const struct ofp_action_dl_addr *, a), version, out);
  ------------------
  |  |  434|    409|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4676|       |
 4677|    360|    case OFPAT_RAW_SET_DL_DST:
  ------------------
  |  Branch (4677:5): [True: 360, False: 300k]
  ------------------
 4678|    360|        return decode_OFPAT_RAW_SET_DL_DST(ALIGNED_CAST(const struct ofp_action_dl_addr *, a), version, out);
  ------------------
  |  |  434|    360|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4679|       |
 4680|  5.02k|    case OFPAT_RAW_SET_NW_SRC:
  ------------------
  |  Branch (4680:5): [True: 5.02k, False: 295k]
  ------------------
 4681|  5.02k|        return decode_OFPAT_RAW_SET_NW_SRC(htonl(arg), version, out);
 4682|       |
 4683|  8.89k|    case OFPAT_RAW_SET_NW_DST:
  ------------------
  |  Branch (4683:5): [True: 8.89k, False: 291k]
  ------------------
 4684|  8.89k|        return decode_OFPAT_RAW_SET_NW_DST(htonl(arg), version, out);
 4685|       |
 4686|  8.70k|    case OFPAT_RAW_SET_NW_TOS:
  ------------------
  |  Branch (4686:5): [True: 8.70k, False: 292k]
  ------------------
 4687|  8.70k|        return decode_OFPAT_RAW_SET_NW_TOS(arg, version, out);
 4688|       |
 4689|  4.63k|    case OFPAT_RAW11_SET_NW_ECN:
  ------------------
  |  Branch (4689:5): [True: 4.63k, False: 296k]
  ------------------
 4690|  4.63k|        return decode_OFPAT_RAW11_SET_NW_ECN(arg, version, out);
 4691|       |
 4692|  14.6k|    case OFPAT_RAW_SET_TP_SRC:
  ------------------
  |  Branch (4692:5): [True: 14.6k, False: 286k]
  ------------------
 4693|  14.6k|        return decode_OFPAT_RAW_SET_TP_SRC(htons(arg), version, out);
 4694|       |
 4695|  6.72k|    case OFPAT_RAW_SET_TP_DST:
  ------------------
  |  Branch (4695:5): [True: 6.72k, False: 294k]
  ------------------
 4696|  6.72k|        return decode_OFPAT_RAW_SET_TP_DST(htons(arg), version, out);
 4697|       |
 4698|    455|    case OFPAT_RAW10_ENQUEUE:
  ------------------
  |  Branch (4698:5): [True: 455, False: 300k]
  ------------------
 4699|    455|        return decode_OFPAT_RAW10_ENQUEUE(ALIGNED_CAST(const struct ofp10_action_enqueue *, a), version, out);
  ------------------
  |  |  434|    455|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4700|       |
 4701|  3.81k|    case OFPAT_RAW_SET_MPLS_LABEL:
  ------------------
  |  Branch (4701:5): [True: 3.81k, False: 297k]
  ------------------
 4702|  3.81k|        return decode_OFPAT_RAW_SET_MPLS_LABEL(htonl(arg), version, out);
 4703|       |
 4704|  1.45k|    case OFPAT_RAW_SET_MPLS_TC:
  ------------------
  |  Branch (4704:5): [True: 1.45k, False: 299k]
  ------------------
 4705|  1.45k|        return decode_OFPAT_RAW_SET_MPLS_TC(arg, version, out);
 4706|       |
 4707|  3.97k|    case OFPAT_RAW_SET_MPLS_TTL:
  ------------------
  |  Branch (4707:5): [True: 3.97k, False: 296k]
  ------------------
 4708|  3.97k|        return decode_OFPAT_RAW_SET_MPLS_TTL(arg, version, out);
 4709|       |
 4710|  6.76k|    case OFPAT_RAW_DEC_MPLS_TTL:
  ------------------
  |  Branch (4710:5): [True: 6.76k, False: 294k]
  ------------------
 4711|  6.76k|        return decode_OFPAT_RAW_DEC_MPLS_TTL(out);
 4712|       |
 4713|  5.00k|    case OFPAT_RAW_PUSH_MPLS:
  ------------------
  |  Branch (4713:5): [True: 5.00k, False: 295k]
  ------------------
 4714|  5.00k|        return decode_OFPAT_RAW_PUSH_MPLS(htons(arg), version, out);
 4715|       |
 4716|  5.71k|    case OFPAT_RAW_POP_MPLS:
  ------------------
  |  Branch (4716:5): [True: 5.71k, False: 295k]
  ------------------
 4717|  5.71k|        return decode_OFPAT_RAW_POP_MPLS(htons(arg), version, out);
 4718|       |
 4719|    287|    case OFPAT_RAW_SET_QUEUE:
  ------------------
  |  Branch (4719:5): [True: 287, False: 300k]
  ------------------
 4720|    287|        return decode_OFPAT_RAW_SET_QUEUE(arg, version, out);
 4721|       |
 4722|    599|    case OFPAT_RAW_GROUP:
  ------------------
  |  Branch (4722:5): [True: 599, False: 300k]
  ------------------
 4723|    599|        return decode_OFPAT_RAW_GROUP(arg, version, out);
 4724|       |
 4725|  1.35k|    case OFPAT_RAW11_SET_NW_TTL:
  ------------------
  |  Branch (4725:5): [True: 1.35k, False: 299k]
  ------------------
 4726|  1.35k|        return decode_OFPAT_RAW11_SET_NW_TTL(arg, version, out);
 4727|       |
 4728|  1.54k|    case OFPAT_RAW_DEC_NW_TTL:
  ------------------
  |  Branch (4728:5): [True: 1.54k, False: 299k]
  ------------------
 4729|  1.54k|        return decode_OFPAT_RAW_DEC_NW_TTL(out);
 4730|       |
 4731|  4.38k|    case NXAST_RAW_DEC_TTL_CNT_IDS:
  ------------------
  |  Branch (4731:5): [True: 4.38k, False: 296k]
  ------------------
 4732|  4.38k|        return decode_NXAST_RAW_DEC_TTL_CNT_IDS(ALIGNED_CAST(const struct nx_action_cnt_ids *, a), version, out);
  ------------------
  |  |  434|  4.38k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4733|       |
 4734|  3.77k|    case OFPAT_RAW12_SET_FIELD:
  ------------------
  |  Branch (4734:5): [True: 3.77k, False: 297k]
  ------------------
 4735|  3.77k|        return decode_OFPAT_RAW12_SET_FIELD(ALIGNED_CAST(const struct ofp12_action_set_field *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  3.77k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4736|       |
 4737|  11.2k|    case OFPAT_RAW15_SET_FIELD:
  ------------------
  |  Branch (4737:5): [True: 11.2k, False: 289k]
  ------------------
 4738|  11.2k|        return decode_OFPAT_RAW15_SET_FIELD(ALIGNED_CAST(const struct ofp12_action_set_field *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  11.2k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4739|       |
 4740|  3.71k|    case NXAST_RAW_REG_LOAD:
  ------------------
  |  Branch (4740:5): [True: 3.71k, False: 297k]
  ------------------
 4741|  3.71k|        return decode_NXAST_RAW_REG_LOAD(ALIGNED_CAST(const struct nx_action_reg_load *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  3.71k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4742|       |
 4743|  4.85k|    case NXAST_RAW_REG_LOAD2:
  ------------------
  |  Branch (4743:5): [True: 4.85k, False: 296k]
  ------------------
 4744|  4.85k|        return decode_NXAST_RAW_REG_LOAD2(ALIGNED_CAST(const struct ext_action_header *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  4.85k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4745|       |
 4746|  2.19k|    case OFPAT_RAW15_COPY_FIELD:
  ------------------
  |  Branch (4746:5): [True: 2.19k, False: 298k]
  ------------------
 4747|  2.19k|        return decode_OFPAT_RAW15_COPY_FIELD(ALIGNED_CAST(const struct ofp15_action_copy_field *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  2.19k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4748|       |
 4749|     10|    case ONFACT_RAW13_COPY_FIELD:
  ------------------
  |  Branch (4749:5): [True: 10, False: 300k]
  ------------------
 4750|     10|        return decode_ONFACT_RAW13_COPY_FIELD(ALIGNED_CAST(const struct onf_action_copy_field *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|     10|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4751|       |
 4752|  6.60k|    case NXAST_RAW_REG_MOVE:
  ------------------
  |  Branch (4752:5): [True: 6.60k, False: 294k]
  ------------------
 4753|  6.60k|        return decode_NXAST_RAW_REG_MOVE(ALIGNED_CAST(const struct nx_action_reg_move *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  6.60k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4754|       |
 4755|  2.28k|    case OFPAT_RAW15_METER:
  ------------------
  |  Branch (4755:5): [True: 2.28k, False: 298k]
  ------------------
 4756|  2.28k|        return decode_OFPAT_RAW15_METER(arg, version, out);
 4757|       |
 4758|  1.07k|    case NXAST_RAW_RESUBMIT:
  ------------------
  |  Branch (4758:5): [True: 1.07k, False: 299k]
  ------------------
 4759|  1.07k|        return decode_NXAST_RAW_RESUBMIT(arg, version, out);
 4760|       |
 4761|    434|    case NXAST_RAW_RESUBMIT_TABLE:
  ------------------
  |  Branch (4761:5): [True: 434, False: 300k]
  ------------------
 4762|    434|        return decode_NXAST_RAW_RESUBMIT_TABLE(ALIGNED_CAST(const struct nx_action_resubmit *, a), version, out);
  ------------------
  |  |  434|    434|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4763|       |
 4764|    409|    case NXAST_RAW_RESUBMIT_TABLE_CT:
  ------------------
  |  Branch (4764:5): [True: 409, False: 300k]
  ------------------
 4765|    409|        return decode_NXAST_RAW_RESUBMIT_TABLE_CT(ALIGNED_CAST(const struct nx_action_resubmit *, a), version, out);
  ------------------
  |  |  434|    409|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4766|       |
 4767|  1.74k|    case NXAST_RAW_SET_TUNNEL:
  ------------------
  |  Branch (4767:5): [True: 1.74k, False: 299k]
  ------------------
 4768|  1.74k|        return decode_NXAST_RAW_SET_TUNNEL(arg, version, out);
 4769|       |
 4770|    158|    case NXAST_RAW_SET_TUNNEL64:
  ------------------
  |  Branch (4770:5): [True: 158, False: 300k]
  ------------------
 4771|    158|        return decode_NXAST_RAW_SET_TUNNEL64(arg, version, out);
 4772|       |
 4773|  2.74k|    case NXAST_RAW_POP_QUEUE:
  ------------------
  |  Branch (4773:5): [True: 2.74k, False: 298k]
  ------------------
 4774|  2.74k|        return decode_NXAST_RAW_POP_QUEUE(out);
 4775|       |
 4776|  11.7k|    case NXAST_RAW_NOTE:
  ------------------
  |  Branch (4776:5): [True: 11.7k, False: 289k]
  ------------------
 4777|  11.7k|        return decode_NXAST_RAW_NOTE(ALIGNED_CAST(const struct nx_action_note *, a), version, out);
  ------------------
  |  |  434|  11.7k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4778|       |
 4779|  2.46k|    case NXAST_RAW_MULTIPATH:
  ------------------
  |  Branch (4779:5): [True: 2.46k, False: 298k]
  ------------------
 4780|  2.46k|        return decode_NXAST_RAW_MULTIPATH(ALIGNED_CAST(const struct nx_action_multipath *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  2.46k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4781|       |
 4782|  2.03k|    case NXAST_RAW_BUNDLE:
  ------------------
  |  Branch (4782:5): [True: 2.03k, False: 298k]
  ------------------
 4783|  2.03k|        return decode_NXAST_RAW_BUNDLE(ALIGNED_CAST(const struct nx_action_bundle *, a), version, out);
  ------------------
  |  |  434|  2.03k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4784|       |
 4785|  2.40k|    case NXAST_RAW_BUNDLE_LOAD:
  ------------------
  |  Branch (4785:5): [True: 2.40k, False: 298k]
  ------------------
 4786|  2.40k|        return decode_NXAST_RAW_BUNDLE_LOAD(ALIGNED_CAST(const struct nx_action_bundle *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  2.40k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4787|       |
 4788|  1.18k|    case NXAST_RAW_OUTPUT_REG:
  ------------------
  |  Branch (4788:5): [True: 1.18k, False: 299k]
  ------------------
 4789|  1.18k|        return decode_NXAST_RAW_OUTPUT_REG(ALIGNED_CAST(const struct nx_action_output_reg *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  1.18k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4790|       |
 4791|    442|    case NXAST_RAW_OUTPUT_REG2:
  ------------------
  |  Branch (4791:5): [True: 442, False: 300k]
  ------------------
 4792|    442|        return decode_NXAST_RAW_OUTPUT_REG2(ALIGNED_CAST(const struct nx_action_output_reg2 *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|    442|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4793|       |
 4794|  24.6k|    case NXAST_RAW_LEARN:
  ------------------
  |  Branch (4794:5): [True: 24.6k, False: 276k]
  ------------------
 4795|  24.6k|        return decode_NXAST_RAW_LEARN(ALIGNED_CAST(const struct nx_action_learn *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  24.6k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4796|       |
 4797|  1.98k|    case NXAST_RAW_LEARN2:
  ------------------
  |  Branch (4797:5): [True: 1.98k, False: 298k]
  ------------------
 4798|  1.98k|        return decode_NXAST_RAW_LEARN2(ALIGNED_CAST(const struct nx_action_learn2 *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  1.98k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4799|       |
 4800|    341|    case NXAST_RAW_EXIT:
  ------------------
  |  Branch (4800:5): [True: 341, False: 300k]
  ------------------
 4801|    341|        return decode_NXAST_RAW_EXIT(out);
 4802|       |
 4803|  1.03k|    case NXAST_RAW_FIN_TIMEOUT:
  ------------------
  |  Branch (4803:5): [True: 1.03k, False: 299k]
  ------------------
 4804|  1.03k|        return decode_NXAST_RAW_FIN_TIMEOUT(ALIGNED_CAST(const struct nx_action_fin_timeout *, a), version, out);
  ------------------
  |  |  434|  1.03k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4805|       |
 4806|  1.16k|    case NXAST_RAW_CONTROLLER:
  ------------------
  |  Branch (4806:5): [True: 1.16k, False: 299k]
  ------------------
 4807|  1.16k|        return decode_NXAST_RAW_CONTROLLER(ALIGNED_CAST(const struct nx_action_controller *, a), version, out);
  ------------------
  |  |  434|  1.16k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4808|       |
 4809|  1.15k|    case NXAST_RAW_CONTROLLER2:
  ------------------
  |  Branch (4809:5): [True: 1.15k, False: 299k]
  ------------------
 4810|  1.15k|        return decode_NXAST_RAW_CONTROLLER2(ALIGNED_CAST(const struct ext_action_header *, a), version, out);
  ------------------
  |  |  434|  1.15k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4811|       |
 4812|    600|    case NXAST_RAW_WRITE_METADATA:
  ------------------
  |  Branch (4812:5): [True: 600, False: 300k]
  ------------------
 4813|    600|        return decode_NXAST_RAW_WRITE_METADATA(ALIGNED_CAST(const struct nx_action_write_metadata *, a), version, out);
  ------------------
  |  |  434|    600|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4814|       |
 4815|  1.36k|    case NXAST_RAW_STACK_PUSH:
  ------------------
  |  Branch (4815:5): [True: 1.36k, False: 299k]
  ------------------
 4816|  1.36k|        return decode_NXAST_RAW_STACK_PUSH(ALIGNED_CAST(const struct nx_action_stack *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  1.36k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4817|       |
 4818|  2.08k|    case NXAST_RAW_STACK_POP:
  ------------------
  |  Branch (4818:5): [True: 2.08k, False: 298k]
  ------------------
 4819|  2.08k|        return decode_NXAST_RAW_STACK_POP(ALIGNED_CAST(const struct nx_action_stack *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  2.08k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4820|       |
 4821|    438|    case NXAST_RAW_SAMPLE:
  ------------------
  |  Branch (4821:5): [True: 438, False: 300k]
  ------------------
 4822|    438|        return decode_NXAST_RAW_SAMPLE(ALIGNED_CAST(const struct nx_action_sample *, a), version, out);
  ------------------
  |  |  434|    438|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4823|       |
 4824|    274|    case NXAST_RAW_SAMPLE2:
  ------------------
  |  Branch (4824:5): [True: 274, False: 300k]
  ------------------
 4825|    274|        return decode_NXAST_RAW_SAMPLE2(ALIGNED_CAST(const struct nx_action_sample2 *, a), version, out);
  ------------------
  |  |  434|    274|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4826|       |
 4827|  3.62k|    case NXAST_RAW_SAMPLE3:
  ------------------
  |  Branch (4827:5): [True: 3.62k, False: 297k]
  ------------------
 4828|  3.62k|        return decode_NXAST_RAW_SAMPLE3(ALIGNED_CAST(const struct nx_action_sample2 *, a), version, out);
  ------------------
  |  |  434|  3.62k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4829|       |
 4830|  3.67k|    case NXAST_RAW_SAMPLE4:
  ------------------
  |  Branch (4830:5): [True: 3.67k, False: 297k]
  ------------------
 4831|  3.67k|        return decode_NXAST_RAW_SAMPLE4(ALIGNED_CAST(const struct nx_action_sample4 *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  3.67k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4832|       |
 4833|  5.48k|    case NXAST_RAW_CONJUNCTION:
  ------------------
  |  Branch (4833:5): [True: 5.48k, False: 295k]
  ------------------
 4834|  5.48k|        return decode_NXAST_RAW_CONJUNCTION(ALIGNED_CAST(const struct nx_action_conjunction *, a), version, out);
  ------------------
  |  |  434|  5.48k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4835|       |
 4836|  9.51k|    case NXAST_RAW_CT:
  ------------------
  |  Branch (4836:5): [True: 9.51k, False: 291k]
  ------------------
 4837|  9.51k|        return decode_NXAST_RAW_CT(ALIGNED_CAST(const struct nx_action_conntrack *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  9.51k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4838|       |
 4839|  28.0k|    case NXAST_RAW_NAT:
  ------------------
  |  Branch (4839:5): [True: 28.0k, False: 272k]
  ------------------
 4840|  28.0k|        return decode_NXAST_RAW_NAT(ALIGNED_CAST(const struct nx_action_nat *, a), version, out);
  ------------------
  |  |  434|  28.0k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4841|       |
 4842|  1.14k|    case NXAST_RAW_OUTPUT_TRUNC:
  ------------------
  |  Branch (4842:5): [True: 1.14k, False: 299k]
  ------------------
 4843|  1.14k|        return decode_NXAST_RAW_OUTPUT_TRUNC(ALIGNED_CAST(const struct nx_action_output_trunc *, a), version, out);
  ------------------
  |  |  434|  1.14k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4844|       |
 4845|  2.95k|    case NXAST_RAW_CLONE:
  ------------------
  |  Branch (4845:5): [True: 2.95k, False: 297k]
  ------------------
 4846|  2.95k|        return decode_NXAST_RAW_CLONE(ALIGNED_CAST(const struct ext_action_header *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|  2.95k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4847|       |
 4848|    138|    case NXAST_RAW_CT_CLEAR:
  ------------------
  |  Branch (4848:5): [True: 138, False: 300k]
  ------------------
 4849|    138|        return decode_NXAST_RAW_CT_CLEAR(out);
 4850|       |
 4851|  5.89k|    case NXAST_RAW_ENCAP:
  ------------------
  |  Branch (4851:5): [True: 5.89k, False: 294k]
  ------------------
 4852|  5.89k|        return decode_NXAST_RAW_ENCAP(ALIGNED_CAST(const struct nx_action_encap *, a), version, out);
  ------------------
  |  |  434|  5.89k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4853|       |
 4854|  14.0k|    case NXAST_RAW_DECAP:
  ------------------
  |  Branch (4854:5): [True: 14.0k, False: 286k]
  ------------------
 4855|  14.0k|        return decode_NXAST_RAW_DECAP(ALIGNED_CAST(const struct nx_action_decap *, a), version, out);
  ------------------
  |  |  434|  14.0k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4856|       |
 4857|  1.26k|    case NXAST_RAW_DEC_NSH_TTL:
  ------------------
  |  Branch (4857:5): [True: 1.26k, False: 299k]
  ------------------
 4858|  1.26k|        return decode_NXAST_RAW_DEC_NSH_TTL(out);
 4859|       |
 4860|    422|    case NXAST_RAW_CHECK_PKT_LARGER:
  ------------------
  |  Branch (4860:5): [True: 422, False: 300k]
  ------------------
 4861|    422|        return decode_NXAST_RAW_CHECK_PKT_LARGER(ALIGNED_CAST(const struct nx_action_check_pkt_larger *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|    422|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4862|       |
 4863|    113|    case NXAST_RAW_DELETE_FIELD:
  ------------------
  |  Branch (4863:5): [True: 113, False: 300k]
  ------------------
 4864|    113|        return decode_NXAST_RAW_DELETE_FIELD(ALIGNED_CAST(const struct nx_action_delete_field *, a), version, vl_mff_map, tlv_bitmap, out);
  ------------------
  |  |  434|    113|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
 4865|       |
 4866|    293|    case NXAST_RAW_DEBUG_SLOW:
  ------------------
  |  Branch (4866:5): [True: 293, False: 300k]
  ------------------
 4867|    293|        return decode_NXAST_RAW_DEBUG_SLOW(out);
 4868|       |
 4869|     76|    case NXAST_RAW_DEBUG_RECIRC:
  ------------------
  |  Branch (4869:5): [True: 76, False: 300k]
  ------------------
 4870|     76|        return decode_NXAST_RAW_DEBUG_RECIRC(out);
 4871|       |
 4872|      0|    default:
  ------------------
  |  Branch (4872:5): [True: 0, False: 300k]
  ------------------
 4873|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 4874|   300k|    }
 4875|   300k|}

ofputil_decode_bundle_ctrl:
   85|  4.67k|{
   86|  4.67k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
   87|  4.67k|    enum ofpraw raw = ofpraw_pull_assert(&b);
   88|  4.67k|    ovs_assert(raw == OFPRAW_OFPT14_BUNDLE_CONTROL
  ------------------
  |  |   62|  4.67k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (88:16): [True: 4.67k, False: 0]
  ------------------
   89|      0|               || raw == OFPRAW_ONFT13_BUNDLE_CONTROL);
  ------------------
  |  Branch (89:19): [True: 0, False: 0]
  ------------------
   90|       |
   91|  4.67k|    const struct ofp14_bundle_ctrl_msg *m = b.msg;
   92|  4.67k|    msg->bundle_id = ntohl(m->bundle_id);
   93|  4.67k|    msg->type = ntohs(m->type);
   94|  4.67k|    msg->flags = ntohs(m->flags);
   95|       |
   96|  4.67k|    return 0;
   97|  4.67k|}
ofputil_format_bundle_ctrl_request:
  147|  4.67k|{
  148|  4.67k|    ds_put_char(s, '\n');
  149|  4.67k|    ds_put_format(s, " bundle_id=%#"PRIx32" type=",  bctrl->bundle_id);
  150|  4.67k|    switch (bctrl->type) {
  ------------------
  |  Branch (150:13): [True: 3.88k, False: 784]
  ------------------
  151|     48|    case OFPBCT_OPEN_REQUEST:
  ------------------
  |  Branch (151:5): [True: 48, False: 4.62k]
  ------------------
  152|     48|        ds_put_cstr(s, "OPEN_REQUEST");
  153|     48|        break;
  154|    203|    case OFPBCT_OPEN_REPLY:
  ------------------
  |  Branch (154:5): [True: 203, False: 4.47k]
  ------------------
  155|    203|        ds_put_cstr(s, "OPEN_REPLY");
  156|    203|        break;
  157|      3|    case OFPBCT_CLOSE_REQUEST:
  ------------------
  |  Branch (157:5): [True: 3, False: 4.67k]
  ------------------
  158|      3|        ds_put_cstr(s, "CLOSE_REQUEST");
  159|      3|        break;
  160|    472|    case OFPBCT_CLOSE_REPLY:
  ------------------
  |  Branch (160:5): [True: 472, False: 4.20k]
  ------------------
  161|    472|        ds_put_cstr(s, "CLOSE_REPLY");
  162|    472|        break;
  163|     23|    case OFPBCT_COMMIT_REQUEST:
  ------------------
  |  Branch (163:5): [True: 23, False: 4.65k]
  ------------------
  164|     23|        ds_put_cstr(s, "COMMIT_REQUEST");
  165|     23|        break;
  166|    260|    case OFPBCT_COMMIT_REPLY:
  ------------------
  |  Branch (166:5): [True: 260, False: 4.41k]
  ------------------
  167|    260|        ds_put_cstr(s, "COMMIT_REPLY");
  168|    260|        break;
  169|      1|    case OFPBCT_DISCARD_REQUEST:
  ------------------
  |  Branch (169:5): [True: 1, False: 4.67k]
  ------------------
  170|      1|        ds_put_cstr(s, "DISCARD_REQUEST");
  171|      1|        break;
  172|  2.87k|    case OFPBCT_DISCARD_REPLY:
  ------------------
  |  Branch (172:5): [True: 2.87k, False: 1.79k]
  ------------------
  173|  2.87k|        ds_put_cstr(s, "DISCARD_REPLY");
  174|  2.87k|        break;
  175|  4.67k|    }
  176|       |
  177|  4.67k|    ds_put_cstr(s, " flags=");
  178|  4.67k|    ofp_print_bit_names(s, bctrl->flags, bundle_flags_to_name, ' ');
  179|  4.67k|}
ofputil_decode_bundle_add:
  306|  3.09k|{
  307|  3.09k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  308|       |
  309|       |    /* Pull the outer ofp_header. */
  310|  3.09k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  311|  3.09k|    ovs_assert(raw == OFPRAW_OFPT14_BUNDLE_ADD_MESSAGE
  ------------------
  |  |   62|  3.09k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (311:16): [True: 3.09k, False: 0]
  ------------------
  312|      0|               || raw == OFPRAW_ONFT13_BUNDLE_ADD_MESSAGE);
  ------------------
  |  Branch (312:19): [True: 0, False: 0]
  ------------------
  313|       |
  314|       |    /* Pull the bundle_ctrl header. */
  315|  3.09k|    const struct ofp14_bundle_ctrl_msg *m = ofpbuf_pull(&b, sizeof *m);
  316|  3.09k|    msg->bundle_id = ntohl(m->bundle_id);
  317|  3.09k|    msg->flags = ntohs(m->flags);
  318|       |
  319|       |    /* Pull the inner ofp_header. */
  320|  3.09k|    if (b.size < sizeof(struct ofp_header)) {
  ------------------
  |  Branch (320:9): [True: 83, False: 3.01k]
  ------------------
  321|     83|        return OFPERR_OFPBFC_MSG_BAD_LEN;
  322|     83|    }
  323|  3.01k|    msg->msg = b.data;
  324|  3.01k|    if (msg->msg->version != oh->version) {
  ------------------
  |  Branch (324:9): [True: 571, False: 2.44k]
  ------------------
  325|    571|        return OFPERR_OFPBFC_BAD_VERSION;
  326|    571|    }
  327|  2.44k|    size_t inner_len = ntohs(msg->msg->length);
  328|  2.44k|    if (inner_len < sizeof(struct ofp_header) || inner_len > b.size) {
  ------------------
  |  Branch (328:9): [True: 12, False: 2.42k]
  |  Branch (328:50): [True: 471, False: 1.95k]
  ------------------
  329|    483|        return OFPERR_OFPBFC_MSG_BAD_LEN;
  330|    483|    }
  331|  1.95k|    if (msg->msg->xid != oh->xid) {
  ------------------
  |  Branch (331:9): [True: 473, False: 1.48k]
  ------------------
  332|    473|        return OFPERR_OFPBFC_MSG_BAD_XID;
  333|    473|    }
  334|       |
  335|       |    /* Reject unbundlable messages. */
  336|  1.48k|    enum ofptype type;
  337|  1.48k|    enum ofperr error = ofptype_decode(&type, msg->msg);
  338|  1.48k|    if (error) {
  ------------------
  |  Branch (338:9): [True: 206, False: 1.27k]
  ------------------
  339|    206|        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|    206|        {                                                                 \
  |  |  111|    206|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|    824|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|    206|            0,                              /* first_dropped */           \
  |  |  113|    206|            0,                              /* last_dropped */            \
  |  |  114|    206|            0,                              /* n_dropped */               \
  |  |  115|    206|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|    206|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|    206|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|    206|        }
  ------------------
  340|    206|        VLOG_WARN_RL(&rl, "OFPT14_BUNDLE_ADD_MESSAGE contained "
  ------------------
  |  |  224|    206|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    206|    do {                                                                \
  |  |  |  |  288|    206|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    206|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 206]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    206|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|    206|                     "message is unparsable (%s)", ofperr_get_name(error));
  342|    206|        return OFPERR_OFPBFC_MSG_UNSUP; /* 'error' would be confusing. */
  343|    206|    }
  344|       |
  345|  1.27k|    if (!ofputil_is_bundlable(type)) {
  ------------------
  |  Branch (345:9): [True: 69, False: 1.20k]
  ------------------
  346|     69|        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|     69|        {                                                                 \
  |  |  111|     69|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|    276|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|     69|            0,                              /* first_dropped */           \
  |  |  113|     69|            0,                              /* last_dropped */            \
  |  |  114|     69|            0,                              /* n_dropped */               \
  |  |  115|     69|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|     69|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|     69|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|     69|        }
  ------------------
  347|     69|        VLOG_WARN_RL(&rl, "%s message not allowed inside "
  ------------------
  |  |  224|     69|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     69|    do {                                                                \
  |  |  |  |  288|     69|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     69|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 69]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     69|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  348|     69|                     "OFPT14_BUNDLE_ADD_MESSAGE", ofptype_get_name(type));
  349|     69|        return OFPERR_OFPBFC_MSG_UNSUP;
  350|     69|    }
  351|  1.20k|    if (typep) {
  ------------------
  |  Branch (351:9): [True: 0, False: 1.20k]
  ------------------
  352|      0|        *typep = type;
  353|      0|    }
  354|       |
  355|  1.20k|    return 0;
  356|  1.27k|}
ofputil_format_bundle_add:
  492|  1.20k|{
  493|  1.20k|    ds_put_char(s, '\n');
  494|  1.20k|    ds_put_format(s, " bundle_id=%#"PRIx32, badd->bundle_id);
  495|  1.20k|    ds_put_cstr(s, " flags=");
  496|  1.20k|    ofp_print_bit_names(s, badd->flags, bundle_flags_to_name, ' ');
  497|       |
  498|  1.20k|    ds_put_char(s, '\n');
  499|       |    char *msg = ofp_to_string(badd->msg, ntohs(badd->msg->length), port_map,
  500|  1.20k|                              table_map, verbosity);
  501|  1.20k|    ds_put_and_free_cstr(s, msg);
  502|  1.20k|}
ofp-bundle.c:bundle_flags_to_name:
  133|  9.27k|{
  134|  9.27k|    switch (bit) {
  135|  3.00k|    case OFPBF_ATOMIC:
  ------------------
  |  Branch (135:5): [True: 3.00k, False: 6.27k]
  ------------------
  136|  3.00k|        return "atomic";
  137|  3.26k|    case OFPBF_ORDERED:
  ------------------
  |  Branch (137:5): [True: 3.26k, False: 6.01k]
  ------------------
  138|  3.26k|        return "ordered";
  139|  3.00k|    default:
  ------------------
  |  Branch (139:5): [True: 3.00k, False: 6.26k]
  ------------------
  140|       |        return NULL;
  141|  9.27k|    }
  142|  9.27k|}
ofp-bundle.c:ofputil_is_bundlable:
  205|  1.27k|{
  206|  1.27k|    switch (type) {
  ------------------
  |  Branch (206:13): [True: 1.27k, False: 0]
  ------------------
  207|       |        /* Minimum required by OpenFlow 1.4. */
  208|      0|    case OFPTYPE_PORT_MOD:
  ------------------
  |  Branch (208:5): [True: 0, False: 1.27k]
  ------------------
  209|      0|    case OFPTYPE_FLOW_MOD:
  ------------------
  |  Branch (209:5): [True: 0, False: 1.27k]
  ------------------
  210|       |        /* Other supported types. */
  211|  1.20k|    case OFPTYPE_GROUP_MOD:
  ------------------
  |  Branch (211:5): [True: 1.20k, False: 69]
  ------------------
  212|  1.20k|    case OFPTYPE_PACKET_OUT:
  ------------------
  |  Branch (212:5): [True: 0, False: 1.27k]
  ------------------
  213|  1.20k|        return true;
  214|       |
  215|       |        /* Nice to have later. */
  216|      0|    case OFPTYPE_FLOW_MOD_TABLE_ID:
  ------------------
  |  Branch (216:5): [True: 0, False: 1.27k]
  ------------------
  217|      1|    case OFPTYPE_TABLE_MOD:
  ------------------
  |  Branch (217:5): [True: 1, False: 1.27k]
  ------------------
  218|      1|    case OFPTYPE_METER_MOD:
  ------------------
  |  Branch (218:5): [True: 0, False: 1.27k]
  ------------------
  219|      1|    case OFPTYPE_NXT_TLV_TABLE_MOD:
  ------------------
  |  Branch (219:5): [True: 0, False: 1.27k]
  ------------------
  220|       |
  221|       |        /* Not to be bundlable. */
  222|      1|    case OFPTYPE_ECHO_REQUEST:
  ------------------
  |  Branch (222:5): [True: 0, False: 1.27k]
  ------------------
  223|      1|    case OFPTYPE_FEATURES_REQUEST:
  ------------------
  |  Branch (223:5): [True: 0, False: 1.27k]
  ------------------
  224|      1|    case OFPTYPE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (224:5): [True: 0, False: 1.27k]
  ------------------
  225|      1|    case OFPTYPE_SET_CONFIG:
  ------------------
  |  Branch (225:5): [True: 0, False: 1.27k]
  ------------------
  226|      1|    case OFPTYPE_BARRIER_REQUEST:
  ------------------
  |  Branch (226:5): [True: 0, False: 1.27k]
  ------------------
  227|      1|    case OFPTYPE_ROLE_REQUEST:
  ------------------
  |  Branch (227:5): [True: 0, False: 1.27k]
  ------------------
  228|      1|    case OFPTYPE_ECHO_REPLY:
  ------------------
  |  Branch (228:5): [True: 0, False: 1.27k]
  ------------------
  229|      1|    case OFPTYPE_SET_FLOW_FORMAT:
  ------------------
  |  Branch (229:5): [True: 0, False: 1.27k]
  ------------------
  230|      1|    case OFPTYPE_SET_PACKET_IN_FORMAT:
  ------------------
  |  Branch (230:5): [True: 0, False: 1.27k]
  ------------------
  231|      1|    case OFPTYPE_SET_CONTROLLER_ID:
  ------------------
  |  Branch (231:5): [True: 0, False: 1.27k]
  ------------------
  232|      1|    case OFPTYPE_FLOW_AGE:
  ------------------
  |  Branch (232:5): [True: 0, False: 1.27k]
  ------------------
  233|      1|    case OFPTYPE_FLOW_MONITOR_CANCEL:
  ------------------
  |  Branch (233:5): [True: 0, False: 1.27k]
  ------------------
  234|      1|    case OFPTYPE_SET_ASYNC_CONFIG:
  ------------------
  |  Branch (234:5): [True: 0, False: 1.27k]
  ------------------
  235|      1|    case OFPTYPE_GET_ASYNC_REQUEST:
  ------------------
  |  Branch (235:5): [True: 0, False: 1.27k]
  ------------------
  236|      1|    case OFPTYPE_DESC_STATS_REQUEST:
  ------------------
  |  Branch (236:5): [True: 0, False: 1.27k]
  ------------------
  237|      1|    case OFPTYPE_FLOW_STATS_REQUEST:
  ------------------
  |  Branch (237:5): [True: 0, False: 1.27k]
  ------------------
  238|      1|    case OFPTYPE_AGGREGATE_STATS_REQUEST:
  ------------------
  |  Branch (238:5): [True: 0, False: 1.27k]
  ------------------
  239|      1|    case OFPTYPE_TABLE_STATS_REQUEST:
  ------------------
  |  Branch (239:5): [True: 0, False: 1.27k]
  ------------------
  240|      1|    case OFPTYPE_TABLE_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (240:5): [True: 0, False: 1.27k]
  ------------------
  241|      1|    case OFPTYPE_TABLE_DESC_REQUEST:
  ------------------
  |  Branch (241:5): [True: 0, False: 1.27k]
  ------------------
  242|      1|    case OFPTYPE_PORT_STATS_REQUEST:
  ------------------
  |  Branch (242:5): [True: 0, False: 1.27k]
  ------------------
  243|      1|    case OFPTYPE_QUEUE_STATS_REQUEST:
  ------------------
  |  Branch (243:5): [True: 0, False: 1.27k]
  ------------------
  244|      1|    case OFPTYPE_PORT_DESC_STATS_REQUEST:
  ------------------
  |  Branch (244:5): [True: 0, False: 1.27k]
  ------------------
  245|      1|    case OFPTYPE_FLOW_MONITOR_STATS_REQUEST:
  ------------------
  |  Branch (245:5): [True: 0, False: 1.27k]
  ------------------
  246|      1|    case OFPTYPE_METER_STATS_REQUEST:
  ------------------
  |  Branch (246:5): [True: 0, False: 1.27k]
  ------------------
  247|      1|    case OFPTYPE_METER_CONFIG_STATS_REQUEST:
  ------------------
  |  Branch (247:5): [True: 0, False: 1.27k]
  ------------------
  248|      1|    case OFPTYPE_METER_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (248:5): [True: 0, False: 1.27k]
  ------------------
  249|      1|    case OFPTYPE_GROUP_STATS_REQUEST:
  ------------------
  |  Branch (249:5): [True: 0, False: 1.27k]
  ------------------
  250|      1|    case OFPTYPE_GROUP_DESC_STATS_REQUEST:
  ------------------
  |  Branch (250:5): [True: 0, False: 1.27k]
  ------------------
  251|      1|    case OFPTYPE_GROUP_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (251:5): [True: 0, False: 1.27k]
  ------------------
  252|      1|    case OFPTYPE_QUEUE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (252:5): [True: 0, False: 1.27k]
  ------------------
  253|      1|    case OFPTYPE_BUNDLE_CONTROL:
  ------------------
  |  Branch (253:5): [True: 0, False: 1.27k]
  ------------------
  254|      1|    case OFPTYPE_BUNDLE_ADD_MESSAGE:
  ------------------
  |  Branch (254:5): [True: 0, False: 1.27k]
  ------------------
  255|      4|    case OFPTYPE_HELLO:
  ------------------
  |  Branch (255:5): [True: 3, False: 1.27k]
  ------------------
  256|      4|    case OFPTYPE_ERROR:
  ------------------
  |  Branch (256:5): [True: 0, False: 1.27k]
  ------------------
  257|      4|    case OFPTYPE_FEATURES_REPLY:
  ------------------
  |  Branch (257:5): [True: 0, False: 1.27k]
  ------------------
  258|      4|    case OFPTYPE_GET_CONFIG_REPLY:
  ------------------
  |  Branch (258:5): [True: 0, False: 1.27k]
  ------------------
  259|      4|    case OFPTYPE_PACKET_IN:
  ------------------
  |  Branch (259:5): [True: 0, False: 1.27k]
  ------------------
  260|      4|    case OFPTYPE_FLOW_REMOVED:
  ------------------
  |  Branch (260:5): [True: 0, False: 1.27k]
  ------------------
  261|      4|    case OFPTYPE_PORT_STATUS:
  ------------------
  |  Branch (261:5): [True: 0, False: 1.27k]
  ------------------
  262|      4|    case OFPTYPE_BARRIER_REPLY:
  ------------------
  |  Branch (262:5): [True: 0, False: 1.27k]
  ------------------
  263|      4|    case OFPTYPE_QUEUE_GET_CONFIG_REPLY:
  ------------------
  |  Branch (263:5): [True: 0, False: 1.27k]
  ------------------
  264|      4|    case OFPTYPE_DESC_STATS_REPLY:
  ------------------
  |  Branch (264:5): [True: 0, False: 1.27k]
  ------------------
  265|      4|    case OFPTYPE_FLOW_STATS_REPLY:
  ------------------
  |  Branch (265:5): [True: 0, False: 1.27k]
  ------------------
  266|      4|    case OFPTYPE_QUEUE_STATS_REPLY:
  ------------------
  |  Branch (266:5): [True: 0, False: 1.27k]
  ------------------
  267|      4|    case OFPTYPE_PORT_STATS_REPLY:
  ------------------
  |  Branch (267:5): [True: 0, False: 1.27k]
  ------------------
  268|      4|    case OFPTYPE_TABLE_STATS_REPLY:
  ------------------
  |  Branch (268:5): [True: 0, False: 1.27k]
  ------------------
  269|      4|    case OFPTYPE_AGGREGATE_STATS_REPLY:
  ------------------
  |  Branch (269:5): [True: 0, False: 1.27k]
  ------------------
  270|      4|    case OFPTYPE_PORT_DESC_STATS_REPLY:
  ------------------
  |  Branch (270:5): [True: 0, False: 1.27k]
  ------------------
  271|      4|    case OFPTYPE_ROLE_REPLY:
  ------------------
  |  Branch (271:5): [True: 0, False: 1.27k]
  ------------------
  272|      4|    case OFPTYPE_FLOW_MONITOR_PAUSED:
  ------------------
  |  Branch (272:5): [True: 0, False: 1.27k]
  ------------------
  273|      4|    case OFPTYPE_FLOW_MONITOR_RESUMED:
  ------------------
  |  Branch (273:5): [True: 0, False: 1.27k]
  ------------------
  274|      4|    case OFPTYPE_FLOW_MONITOR_STATS_REPLY:
  ------------------
  |  Branch (274:5): [True: 0, False: 1.27k]
  ------------------
  275|     69|    case OFPTYPE_GET_ASYNC_REPLY:
  ------------------
  |  Branch (275:5): [True: 65, False: 1.21k]
  ------------------
  276|     69|    case OFPTYPE_GROUP_STATS_REPLY:
  ------------------
  |  Branch (276:5): [True: 0, False: 1.27k]
  ------------------
  277|     69|    case OFPTYPE_GROUP_DESC_STATS_REPLY:
  ------------------
  |  Branch (277:5): [True: 0, False: 1.27k]
  ------------------
  278|     69|    case OFPTYPE_GROUP_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (278:5): [True: 0, False: 1.27k]
  ------------------
  279|     69|    case OFPTYPE_METER_STATS_REPLY:
  ------------------
  |  Branch (279:5): [True: 0, False: 1.27k]
  ------------------
  280|     69|    case OFPTYPE_METER_CONFIG_STATS_REPLY:
  ------------------
  |  Branch (280:5): [True: 0, False: 1.27k]
  ------------------
  281|     69|    case OFPTYPE_METER_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (281:5): [True: 0, False: 1.27k]
  ------------------
  282|     69|    case OFPTYPE_TABLE_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (282:5): [True: 0, False: 1.27k]
  ------------------
  283|     69|    case OFPTYPE_TABLE_DESC_REPLY:
  ------------------
  |  Branch (283:5): [True: 0, False: 1.27k]
  ------------------
  284|     69|    case OFPTYPE_ROLE_STATUS:
  ------------------
  |  Branch (284:5): [True: 0, False: 1.27k]
  ------------------
  285|     69|    case OFPTYPE_REQUESTFORWARD:
  ------------------
  |  Branch (285:5): [True: 0, False: 1.27k]
  ------------------
  286|     69|    case OFPTYPE_TABLE_STATUS:
  ------------------
  |  Branch (286:5): [True: 0, False: 1.27k]
  ------------------
  287|     69|    case OFPTYPE_NXT_TLV_TABLE_REQUEST:
  ------------------
  |  Branch (287:5): [True: 0, False: 1.27k]
  ------------------
  288|     69|    case OFPTYPE_NXT_TLV_TABLE_REPLY:
  ------------------
  |  Branch (288:5): [True: 0, False: 1.27k]
  ------------------
  289|     69|    case OFPTYPE_NXT_RESUME:
  ------------------
  |  Branch (289:5): [True: 0, False: 1.27k]
  ------------------
  290|     69|    case OFPTYPE_IPFIX_BRIDGE_STATS_REQUEST:
  ------------------
  |  Branch (290:5): [True: 0, False: 1.27k]
  ------------------
  291|     69|    case OFPTYPE_IPFIX_BRIDGE_STATS_REPLY:
  ------------------
  |  Branch (291:5): [True: 0, False: 1.27k]
  ------------------
  292|     69|    case OFPTYPE_IPFIX_FLOW_STATS_REQUEST:
  ------------------
  |  Branch (292:5): [True: 0, False: 1.27k]
  ------------------
  293|     69|    case OFPTYPE_IPFIX_FLOW_STATS_REPLY:
  ------------------
  |  Branch (293:5): [True: 0, False: 1.27k]
  ------------------
  294|     69|    case OFPTYPE_CT_FLUSH_ZONE:
  ------------------
  |  Branch (294:5): [True: 0, False: 1.27k]
  ------------------
  295|     69|    case OFPTYPE_CT_FLUSH:
  ------------------
  |  Branch (295:5): [True: 0, False: 1.27k]
  ------------------
  296|     69|        break;
  297|  1.27k|    }
  298|       |
  299|     69|    return false;
  300|  1.27k|}

ofputil_decode_role_message:
   42|  9.97k|{
   43|  9.97k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
   44|  9.97k|    enum ofpraw raw = ofpraw_pull_assert(&b);
   45|  9.97k|    if (raw == OFPRAW_OFPT12_ROLE_REQUEST ||
  ------------------
  |  Branch (45:9): [True: 815, False: 9.16k]
  ------------------
   46|  9.16k|        raw == OFPRAW_OFPT12_ROLE_REPLY) {
  ------------------
  |  Branch (46:9): [True: 5.35k, False: 3.81k]
  ------------------
   47|  6.16k|        const struct ofp12_role_request *orr = b.msg;
   48|       |
   49|  6.16k|        if (orr->role != htonl(OFPCR12_ROLE_NOCHANGE) &&
  ------------------
  |  Branch (49:13): [True: 5.93k, False: 235]
  ------------------
   50|  5.93k|            orr->role != htonl(OFPCR12_ROLE_EQUAL) &&
  ------------------
  |  Branch (50:13): [True: 2.32k, False: 3.60k]
  ------------------
   51|  2.32k|            orr->role != htonl(OFPCR12_ROLE_PRIMARY) &&
  ------------------
  |  Branch (51:13): [True: 2.22k, False: 103]
  ------------------
   52|  2.22k|            orr->role != htonl(OFPCR12_ROLE_SECONDARY)) {
  ------------------
  |  Branch (52:13): [True: 1.94k, False: 277]
  ------------------
   53|  1.94k|            return OFPERR_OFPRRFC_BAD_ROLE;
   54|  1.94k|        }
   55|       |
   56|  4.22k|        rr->role = ntohl(orr->role);
   57|  4.22k|        if (raw == OFPRAW_OFPT12_ROLE_REQUEST
  ------------------
  |  Branch (57:13): [True: 626, False: 3.59k]
  |  Branch (57:13): [True: 142, False: 4.07k]
  ------------------
   58|  4.22k|            ? orr->role == htonl(OFPCR12_ROLE_NOCHANGE)
   59|  4.22k|            : orr->generation_id == OVS_BE64_MAX) {
  ------------------
  |  |   44|  3.59k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
   60|    142|            rr->have_generation_id = false;
   61|    142|            rr->generation_id = 0;
   62|  4.07k|        } else {
   63|  4.07k|            rr->have_generation_id = true;
   64|  4.07k|            rr->generation_id = ntohll(orr->generation_id);
   65|  4.07k|        }
   66|  4.22k|    } else if (raw == OFPRAW_NXT_ROLE_REQUEST ||
  ------------------
  |  Branch (66:16): [True: 2.80k, False: 1.00k]
  ------------------
   67|  3.81k|               raw == OFPRAW_NXT_ROLE_REPLY) {
  ------------------
  |  Branch (67:16): [True: 1.00k, False: 0]
  ------------------
   68|  3.81k|        const struct nx_role_request *nrr = b.msg;
   69|       |
   70|  3.81k|        BUILD_ASSERT(NX_ROLE_OTHER + 1 == OFPCR12_ROLE_EQUAL);
  ------------------
  |  |  271|  3.81k|#define BUILD_ASSERT(EXPR) (void) ({ _Static_assert(EXPR, #EXPR); })
  ------------------
   71|  3.81k|        BUILD_ASSERT(NX_ROLE_PRIMARY + 1 == OFPCR12_ROLE_PRIMARY);
  ------------------
  |  |  271|  3.81k|#define BUILD_ASSERT(EXPR) (void) ({ _Static_assert(EXPR, #EXPR); })
  ------------------
   72|  3.81k|        BUILD_ASSERT(NX_ROLE_SECONDARY + 1 == OFPCR12_ROLE_SECONDARY);
  ------------------
  |  |  271|  3.81k|#define BUILD_ASSERT(EXPR) (void) ({ _Static_assert(EXPR, #EXPR); })
  ------------------
   73|       |
   74|  3.81k|        if (nrr->role != htonl(NX_ROLE_OTHER) &&
  ------------------
  |  Branch (74:13): [True: 3.77k, False: 34]
  ------------------
   75|  3.77k|            nrr->role != htonl(NX_ROLE_PRIMARY) &&
  ------------------
  |  Branch (75:13): [True: 3.75k, False: 18]
  ------------------
   76|  3.75k|            nrr->role != htonl(NX_ROLE_SECONDARY)) {
  ------------------
  |  Branch (76:13): [True: 290, False: 3.46k]
  ------------------
   77|    290|            return OFPERR_OFPRRFC_BAD_ROLE;
   78|    290|        }
   79|       |
   80|  3.52k|        rr->role = ntohl(nrr->role) + 1;
   81|  3.52k|        rr->have_generation_id = false;
   82|  3.52k|        rr->generation_id = 0;
   83|  3.52k|    } else {
   84|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
   85|      0|    }
   86|       |
   87|  7.74k|    return 0;
   88|  9.97k|}
ofputil_format_role_message:
  121|  7.74k|{
  122|  7.74k|    format_role_generic(string, rr->role, (rr->have_generation_id
  ------------------
  |  Branch (122:44): [True: 4.07k, False: 3.66k]
  ------------------
  123|  7.74k|                                           ? rr->generation_id
  124|       |                                           : UINT64_MAX));
  125|  7.74k|}
ofputil_decode_role_status:
  191|  2.95k|{
  192|  2.95k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  193|  2.95k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  194|  2.95k|    ovs_assert(raw == OFPRAW_OFPT14_ROLE_STATUS ||
  ------------------
  |  |   62|  2.95k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (194:16): [True: 2.95k, False: 0]
  ------------------
  195|      0|               raw == OFPRAW_ONFT13_ROLE_STATUS);
  ------------------
  |  Branch (195:16): [True: 0, False: 0]
  ------------------
  196|       |
  197|  2.95k|    const struct ofp14_role_status *r = b.msg;
  198|  2.95k|    if (r->role != htonl(OFPCR12_ROLE_NOCHANGE) &&
  ------------------
  |  Branch (198:9): [True: 1.67k, False: 1.28k]
  ------------------
  199|  1.67k|        r->role != htonl(OFPCR12_ROLE_EQUAL) &&
  ------------------
  |  Branch (199:9): [True: 1.51k, False: 158]
  ------------------
  200|  1.51k|        r->role != htonl(OFPCR12_ROLE_PRIMARY) &&
  ------------------
  |  Branch (200:9): [True: 1.36k, False: 152]
  ------------------
  201|  1.36k|        r->role != htonl(OFPCR12_ROLE_SECONDARY)) {
  ------------------
  |  Branch (201:9): [True: 821, False: 540]
  ------------------
  202|    821|        return OFPERR_OFPRRFC_BAD_ROLE;
  203|    821|    }
  204|       |
  205|  2.13k|    rs->role = ntohl(r->role);
  206|  2.13k|    rs->generation_id = ntohll(r->generation_id);
  207|  2.13k|    rs->reason = r->reason;
  208|       |
  209|  2.13k|    return 0;
  210|  2.95k|}
ofputil_format_role_status:
  215|  2.13k|{
  216|  2.13k|    format_role_generic(string, rs->role, rs->generation_id);
  217|       |
  218|  2.13k|    ds_put_cstr(string, " reason=");
  219|       |
  220|  2.13k|    switch (rs->reason) {
  221|    478|    case OFPCRR_PRIMARY_REQUEST:
  ------------------
  |  Branch (221:5): [True: 478, False: 1.65k]
  ------------------
  222|    478|        ds_put_cstr(string, "primary_request");
  223|    478|        break;
  224|     19|    case OFPCRR_CONFIG:
  ------------------
  |  Branch (224:5): [True: 19, False: 2.11k]
  ------------------
  225|     19|        ds_put_cstr(string, "configuration_changed");
  226|     19|        break;
  227|    104|    case OFPCRR_EXPERIMENTER:
  ------------------
  |  Branch (227:5): [True: 104, False: 2.02k]
  ------------------
  228|    104|        ds_put_cstr(string, "experimenter_data_changed");
  229|    104|        break;
  230|    807|    case OFPCRR_N_REASONS:
  ------------------
  |  Branch (230:5): [True: 807, False: 1.32k]
  ------------------
  231|  1.53k|    default:
  ------------------
  |  Branch (231:5): [True: 724, False: 1.40k]
  ------------------
  232|  1.53k|        ds_put_cstr(string, "(unknown)");
  233|  1.53k|        break;
  234|  2.13k|    }
  235|  2.13k|}
ofputil_async_msg_type_to_string:
  239|   217k|{
  240|   217k|    switch (type) {
  241|  36.2k|    case OAM_PACKET_IN:      return "PACKET_IN";
  ------------------
  |  Branch (241:5): [True: 36.2k, False: 181k]
  ------------------
  242|  36.2k|    case OAM_PORT_STATUS:    return "PORT_STATUS";
  ------------------
  |  Branch (242:5): [True: 36.2k, False: 181k]
  ------------------
  243|  36.2k|    case OAM_FLOW_REMOVED:   return "FLOW_REMOVED";
  ------------------
  |  Branch (243:5): [True: 36.2k, False: 181k]
  ------------------
  244|  36.2k|    case OAM_ROLE_STATUS:    return "ROLE_STATUS";
  ------------------
  |  Branch (244:5): [True: 36.2k, False: 181k]
  ------------------
  245|  36.2k|    case OAM_TABLE_STATUS:   return "TABLE_STATUS";
  ------------------
  |  Branch (245:5): [True: 36.2k, False: 181k]
  ------------------
  246|  36.2k|    case OAM_REQUESTFORWARD: return "REQUESTFORWARD";
  ------------------
  |  Branch (246:5): [True: 36.2k, False: 181k]
  ------------------
  247|       |
  248|      0|    case OAM_N_TYPES:
  ------------------
  |  Branch (248:5): [True: 0, False: 217k]
  ------------------
  249|      0|    default:
  ------------------
  |  Branch (249:5): [True: 0, False: 217k]
  ------------------
  250|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  251|   217k|    }
  252|   217k|}
ofputil_decode_set_async_config:
  427|  27.6k|{
  428|  27.6k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  429|  27.6k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  430|       |
  431|  27.6k|    if (raw == OFPRAW_OFPT13_SET_ASYNC ||
  ------------------
  |  Branch (431:9): [True: 638, False: 27.0k]
  ------------------
  432|  27.0k|        raw == OFPRAW_NXT_SET_ASYNC_CONFIG ||
  ------------------
  |  Branch (432:9): [True: 235, False: 26.7k]
  ------------------
  433|  26.7k|        raw == OFPRAW_OFPT13_GET_ASYNC_REPLY) {
  ------------------
  |  Branch (433:9): [True: 656, False: 26.1k]
  ------------------
  434|  1.52k|        const struct nx_async_config *msg = ofpmsg_body(oh);
  435|       |
  436|  1.52k|        *ac = OFPUTIL_ASYNC_CFG_INIT;
  ------------------
  |  |   75|  1.52k|#define OFPUTIL_ASYNC_CFG_INIT (struct ofputil_async_cfg) { .primary[0] = 0 }
  ------------------
  437|  1.52k|        decode_legacy_async_masks(msg->packet_in_mask, OAM_PACKET_IN,
  438|  1.52k|                                  oh->version, ac);
  439|  1.52k|        decode_legacy_async_masks(msg->port_status_mask, OAM_PORT_STATUS,
  440|  1.52k|                                  oh->version, ac);
  441|  1.52k|        decode_legacy_async_masks(msg->flow_removed_mask, OAM_FLOW_REMOVED,
  442|  1.52k|                                  oh->version, ac);
  443|  26.1k|    } else if (raw == OFPRAW_OFPT14_SET_ASYNC ||
  ------------------
  |  Branch (443:16): [True: 4.19k, False: 21.9k]
  ------------------
  444|  21.9k|               raw == OFPRAW_OFPT14_GET_ASYNC_REPLY ||
  ------------------
  |  Branch (444:16): [True: 21.9k, False: 42]
  ------------------
  445|  26.1k|               raw == OFPRAW_NXT_SET_ASYNC_CONFIG2) {
  ------------------
  |  Branch (445:16): [True: 42, False: 0]
  ------------------
  446|  26.1k|        *ac = *basis;
  447|  42.9k|        while (b.size > 0) {
  ------------------
  |  Branch (447:16): [True: 26.3k, False: 16.5k]
  ------------------
  448|  26.3k|            struct ofpbuf property;
  449|  26.3k|            enum ofperr error;
  450|  26.3k|            uint64_t type;
  451|       |
  452|  26.3k|            error = ofpprop_pull__(&b, &property, 8, 0xfffe, &type);
  453|  26.3k|            if (error) {
  ------------------
  |  Branch (453:17): [True: 8.29k, False: 18.0k]
  ------------------
  454|  8.29k|                return error;
  455|  8.29k|            }
  456|       |
  457|  18.0k|            const struct ofp14_async_prop *ap
  458|  18.0k|                = get_ofp14_async_config_prop_by_prop_type(type);
  459|  18.0k|            error = (ap
  ------------------
  |  Branch (459:22): [True: 13.2k, False: 4.75k]
  ------------------
  460|  18.0k|                     ? parse_async_tlv(&property, ap, ac, oh->version, loose)
  461|  18.0k|                     : OFPPROP_UNKNOWN(loose, "async config", type));
  ------------------
  |  |  144|  4.75k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  462|  18.0k|            if (error) {
  ------------------
  |  Branch (462:17): [True: 1.24k, False: 16.7k]
  ------------------
  463|       |                /* Most messages use OFPBPC_BAD_TYPE but async has its own (who
  464|       |                 * knows why, it's OpenFlow. */
  465|  1.24k|                if (error == OFPERR_OFPBPC_BAD_TYPE) {
  ------------------
  |  Branch (465:21): [True: 539, False: 710]
  ------------------
  466|    539|                    error = OFPERR_OFPACFC_UNSUPPORTED;
  467|    539|                }
  468|  1.24k|                return error;
  469|  1.24k|            }
  470|  18.0k|        }
  471|  26.1k|    } else {
  472|      0|        return OFPERR_OFPBRC_BAD_VERSION;
  473|      0|    }
  474|  18.1k|    return 0;
  475|  27.6k|}
ofputil_format_set_async_config:
  667|  18.1k|{
  668|  54.3k|    for (int i = 0; i < 2; i++) {
  ------------------
  |  Branch (668:21): [True: 36.2k, False: 18.1k]
  ------------------
  669|  36.2k|        ds_put_format(string, "\n %s:\n", i == 0 ? "primary" : "secondary");
  ------------------
  |  Branch (669:43): [True: 18.1k, False: 18.1k]
  ------------------
  670|   253k|        for (uint32_t type = 0; type < OAM_N_TYPES; type++) {
  ------------------
  |  Branch (670:33): [True: 217k, False: 36.2k]
  ------------------
  671|   217k|            ds_put_format(string, "%16s:",
  672|   217k|                          ofputil_async_msg_type_to_string(type));
  673|       |
  674|   217k|            uint32_t role = i == 0 ? ac->primary[type] : ac->secondary[type];
  ------------------
  |  Branch (674:29): [True: 108k, False: 108k]
  ------------------
  675|  7.17M|            for (int j = 0; j < 32; j++) {
  ------------------
  |  Branch (675:29): [True: 6.95M, False: 217k]
  ------------------
  676|  6.95M|                if (role & (1u << j)) {
  ------------------
  |  Branch (676:21): [True: 60.5k, False: 6.89M]
  ------------------
  677|  60.5k|                    char reasonbuf[INT_STRLEN(int) + 1];
  678|  60.5k|                    const char *reason;
  679|       |
  680|  60.5k|                    reason = ofp_async_config_reason_to_string(
  681|  60.5k|                        j, type, reasonbuf, sizeof reasonbuf);
  682|  60.5k|                    if (reason[0]) {
  ------------------
  |  Branch (682:25): [True: 55.7k, False: 4.71k]
  ------------------
  683|  55.7k|                        ds_put_format(string, " %s", reason);
  684|  55.7k|                    }
  685|  60.5k|                }
  686|  6.95M|            }
  687|   217k|            if (!role) {
  ------------------
  |  Branch (687:17): [True: 199k, False: 17.7k]
  ------------------
  688|   199k|                ds_put_cstr(string, " (off)");
  689|   199k|            }
  690|   217k|            ds_put_char(string, '\n');
  691|   217k|        }
  692|  36.2k|    }
  693|  18.1k|}
ofp-connection.c:format_role_generic:
   93|  9.87k|{
   94|  9.87k|    ds_put_cstr(string, " role=");
   95|       |
   96|  9.87k|    switch (role) {
   97|  1.51k|    case OFPCR12_ROLE_NOCHANGE:
  ------------------
  |  Branch (97:5): [True: 1.51k, False: 8.35k]
  ------------------
   98|  1.51k|        ds_put_cstr(string, "nochange");
   99|  1.51k|        break;
  100|  3.79k|    case OFPCR12_ROLE_EQUAL:
  ------------------
  |  Branch (100:5): [True: 3.79k, False: 6.07k]
  ------------------
  101|  3.79k|        ds_put_cstr(string, "equal"); /* OF 1.2 wording */
  102|  3.79k|        break;
  103|    273|    case OFPCR12_ROLE_PRIMARY:
  ------------------
  |  Branch (103:5): [True: 273, False: 9.60k]
  ------------------
  104|    273|        ds_put_cstr(string, "primary");
  105|    273|        break;
  106|  4.28k|    case OFPCR12_ROLE_SECONDARY:
  ------------------
  |  Branch (106:5): [True: 4.28k, False: 5.58k]
  ------------------
  107|  4.28k|        ds_put_cstr(string, "secondary");
  108|  4.28k|        break;
  109|      0|    default:
  ------------------
  |  Branch (109:5): [True: 0, False: 9.87k]
  ------------------
  110|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  111|  9.87k|    }
  112|       |
  113|  9.87k|    if (generation_id != UINT64_MAX) {
  ------------------
  |  Branch (113:9): [True: 6.21k, False: 3.66k]
  ------------------
  114|       |        ds_put_format(string, " generation_id=%"PRIu64, generation_id);
  115|  6.21k|    }
  116|  9.87k|}
ofp-connection.c:decode_legacy_async_masks:
  393|  4.58k|{
  394|  13.7k|    for (int i = 0; i < 2; i++) {
  ------------------
  |  Branch (394:21): [True: 9.17k, False: 4.58k]
  ------------------
  395|  9.17k|        bool primary = i == 0;
  396|  9.17k|        const struct ofp14_async_prop *ap
  397|  9.17k|            = get_ofp14_async_config_prop_by_oam(oam, primary);
  398|       |        decode_async_mask(masks[i], ap, version, true, dst);
  399|  9.17k|    }
  400|  4.58k|}
ofp-connection.c:get_ofp14_async_config_prop_by_oam:
  292|  9.17k|{
  293|  32.1k|    FOR_EACH_ASYNC_PROP (ap) {
  ------------------
  |  |  275|  9.17k|    for (const struct ofp14_async_prop *VAR = async_props;      \
  |  |  276|  32.1k|         VAR < &async_props[ARRAY_SIZE(async_props)]; VAR++)
  |  |  ------------------
  |  |  |  |  297|  32.1k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|  32.1k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   41|  32.1k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  32.1k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.1k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  32.1k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (276:10): [True: 32.1k, False: 0]
  |  |  ------------------
  ------------------
  294|  32.1k|        if (ap->oam == oam && ap->primary == primary) {
  ------------------
  |  Branch (294:13): [True: 13.7k, False: 18.3k]
  |  Branch (294:31): [True: 9.17k, False: 4.58k]
  ------------------
  295|  9.17k|            return ap;
  296|  9.17k|        }
  297|  32.1k|    }
  298|      0|    return NULL;
  299|  9.17k|}
ofp-connection.c:decode_async_mask:
  323|  22.3k|{
  324|  22.3k|    uint32_t mask = ntohl(src);
  325|  22.3k|    uint32_t allowed = ofp14_async_prop_allowed(ap, version);
  326|  22.3k|    if (mask & ~allowed) {
  ------------------
  |  Branch (326:9): [True: 18.8k, False: 3.49k]
  ------------------
  327|  18.8k|        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|  18.8k|        {                                                                 \
  |  |  111|  18.8k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  75.4k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 18.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  18.8k|            0,                              /* first_dropped */           \
  |  |  113|  18.8k|            0,                              /* last_dropped */            \
  |  |  114|  18.8k|            0,                              /* n_dropped */               \
  |  |  115|  18.8k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  18.8k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  18.8k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  18.8k|        }
  ------------------
  328|  18.8k|        OFPPROP_LOG(&rl, loose,
  ------------------
  |  |  139|  18.8k|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  18.8k|    do {                                                                \
  |  |  |  |  288|  37.7k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [True: 18.2k, False: 587]
  |  |  |  |  ------------------
  |  |  |  |  289|  18.8k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 18.8k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  18.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 18.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|  18.8k|                    "bad value %#x for %s (allowed mask %#x)",
  330|  18.8k|                    mask, ofputil_async_msg_type_to_string(ap->oam),
  331|  18.8k|                    allowed);
  332|  18.8k|        mask &= allowed;
  333|  18.8k|        if (!loose) {
  ------------------
  |  Branch (333:13): [True: 587, False: 18.2k]
  ------------------
  334|    587|            return OFPERR_OFPACFC_INVALID;
  335|    587|        }
  336|  18.8k|    }
  337|       |
  338|  21.7k|    if (ap->oam == OAM_PACKET_IN) {
  ------------------
  |  Branch (338:9): [True: 6.03k, False: 15.7k]
  ------------------
  339|  6.03k|        if (mask & (1u << OFPR_NO_MATCH)) {
  ------------------
  |  Branch (339:13): [True: 4.36k, False: 1.66k]
  ------------------
  340|  4.36k|            mask |= 1u << OFPR_EXPLICIT_MISS;
  341|  4.36k|            if (version < OFP13_VERSION) {
  ------------------
  |  Branch (341:17): [True: 410, False: 3.95k]
  ------------------
  342|    410|                mask |= 1u << OFPR_IMPLICIT_MISS;
  343|    410|            }
  344|  4.36k|        }
  345|  6.03k|    }
  346|       |
  347|  21.7k|    uint32_t *array = ap->primary ? dst->primary : dst->secondary;
  ------------------
  |  Branch (347:23): [True: 6.55k, False: 15.2k]
  ------------------
  348|  21.7k|    array[ap->oam] = mask;
  349|  21.7k|    return 0;
  350|  22.3k|}
ofp-connection.c:ofp14_async_prop_allowed:
  304|  22.3k|{
  305|  22.3k|    return version >= OFP14_VERSION ? prop->allowed14 : prop->allowed10;
  ------------------
  |  Branch (305:12): [True: 13.3k, False: 9.03k]
  ------------------
  306|  22.3k|}
ofp-connection.c:get_ofp14_async_config_prop_by_prop_type:
  280|  18.0k|{
  281|   136k|    FOR_EACH_ASYNC_PROP (ap) {
  ------------------
  |  |  275|  18.0k|    for (const struct ofp14_async_prop *VAR = async_props;      \
  |  |  276|   141k|         VAR < &async_props[ARRAY_SIZE(async_props)]; VAR++)
  |  |  ------------------
  |  |  |  |  297|   141k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|   141k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   41|   141k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   47|   141k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   141k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|   141k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (276:10): [True: 136k, False: 4.75k]
  |  |  ------------------
  ------------------
  282|   136k|        if (prop_type == ap->prop_type) {
  ------------------
  |  Branch (282:13): [True: 13.2k, False: 123k]
  ------------------
  283|  13.2k|            return ap;
  284|  13.2k|        }
  285|   136k|    }
  286|  4.75k|    return NULL;
  287|  18.0k|}
ofp-connection.c:parse_async_tlv:
  357|  13.2k|{
  358|  13.2k|    enum ofperr error;
  359|  13.2k|    ovs_be32 mask;
  360|       |
  361|  13.2k|    error  = ofpprop_parse_be32(property, &mask);
  362|  13.2k|    if (error) {
  ------------------
  |  Branch (362:9): [True: 104, False: 13.1k]
  ------------------
  363|    104|        return error;
  364|    104|    }
  365|       |
  366|  13.1k|    if (ofpprop_is_experimenter(ap->prop_type)) {
  ------------------
  |  Branch (366:9): [True: 0, False: 13.1k]
  ------------------
  367|       |        /* For experimenter properties, whether a property is for the primary or
  368|       |         * secondary role is indicated by both 'type' and 'exp_type' in struct
  369|       |         * ofp_prop_experimenter.  Check that these are consistent. */
  370|      0|        const struct ofp_prop_experimenter *ope = property->data;
  371|      0|        bool should_be_primary = ope->type == htons(0xffff);
  372|      0|        if (should_be_primary != ap->primary) {
  ------------------
  |  Branch (372:13): [True: 0, False: 0]
  ------------------
  373|      0|            static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|      0|        {                                                                 \
  |  |  111|      0|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|      0|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|      0|            0,                              /* first_dropped */           \
  |  |  113|      0|            0,                              /* last_dropped */            \
  |  |  114|      0|            0,                              /* n_dropped */               \
  |  |  115|      0|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|      0|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|      0|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|      0|        }
  ------------------
  374|      0|            VLOG_WARN_RL(&rl, "async property type %#"PRIx16" "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (290:56): [True: 0, False: 0]
  |  |  |  |  |  Branch (290:56): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  375|      0|                         "indicates %s role but exp_type %"PRIu32" indicates "
  376|      0|                         "%s role",
  377|      0|                         ntohs(ope->type),
  378|      0|                         should_be_primary ? "primary" : "secondary",
  379|      0|                         ntohl(ope->exp_type),
  380|      0|                         ap->primary ? "primary" : "secondary");
  381|      0|            return OFPERR_OFPBPC_BAD_EXP_TYPE;
  382|      0|        }
  383|      0|    }
  384|       |
  385|  13.1k|    return decode_async_mask(mask, ap, version, loose, ac);
  386|  13.1k|}
ofp-connection.c:ofp_async_config_reason_to_string:
  638|  60.5k|{
  639|  60.5k|    switch (type) {
  640|  24.4k|    case OAM_PACKET_IN:
  ------------------
  |  Branch (640:5): [True: 24.4k, False: 36.0k]
  ------------------
  641|  24.4k|        return ofputil_packet_in_reason_to_string(reason, reasonbuf, bufsize);
  642|       |
  643|  7.06k|    case OAM_PORT_STATUS:
  ------------------
  |  Branch (643:5): [True: 7.06k, False: 53.4k]
  ------------------
  644|  7.06k|        return ofp_port_reason_to_string(reason, reasonbuf, bufsize);
  645|       |
  646|  7.27k|    case OAM_FLOW_REMOVED:
  ------------------
  |  Branch (646:5): [True: 7.27k, False: 53.2k]
  ------------------
  647|  7.27k|        return ofp_flow_removed_reason_to_string(reason, reasonbuf, bufsize);
  648|       |
  649|  18.1k|    case OAM_ROLE_STATUS:
  ------------------
  |  Branch (649:5): [True: 18.1k, False: 42.3k]
  ------------------
  650|  18.1k|        return ofp_role_reason_to_string(reason, reasonbuf, bufsize);
  651|       |
  652|    376|    case OAM_TABLE_STATUS:
  ------------------
  |  Branch (652:5): [True: 376, False: 60.1k]
  ------------------
  653|    376|        return ofp_table_reason_to_string(reason, reasonbuf, bufsize);
  654|       |
  655|  3.12k|    case OAM_REQUESTFORWARD:
  ------------------
  |  Branch (655:5): [True: 3.12k, False: 57.3k]
  ------------------
  656|  3.12k|        return ofp_requestforward_reason_to_string(reason, reasonbuf, bufsize);
  657|       |
  658|      0|    case OAM_N_TYPES:
  ------------------
  |  Branch (658:5): [True: 0, False: 60.5k]
  ------------------
  659|      0|    default:
  ------------------
  |  Branch (659:5): [True: 0, False: 60.5k]
  ------------------
  660|      0|        return "Unknown asynchronous configuration message type";
  661|  60.5k|    }
  662|  60.5k|}
ofp-connection.c:ofp_port_reason_to_string:
  571|  7.06k|{
  572|  7.06k|    switch (reason) {
  573|  2.22k|    case OFPPR_ADD:
  ------------------
  |  Branch (573:5): [True: 2.22k, False: 4.84k]
  ------------------
  574|  2.22k|        return "add";
  575|       |
  576|  2.27k|    case OFPPR_DELETE:
  ------------------
  |  Branch (576:5): [True: 2.27k, False: 4.79k]
  ------------------
  577|  2.27k|        return "delete";
  578|       |
  579|  2.56k|    case OFPPR_MODIFY:
  ------------------
  |  Branch (579:5): [True: 2.56k, False: 4.49k]
  ------------------
  580|  2.56k|        return "modify";
  581|       |
  582|      0|    case OFPPR_N_REASONS:
  ------------------
  |  Branch (582:5): [True: 0, False: 7.06k]
  ------------------
  583|      0|    default:
  ------------------
  |  Branch (583:5): [True: 0, False: 7.06k]
  ------------------
  584|      0|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
  585|      0|        return reasonbuf;
  586|  7.06k|    }
  587|  7.06k|}
ofp-connection.c:ofp_role_reason_to_string:
  595|  18.1k|{
  596|  18.1k|    switch (reason) {
  597|  6.10k|    case OFPCRR_PRIMARY_REQUEST:
  ------------------
  |  Branch (597:5): [True: 6.10k, False: 12.0k]
  ------------------
  598|  6.10k|        return "primary_request";
  599|       |
  600|  6.13k|    case OFPCRR_CONFIG:
  ------------------
  |  Branch (600:5): [True: 6.13k, False: 12.0k]
  ------------------
  601|  6.13k|        return "configuration_changed";
  602|       |
  603|  5.92k|    case OFPCRR_EXPERIMENTER:
  ------------------
  |  Branch (603:5): [True: 5.92k, False: 12.2k]
  ------------------
  604|  5.92k|        return "experimenter_data_changed";
  605|       |
  606|      0|    case OFPCRR_N_REASONS:
  ------------------
  |  Branch (606:5): [True: 0, False: 18.1k]
  ------------------
  607|      0|    default:
  ------------------
  |  Branch (607:5): [True: 0, False: 18.1k]
  ------------------
  608|      0|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
  609|      0|        return reasonbuf;
  610|  18.1k|    }
  611|  18.1k|}
ofp-connection.c:ofp_requestforward_reason_to_string:
  619|  3.12k|{
  620|  3.12k|    switch (reason) {
  621|  1.59k|    case OFPRFR_GROUP_MOD:
  ------------------
  |  Branch (621:5): [True: 1.59k, False: 1.53k]
  ------------------
  622|  1.59k|        return "group_mod_request";
  623|       |
  624|  1.53k|    case OFPRFR_METER_MOD:
  ------------------
  |  Branch (624:5): [True: 1.53k, False: 1.59k]
  ------------------
  625|  1.53k|        return "meter_mod_request";
  626|       |
  627|      0|    case OFPRFR_N_REASONS:
  ------------------
  |  Branch (627:5): [True: 0, False: 3.12k]
  ------------------
  628|      0|    default:
  ------------------
  |  Branch (628:5): [True: 0, False: 3.12k]
  ------------------
  629|      0|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
  630|      0|        return reasonbuf;
  631|  3.12k|    }
  632|  3.12k|}

ofp_ct_match_format:
  100|  5.30k|{
  101|  5.30k|    if (match->mark_mask) {
  ------------------
  |  Branch (101:9): [True: 1.11k, False: 4.19k]
  ------------------
  102|  1.11k|        ds_put_format(ds, "mark=%#"PRIx32, match->mark);
  103|  1.11k|        if (match->mark_mask != UINT32_MAX) {
  ------------------
  |  Branch (103:13): [True: 887, False: 223]
  ------------------
  104|    887|            ds_put_format(ds, "/%#"PRIx32, match->mark_mask);
  105|    887|        }
  106|  1.11k|        ds_put_char(ds, ' ');
  107|  1.11k|    }
  108|       |
  109|  5.30k|    if (!ovs_u128_is_zero(match->labels_mask)) {
  ------------------
  |  Branch (109:9): [True: 755, False: 4.55k]
  ------------------
  110|    755|        ovs_be128 be_value = hton128(match->labels);
  111|    755|        ovs_be128 be_mask = hton128(match->labels_mask);
  112|       |
  113|    755|        ds_put_cstr(ds, "labels=");
  114|    755|        ds_put_hex(ds, &be_value, sizeof be_value);
  115|       |
  116|    755|        if (!ovs_u128_is_ones(match->labels_mask)) {
  ------------------
  |  Branch (116:13): [True: 733, False: 22]
  ------------------
  117|    733|            ds_put_char(ds, '/');
  118|    733|            ds_put_hex(ds, &be_mask, sizeof be_mask);
  119|    733|        }
  120|    755|        ds_put_char(ds, ' ');
  121|    755|    }
  122|       |
  123|  5.30k|    ds_put_cstr(ds, "'");
  124|  5.30k|    ofp_ct_tuple_format(ds, &match->tuple_orig, match->ip_proto,
  125|  5.30k|                        match->l3_type);
  126|  5.30k|    ds_put_format(ds, ",ct_nw_proto=%u' '", match->ip_proto);
  127|  5.30k|    ofp_ct_tuple_format(ds, &match->tuple_reply, match->ip_proto,
  128|  5.30k|                        match->l3_type);
  129|  5.30k|    ds_put_cstr(ds, "'");
  130|  5.30k|}
ofp_ct_match_decode:
  473|  14.8k|{
  474|  14.8k|    uint32_t tlv_flags = 0;
  475|  14.8k|    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
  476|  14.8k|    ofpraw_pull_assert(&msg);
  477|       |
  478|  14.8k|    const struct nx_ct_flush *nx_flush = ofpbuf_pull(&msg, sizeof *nx_flush);
  479|       |
  480|  14.8k|    if (!is_all_zeros(nx_flush->pad, sizeof nx_flush->pad)) {
  ------------------
  |  Branch (480:9): [True: 2.09k, False: 12.7k]
  ------------------
  481|  2.09k|        return OFPERR_NXBRC_MUST_BE_ZERO;
  482|  2.09k|    }
  483|       |
  484|  12.7k|    match->ip_proto = nx_flush->ip_proto;
  485|       |
  486|  12.7k|    struct ofp_ct_tuple *orig = &match->tuple_orig;
  487|  12.7k|    struct ofp_ct_tuple *reply = &match->tuple_reply;
  488|       |
  489|  20.8k|    while (msg.size) {
  ------------------
  |  Branch (489:12): [True: 15.5k, False: 5.30k]
  ------------------
  490|  15.5k|        struct ofpbuf property;
  491|  15.5k|        uint64_t type;
  492|       |
  493|  15.5k|        enum ofperr error = ofpprop_pull(&msg, &property, &type);
  494|  15.5k|        if (error) {
  ------------------
  |  Branch (494:13): [True: 1.03k, False: 14.4k]
  ------------------
  495|  1.03k|            return error;
  496|  1.03k|        }
  497|       |
  498|  14.4k|        switch (type) {
  499|  9.15k|        case NXT_CT_ORIG_TUPLE:
  ------------------
  |  Branch (499:9): [True: 9.15k, False: 5.33k]
  ------------------
  500|  9.15k|            error = ofp_ct_tuple_decode_nested(&property, orig,
  501|  9.15k|                                               &match->l3_type);
  502|  9.15k|            break;
  503|       |
  504|    939|        case NXT_CT_REPLY_TUPLE:
  ------------------
  |  Branch (504:9): [True: 939, False: 13.5k]
  ------------------
  505|    939|            error = ofp_ct_tuple_decode_nested(&property, reply,
  506|    939|                                               &match->l3_type);
  507|    939|            break;
  508|       |
  509|    945|        case NXT_CT_ZONE_ID:
  ------------------
  |  Branch (509:9): [True: 945, False: 13.5k]
  ------------------
  510|    945|            if (with_zone) {
  ------------------
  |  Branch (510:17): [True: 0, False: 945]
  ------------------
  511|      0|                *with_zone = true;
  512|      0|            }
  513|    945|            error = ofpprop_parse_u16(&property, zone_id);
  514|    945|            break;
  515|       |
  516|  1.44k|        case NXT_CT_MARK:
  ------------------
  |  Branch (516:9): [True: 1.44k, False: 13.0k]
  ------------------
  517|  1.44k|            error = ofpprop_parse_u32(&property, &match->mark);
  518|  1.44k|            break;
  519|       |
  520|    900|        case NXT_CT_MARK_MASK:
  ------------------
  |  Branch (520:9): [True: 900, False: 13.5k]
  ------------------
  521|    900|            error = ofpprop_parse_u32(&property, &match->mark_mask);
  522|    900|            break;
  523|       |
  524|     70|        case NXT_CT_LABELS:
  ------------------
  |  Branch (524:9): [True: 70, False: 14.4k]
  ------------------
  525|     70|            error = ofpprop_parse_u128(&property, &match->labels);
  526|     70|            break;
  527|       |
  528|    750|        case NXT_CT_LABELS_MASK:
  ------------------
  |  Branch (528:9): [True: 750, False: 13.7k]
  ------------------
  529|    750|            error = ofpprop_parse_u128(&property, &match->labels_mask);
  530|    750|            break;
  531|       |
  532|    285|        default:
  ------------------
  |  Branch (532:9): [True: 285, False: 14.2k]
  ------------------
  533|    285|            error = OFPPROP_UNKNOWN(false, "NXT_CT_FLUSH", type);
  ------------------
  |  |  144|    285|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  534|    285|            break;
  535|  14.4k|        }
  536|       |
  537|  14.4k|        if (error) {
  ------------------
  |  Branch (537:13): [True: 6.36k, False: 8.12k]
  ------------------
  538|  6.36k|            return error;
  539|  6.36k|        }
  540|       |
  541|  8.12k|        if (type < (sizeof tlv_flags * CHAR_BIT)) {
  ------------------
  |  Branch (541:13): [True: 8.12k, False: 0]
  ------------------
  542|  8.12k|            tlv_flags |= (UINT32_C(1) << type);
  543|  8.12k|        }
  544|  8.12k|    }
  545|       |
  546|       |    /* Consider the mask being all ones if it's not present but the value
  547|       |     * is specified. */
  548|  5.30k|    if (tlv_flags & (UINT32_C(1) << NXT_CT_MARK) &&
  ------------------
  |  Branch (548:9): [True: 955, False: 4.35k]
  ------------------
  549|    955|        !(tlv_flags & (UINT32_C(1) << NXT_CT_MARK_MASK))) {
  ------------------
  |  Branch (549:9): [True: 223, False: 732]
  ------------------
  550|    223|        match->mark_mask = UINT32_MAX;
  551|    223|    }
  552|       |
  553|  5.30k|    if (tlv_flags & (UINT32_C(1) << NXT_CT_LABELS) &&
  ------------------
  |  Branch (553:9): [True: 36, False: 5.27k]
  ------------------
  554|     36|        !(tlv_flags & (UINT32_C(1) << NXT_CT_LABELS_MASK))) {
  ------------------
  |  Branch (554:9): [True: 18, False: 18]
  ------------------
  555|     18|        match->labels_mask = OVS_U128_MAX;
  556|     18|    }
  557|       |
  558|  5.30k|    return 0;
  559|  12.7k|}
ofp-ct.c:ofp_ct_tuple_format:
   41|  10.6k|{
   42|  10.6k|    ds_put_cstr(ds, l3_type == AF_INET ? "ct_nw_src=": "ct_ipv6_src=");
  ------------------
  |  Branch (42:21): [True: 1.31k, False: 9.30k]
  ------------------
   43|  10.6k|    ipv6_format_mapped(&tuple->src, ds);
   44|  10.6k|    ds_put_cstr(ds, l3_type == AF_INET ? ",ct_nw_dst=": ",ct_ipv6_dst=");
  ------------------
  |  Branch (44:21): [True: 1.31k, False: 9.30k]
  ------------------
   45|  10.6k|    ipv6_format_mapped(&tuple->dst, ds);
   46|  10.6k|    if (ip_proto == IPPROTO_ICMP || ip_proto == IPPROTO_ICMPV6) {
  ------------------
  |  Branch (46:9): [True: 5.55k, False: 5.06k]
  |  Branch (46:37): [True: 322, False: 4.74k]
  ------------------
   47|  5.87k|        ds_put_format(ds, ",icmp_id=%u,icmp_type=%u,icmp_code=%u",
   48|  5.87k|                      ntohs(tuple->icmp_id), tuple->icmp_type,
   49|  5.87k|                      tuple->icmp_code);
   50|  5.87k|    } else {
   51|  4.74k|        ds_put_format(ds, ",ct_tp_src=%u,ct_tp_dst=%u", ntohs(tuple->src_port),
   52|       |                      ntohs(tuple->dst_port));
   53|  4.74k|    }
   54|  10.6k|}
ofp-ct.c:ofp_ct_tuple_decode_nested:
  376|  10.0k|{
  377|  10.0k|    struct ofpbuf nested;
  378|  10.0k|    enum ofperr error = ofpprop_parse_nested(property, &nested);
  379|  10.0k|    if (error) {
  ------------------
  |  Branch (379:9): [True: 75, False: 10.0k]
  ------------------
  380|     75|        return error;
  381|     75|    }
  382|       |
  383|  24.8k|    while (nested.size) {
  ------------------
  |  Branch (383:12): [True: 20.7k, False: 4.07k]
  ------------------
  384|  20.7k|        struct ofpbuf inner;
  385|  20.7k|        uint64_t type;
  386|       |
  387|  20.7k|        error = ofpprop_pull(&nested, &inner, &type);
  388|  20.7k|        if (error) {
  ------------------
  |  Branch (388:13): [True: 2.37k, False: 18.4k]
  ------------------
  389|  2.37k|            return error;
  390|  2.37k|        }
  391|  18.4k|        switch (type) {
  392|  4.39k|        case NXT_CT_TUPLE_SRC:
  ------------------
  |  Branch (392:9): [True: 4.39k, False: 14.0k]
  ------------------
  393|  4.39k|            error = ofpprop_pull_ipv6(&inner, &tuple->src, l3_type);
  394|  4.39k|            break;
  395|       |
  396|  8.54k|        case NXT_CT_TUPLE_DST:
  ------------------
  |  Branch (396:9): [True: 8.54k, False: 9.88k]
  ------------------
  397|  8.54k|            error = ofpprop_pull_ipv6(&inner, &tuple->dst, l3_type);
  398|  8.54k|            break;
  399|       |
  400|    341|        case NXT_CT_TUPLE_SRC_PORT:
  ------------------
  |  Branch (400:9): [True: 341, False: 18.0k]
  ------------------
  401|    341|            error = ofpprop_parse_be16(&inner, &tuple->src_port);
  402|    341|            break;
  403|       |
  404|  2.01k|        case NXT_CT_TUPLE_DST_PORT:
  ------------------
  |  Branch (404:9): [True: 2.01k, False: 16.4k]
  ------------------
  405|  2.01k|            error = ofpprop_parse_be16(&inner, &tuple->dst_port);
  406|  2.01k|            break;
  407|       |
  408|    476|        case NXT_CT_TUPLE_ICMP_ID:
  ------------------
  |  Branch (408:9): [True: 476, False: 17.9k]
  ------------------
  409|    476|            error = ofpprop_parse_be16(&inner, &tuple->icmp_id);
  410|    476|            break;
  411|       |
  412|    349|        case NXT_CT_TUPLE_ICMP_TYPE:
  ------------------
  |  Branch (412:9): [True: 349, False: 18.0k]
  ------------------
  413|    349|            error = ofpprop_parse_u8(&inner, &tuple->icmp_type);
  414|    349|            break;
  415|       |
  416|     95|        case NXT_CT_TUPLE_ICMP_CODE:
  ------------------
  |  Branch (416:9): [True: 95, False: 18.3k]
  ------------------
  417|     95|            error = ofpprop_parse_u8(&inner, &tuple->icmp_code);
  418|     95|            break;
  419|       |
  420|  2.21k|        default:
  ------------------
  |  Branch (420:9): [True: 2.21k, False: 16.2k]
  ------------------
  421|  2.21k|            error = OFPPROP_UNKNOWN(false, "NXT_CT_TUPLE", type);
  ------------------
  |  |  144|  2.21k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  422|  2.21k|            break;
  423|  18.4k|        }
  424|       |
  425|  18.4k|        if (error) {
  ------------------
  |  Branch (425:13): [True: 3.56k, False: 14.8k]
  ------------------
  426|  3.56k|            return error;
  427|  3.56k|        }
  428|  18.4k|    }
  429|       |
  430|  4.07k|    return 0;
  431|  10.0k|}
ofp-ct.c:ofpprop_pull_ipv6:
  352|  12.9k|{
  353|  12.9k|    if (ofpbuf_msgsize(property) < sizeof *addr) {
  ------------------
  |  Branch (353:9): [True: 1.28k, False: 11.6k]
  ------------------
  354|  1.28k|        return OFPERR_OFPBPC_BAD_LEN;
  355|  1.28k|    }
  356|       |
  357|  11.6k|    memcpy(addr, property->msg, sizeof *addr);
  358|       |
  359|  11.6k|    uint16_t l3 = 0;
  360|  11.6k|    if (!ipv6_is_zero(addr)) {
  ------------------
  |  Branch (360:9): [True: 10.4k, False: 1.19k]
  ------------------
  361|  10.4k|        l3 = IN6_IS_ADDR_V4MAPPED(addr) ? AF_INET : AF_INET6;
  ------------------
  |  Branch (361:14): [True: 718, False: 9.74k]
  ------------------
  362|  10.4k|    }
  363|       |
  364|  11.6k|    if (*l3_type && l3 && *l3_type != l3) {
  ------------------
  |  Branch (364:9): [True: 3.66k, False: 7.98k]
  |  Branch (364:21): [True: 2.69k, False: 975]
  |  Branch (364:27): [True: 55, False: 2.63k]
  ------------------
  365|     55|        return OFPERR_OFPBPC_BAD_VALUE;
  366|     55|    }
  367|       |
  368|  11.6k|    *l3_type = l3;
  369|       |
  370|  11.6k|    return 0;
  371|  11.6k|}

decode_ed_prop:
   32|  5.18k|{
   33|  5.18k|    uint16_t prop_class = ntohs((*ofp_prop)->prop_class);
   34|  5.18k|    uint8_t prop_type = (*ofp_prop)->type;
   35|  5.18k|    size_t len = (*ofp_prop)->len;
   36|  5.18k|    size_t pad_len = ROUND_UP(len, 8);
  ------------------
  |  |  303|  5.18k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  5.18k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
   37|       |
   38|  5.18k|    if (len < sizeof **ofp_prop || pad_len > *remaining) {
  ------------------
  |  Branch (38:9): [True: 293, False: 4.89k]
  |  Branch (38:36): [True: 470, False: 4.42k]
  ------------------
   39|    763|        return OFPERR_OFPBAC_BAD_LEN;
   40|    763|    }
   41|       |
   42|  4.42k|    switch (prop_class) {
   43|  3.94k|    case OFPPPC_NSH: {
  ------------------
  |  Branch (43:5): [True: 3.94k, False: 475]
  ------------------
   44|  3.94k|        switch (prop_type) {
   45|  1.27k|        case OFPPPT_PROP_NSH_MDTYPE: {
  ------------------
  |  Branch (45:9): [True: 1.27k, False: 2.67k]
  ------------------
   46|  1.27k|            struct ofp_ed_prop_nsh_md_type *opnmt =
   47|  1.27k|                ALIGNED_CAST(struct ofp_ed_prop_nsh_md_type *, *ofp_prop);
  ------------------
  |  |  434|  1.27k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
   48|  1.27k|            if (len > sizeof(*opnmt) || len > *remaining) {
  ------------------
  |  Branch (48:17): [True: 18, False: 1.25k]
  |  Branch (48:41): [True: 0, False: 1.25k]
  ------------------
   49|     18|                return OFPERR_NXBAC_BAD_ED_PROP;
   50|     18|            }
   51|  1.25k|            struct ofpact_ed_prop_nsh_md_type *pnmt =
   52|  1.25k|                    ofpbuf_put_zeros(out, sizeof *pnmt);
   53|  1.25k|            pnmt->header.prop_class = prop_class;
   54|  1.25k|            pnmt->header.type = prop_type;
   55|  1.25k|            pnmt->header.len = len;
   56|  1.25k|            pnmt->md_type = opnmt->md_type;
   57|  1.25k|            break;
   58|  1.27k|        }
   59|  2.49k|        case OFPPPT_PROP_NSH_TLV: {
  ------------------
  |  Branch (59:9): [True: 2.49k, False: 1.45k]
  ------------------
   60|  2.49k|            struct ofp_ed_prop_nsh_tlv *opnt =
   61|  2.49k|                ALIGNED_CAST(struct ofp_ed_prop_nsh_tlv *, *ofp_prop);
  ------------------
  |  |  434|  2.49k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
   62|  2.49k|            size_t tlv_pad_len = ROUND_UP(opnt->tlv_len, 8);
  ------------------
  |  |  303|  2.49k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  2.49k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
   63|  2.49k|            if (len != sizeof(*opnt) + tlv_pad_len || len > *remaining) {
  ------------------
  |  Branch (63:17): [True: 317, False: 2.18k]
  |  Branch (63:55): [True: 0, False: 2.18k]
  ------------------
   64|    317|                return OFPERR_NXBAC_BAD_ED_PROP;
   65|    317|            }
   66|  2.18k|            struct ofpact_ed_prop_nsh_tlv *pnt =
   67|  2.18k|                    ofpbuf_put_uninit(out, sizeof(*pnt));
   68|  2.18k|            pnt->header.prop_class = prop_class;
   69|  2.18k|            pnt->header.type = prop_type;
   70|  2.18k|            pnt->header.len = len;
   71|  2.18k|            pnt->tlv_class = opnt->tlv_class;
   72|  2.18k|            pnt->tlv_type = opnt->tlv_type;
   73|  2.18k|            pnt->tlv_len = opnt->tlv_len;
   74|  2.18k|            ofpbuf_put(out, opnt->data, tlv_pad_len);
   75|  2.18k|            break;
   76|  2.49k|        }
   77|    179|        default:
  ------------------
  |  Branch (77:9): [True: 179, False: 3.77k]
  ------------------
   78|    179|            return OFPERR_NXBAC_UNKNOWN_ED_PROP;
   79|  3.94k|        }
   80|  3.43k|        break;
   81|  3.94k|    }
   82|  3.43k|    default:
  ------------------
  |  Branch (82:5): [True: 475, False: 3.94k]
  ------------------
   83|    475|        return OFPERR_NXBAC_UNKNOWN_ED_PROP;
   84|  4.42k|    }
   85|       |
   86|  3.43k|    *remaining -= pad_len;
   87|  3.43k|    *ofp_prop = ALIGNED_CAST(const struct ofp_ed_prop_header *,
  ------------------
  |  |  434|  3.43k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
   88|  3.43k|                             ((char *)(*ofp_prop) + pad_len));
   89|  3.43k|    return 0;
   90|  4.42k|}
format_ed_prop_type:
  293|    340|{
  294|    340|    switch (prop->prop_class) {
  295|    340|    case OFPPPC_NSH:
  ------------------
  |  Branch (295:5): [True: 340, False: 0]
  ------------------
  296|    340|        switch (prop->type) {
  297|    172|        case OFPPPT_PROP_NSH_MDTYPE:
  ------------------
  |  Branch (297:9): [True: 172, False: 168]
  ------------------
  298|    172|            return "md_type";
  299|    168|        case OFPPPT_PROP_NSH_TLV:
  ------------------
  |  Branch (299:9): [True: 168, False: 172]
  ------------------
  300|    168|            return "tlv";
  301|      0|        default:
  ------------------
  |  Branch (301:9): [True: 0, False: 340]
  ------------------
  302|      0|            OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  303|    340|        }
  304|      0|        break;
  305|      0|    default:
  ------------------
  |  Branch (305:5): [True: 0, False: 340]
  ------------------
  306|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  307|    340|    }
  308|    340|}
format_ed_prop:
  313|    340|{
  314|    340|    switch (prop->prop_class) {
  315|    340|    case OFPPPC_NSH:
  ------------------
  |  Branch (315:5): [True: 340, False: 0]
  ------------------
  316|    340|        switch (prop->type) {
  317|    172|        case OFPPPT_PROP_NSH_MDTYPE: {
  ------------------
  |  Branch (317:9): [True: 172, False: 168]
  ------------------
  318|    172|            struct ofpact_ed_prop_nsh_md_type *pnmt =
  319|    172|                ALIGNED_CAST(struct ofpact_ed_prop_nsh_md_type *, prop);
  ------------------
  |  |  434|    172|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  320|    172|            ds_put_format(s, "%s=%d", format_ed_prop_type(prop),
  321|    172|                          pnmt->md_type);
  322|    172|            return;
  323|      0|        }
  324|    168|        case OFPPPT_PROP_NSH_TLV: {
  ------------------
  |  Branch (324:9): [True: 168, False: 172]
  ------------------
  325|    168|            struct ofpact_ed_prop_nsh_tlv *pnt =
  326|    168|                ALIGNED_CAST(struct ofpact_ed_prop_nsh_tlv *, prop);
  ------------------
  |  |  434|    168|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  327|    168|            ds_put_format(s, "%s(0x%04x,%d,",
  328|    168|                          format_ed_prop_type(prop),
  329|    168|                          ntohs(pnt->tlv_class), pnt->tlv_type);
  330|    168|            ds_put_hex(s, pnt->data, pnt->tlv_len);
  331|    168|            ds_put_cstr(s,")");
  332|    168|            return;
  333|      0|        }
  334|      0|        default:
  ------------------
  |  Branch (334:9): [True: 0, False: 340]
  ------------------
  335|      0|            OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  336|    340|        }
  337|      0|    default:
  ------------------
  |  Branch (337:5): [True: 0, False: 340]
  ------------------
  338|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  339|    340|    }
  340|    340|}

ofperr_is_valid:
   76|  1.90M|{
   77|  1.90M|    return error >= OFPERR_OFS && error < OFPERR_OFS + OFPERR_N_ERRORS;
  ------------------
  |  |   52|  3.81M|#define OFPERR_OFS (1 << 30)
  ------------------
                  return error >= OFPERR_OFS && error < OFPERR_OFS + OFPERR_N_ERRORS;
  ------------------
  |  |   52|  1.90M|#define OFPERR_OFS (1 << 30)
  ------------------
                  return error >= OFPERR_OFS && error < OFPERR_OFS + OFPERR_N_ERRORS;
  ------------------
  |  |    3|  3.81M|#define OFPERR_N_ERRORS 198
  ------------------
  |  Branch (77:12): [True: 1.90M, False: 6.33k]
  |  Branch (77:35): [True: 1.90M, False: 101]
  ------------------
   78|  1.90M|}
ofperr_get_name:
   98|  1.90M|{
   99|  1.90M|    return (ofperr_is_valid(error)
  ------------------
  |  Branch (99:13): [True: 1.90M, False: 6.44k]
  ------------------
  100|  1.90M|            ? error_names[error - OFPERR_OFS]
  ------------------
  |  |   52|  1.90M|#define OFPERR_OFS (1 << 30)
  ------------------
  101|  1.90M|            : "<invalid>");
  102|  1.90M|}
ofperr_msg_format:
  248|   516k|{
  249|   516k|    ds_put_format(string, " %s\n", ofperr_get_name(error));
  250|       |
  251|   516k|    if (error == OFPERR_OFPHFC_INCOMPATIBLE || error == OFPERR_OFPHFC_EPERM) {
  ------------------
  |  Branch (251:9): [True: 15.3k, False: 501k]
  |  Branch (251:48): [True: 918, False: 500k]
  ------------------
  252|  16.2k|        ds_put_printable(string, payload->data, payload->size);
  253|   500k|    } else {
  254|   500k|        char *s = ofp_to_string(payload->data, payload->size,
  255|   500k|                                port_map, table_map, 1);
  256|   500k|        ds_put_cstr(string, s);
  257|   500k|        free(s);
  258|   500k|    }
  259|   516k|}
ofperr_decode_msg:
  303|   812k|{
  304|   812k|    const struct ofp_error_msg *oem;
  305|   812k|    enum ofpraw raw;
  306|   812k|    uint16_t type, code;
  307|   812k|    uint32_t vendor;
  308|       |
  309|   812k|    if (payload) {
  ------------------
  |  Branch (309:9): [True: 812k, False: 0]
  ------------------
  310|   812k|        memset(payload, 0, sizeof *payload);
  311|   812k|    }
  312|       |
  313|       |    /* Pull off the error message. */
  314|   812k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  315|   812k|    enum ofperr error = ofpraw_pull(&raw, &b);
  316|   812k|    if (error) {
  ------------------
  |  Branch (316:9): [True: 0, False: 812k]
  ------------------
  317|      0|        return 0;
  318|      0|    }
  319|   812k|    oem = ofpbuf_pull(&b, sizeof *oem);
  320|       |
  321|       |    /* Get the error type and code. */
  322|   812k|    vendor = 0;
  323|   812k|    type = ntohs(oem->type);
  324|   812k|    code = ntohs(oem->code);
  325|   812k|    if (type == NXET_VENDOR && code == NXVC_VENDOR_ERROR) {
  ------------------
  |  |   54|  1.62M|#define NXET_VENDOR 0xb0c2
  ------------------
  |  Branch (325:9): [True: 88.9k, False: 723k]
  |  Branch (325:32): [True: 76.0k, False: 12.9k]
  ------------------
  326|  76.0k|        const struct nx_vendor_error *nve = ofpbuf_try_pull(&b, sizeof *nve);
  327|  76.0k|        if (!nve) {
  ------------------
  |  Branch (327:13): [True: 296, False: 75.7k]
  ------------------
  328|    296|            return 0;
  329|    296|        }
  330|       |
  331|  75.7k|        vendor = ntohl(nve->vendor);
  332|  75.7k|        type = ntohs(nve->type);
  333|  75.7k|        code = ntohs(nve->code);
  334|   736k|    } else if (type == OFPET12_EXPERIMENTER) {
  ------------------
  |  |   59|   736k|#define OFPET12_EXPERIMENTER 0xffff
  ------------------
  |  Branch (334:16): [True: 152k, False: 583k]
  ------------------
  335|   152k|        const ovs_be32 *vendorp = ofpbuf_try_pull(&b, sizeof *vendorp);
  336|   152k|        if (!vendorp) {
  ------------------
  |  Branch (336:13): [True: 16.5k, False: 136k]
  ------------------
  337|  16.5k|            return 0;
  338|  16.5k|        }
  339|       |
  340|   136k|        vendor = ntohl(*vendorp);
  341|   136k|        type = code;
  342|   136k|        code = 0;
  343|   136k|    }
  344|       |
  345|       |    /* Translate the error type and code into an ofperr. */
  346|   795k|    error = ofperr_decode(oh->version, vendor, type, code);
  347|   795k|    if (error && payload) {
  ------------------
  |  Branch (347:9): [True: 516k, False: 278k]
  |  Branch (347:18): [True: 516k, False: 0]
  ------------------
  348|   516k|        ofpbuf_init(payload, b.size);
  349|   516k|        ofpbuf_push(payload, b.data, b.size);
  350|   516k|        ofpbuf_trim(payload);
  351|   516k|    }
  352|   795k|    return error;
  353|   812k|}
ofp-errors.c:ofperr_domain_from_version:
   46|   795k|{
   47|   795k|    switch (version) {
   48|  91.6k|    case OFP10_VERSION:
  ------------------
  |  Branch (48:5): [True: 91.6k, False: 703k]
  ------------------
   49|  91.6k|        return &ofperr_of10;
   50|  92.3k|    case OFP11_VERSION:
  ------------------
  |  Branch (50:5): [True: 92.3k, False: 702k]
  ------------------
   51|  92.3k|        return &ofperr_of11;
   52|   220k|    case OFP12_VERSION:
  ------------------
  |  Branch (52:5): [True: 220k, False: 574k]
  ------------------
   53|   220k|        return &ofperr_of12;
   54|   120k|    case OFP13_VERSION:
  ------------------
  |  Branch (54:5): [True: 120k, False: 674k]
  ------------------
   55|   120k|        return &ofperr_of13;
   56|   120k|    case OFP14_VERSION:
  ------------------
  |  Branch (56:5): [True: 120k, False: 674k]
  ------------------
   57|   120k|        return &ofperr_of14;
   58|   110k|    case OFP15_VERSION:
  ------------------
  |  Branch (58:5): [True: 110k, False: 684k]
  ------------------
   59|   110k|        return &ofperr_of15;
   60|  39.5k|    default:
  ------------------
  |  Branch (60:5): [True: 39.5k, False: 755k]
  ------------------
   61|       |        return NULL;
   62|   795k|    }
   63|   795k|}
ofp-errors.c:ofperr_decode:
   86|   795k|{
   87|   795k|    const struct ofperr_domain *domain = ofperr_domain_from_version(version);
   88|   795k|    return domain ? domain->decode(vendor, type, code) : 0;
  ------------------
  |  Branch (88:12): [True: 755k, False: 39.5k]
  ------------------
   89|   795k|}

ofp-errors.c:ofperr_of10_decode:
  416|  91.6k|{
  417|  91.6k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (417:13): [True: 57.7k, False: 33.9k]
  ------------------
  418|  1.44k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (418:5): [True: 1.44k, False: 90.1k]
  ------------------
  419|  1.44k|        return OFPERR_OFPHFC_INCOMPATIBLE;
  420|     77|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (420:5): [True: 77, False: 91.5k]
  ------------------
  421|     77|        return OFPERR_OFPHFC_EPERM;
  422|    701|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (422:5): [True: 701, False: 90.9k]
  ------------------
  423|    701|        return OFPERR_OFPBRC_BAD_VERSION;
  424|     70|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (424:5): [True: 70, False: 91.5k]
  ------------------
  425|     70|        return OFPERR_OFPBRC_BAD_TYPE;
  426|  2.58k|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (426:5): [True: 2.58k, False: 89.0k]
  ------------------
  427|  2.58k|        return OFPERR_OFPBRC_BAD_STAT;
  428|     79|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (428:5): [True: 79, False: 91.5k]
  ------------------
  429|     79|        return OFPERR_OFPBRC_BAD_VENDOR;
  430|     94|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (430:5): [True: 94, False: 91.5k]
  ------------------
  431|     94|        return OFPERR_OFPBRC_BAD_SUBTYPE;
  432|    277|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (432:5): [True: 277, False: 91.3k]
  ------------------
  433|    277|        return OFPERR_OFPBRC_EPERM;
  434|     38|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (434:5): [True: 38, False: 91.5k]
  ------------------
  435|     38|        return OFPERR_OFPBRC_BAD_LEN;
  436|     42|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (436:5): [True: 42, False: 91.5k]
  ------------------
  437|     42|        return OFPERR_OFPBRC_BUFFER_EMPTY;
  438|  1.73k|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (438:5): [True: 1.73k, False: 89.8k]
  ------------------
  439|  1.73k|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
  440|  1.09k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 512:
  ------------------
  |  Branch (440:5): [True: 1.09k, False: 90.5k]
  ------------------
  441|  1.09k|        return OFPERR_OFPBRC_BAD_TABLE_ID;
  442|     72|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 514:
  ------------------
  |  Branch (442:5): [True: 72, False: 91.5k]
  ------------------
  443|     72|        return OFPERR_OFPBRC_BAD_PORT;
  444|    137|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 256:
  ------------------
  |  Branch (444:5): [True: 137, False: 91.4k]
  ------------------
  445|    137|        return OFPERR_NXBRC_NXM_INVALID;
  446|  6.65k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 257:
  ------------------
  |  Branch (446:5): [True: 6.65k, False: 84.9k]
  ------------------
  447|  6.65k|        return OFPERR_NXBRC_NXM_BAD_TYPE;
  448|    339|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 515:
  ------------------
  |  Branch (448:5): [True: 339, False: 91.2k]
  ------------------
  449|    339|        return OFPERR_NXBRC_MUST_BE_ZERO;
  450|  2.02k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 516:
  ------------------
  |  Branch (450:5): [True: 2.02k, False: 89.5k]
  ------------------
  451|  2.02k|        return OFPERR_NXBRC_BAD_REASON;
  452|    350|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 520:
  ------------------
  |  Branch (452:5): [True: 350, False: 91.2k]
  ------------------
  453|    350|        return OFPERR_NXBRC_FM_BAD_EVENT;
  454|     19|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 521:
  ------------------
  |  Branch (454:5): [True: 19, False: 91.5k]
  ------------------
  455|     19|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
  456|    220|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (456:5): [True: 220, False: 91.3k]
  ------------------
  457|    220|        return OFPERR_OFPBAC_BAD_TYPE;
  458|    137|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (458:5): [True: 137, False: 91.4k]
  ------------------
  459|    137|        return OFPERR_OFPBAC_BAD_LEN;
  460|  1.82k|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (460:5): [True: 1.82k, False: 89.7k]
  ------------------
  461|  1.82k|        return OFPERR_OFPBAC_BAD_VENDOR;
  462|    673|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (462:5): [True: 673, False: 90.9k]
  ------------------
  463|    673|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
  464|    349|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (464:5): [True: 349, False: 91.2k]
  ------------------
  465|    349|        return OFPERR_OFPBAC_BAD_OUT_PORT;
  466|    184|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (466:5): [True: 184, False: 91.4k]
  ------------------
  467|    184|        return OFPERR_OFPBAC_BAD_ARGUMENT;
  468|    246|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (468:5): [True: 246, False: 91.3k]
  ------------------
  469|    246|        return OFPERR_OFPBAC_EPERM;
  470|    603|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (470:5): [True: 603, False: 91.0k]
  ------------------
  471|    603|        return OFPERR_OFPBAC_TOO_MANY;
  472|  6.62k|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (472:5): [True: 6.62k, False: 84.9k]
  ------------------
  473|  6.62k|        return OFPERR_OFPBAC_BAD_QUEUE;
  474|     34|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (474:5): [True: 34, False: 91.5k]
  ------------------
  475|     34|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
  476|    166|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 522:
  ------------------
  |  Branch (476:5): [True: 166, False: 91.4k]
  ------------------
  477|    166|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
  478|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 523:
  ------------------
  |  Branch (478:5): [True: 66, False: 91.5k]
  ------------------
  479|     66|        return OFPERR_OFPBAC_BAD_SET_TYPE;
  480|    219|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 524:
  ------------------
  |  Branch (480:5): [True: 219, False: 91.3k]
  ------------------
  481|    219|        return OFPERR_OFPBAC_BAD_SET_LEN;
  482|    412|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 525:
  ------------------
  |  Branch (482:5): [True: 412, False: 91.2k]
  ------------------
  483|    412|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
  484|     34|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 256:
  ------------------
  |  Branch (484:5): [True: 34, False: 91.5k]
  ------------------
  485|     34|        return OFPERR_NXBAC_MUST_BE_ZERO;
  486|      6|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 526:
  ------------------
  |  Branch (486:5): [True: 6, False: 91.6k]
  ------------------
  487|      6|        return OFPERR_NXBAC_BAD_CONJUNCTION;
  488|     69|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 265:
  ------------------
  |  Branch (488:5): [True: 69, False: 91.5k]
  ------------------
  489|     69|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
  490|     67|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 257:
  ------------------
  |  Branch (490:5): [True: 67, False: 91.5k]
  ------------------
  491|     67|        return OFPERR_OFPBIC_UNSUP_INST;
  492|  1.06k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 262:
  ------------------
  |  Branch (492:5): [True: 1.06k, False: 90.5k]
  ------------------
  493|  1.06k|        return OFPERR_OFPBMC_BAD_WILDCARDS;
  494|     34|    case (0x2320ULL << 32) |  ((uint32_t) 0 << 16) | 263:
  ------------------
  |  Branch (494:5): [True: 34, False: 91.5k]
  ------------------
  495|     34|        return OFPERR_OFPBMC_BAD_FIELD;
  496|    120|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 258:
  ------------------
  |  Branch (496:5): [True: 120, False: 91.4k]
  ------------------
  497|    120|        return OFPERR_OFPBMC_BAD_VALUE;
  498|     19|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 259:
  ------------------
  |  Branch (498:5): [True: 19, False: 91.5k]
  ------------------
  499|     19|        return OFPERR_OFPBMC_BAD_MASK;
  500|  3.71k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 260:
  ------------------
  |  Branch (500:5): [True: 3.71k, False: 87.9k]
  ------------------
  501|  3.71k|        return OFPERR_OFPBMC_BAD_PREREQ;
  502|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 261:
  ------------------
  |  Branch (502:5): [True: 66, False: 91.5k]
  ------------------
  503|     66|        return OFPERR_OFPBMC_DUP_FIELD;
  504|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 264:
  ------------------
  |  Branch (504:5): [True: 66, False: 91.5k]
  ------------------
  505|     66|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
  506|    209|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (506:5): [True: 209, False: 91.4k]
  ------------------
  507|    209|        return OFPERR_OFPFMFC_TABLE_FULL;
  508|     67|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (508:5): [True: 67, False: 91.5k]
  ------------------
  509|     67|        return OFPERR_OFPFMFC_OVERLAP;
  510|    758|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (510:5): [True: 758, False: 90.8k]
  ------------------
  511|    758|        return OFPERR_OFPFMFC_EPERM;
  512|    198|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (512:5): [True: 198, False: 91.4k]
  ------------------
  513|    198|        return OFPERR_OFPFMFC_BAD_EMERG_TIMEOUT;
  514|    101|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (514:5): [True: 101, False: 91.5k]
  ------------------
  515|    101|        return OFPERR_OFPFMFC_BAD_COMMAND;
  516|     34|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 258:
  ------------------
  |  Branch (516:5): [True: 34, False: 91.5k]
  ------------------
  517|     34|        return OFPERR_OFPFMFC_BAD_FLAGS;
  518|     66|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (518:5): [True: 66, False: 91.5k]
  ------------------
  519|     66|        return OFPERR_OFPFMFC_UNSUPPORTED;
  520|     38|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 256:
  ------------------
  |  Branch (520:5): [True: 38, False: 91.5k]
  ------------------
  521|     38|        return OFPERR_NXFMFC_HARDWARE;
  522|    140|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 257:
  ------------------
  |  Branch (522:5): [True: 140, False: 91.4k]
  ------------------
  523|    140|        return OFPERR_NXFMFC_BAD_TABLE_ID;
  524|     18|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 536:
  ------------------
  |  Branch (524:5): [True: 18, False: 91.5k]
  ------------------
  525|     18|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
  526|    712|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (526:5): [True: 712, False: 90.9k]
  ------------------
  527|    712|        return OFPERR_OFPGMFC_GROUP_EXISTS;
  528|     70|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (528:5): [True: 70, False: 91.5k]
  ------------------
  529|     70|        return OFPERR_OFPGMFC_INVALID_GROUP;
  530|     66|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (530:5): [True: 66, False: 91.5k]
  ------------------
  531|     66|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
  532|     35|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (532:5): [True: 35, False: 91.5k]
  ------------------
  533|     35|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
  534|     10|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (534:5): [True: 10, False: 91.6k]
  ------------------
  535|     10|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
  536|     75|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (536:5): [True: 75, False: 91.5k]
  ------------------
  537|     75|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
  538|     70|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (538:5): [True: 70, False: 91.5k]
  ------------------
  539|     70|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
  540|    117|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (540:5): [True: 117, False: 91.4k]
  ------------------
  541|    117|        return OFPERR_OFPGMFC_LOOP;
  542|     66|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (542:5): [True: 66, False: 91.5k]
  ------------------
  543|     66|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
  544|    194|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 9:
  ------------------
  |  Branch (544:5): [True: 194, False: 91.4k]
  ------------------
  545|    194|        return OFPERR_OFPGMFC_CHAINED_GROUP;
  546|     19|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 10:
  ------------------
  |  Branch (546:5): [True: 19, False: 91.5k]
  ------------------
  547|     19|        return OFPERR_OFPGMFC_BAD_TYPE;
  548|     66|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 11:
  ------------------
  |  Branch (548:5): [True: 66, False: 91.5k]
  ------------------
  549|     66|        return OFPERR_OFPGMFC_BAD_COMMAND;
  550|     18|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 12:
  ------------------
  |  Branch (550:5): [True: 18, False: 91.5k]
  ------------------
  551|     18|        return OFPERR_OFPGMFC_BAD_BUCKET;
  552|    195|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 13:
  ------------------
  |  Branch (552:5): [True: 195, False: 91.4k]
  ------------------
  553|    195|        return OFPERR_OFPGMFC_BAD_WATCH;
  554|     62|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 14:
  ------------------
  |  Branch (554:5): [True: 62, False: 91.5k]
  ------------------
  555|     62|        return OFPERR_OFPGMFC_EPERM;
  556|     66|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 15:
  ------------------
  |  Branch (556:5): [True: 66, False: 91.5k]
  ------------------
  557|     66|        return OFPERR_OFPGMFC_UNKNOWN_BUCKET;
  558|     18|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 16:
  ------------------
  |  Branch (558:5): [True: 18, False: 91.5k]
  ------------------
  559|     18|        return OFPERR_OFPGMFC_BUCKET_EXISTS;
  560|    199|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (560:5): [True: 199, False: 91.4k]
  ------------------
  561|    199|        return OFPERR_OFPPMFC_BAD_PORT;
  562|    203|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (562:5): [True: 203, False: 91.4k]
  ------------------
  563|    203|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
  564|  1.27k|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (564:5): [True: 1.27k, False: 90.3k]
  ------------------
  565|  1.27k|        return OFPERR_OFPQOFC_BAD_PORT;
  566|    248|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (566:5): [True: 248, False: 91.3k]
  ------------------
  567|    248|        return OFPERR_OFPQOFC_BAD_QUEUE;
  568|  1.72k|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (568:5): [True: 1.72k, False: 89.8k]
  ------------------
  569|  1.72k|        return OFPERR_OFPQOFC_EPERM;
  570|     18|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 513:
  ------------------
  |  Branch (570:5): [True: 18, False: 91.5k]
  ------------------
  571|     18|        return OFPERR_OFPRRFC_BAD_ROLE;
  572|    167|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 2:
  ------------------
  |  Branch (572:5): [True: 167, False: 91.4k]
  ------------------
  573|    167|        return OFPERR_OFPBPC_BAD_TYPE;
  574|  1.20k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 3:
  ------------------
  |  Branch (574:5): [True: 1.20k, False: 90.4k]
  ------------------
  575|  1.20k|        return OFPERR_OFPBPC_BAD_LEN;
  576|     70|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 4:
  ------------------
  |  Branch (576:5): [True: 70, False: 91.5k]
  ------------------
  577|     70|        return OFPERR_OFPBPC_BAD_VALUE;
  578|     37|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 3:
  ------------------
  |  Branch (578:5): [True: 37, False: 91.5k]
  ------------------
  579|     37|        return OFPERR_OFPBPC_TOO_MANY;
  580|     34|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 4:
  ------------------
  |  Branch (580:5): [True: 34, False: 91.5k]
  ------------------
  581|     34|        return OFPERR_OFPBPC_DUP_TYPE;
  582|  4.80k|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 5:
  ------------------
  |  Branch (582:5): [True: 4.80k, False: 86.8k]
  ------------------
  583|  4.80k|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
  584|  1.38k|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 6:
  ------------------
  |  Branch (584:5): [True: 1.38k, False: 90.2k]
  ------------------
  585|  1.38k|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
  586|  2.26k|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 7:
  ------------------
  |  Branch (586:5): [True: 2.26k, False: 89.3k]
  ------------------
  587|  2.26k|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
  588|     78|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 8:
  ------------------
  |  Branch (588:5): [True: 78, False: 91.5k]
  ------------------
  589|     78|        return OFPERR_OFPBPC_EPERM;
  590|  2.37k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 517:
  ------------------
  |  Branch (590:5): [True: 2.37k, False: 89.2k]
  ------------------
  591|  2.37k|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
  592|  1.29k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 519:
  ------------------
  |  Branch (592:5): [True: 1.29k, False: 90.3k]
  ------------------
  593|  1.29k|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
  594|     36|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 518:
  ------------------
  |  Branch (594:5): [True: 36, False: 91.5k]
  ------------------
  595|     36|        return OFPERR_OFPMOFC_BAD_FLAGS;
  596|  1.35k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 527:
  ------------------
  |  Branch (596:5): [True: 1.35k, False: 90.2k]
  ------------------
  597|  1.35k|        return OFPERR_NXTTMFC_BAD_COMMAND;
  598|     18|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 528:
  ------------------
  |  Branch (598:5): [True: 18, False: 91.5k]
  ------------------
  599|     18|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
  600|     19|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 529:
  ------------------
  |  Branch (600:5): [True: 19, False: 91.5k]
  ------------------
  601|     19|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
  602|    197|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 530:
  ------------------
  |  Branch (602:5): [True: 197, False: 91.4k]
  ------------------
  603|    197|        return OFPERR_NXTTMFC_TABLE_FULL;
  604|     20|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 531:
  ------------------
  |  Branch (604:5): [True: 20, False: 91.5k]
  ------------------
  605|     20|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
  606|     78|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 532:
  ------------------
  |  Branch (606:5): [True: 78, False: 91.5k]
  ------------------
  607|     78|        return OFPERR_NXTTMFC_DUP_ENTRY;
  608|     71|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 537:
  ------------------
  |  Branch (608:5): [True: 71, False: 91.5k]
  ------------------
  609|     71|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
  610|     81|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 533:
  ------------------
  |  Branch (610:5): [True: 81, False: 91.5k]
  ------------------
  611|     81|        return OFPERR_NXR_NOT_SUPPORTED;
  612|     10|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 534:
  ------------------
  |  Branch (612:5): [True: 10, False: 91.6k]
  ------------------
  613|     10|        return OFPERR_NXR_STALE;
  614|    122|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 535:
  ------------------
  |  Branch (614:5): [True: 122, False: 91.4k]
  ------------------
  615|    122|        return OFPERR_NXST_NOT_CONFIGURED;
  616|  91.6k|    }
  617|       |
  618|  33.9k|    return 0;
  619|  91.6k|}
ofp-errors.c:ofperr_of11_decode:
  829|  92.3k|{
  830|  92.3k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (830:13): [True: 62.9k, False: 29.3k]
  ------------------
  831|  2.92k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (831:5): [True: 2.92k, False: 89.4k]
  ------------------
  832|  2.92k|        return OFPERR_OFPHFC_INCOMPATIBLE;
  833|     91|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (833:5): [True: 91, False: 92.2k]
  ------------------
  834|     91|        return OFPERR_OFPHFC_EPERM;
  835|     69|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (835:5): [True: 69, False: 92.3k]
  ------------------
  836|     69|        return OFPERR_OFPBRC_BAD_VERSION;
  837|     34|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (837:5): [True: 34, False: 92.3k]
  ------------------
  838|     34|        return OFPERR_OFPBRC_BAD_TYPE;
  839|     42|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (839:5): [True: 42, False: 92.3k]
  ------------------
  840|     42|        return OFPERR_OFPBRC_BAD_STAT;
  841|    449|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (841:5): [True: 449, False: 91.9k]
  ------------------
  842|    449|        return OFPERR_OFPBRC_BAD_VENDOR;
  843|    474|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (843:5): [True: 474, False: 91.9k]
  ------------------
  844|    474|        return OFPERR_OFPBRC_BAD_SUBTYPE;
  845|    479|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (845:5): [True: 479, False: 91.9k]
  ------------------
  846|    479|        return OFPERR_OFPBRC_EPERM;
  847|    328|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (847:5): [True: 328, False: 92.0k]
  ------------------
  848|    328|        return OFPERR_OFPBRC_BAD_LEN;
  849|     67|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (849:5): [True: 67, False: 92.3k]
  ------------------
  850|     67|        return OFPERR_OFPBRC_BUFFER_EMPTY;
  851|  1.80k|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (851:5): [True: 1.80k, False: 90.5k]
  ------------------
  852|  1.80k|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
  853|  1.41k|    case  ((uint32_t) 1 << 16) | 9:
  ------------------
  |  Branch (853:5): [True: 1.41k, False: 90.9k]
  ------------------
  854|  1.41k|        return OFPERR_OFPBRC_BAD_TABLE_ID;
  855|    365|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 514:
  ------------------
  |  Branch (855:5): [True: 365, False: 92.0k]
  ------------------
  856|    365|        return OFPERR_OFPBRC_BAD_PORT;
  857|  2.67k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 256:
  ------------------
  |  Branch (857:5): [True: 2.67k, False: 89.7k]
  ------------------
  858|  2.67k|        return OFPERR_NXBRC_NXM_INVALID;
  859|  2.57k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 257:
  ------------------
  |  Branch (859:5): [True: 2.57k, False: 89.8k]
  ------------------
  860|  2.57k|        return OFPERR_NXBRC_NXM_BAD_TYPE;
  861|     89|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 515:
  ------------------
  |  Branch (861:5): [True: 89, False: 92.2k]
  ------------------
  862|     89|        return OFPERR_NXBRC_MUST_BE_ZERO;
  863|    870|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 516:
  ------------------
  |  Branch (863:5): [True: 870, False: 91.5k]
  ------------------
  864|    870|        return OFPERR_NXBRC_BAD_REASON;
  865|    195|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 520:
  ------------------
  |  Branch (865:5): [True: 195, False: 92.1k]
  ------------------
  866|    195|        return OFPERR_NXBRC_FM_BAD_EVENT;
  867|    240|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 521:
  ------------------
  |  Branch (867:5): [True: 240, False: 92.1k]
  ------------------
  868|    240|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
  869|    206|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (869:5): [True: 206, False: 92.1k]
  ------------------
  870|    206|        return OFPERR_OFPBAC_BAD_TYPE;
  871|    137|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (871:5): [True: 137, False: 92.2k]
  ------------------
  872|    137|        return OFPERR_OFPBAC_BAD_LEN;
  873|    567|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (873:5): [True: 567, False: 91.8k]
  ------------------
  874|    567|        return OFPERR_OFPBAC_BAD_VENDOR;
  875|    207|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (875:5): [True: 207, False: 92.1k]
  ------------------
  876|    207|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
  877|    168|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (877:5): [True: 168, False: 92.2k]
  ------------------
  878|    168|        return OFPERR_OFPBAC_BAD_OUT_PORT;
  879|    257|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (879:5): [True: 257, False: 92.1k]
  ------------------
  880|    257|        return OFPERR_OFPBAC_BAD_ARGUMENT;
  881|     82|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (881:5): [True: 82, False: 92.3k]
  ------------------
  882|     82|        return OFPERR_OFPBAC_EPERM;
  883|     68|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (883:5): [True: 68, False: 92.3k]
  ------------------
  884|     68|        return OFPERR_OFPBAC_TOO_MANY;
  885|  4.67k|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (885:5): [True: 4.67k, False: 87.7k]
  ------------------
  886|  4.67k|        return OFPERR_OFPBAC_BAD_QUEUE;
  887|    197|    case  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (887:5): [True: 197, False: 92.1k]
  ------------------
  888|    197|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
  889|     34|    case  ((uint32_t) 2 << 16) | 10:
  ------------------
  |  Branch (889:5): [True: 34, False: 92.3k]
  ------------------
  890|     34|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
  891|     35|    case  ((uint32_t) 2 << 16) | 11:
  ------------------
  |  Branch (891:5): [True: 35, False: 92.3k]
  ------------------
  892|     35|        return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
  893|  4.31k|    case  ((uint32_t) 2 << 16) | 12:
  ------------------
  |  Branch (893:5): [True: 4.31k, False: 88.0k]
  ------------------
  894|  4.31k|        return OFPERR_OFPBAC_BAD_TAG;
  895|    200|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 523:
  ------------------
  |  Branch (895:5): [True: 200, False: 92.1k]
  ------------------
  896|    200|        return OFPERR_OFPBAC_BAD_SET_TYPE;
  897|  1.20k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 524:
  ------------------
  |  Branch (897:5): [True: 1.20k, False: 91.1k]
  ------------------
  898|  1.20k|        return OFPERR_OFPBAC_BAD_SET_LEN;
  899|    114|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 525:
  ------------------
  |  Branch (899:5): [True: 114, False: 92.2k]
  ------------------
  900|    114|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
  901|    196|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 256:
  ------------------
  |  Branch (901:5): [True: 196, False: 92.1k]
  ------------------
  902|    196|        return OFPERR_NXBAC_MUST_BE_ZERO;
  903|     18|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 526:
  ------------------
  |  Branch (903:5): [True: 18, False: 92.3k]
  ------------------
  904|     18|        return OFPERR_NXBAC_BAD_CONJUNCTION;
  905|     55|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 265:
  ------------------
  |  Branch (905:5): [True: 55, False: 92.3k]
  ------------------
  906|     55|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
  907|    148|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (907:5): [True: 148, False: 92.2k]
  ------------------
  908|    148|        return OFPERR_OFPBIC_UNKNOWN_INST;
  909|    966|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (909:5): [True: 966, False: 91.4k]
  ------------------
  910|    966|        return OFPERR_OFPBIC_UNSUP_INST;
  911|    507|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (911:5): [True: 507, False: 91.8k]
  ------------------
  912|    507|        return OFPERR_OFPBIC_BAD_TABLE_ID;
  913|    104|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (913:5): [True: 104, False: 92.2k]
  ------------------
  914|    104|        return OFPERR_OFPBIC_UNSUP_METADATA;
  915|     68|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (915:5): [True: 68, False: 92.3k]
  ------------------
  916|     68|        return OFPERR_OFPBIC_UNSUP_METADATA_MASK;
  917|     90|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (917:5): [True: 90, False: 92.2k]
  ------------------
  918|     90|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
  919|     67|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 256:
  ------------------
  |  Branch (919:5): [True: 67, False: 92.3k]
  ------------------
  920|     67|        return OFPERR_OFPBIC_DUP_INST;
  921|    600|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (921:5): [True: 600, False: 91.7k]
  ------------------
  922|    600|        return OFPERR_OFPBMC_BAD_TYPE;
  923|    484|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (923:5): [True: 484, False: 91.8k]
  ------------------
  924|    484|        return OFPERR_OFPBMC_BAD_LEN;
  925|     37|    case  ((uint32_t) 4 << 16) | 2:
  ------------------
  |  Branch (925:5): [True: 37, False: 92.3k]
  ------------------
  926|     37|        return OFPERR_OFPBMC_BAD_TAG;
  927|     36|    case  ((uint32_t) 4 << 16) | 3:
  ------------------
  |  Branch (927:5): [True: 36, False: 92.3k]
  ------------------
  928|     36|        return OFPERR_OFPBMC_BAD_DL_ADDR_MASK;
  929|  1.49k|    case  ((uint32_t) 4 << 16) | 4:
  ------------------
  |  Branch (929:5): [True: 1.49k, False: 90.8k]
  ------------------
  930|  1.49k|        return OFPERR_OFPBMC_BAD_NW_ADDR_MASK;
  931|  1.05k|    case  ((uint32_t) 4 << 16) | 5:
  ------------------
  |  Branch (931:5): [True: 1.05k, False: 91.3k]
  ------------------
  932|  1.05k|        return OFPERR_OFPBMC_BAD_WILDCARDS;
  933|     66|    case  ((uint32_t) 4 << 16) | 6:
  ------------------
  |  Branch (933:5): [True: 66, False: 92.3k]
  ------------------
  934|     66|        return OFPERR_OFPBMC_BAD_FIELD;
  935|     40|    case  ((uint32_t) 4 << 16) | 7:
  ------------------
  |  Branch (935:5): [True: 40, False: 92.3k]
  ------------------
  936|     40|        return OFPERR_OFPBMC_BAD_VALUE;
  937|    220|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 259:
  ------------------
  |  Branch (937:5): [True: 220, False: 92.1k]
  ------------------
  938|    220|        return OFPERR_OFPBMC_BAD_MASK;
  939|  2.25k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 260:
  ------------------
  |  Branch (939:5): [True: 2.25k, False: 90.1k]
  ------------------
  940|  2.25k|        return OFPERR_OFPBMC_BAD_PREREQ;
  941|     89|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 261:
  ------------------
  |  Branch (941:5): [True: 89, False: 92.2k]
  ------------------
  942|     89|        return OFPERR_OFPBMC_DUP_FIELD;
  943|     49|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 264:
  ------------------
  |  Branch (943:5): [True: 49, False: 92.3k]
  ------------------
  944|     49|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
  945|     70|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (945:5): [True: 70, False: 92.3k]
  ------------------
  946|     70|        return OFPERR_OFPFMFC_UNKNOWN;
  947|     38|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (947:5): [True: 38, False: 92.3k]
  ------------------
  948|     38|        return OFPERR_OFPFMFC_TABLE_FULL;
  949|  1.81k|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (949:5): [True: 1.81k, False: 90.5k]
  ------------------
  950|  1.81k|        return OFPERR_OFPFMFC_BAD_TABLE_ID;
  951|     68|    case  ((uint32_t) 5 << 16) | 3:
  ------------------
  |  Branch (951:5): [True: 68, False: 92.3k]
  ------------------
  952|     68|        return OFPERR_OFPFMFC_OVERLAP;
  953|    590|    case  ((uint32_t) 5 << 16) | 4:
  ------------------
  |  Branch (953:5): [True: 590, False: 91.7k]
  ------------------
  954|    590|        return OFPERR_OFPFMFC_EPERM;
  955|  1.51k|    case  ((uint32_t) 5 << 16) | 5:
  ------------------
  |  Branch (955:5): [True: 1.51k, False: 90.8k]
  ------------------
  956|  1.51k|        return OFPERR_OFPFMFC_BAD_TIMEOUT;
  957|     34|    case  ((uint32_t) 5 << 16) | 6:
  ------------------
  |  Branch (957:5): [True: 34, False: 92.3k]
  ------------------
  958|     34|        return OFPERR_OFPFMFC_BAD_COMMAND;
  959|     18|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 258:
  ------------------
  |  Branch (959:5): [True: 18, False: 92.3k]
  ------------------
  960|     18|        return OFPERR_OFPFMFC_BAD_FLAGS;
  961|    195|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 256:
  ------------------
  |  Branch (961:5): [True: 195, False: 92.1k]
  ------------------
  962|    195|        return OFPERR_NXFMFC_HARDWARE;
  963|     11|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 257:
  ------------------
  |  Branch (963:5): [True: 11, False: 92.3k]
  ------------------
  964|     11|        return OFPERR_NXFMFC_BAD_TABLE_ID;
  965|    211|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 536:
  ------------------
  |  Branch (965:5): [True: 211, False: 92.1k]
  ------------------
  966|    211|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
  967|     45|    case  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (967:5): [True: 45, False: 92.3k]
  ------------------
  968|     45|        return OFPERR_OFPGMFC_GROUP_EXISTS;
  969|    728|    case  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (969:5): [True: 728, False: 91.6k]
  ------------------
  970|    728|        return OFPERR_OFPGMFC_INVALID_GROUP;
  971|    182|    case  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (971:5): [True: 182, False: 92.2k]
  ------------------
  972|    182|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
  973|     70|    case  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (973:5): [True: 70, False: 92.3k]
  ------------------
  974|     70|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
  975|  1.19k|    case  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (975:5): [True: 1.19k, False: 91.1k]
  ------------------
  976|  1.19k|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
  977|    310|    case  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (977:5): [True: 310, False: 92.0k]
  ------------------
  978|    310|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
  979|     69|    case  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (979:5): [True: 69, False: 92.3k]
  ------------------
  980|     69|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
  981|    126|    case  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (981:5): [True: 126, False: 92.2k]
  ------------------
  982|    126|        return OFPERR_OFPGMFC_LOOP;
  983|    821|    case  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (983:5): [True: 821, False: 91.5k]
  ------------------
  984|    821|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
  985|     67|    case  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (985:5): [True: 67, False: 92.3k]
  ------------------
  986|     67|        return OFPERR_OFPPMFC_BAD_PORT;
  987|     66|    case  ((uint32_t) 7 << 16) | 1:
  ------------------
  |  Branch (987:5): [True: 66, False: 92.3k]
  ------------------
  988|     66|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
  989|    794|    case  ((uint32_t) 7 << 16) | 2:
  ------------------
  |  Branch (989:5): [True: 794, False: 91.5k]
  ------------------
  990|    794|        return OFPERR_OFPPMFC_BAD_CONFIG;
  991|    104|    case  ((uint32_t) 7 << 16) | 3:
  ------------------
  |  Branch (991:5): [True: 104, False: 92.2k]
  ------------------
  992|    104|        return OFPERR_OFPPMFC_BAD_ADVERTISE;
  993|    194|    case  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (993:5): [True: 194, False: 92.1k]
  ------------------
  994|    194|        return OFPERR_OFPTMFC_BAD_TABLE;
  995|  4.62k|    case  ((uint32_t) 8 << 16) | 1:
  ------------------
  |  Branch (995:5): [True: 4.62k, False: 87.7k]
  ------------------
  996|  4.62k|        return OFPERR_OFPTMFC_BAD_CONFIG;
  997|    238|    case  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (997:5): [True: 238, False: 92.1k]
  ------------------
  998|    238|        return OFPERR_OFPQOFC_BAD_PORT;
  999|    195|    case  ((uint32_t) 9 << 16) | 1:
  ------------------
  |  Branch (999:5): [True: 195, False: 92.1k]
  ------------------
 1000|    195|        return OFPERR_OFPQOFC_BAD_QUEUE;
 1001|     34|    case  ((uint32_t) 9 << 16) | 2:
  ------------------
  |  Branch (1001:5): [True: 34, False: 92.3k]
  ------------------
 1002|     34|        return OFPERR_OFPQOFC_EPERM;
 1003|     73|    case  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (1003:5): [True: 73, False: 92.3k]
  ------------------
 1004|     73|        return OFPERR_OFPSCFC_BAD_FLAGS;
 1005|     36|    case  ((uint32_t) 10 << 16) | 1:
  ------------------
  |  Branch (1005:5): [True: 36, False: 92.3k]
  ------------------
 1006|     36|        return OFPERR_OFPSCFC_BAD_LEN;
 1007|    113|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 513:
  ------------------
  |  Branch (1007:5): [True: 113, False: 92.2k]
  ------------------
 1008|    113|        return OFPERR_OFPRRFC_BAD_ROLE;
 1009|  1.37k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 2:
  ------------------
  |  Branch (1009:5): [True: 1.37k, False: 91.0k]
  ------------------
 1010|  1.37k|        return OFPERR_OFPBPC_BAD_TYPE;
 1011|  2.44k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 3:
  ------------------
  |  Branch (1011:5): [True: 2.44k, False: 89.9k]
  ------------------
 1012|  2.44k|        return OFPERR_OFPBPC_BAD_LEN;
 1013|     36|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 4:
  ------------------
  |  Branch (1013:5): [True: 36, False: 92.3k]
  ------------------
 1014|     36|        return OFPERR_OFPBPC_BAD_VALUE;
 1015|     66|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 3:
  ------------------
  |  Branch (1015:5): [True: 66, False: 92.3k]
  ------------------
 1016|     66|        return OFPERR_OFPBPC_TOO_MANY;
 1017|     18|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 4:
  ------------------
  |  Branch (1017:5): [True: 18, False: 92.3k]
  ------------------
 1018|     18|        return OFPERR_OFPBPC_DUP_TYPE;
 1019|  2.23k|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 5:
  ------------------
  |  Branch (1019:5): [True: 2.23k, False: 90.1k]
  ------------------
 1020|  2.23k|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
 1021|  1.62k|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 6:
  ------------------
  |  Branch (1021:5): [True: 1.62k, False: 90.7k]
  ------------------
 1022|  1.62k|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
 1023|    926|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 7:
  ------------------
  |  Branch (1023:5): [True: 926, False: 91.4k]
  ------------------
 1024|    926|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
 1025|    197|    case (0x2320ULL << 32) |  ((uint32_t) 14 << 16) | 8:
  ------------------
  |  Branch (1025:5): [True: 197, False: 92.1k]
  ------------------
 1026|    197|        return OFPERR_OFPBPC_EPERM;
 1027|    196|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 517:
  ------------------
  |  Branch (1027:5): [True: 196, False: 92.1k]
  ------------------
 1028|    196|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
 1029|    561|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 519:
  ------------------
  |  Branch (1029:5): [True: 561, False: 91.8k]
  ------------------
 1030|    561|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
 1031|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 518:
  ------------------
  |  Branch (1031:5): [True: 66, False: 92.3k]
  ------------------
 1032|     66|        return OFPERR_OFPMOFC_BAD_FLAGS;
 1033|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 527:
  ------------------
  |  Branch (1033:5): [True: 66, False: 92.3k]
  ------------------
 1034|     66|        return OFPERR_NXTTMFC_BAD_COMMAND;
 1035|     19|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 528:
  ------------------
  |  Branch (1035:5): [True: 19, False: 92.3k]
  ------------------
 1036|     19|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
 1037|    184|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 529:
  ------------------
  |  Branch (1037:5): [True: 184, False: 92.1k]
  ------------------
 1038|    184|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
 1039|     67|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 530:
  ------------------
  |  Branch (1039:5): [True: 67, False: 92.3k]
  ------------------
 1040|     67|        return OFPERR_NXTTMFC_TABLE_FULL;
 1041|     68|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 531:
  ------------------
  |  Branch (1041:5): [True: 68, False: 92.3k]
  ------------------
 1042|     68|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
 1043|     70|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 532:
  ------------------
  |  Branch (1043:5): [True: 70, False: 92.3k]
  ------------------
 1044|     70|        return OFPERR_NXTTMFC_DUP_ENTRY;
 1045|    200|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 537:
  ------------------
  |  Branch (1045:5): [True: 200, False: 92.1k]
  ------------------
 1046|    200|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
 1047|  1.18k|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 533:
  ------------------
  |  Branch (1047:5): [True: 1.18k, False: 91.2k]
  ------------------
 1048|  1.18k|        return OFPERR_NXR_NOT_SUPPORTED;
 1049|     66|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 534:
  ------------------
  |  Branch (1049:5): [True: 66, False: 92.3k]
  ------------------
 1050|     66|        return OFPERR_NXR_STALE;
 1051|    397|    case (0x2320ULL << 32) |  ((uint32_t) 1 << 16) | 535:
  ------------------
  |  Branch (1051:5): [True: 397, False: 91.9k]
  ------------------
 1052|    397|        return OFPERR_NXST_NOT_CONFIGURED;
 1053|  92.3k|    }
 1054|       |
 1055|  29.3k|    return 0;
 1056|  92.3k|}
ofp-errors.c:ofperr_of12_decode:
 1266|   220k|{
 1267|   220k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (1267:13): [True: 146k, False: 74.3k]
  ------------------
 1268|  3.38k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (1268:5): [True: 3.38k, False: 217k]
  ------------------
 1269|  3.38k|        return OFPERR_OFPHFC_INCOMPATIBLE;
 1270|    190|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (1270:5): [True: 190, False: 220k]
  ------------------
 1271|    190|        return OFPERR_OFPHFC_EPERM;
 1272|    140|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (1272:5): [True: 140, False: 220k]
  ------------------
 1273|    140|        return OFPERR_OFPBRC_BAD_VERSION;
 1274|  1.80k|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (1274:5): [True: 1.80k, False: 218k]
  ------------------
 1275|  1.80k|        return OFPERR_OFPBRC_BAD_TYPE;
 1276|  11.2k|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (1276:5): [True: 11.2k, False: 209k]
  ------------------
 1277|  11.2k|        return OFPERR_OFPBRC_BAD_STAT;
 1278|    236|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (1278:5): [True: 236, False: 220k]
  ------------------
 1279|    236|        return OFPERR_OFPBRC_BAD_VENDOR;
 1280|     66|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (1280:5): [True: 66, False: 220k]
  ------------------
 1281|     66|        return OFPERR_OFPBRC_BAD_SUBTYPE;
 1282|  2.44k|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (1282:5): [True: 2.44k, False: 217k]
  ------------------
 1283|  2.44k|        return OFPERR_OFPBRC_EPERM;
 1284|    585|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (1284:5): [True: 585, False: 219k]
  ------------------
 1285|    585|        return OFPERR_OFPBRC_BAD_LEN;
 1286|     86|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (1286:5): [True: 86, False: 220k]
  ------------------
 1287|     86|        return OFPERR_OFPBRC_BUFFER_EMPTY;
 1288|    401|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (1288:5): [True: 401, False: 220k]
  ------------------
 1289|    401|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
 1290|     84|    case  ((uint32_t) 1 << 16) | 9:
  ------------------
  |  Branch (1290:5): [True: 84, False: 220k]
  ------------------
 1291|     84|        return OFPERR_OFPBRC_BAD_TABLE_ID;
 1292|    219|    case  ((uint32_t) 1 << 16) | 10:
  ------------------
  |  Branch (1292:5): [True: 219, False: 220k]
  ------------------
 1293|    219|        return OFPERR_OFPBRC_IS_SECONDARY;
 1294|    728|    case  ((uint32_t) 1 << 16) | 11:
  ------------------
  |  Branch (1294:5): [True: 728, False: 219k]
  ------------------
 1295|    728|        return OFPERR_OFPBRC_BAD_PORT;
 1296|    699|    case  ((uint32_t) 1 << 16) | 12:
  ------------------
  |  Branch (1296:5): [True: 699, False: 219k]
  ------------------
 1297|    699|        return OFPERR_OFPBRC_BAD_PACKET;
 1298|    236|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (1298:5): [True: 236, False: 220k]
  ------------------
 1299|    236|        return OFPERR_NXBRC_NXM_INVALID;
 1300|    107|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (1300:5): [True: 107, False: 220k]
  ------------------
 1301|    107|        return OFPERR_NXBRC_NXM_BAD_TYPE;
 1302|    656|    case (0x2320ULL << 32) |  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (1302:5): [True: 656, False: 219k]
  ------------------
 1303|    656|        return OFPERR_NXBRC_MUST_BE_ZERO;
 1304|     71|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (1304:5): [True: 71, False: 220k]
  ------------------
 1305|     71|        return OFPERR_NXBRC_BAD_REASON;
 1306|  11.3k|    case (0x2320ULL << 32) |  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (1306:5): [True: 11.3k, False: 209k]
  ------------------
 1307|  11.3k|        return OFPERR_NXBRC_FM_BAD_EVENT;
 1308|  4.23k|    case (0x2320ULL << 32) |  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (1308:5): [True: 4.23k, False: 216k]
  ------------------
 1309|  4.23k|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
 1310|  1.87k|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (1310:5): [True: 1.87k, False: 218k]
  ------------------
 1311|  1.87k|        return OFPERR_OFPBAC_BAD_TYPE;
 1312|  1.04k|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (1312:5): [True: 1.04k, False: 219k]
  ------------------
 1313|  1.04k|        return OFPERR_OFPBAC_BAD_LEN;
 1314|     71|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (1314:5): [True: 71, False: 220k]
  ------------------
 1315|     71|        return OFPERR_OFPBAC_BAD_VENDOR;
 1316|    394|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (1316:5): [True: 394, False: 220k]
  ------------------
 1317|    394|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 1318|    239|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (1318:5): [True: 239, False: 220k]
  ------------------
 1319|    239|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 1320|    674|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (1320:5): [True: 674, False: 219k]
  ------------------
 1321|    674|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1322|     53|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (1322:5): [True: 53, False: 220k]
  ------------------
 1323|     53|        return OFPERR_OFPBAC_EPERM;
 1324|    544|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (1324:5): [True: 544, False: 219k]
  ------------------
 1325|    544|        return OFPERR_OFPBAC_TOO_MANY;
 1326|     70|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (1326:5): [True: 70, False: 220k]
  ------------------
 1327|     70|        return OFPERR_OFPBAC_BAD_QUEUE;
 1328|     68|    case  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (1328:5): [True: 68, False: 220k]
  ------------------
 1329|     68|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
 1330|     66|    case  ((uint32_t) 2 << 16) | 10:
  ------------------
  |  Branch (1330:5): [True: 66, False: 220k]
  ------------------
 1331|     66|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 1332|    248|    case  ((uint32_t) 2 << 16) | 11:
  ------------------
  |  Branch (1332:5): [True: 248, False: 220k]
  ------------------
 1333|    248|        return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
 1334|     73|    case  ((uint32_t) 2 << 16) | 12:
  ------------------
  |  Branch (1334:5): [True: 73, False: 220k]
  ------------------
 1335|     73|        return OFPERR_OFPBAC_BAD_TAG;
 1336|     70|    case  ((uint32_t) 2 << 16) | 13:
  ------------------
  |  Branch (1336:5): [True: 70, False: 220k]
  ------------------
 1337|     70|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 1338|    656|    case  ((uint32_t) 2 << 16) | 14:
  ------------------
  |  Branch (1338:5): [True: 656, False: 219k]
  ------------------
 1339|    656|        return OFPERR_OFPBAC_BAD_SET_LEN;
 1340|    911|    case  ((uint32_t) 2 << 16) | 15:
  ------------------
  |  Branch (1340:5): [True: 911, False: 219k]
  ------------------
 1341|    911|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 1342|     69|    case (0x2320ULL << 32) |  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (1342:5): [True: 69, False: 220k]
  ------------------
 1343|     69|        return OFPERR_NXBAC_MUST_BE_ZERO;
 1344|    768|    case (0x2320ULL << 32) |  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (1344:5): [True: 768, False: 219k]
  ------------------
 1345|    768|        return OFPERR_NXBAC_BAD_CONJUNCTION;
 1346|  1.72k|    case (0x2320ULL << 32) |  ((uint32_t) 42 << 16) | 0:
  ------------------
  |  Branch (1346:5): [True: 1.72k, False: 218k]
  ------------------
 1347|  1.72k|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
 1348|    356|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (1348:5): [True: 356, False: 220k]
  ------------------
 1349|    356|        return OFPERR_OFPBIC_UNKNOWN_INST;
 1350|    125|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (1350:5): [True: 125, False: 220k]
  ------------------
 1351|    125|        return OFPERR_OFPBIC_UNSUP_INST;
 1352|  1.02k|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (1352:5): [True: 1.02k, False: 219k]
  ------------------
 1353|  1.02k|        return OFPERR_OFPBIC_BAD_TABLE_ID;
 1354|     39|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (1354:5): [True: 39, False: 220k]
  ------------------
 1355|     39|        return OFPERR_OFPBIC_UNSUP_METADATA;
 1356|    868|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (1356:5): [True: 868, False: 219k]
  ------------------
 1357|    868|        return OFPERR_OFPBIC_UNSUP_METADATA_MASK;
 1358|    204|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (1358:5): [True: 204, False: 220k]
  ------------------
 1359|    204|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
 1360|    794|    case  ((uint32_t) 3 << 16) | 6:
  ------------------
  |  Branch (1360:5): [True: 794, False: 219k]
  ------------------
 1361|    794|        return OFPERR_OFPBIC_BAD_EXP_TYPE;
 1362|  2.28k|    case  ((uint32_t) 3 << 16) | 7:
  ------------------
  |  Branch (1362:5): [True: 2.28k, False: 218k]
  ------------------
 1363|  2.28k|        return OFPERR_OFPBIC_BAD_LEN;
 1364|    239|    case  ((uint32_t) 3 << 16) | 8:
  ------------------
  |  Branch (1364:5): [True: 239, False: 220k]
  ------------------
 1365|    239|        return OFPERR_OFPBIC_EPERM;
 1366|     18|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2600 << 16) | 0:
  ------------------
  |  Branch (1366:5): [True: 18, False: 220k]
  ------------------
 1367|     18|        return OFPERR_OFPBIC_DUP_INST;
 1368|     71|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (1368:5): [True: 71, False: 220k]
  ------------------
 1369|     71|        return OFPERR_OFPBMC_BAD_TYPE;
 1370|  2.56k|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (1370:5): [True: 2.56k, False: 217k]
  ------------------
 1371|  2.56k|        return OFPERR_OFPBMC_BAD_LEN;
 1372|  3.81k|    case  ((uint32_t) 4 << 16) | 2:
  ------------------
  |  Branch (1372:5): [True: 3.81k, False: 216k]
  ------------------
 1373|  3.81k|        return OFPERR_OFPBMC_BAD_TAG;
 1374|     94|    case  ((uint32_t) 4 << 16) | 3:
  ------------------
  |  Branch (1374:5): [True: 94, False: 220k]
  ------------------
 1375|     94|        return OFPERR_OFPBMC_BAD_DL_ADDR_MASK;
 1376|    260|    case  ((uint32_t) 4 << 16) | 4:
  ------------------
  |  Branch (1376:5): [True: 260, False: 220k]
  ------------------
 1377|    260|        return OFPERR_OFPBMC_BAD_NW_ADDR_MASK;
 1378|    431|    case  ((uint32_t) 4 << 16) | 5:
  ------------------
  |  Branch (1378:5): [True: 431, False: 219k]
  ------------------
 1379|    431|        return OFPERR_OFPBMC_BAD_WILDCARDS;
 1380|     79|    case  ((uint32_t) 4 << 16) | 6:
  ------------------
  |  Branch (1380:5): [True: 79, False: 220k]
  ------------------
 1381|     79|        return OFPERR_OFPBMC_BAD_FIELD;
 1382|  1.94k|    case  ((uint32_t) 4 << 16) | 7:
  ------------------
  |  Branch (1382:5): [True: 1.94k, False: 218k]
  ------------------
 1383|  1.94k|        return OFPERR_OFPBMC_BAD_VALUE;
 1384|    523|    case  ((uint32_t) 4 << 16) | 8:
  ------------------
  |  Branch (1384:5): [True: 523, False: 219k]
  ------------------
 1385|    523|        return OFPERR_OFPBMC_BAD_MASK;
 1386|     22|    case  ((uint32_t) 4 << 16) | 9:
  ------------------
  |  Branch (1386:5): [True: 22, False: 220k]
  ------------------
 1387|     22|        return OFPERR_OFPBMC_BAD_PREREQ;
 1388|  3.93k|    case  ((uint32_t) 4 << 16) | 10:
  ------------------
  |  Branch (1388:5): [True: 3.93k, False: 216k]
  ------------------
 1389|  3.93k|        return OFPERR_OFPBMC_DUP_FIELD;
 1390|    211|    case  ((uint32_t) 4 << 16) | 11:
  ------------------
  |  Branch (1390:5): [True: 211, False: 220k]
  ------------------
 1391|    211|        return OFPERR_OFPBMC_EPERM;
 1392|    103|    case (0x2320ULL << 32) |  ((uint32_t) 43 << 16) | 0:
  ------------------
  |  Branch (1392:5): [True: 103, False: 220k]
  ------------------
 1393|    103|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
 1394|    169|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (1394:5): [True: 169, False: 220k]
  ------------------
 1395|    169|        return OFPERR_OFPFMFC_UNKNOWN;
 1396|    295|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (1396:5): [True: 295, False: 220k]
  ------------------
 1397|    295|        return OFPERR_OFPFMFC_TABLE_FULL;
 1398|  2.27k|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (1398:5): [True: 2.27k, False: 218k]
  ------------------
 1399|  2.27k|        return OFPERR_OFPFMFC_BAD_TABLE_ID;
 1400|     66|    case  ((uint32_t) 5 << 16) | 3:
  ------------------
  |  Branch (1400:5): [True: 66, False: 220k]
  ------------------
 1401|     66|        return OFPERR_OFPFMFC_OVERLAP;
 1402|    332|    case  ((uint32_t) 5 << 16) | 4:
  ------------------
  |  Branch (1402:5): [True: 332, False: 220k]
  ------------------
 1403|    332|        return OFPERR_OFPFMFC_EPERM;
 1404|    239|    case  ((uint32_t) 5 << 16) | 5:
  ------------------
  |  Branch (1404:5): [True: 239, False: 220k]
  ------------------
 1405|    239|        return OFPERR_OFPFMFC_BAD_TIMEOUT;
 1406|     37|    case  ((uint32_t) 5 << 16) | 6:
  ------------------
  |  Branch (1406:5): [True: 37, False: 220k]
  ------------------
 1407|     37|        return OFPERR_OFPFMFC_BAD_COMMAND;
 1408|     68|    case  ((uint32_t) 5 << 16) | 7:
  ------------------
  |  Branch (1408:5): [True: 68, False: 220k]
  ------------------
 1409|     68|        return OFPERR_OFPFMFC_BAD_FLAGS;
 1410|     67|    case (0x2320ULL << 32) |  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (1410:5): [True: 67, False: 220k]
  ------------------
 1411|     67|        return OFPERR_NXFMFC_HARDWARE;
 1412|  1.65k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (1412:5): [True: 1.65k, False: 218k]
  ------------------
 1413|  1.65k|        return OFPERR_NXFMFC_BAD_TABLE_ID;
 1414|     67|    case (0x2320ULL << 32) |  ((uint32_t) 37 << 16) | 0:
  ------------------
  |  Branch (1414:5): [True: 67, False: 220k]
  ------------------
 1415|     67|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
 1416|    113|    case  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (1416:5): [True: 113, False: 220k]
  ------------------
 1417|    113|        return OFPERR_OFPGMFC_GROUP_EXISTS;
 1418|  5.01k|    case  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (1418:5): [True: 5.01k, False: 215k]
  ------------------
 1419|  5.01k|        return OFPERR_OFPGMFC_INVALID_GROUP;
 1420|    170|    case  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (1420:5): [True: 170, False: 220k]
  ------------------
 1421|    170|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
 1422|    131|    case  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (1422:5): [True: 131, False: 220k]
  ------------------
 1423|    131|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
 1424|  1.82k|    case  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (1424:5): [True: 1.82k, False: 218k]
  ------------------
 1425|  1.82k|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
 1426|    319|    case  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (1426:5): [True: 319, False: 220k]
  ------------------
 1427|    319|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
 1428|    575|    case  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (1428:5): [True: 575, False: 219k]
  ------------------
 1429|    575|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
 1430|    957|    case  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (1430:5): [True: 957, False: 219k]
  ------------------
 1431|    957|        return OFPERR_OFPGMFC_LOOP;
 1432|    422|    case  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (1432:5): [True: 422, False: 220k]
  ------------------
 1433|    422|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
 1434|  4.58k|    case  ((uint32_t) 6 << 16) | 9:
  ------------------
  |  Branch (1434:5): [True: 4.58k, False: 215k]
  ------------------
 1435|  4.58k|        return OFPERR_OFPGMFC_CHAINED_GROUP;
 1436|     81|    case  ((uint32_t) 6 << 16) | 10:
  ------------------
  |  Branch (1436:5): [True: 81, False: 220k]
  ------------------
 1437|     81|        return OFPERR_OFPGMFC_BAD_TYPE;
 1438|     66|    case  ((uint32_t) 6 << 16) | 11:
  ------------------
  |  Branch (1438:5): [True: 66, False: 220k]
  ------------------
 1439|     66|        return OFPERR_OFPGMFC_BAD_COMMAND;
 1440|  2.63k|    case  ((uint32_t) 6 << 16) | 12:
  ------------------
  |  Branch (1440:5): [True: 2.63k, False: 217k]
  ------------------
 1441|  2.63k|        return OFPERR_OFPGMFC_BAD_BUCKET;
 1442|  6.32k|    case  ((uint32_t) 6 << 16) | 13:
  ------------------
  |  Branch (1442:5): [True: 6.32k, False: 214k]
  ------------------
 1443|  6.32k|        return OFPERR_OFPGMFC_BAD_WATCH;
 1444|    303|    case  ((uint32_t) 6 << 16) | 14:
  ------------------
  |  Branch (1444:5): [True: 303, False: 220k]
  ------------------
 1445|    303|        return OFPERR_OFPGMFC_EPERM;
 1446|    154|    case  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (1446:5): [True: 154, False: 220k]
  ------------------
 1447|    154|        return OFPERR_OFPPMFC_BAD_PORT;
 1448|     83|    case  ((uint32_t) 7 << 16) | 1:
  ------------------
  |  Branch (1448:5): [True: 83, False: 220k]
  ------------------
 1449|     83|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
 1450|  1.73k|    case  ((uint32_t) 7 << 16) | 2:
  ------------------
  |  Branch (1450:5): [True: 1.73k, False: 218k]
  ------------------
 1451|  1.73k|        return OFPERR_OFPPMFC_BAD_CONFIG;
 1452|     67|    case  ((uint32_t) 7 << 16) | 3:
  ------------------
  |  Branch (1452:5): [True: 67, False: 220k]
  ------------------
 1453|     67|        return OFPERR_OFPPMFC_BAD_ADVERTISE;
 1454|    373|    case  ((uint32_t) 7 << 16) | 4:
  ------------------
  |  Branch (1454:5): [True: 373, False: 220k]
  ------------------
 1455|    373|        return OFPERR_OFPPMFC_EPERM;
 1456|    847|    case  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (1456:5): [True: 847, False: 219k]
  ------------------
 1457|    847|        return OFPERR_OFPTMFC_BAD_TABLE;
 1458|  4.68k|    case  ((uint32_t) 8 << 16) | 1:
  ------------------
  |  Branch (1458:5): [True: 4.68k, False: 215k]
  ------------------
 1459|  4.68k|        return OFPERR_OFPTMFC_BAD_CONFIG;
 1460|    732|    case  ((uint32_t) 8 << 16) | 2:
  ------------------
  |  Branch (1460:5): [True: 732, False: 219k]
  ------------------
 1461|    732|        return OFPERR_OFPTMFC_EPERM;
 1462|    206|    case  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (1462:5): [True: 206, False: 220k]
  ------------------
 1463|    206|        return OFPERR_OFPQOFC_BAD_PORT;
 1464|     54|    case  ((uint32_t) 9 << 16) | 1:
  ------------------
  |  Branch (1464:5): [True: 54, False: 220k]
  ------------------
 1465|     54|        return OFPERR_OFPQOFC_BAD_QUEUE;
 1466|    209|    case  ((uint32_t) 9 << 16) | 2:
  ------------------
  |  Branch (1466:5): [True: 209, False: 220k]
  ------------------
 1467|    209|        return OFPERR_OFPQOFC_EPERM;
 1468|    540|    case  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (1468:5): [True: 540, False: 219k]
  ------------------
 1469|    540|        return OFPERR_OFPSCFC_BAD_FLAGS;
 1470|    492|    case  ((uint32_t) 10 << 16) | 1:
  ------------------
  |  Branch (1470:5): [True: 492, False: 219k]
  ------------------
 1471|    492|        return OFPERR_OFPSCFC_BAD_LEN;
 1472|  4.84k|    case  ((uint32_t) 10 << 16) | 2:
  ------------------
  |  Branch (1472:5): [True: 4.84k, False: 215k]
  ------------------
 1473|  4.84k|        return OFPERR_OFPSCFC_EPERM;
 1474|    244|    case  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (1474:5): [True: 244, False: 220k]
  ------------------
 1475|    244|        return OFPERR_OFPRRFC_STALE;
 1476|    561|    case  ((uint32_t) 11 << 16) | 1:
  ------------------
  |  Branch (1476:5): [True: 561, False: 219k]
  ------------------
 1477|    561|        return OFPERR_OFPRRFC_UNSUP;
 1478|     72|    case  ((uint32_t) 11 << 16) | 2:
  ------------------
  |  Branch (1478:5): [True: 72, False: 220k]
  ------------------
 1479|     72|        return OFPERR_OFPRRFC_BAD_ROLE;
 1480|  5.13k|    case (0x2320ULL << 32) |  ((uint32_t) 25 << 16) | 0:
  ------------------
  |  Branch (1480:5): [True: 5.13k, False: 215k]
  ------------------
 1481|  5.13k|        return OFPERR_OFPBPC_BAD_TYPE;
 1482|  2.15k|    case (0x2320ULL << 32) |  ((uint32_t) 26 << 16) | 0:
  ------------------
  |  Branch (1482:5): [True: 2.15k, False: 218k]
  ------------------
 1483|  2.15k|        return OFPERR_OFPBPC_BAD_LEN;
 1484|    194|    case (0x2320ULL << 32) |  ((uint32_t) 27 << 16) | 0:
  ------------------
  |  Branch (1484:5): [True: 194, False: 220k]
  ------------------
 1485|    194|        return OFPERR_OFPBPC_BAD_VALUE;
 1486|    194|    case (0x2320ULL << 32) |  ((uint32_t) 28 << 16) | 0:
  ------------------
  |  Branch (1486:5): [True: 194, False: 220k]
  ------------------
 1487|    194|        return OFPERR_OFPBPC_TOO_MANY;
 1488|    194|    case (0x2320ULL << 32) |  ((uint32_t) 29 << 16) | 0:
  ------------------
  |  Branch (1488:5): [True: 194, False: 220k]
  ------------------
 1489|    194|        return OFPERR_OFPBPC_DUP_TYPE;
 1490|     66|    case (0x2320ULL << 32) |  ((uint32_t) 30 << 16) | 0:
  ------------------
  |  Branch (1490:5): [True: 66, False: 220k]
  ------------------
 1491|     66|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
 1492|    196|    case (0x2320ULL << 32) |  ((uint32_t) 31 << 16) | 0:
  ------------------
  |  Branch (1492:5): [True: 196, False: 220k]
  ------------------
 1493|    196|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
 1494|     10|    case (0x2320ULL << 32) |  ((uint32_t) 32 << 16) | 0:
  ------------------
  |  Branch (1494:5): [True: 10, False: 220k]
  ------------------
 1495|     10|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
 1496|  1.70k|    case (0x2320ULL << 32) |  ((uint32_t) 33 << 16) | 0:
  ------------------
  |  Branch (1496:5): [True: 1.70k, False: 218k]
  ------------------
 1497|  1.70k|        return OFPERR_OFPBPC_EPERM;
 1498|     35|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (1498:5): [True: 35, False: 220k]
  ------------------
 1499|     35|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
 1500|    457|    case (0x2320ULL << 32) |  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (1500:5): [True: 457, False: 219k]
  ------------------
 1501|    457|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
 1502|  4.50k|    case (0x2320ULL << 32) |  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (1502:5): [True: 4.50k, False: 215k]
  ------------------
 1503|  4.50k|        return OFPERR_OFPMOFC_BAD_FLAGS;
 1504|  5.30k|    case (0x2320ULL << 32) |  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (1504:5): [True: 5.30k, False: 215k]
  ------------------
 1505|  5.30k|        return OFPERR_NXTTMFC_BAD_COMMAND;
 1506|    106|    case (0x2320ULL << 32) |  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (1506:5): [True: 106, False: 220k]
  ------------------
 1507|    106|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
 1508|  6.08k|    case (0x2320ULL << 32) |  ((uint32_t) 18 << 16) | 0:
  ------------------
  |  Branch (1508:5): [True: 6.08k, False: 214k]
  ------------------
 1509|  6.08k|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
 1510|  3.50k|    case (0x2320ULL << 32) |  ((uint32_t) 19 << 16) | 0:
  ------------------
  |  Branch (1510:5): [True: 3.50k, False: 216k]
  ------------------
 1511|  3.50k|        return OFPERR_NXTTMFC_TABLE_FULL;
 1512|     34|    case (0x2320ULL << 32) |  ((uint32_t) 20 << 16) | 0:
  ------------------
  |  Branch (1512:5): [True: 34, False: 220k]
  ------------------
 1513|     34|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
 1514|    396|    case (0x2320ULL << 32) |  ((uint32_t) 21 << 16) | 0:
  ------------------
  |  Branch (1514:5): [True: 396, False: 220k]
  ------------------
 1515|    396|        return OFPERR_NXTTMFC_DUP_ENTRY;
 1516|     17|    case (0x2320ULL << 32) |  ((uint32_t) 38 << 16) | 0:
  ------------------
  |  Branch (1516:5): [True: 17, False: 220k]
  ------------------
 1517|     17|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
 1518|     66|    case (0x2320ULL << 32) |  ((uint32_t) 34 << 16) | 0:
  ------------------
  |  Branch (1518:5): [True: 66, False: 220k]
  ------------------
 1519|     66|        return OFPERR_NXR_NOT_SUPPORTED;
 1520|     33|    case (0x2320ULL << 32) |  ((uint32_t) 35 << 16) | 0:
  ------------------
  |  Branch (1520:5): [True: 33, False: 220k]
  ------------------
 1521|     33|        return OFPERR_NXR_STALE;
 1522|  2.49k|    case (0x2320ULL << 32) |  ((uint32_t) 36 << 16) | 0:
  ------------------
  |  Branch (1522:5): [True: 2.49k, False: 217k]
  ------------------
 1523|  2.49k|        return OFPERR_NXST_NOT_CONFIGURED;
 1524|   220k|    }
 1525|       |
 1526|  74.3k|    return 0;
 1527|   220k|}
ofp-errors.c:ofperr_of13_decode:
 1737|   120k|{
 1738|   120k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (1738:13): [True: 87.1k, False: 33.1k]
  ------------------
 1739|  3.96k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (1739:5): [True: 3.96k, False: 116k]
  ------------------
 1740|  3.96k|        return OFPERR_OFPHFC_INCOMPATIBLE;
 1741|     77|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (1741:5): [True: 77, False: 120k]
  ------------------
 1742|     77|        return OFPERR_OFPHFC_EPERM;
 1743|     68|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (1743:5): [True: 68, False: 120k]
  ------------------
 1744|     68|        return OFPERR_OFPBRC_BAD_VERSION;
 1745|    187|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (1745:5): [True: 187, False: 120k]
  ------------------
 1746|    187|        return OFPERR_OFPBRC_BAD_TYPE;
 1747|    109|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (1747:5): [True: 109, False: 120k]
  ------------------
 1748|    109|        return OFPERR_OFPBRC_BAD_STAT;
 1749|    396|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (1749:5): [True: 396, False: 119k]
  ------------------
 1750|    396|        return OFPERR_OFPBRC_BAD_VENDOR;
 1751|     66|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (1751:5): [True: 66, False: 120k]
  ------------------
 1752|     66|        return OFPERR_OFPBRC_BAD_SUBTYPE;
 1753|  1.25k|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (1753:5): [True: 1.25k, False: 119k]
  ------------------
 1754|  1.25k|        return OFPERR_OFPBRC_EPERM;
 1755|     71|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (1755:5): [True: 71, False: 120k]
  ------------------
 1756|     71|        return OFPERR_OFPBRC_BAD_LEN;
 1757|     91|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (1757:5): [True: 91, False: 120k]
  ------------------
 1758|     91|        return OFPERR_OFPBRC_BUFFER_EMPTY;
 1759|    168|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (1759:5): [True: 168, False: 120k]
  ------------------
 1760|    168|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
 1761|     19|    case  ((uint32_t) 1 << 16) | 9:
  ------------------
  |  Branch (1761:5): [True: 19, False: 120k]
  ------------------
 1762|     19|        return OFPERR_OFPBRC_BAD_TABLE_ID;
 1763|    195|    case  ((uint32_t) 1 << 16) | 10:
  ------------------
  |  Branch (1763:5): [True: 195, False: 120k]
  ------------------
 1764|    195|        return OFPERR_OFPBRC_IS_SECONDARY;
 1765|     67|    case  ((uint32_t) 1 << 16) | 11:
  ------------------
  |  Branch (1765:5): [True: 67, False: 120k]
  ------------------
 1766|     67|        return OFPERR_OFPBRC_BAD_PORT;
 1767|    593|    case  ((uint32_t) 1 << 16) | 12:
  ------------------
  |  Branch (1767:5): [True: 593, False: 119k]
  ------------------
 1768|    593|        return OFPERR_OFPBRC_BAD_PACKET;
 1769|     79|    case  ((uint32_t) 1 << 16) | 13:
  ------------------
  |  Branch (1769:5): [True: 79, False: 120k]
  ------------------
 1770|     79|        return OFPERR_OFPBRC_MULTIPART_BUFFER_OVERFLOW;
 1771|     38|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2640 << 16) | 0:
  ------------------
  |  Branch (1771:5): [True: 38, False: 120k]
  ------------------
 1772|     38|        return OFPERR_OFPBRC_MULTIPART_REQUEST_TIMEOUT;
 1773|     66|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2641 << 16) | 0:
  ------------------
  |  Branch (1773:5): [True: 66, False: 120k]
  ------------------
 1774|     66|        return OFPERR_OFPBRC_MULTIPART_REPLY_TIMEOUT;
 1775|    194|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (1775:5): [True: 194, False: 120k]
  ------------------
 1776|    194|        return OFPERR_NXBRC_NXM_INVALID;
 1777|    543|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (1777:5): [True: 543, False: 119k]
  ------------------
 1778|    543|        return OFPERR_NXBRC_NXM_BAD_TYPE;
 1779|  1.57k|    case (0x2320ULL << 32) |  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (1779:5): [True: 1.57k, False: 118k]
  ------------------
 1780|  1.57k|        return OFPERR_NXBRC_MUST_BE_ZERO;
 1781|     67|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (1781:5): [True: 67, False: 120k]
  ------------------
 1782|     67|        return OFPERR_NXBRC_BAD_REASON;
 1783|  1.97k|    case (0x2320ULL << 32) |  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (1783:5): [True: 1.97k, False: 118k]
  ------------------
 1784|  1.97k|        return OFPERR_NXBRC_FM_BAD_EVENT;
 1785|     66|    case (0x2320ULL << 32) |  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (1785:5): [True: 66, False: 120k]
  ------------------
 1786|     66|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
 1787|    329|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (1787:5): [True: 329, False: 119k]
  ------------------
 1788|    329|        return OFPERR_OFPBAC_BAD_TYPE;
 1789|    680|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (1789:5): [True: 680, False: 119k]
  ------------------
 1790|    680|        return OFPERR_OFPBAC_BAD_LEN;
 1791|  2.51k|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (1791:5): [True: 2.51k, False: 117k]
  ------------------
 1792|  2.51k|        return OFPERR_OFPBAC_BAD_VENDOR;
 1793|    923|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (1793:5): [True: 923, False: 119k]
  ------------------
 1794|    923|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 1795|  1.16k|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (1795:5): [True: 1.16k, False: 119k]
  ------------------
 1796|  1.16k|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 1797|  1.34k|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (1797:5): [True: 1.34k, False: 118k]
  ------------------
 1798|  1.34k|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 1799|     44|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (1799:5): [True: 44, False: 120k]
  ------------------
 1800|     44|        return OFPERR_OFPBAC_EPERM;
 1801|    539|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (1801:5): [True: 539, False: 119k]
  ------------------
 1802|    539|        return OFPERR_OFPBAC_TOO_MANY;
 1803|     90|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (1803:5): [True: 90, False: 120k]
  ------------------
 1804|     90|        return OFPERR_OFPBAC_BAD_QUEUE;
 1805|    734|    case  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (1805:5): [True: 734, False: 119k]
  ------------------
 1806|    734|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
 1807|     34|    case  ((uint32_t) 2 << 16) | 10:
  ------------------
  |  Branch (1807:5): [True: 34, False: 120k]
  ------------------
 1808|     34|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 1809|     72|    case  ((uint32_t) 2 << 16) | 11:
  ------------------
  |  Branch (1809:5): [True: 72, False: 120k]
  ------------------
 1810|     72|        return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
 1811|    199|    case  ((uint32_t) 2 << 16) | 12:
  ------------------
  |  Branch (1811:5): [True: 199, False: 120k]
  ------------------
 1812|    199|        return OFPERR_OFPBAC_BAD_TAG;
 1813|    122|    case  ((uint32_t) 2 << 16) | 13:
  ------------------
  |  Branch (1813:5): [True: 122, False: 120k]
  ------------------
 1814|    122|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 1815|    474|    case  ((uint32_t) 2 << 16) | 14:
  ------------------
  |  Branch (1815:5): [True: 474, False: 119k]
  ------------------
 1816|    474|        return OFPERR_OFPBAC_BAD_SET_LEN;
 1817|     98|    case  ((uint32_t) 2 << 16) | 15:
  ------------------
  |  Branch (1817:5): [True: 98, False: 120k]
  ------------------
 1818|     98|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 1819|     66|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4250 << 16) | 0:
  ------------------
  |  Branch (1819:5): [True: 66, False: 120k]
  ------------------
 1820|     66|        return OFPERR_OFPBAC_BAD_SET_MASK;
 1821|  2.88k|    case (0x2320ULL << 32) |  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (1821:5): [True: 2.88k, False: 117k]
  ------------------
 1822|  2.88k|        return OFPERR_NXBAC_MUST_BE_ZERO;
 1823|     67|    case (0x2320ULL << 32) |  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (1823:5): [True: 67, False: 120k]
  ------------------
 1824|     67|        return OFPERR_NXBAC_BAD_CONJUNCTION;
 1825|    765|    case (0x2320ULL << 32) |  ((uint32_t) 39 << 16) | 0:
  ------------------
  |  Branch (1825:5): [True: 765, False: 119k]
  ------------------
 1826|    765|        return OFPERR_NXBAC_BAD_HEADER_TYPE;
 1827|    290|    case (0x2320ULL << 32) |  ((uint32_t) 40 << 16) | 0:
  ------------------
  |  Branch (1827:5): [True: 290, False: 119k]
  ------------------
 1828|    290|        return OFPERR_NXBAC_UNKNOWN_ED_PROP;
 1829|     66|    case (0x2320ULL << 32) |  ((uint32_t) 41 << 16) | 0:
  ------------------
  |  Branch (1829:5): [True: 66, False: 120k]
  ------------------
 1830|     66|        return OFPERR_NXBAC_BAD_ED_PROP;
 1831|    376|    case (0x2320ULL << 32) |  ((uint32_t) 42 << 16) | 0:
  ------------------
  |  Branch (1831:5): [True: 376, False: 119k]
  ------------------
 1832|    376|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
 1833|    381|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (1833:5): [True: 381, False: 119k]
  ------------------
 1834|    381|        return OFPERR_OFPBIC_UNKNOWN_INST;
 1835|    200|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (1835:5): [True: 200, False: 120k]
  ------------------
 1836|    200|        return OFPERR_OFPBIC_UNSUP_INST;
 1837|    693|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (1837:5): [True: 693, False: 119k]
  ------------------
 1838|    693|        return OFPERR_OFPBIC_BAD_TABLE_ID;
 1839|  1.49k|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (1839:5): [True: 1.49k, False: 118k]
  ------------------
 1840|  1.49k|        return OFPERR_OFPBIC_UNSUP_METADATA;
 1841|    869|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (1841:5): [True: 869, False: 119k]
  ------------------
 1842|    869|        return OFPERR_OFPBIC_UNSUP_METADATA_MASK;
 1843|     66|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (1843:5): [True: 66, False: 120k]
  ------------------
 1844|     66|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
 1845|    126|    case  ((uint32_t) 3 << 16) | 6:
  ------------------
  |  Branch (1845:5): [True: 126, False: 120k]
  ------------------
 1846|    126|        return OFPERR_OFPBIC_BAD_EXP_TYPE;
 1847|  1.51k|    case  ((uint32_t) 3 << 16) | 7:
  ------------------
  |  Branch (1847:5): [True: 1.51k, False: 118k]
  ------------------
 1848|  1.51k|        return OFPERR_OFPBIC_BAD_LEN;
 1849|     38|    case  ((uint32_t) 3 << 16) | 8:
  ------------------
  |  Branch (1849:5): [True: 38, False: 120k]
  ------------------
 1850|     38|        return OFPERR_OFPBIC_EPERM;
 1851|     69|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2600 << 16) | 0:
  ------------------
  |  Branch (1851:5): [True: 69, False: 120k]
  ------------------
 1852|     69|        return OFPERR_OFPBIC_DUP_INST;
 1853|    102|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (1853:5): [True: 102, False: 120k]
  ------------------
 1854|    102|        return OFPERR_OFPBMC_BAD_TYPE;
 1855|     68|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (1855:5): [True: 68, False: 120k]
  ------------------
 1856|     68|        return OFPERR_OFPBMC_BAD_LEN;
 1857|    151|    case  ((uint32_t) 4 << 16) | 2:
  ------------------
  |  Branch (1857:5): [True: 151, False: 120k]
  ------------------
 1858|    151|        return OFPERR_OFPBMC_BAD_TAG;
 1859|     84|    case  ((uint32_t) 4 << 16) | 3:
  ------------------
  |  Branch (1859:5): [True: 84, False: 120k]
  ------------------
 1860|     84|        return OFPERR_OFPBMC_BAD_DL_ADDR_MASK;
 1861|     96|    case  ((uint32_t) 4 << 16) | 4:
  ------------------
  |  Branch (1861:5): [True: 96, False: 120k]
  ------------------
 1862|     96|        return OFPERR_OFPBMC_BAD_NW_ADDR_MASK;
 1863|     66|    case  ((uint32_t) 4 << 16) | 5:
  ------------------
  |  Branch (1863:5): [True: 66, False: 120k]
  ------------------
 1864|     66|        return OFPERR_OFPBMC_BAD_WILDCARDS;
 1865|    200|    case  ((uint32_t) 4 << 16) | 6:
  ------------------
  |  Branch (1865:5): [True: 200, False: 120k]
  ------------------
 1866|    200|        return OFPERR_OFPBMC_BAD_FIELD;
 1867|     18|    case  ((uint32_t) 4 << 16) | 7:
  ------------------
  |  Branch (1867:5): [True: 18, False: 120k]
  ------------------
 1868|     18|        return OFPERR_OFPBMC_BAD_VALUE;
 1869|     72|    case  ((uint32_t) 4 << 16) | 8:
  ------------------
  |  Branch (1869:5): [True: 72, False: 120k]
  ------------------
 1870|     72|        return OFPERR_OFPBMC_BAD_MASK;
 1871|     66|    case  ((uint32_t) 4 << 16) | 9:
  ------------------
  |  Branch (1871:5): [True: 66, False: 120k]
  ------------------
 1872|     66|        return OFPERR_OFPBMC_BAD_PREREQ;
 1873|    291|    case  ((uint32_t) 4 << 16) | 10:
  ------------------
  |  Branch (1873:5): [True: 291, False: 119k]
  ------------------
 1874|    291|        return OFPERR_OFPBMC_DUP_FIELD;
 1875|    206|    case  ((uint32_t) 4 << 16) | 11:
  ------------------
  |  Branch (1875:5): [True: 206, False: 120k]
  ------------------
 1876|    206|        return OFPERR_OFPBMC_EPERM;
 1877|  1.66k|    case (0x2320ULL << 32) |  ((uint32_t) 43 << 16) | 0:
  ------------------
  |  Branch (1877:5): [True: 1.66k, False: 118k]
  ------------------
 1878|  1.66k|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
 1879|    884|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (1879:5): [True: 884, False: 119k]
  ------------------
 1880|    884|        return OFPERR_OFPFMFC_UNKNOWN;
 1881|    278|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (1881:5): [True: 278, False: 119k]
  ------------------
 1882|    278|        return OFPERR_OFPFMFC_TABLE_FULL;
 1883|    462|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (1883:5): [True: 462, False: 119k]
  ------------------
 1884|    462|        return OFPERR_OFPFMFC_BAD_TABLE_ID;
 1885|     66|    case  ((uint32_t) 5 << 16) | 3:
  ------------------
  |  Branch (1885:5): [True: 66, False: 120k]
  ------------------
 1886|     66|        return OFPERR_OFPFMFC_OVERLAP;
 1887|    202|    case  ((uint32_t) 5 << 16) | 4:
  ------------------
  |  Branch (1887:5): [True: 202, False: 120k]
  ------------------
 1888|    202|        return OFPERR_OFPFMFC_EPERM;
 1889|    418|    case  ((uint32_t) 5 << 16) | 5:
  ------------------
  |  Branch (1889:5): [True: 418, False: 119k]
  ------------------
 1890|    418|        return OFPERR_OFPFMFC_BAD_TIMEOUT;
 1891|     35|    case  ((uint32_t) 5 << 16) | 6:
  ------------------
  |  Branch (1891:5): [True: 35, False: 120k]
  ------------------
 1892|     35|        return OFPERR_OFPFMFC_BAD_COMMAND;
 1893|    408|    case  ((uint32_t) 5 << 16) | 7:
  ------------------
  |  Branch (1893:5): [True: 408, False: 119k]
  ------------------
 1894|    408|        return OFPERR_OFPFMFC_BAD_FLAGS;
 1895|     66|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2360 << 16) | 0:
  ------------------
  |  Branch (1895:5): [True: 66, False: 120k]
  ------------------
 1896|     66|        return OFPERR_OFPFMFC_BAD_PRIORITY;
 1897|    382|    case (0x2320ULL << 32) |  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (1897:5): [True: 382, False: 119k]
  ------------------
 1898|    382|        return OFPERR_NXFMFC_HARDWARE;
 1899|  1.31k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (1899:5): [True: 1.31k, False: 118k]
  ------------------
 1900|  1.31k|        return OFPERR_NXFMFC_BAD_TABLE_ID;
 1901|     66|    case (0x2320ULL << 32) |  ((uint32_t) 37 << 16) | 0:
  ------------------
  |  Branch (1901:5): [True: 66, False: 120k]
  ------------------
 1902|     66|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
 1903|    412|    case  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (1903:5): [True: 412, False: 119k]
  ------------------
 1904|    412|        return OFPERR_OFPGMFC_GROUP_EXISTS;
 1905|    271|    case  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (1905:5): [True: 271, False: 120k]
  ------------------
 1906|    271|        return OFPERR_OFPGMFC_INVALID_GROUP;
 1907|    149|    case  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (1907:5): [True: 149, False: 120k]
  ------------------
 1908|    149|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
 1909|     79|    case  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (1909:5): [True: 79, False: 120k]
  ------------------
 1910|     79|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
 1911|    712|    case  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (1911:5): [True: 712, False: 119k]
  ------------------
 1912|    712|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
 1913|     66|    case  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (1913:5): [True: 66, False: 120k]
  ------------------
 1914|     66|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
 1915|    818|    case  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (1915:5): [True: 818, False: 119k]
  ------------------
 1916|    818|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
 1917|    195|    case  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (1917:5): [True: 195, False: 120k]
  ------------------
 1918|    195|        return OFPERR_OFPGMFC_LOOP;
 1919|  2.51k|    case  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (1919:5): [True: 2.51k, False: 117k]
  ------------------
 1920|  2.51k|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
 1921|  2.99k|    case  ((uint32_t) 6 << 16) | 9:
  ------------------
  |  Branch (1921:5): [True: 2.99k, False: 117k]
  ------------------
 1922|  2.99k|        return OFPERR_OFPGMFC_CHAINED_GROUP;
 1923|     66|    case  ((uint32_t) 6 << 16) | 10:
  ------------------
  |  Branch (1923:5): [True: 66, False: 120k]
  ------------------
 1924|     66|        return OFPERR_OFPGMFC_BAD_TYPE;
 1925|  2.26k|    case  ((uint32_t) 6 << 16) | 11:
  ------------------
  |  Branch (1925:5): [True: 2.26k, False: 118k]
  ------------------
 1926|  2.26k|        return OFPERR_OFPGMFC_BAD_COMMAND;
 1927|    835|    case  ((uint32_t) 6 << 16) | 12:
  ------------------
  |  Branch (1927:5): [True: 835, False: 119k]
  ------------------
 1928|    835|        return OFPERR_OFPGMFC_BAD_BUCKET;
 1929|  3.75k|    case  ((uint32_t) 6 << 16) | 13:
  ------------------
  |  Branch (1929:5): [True: 3.75k, False: 116k]
  ------------------
 1930|  3.75k|        return OFPERR_OFPGMFC_BAD_WATCH;
 1931|    901|    case  ((uint32_t) 6 << 16) | 14:
  ------------------
  |  Branch (1931:5): [True: 901, False: 119k]
  ------------------
 1932|    901|        return OFPERR_OFPGMFC_EPERM;
 1933|    260|    case  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (1933:5): [True: 260, False: 120k]
  ------------------
 1934|    260|        return OFPERR_OFPPMFC_BAD_PORT;
 1935|    142|    case  ((uint32_t) 7 << 16) | 1:
  ------------------
  |  Branch (1935:5): [True: 142, False: 120k]
  ------------------
 1936|    142|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
 1937|  1.98k|    case  ((uint32_t) 7 << 16) | 2:
  ------------------
  |  Branch (1937:5): [True: 1.98k, False: 118k]
  ------------------
 1938|  1.98k|        return OFPERR_OFPPMFC_BAD_CONFIG;
 1939|     66|    case  ((uint32_t) 7 << 16) | 3:
  ------------------
  |  Branch (1939:5): [True: 66, False: 120k]
  ------------------
 1940|     66|        return OFPERR_OFPPMFC_BAD_ADVERTISE;
 1941|  1.12k|    case  ((uint32_t) 7 << 16) | 4:
  ------------------
  |  Branch (1941:5): [True: 1.12k, False: 119k]
  ------------------
 1942|  1.12k|        return OFPERR_OFPPMFC_EPERM;
 1943|    119|    case  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (1943:5): [True: 119, False: 120k]
  ------------------
 1944|    119|        return OFPERR_OFPTMFC_BAD_TABLE;
 1945|    341|    case  ((uint32_t) 8 << 16) | 1:
  ------------------
  |  Branch (1945:5): [True: 341, False: 119k]
  ------------------
 1946|    341|        return OFPERR_OFPTMFC_BAD_CONFIG;
 1947|     84|    case  ((uint32_t) 8 << 16) | 2:
  ------------------
  |  Branch (1947:5): [True: 84, False: 120k]
  ------------------
 1948|     84|        return OFPERR_OFPTMFC_EPERM;
 1949|  2.19k|    case  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (1949:5): [True: 2.19k, False: 118k]
  ------------------
 1950|  2.19k|        return OFPERR_OFPQOFC_BAD_PORT;
 1951|    121|    case  ((uint32_t) 9 << 16) | 1:
  ------------------
  |  Branch (1951:5): [True: 121, False: 120k]
  ------------------
 1952|    121|        return OFPERR_OFPQOFC_BAD_QUEUE;
 1953|    196|    case  ((uint32_t) 9 << 16) | 2:
  ------------------
  |  Branch (1953:5): [True: 196, False: 120k]
  ------------------
 1954|    196|        return OFPERR_OFPQOFC_EPERM;
 1955|    467|    case  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (1955:5): [True: 467, False: 119k]
  ------------------
 1956|    467|        return OFPERR_OFPSCFC_BAD_FLAGS;
 1957|     73|    case  ((uint32_t) 10 << 16) | 1:
  ------------------
  |  Branch (1957:5): [True: 73, False: 120k]
  ------------------
 1958|     73|        return OFPERR_OFPSCFC_BAD_LEN;
 1959|    132|    case  ((uint32_t) 10 << 16) | 2:
  ------------------
  |  Branch (1959:5): [True: 132, False: 120k]
  ------------------
 1960|    132|        return OFPERR_OFPSCFC_EPERM;
 1961|    205|    case  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (1961:5): [True: 205, False: 120k]
  ------------------
 1962|    205|        return OFPERR_OFPRRFC_STALE;
 1963|    243|    case  ((uint32_t) 11 << 16) | 1:
  ------------------
  |  Branch (1963:5): [True: 243, False: 120k]
  ------------------
 1964|    243|        return OFPERR_OFPRRFC_UNSUP;
 1965|     19|    case  ((uint32_t) 11 << 16) | 2:
  ------------------
  |  Branch (1965:5): [True: 19, False: 120k]
  ------------------
 1966|     19|        return OFPERR_OFPRRFC_BAD_ROLE;
 1967|  3.06k|    case  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (1967:5): [True: 3.06k, False: 117k]
  ------------------
 1968|  3.06k|        return OFPERR_OFPMMFC_UNKNOWN;
 1969|    196|    case  ((uint32_t) 12 << 16) | 1:
  ------------------
  |  Branch (1969:5): [True: 196, False: 120k]
  ------------------
 1970|    196|        return OFPERR_OFPMMFC_METER_EXISTS;
 1971|    449|    case  ((uint32_t) 12 << 16) | 2:
  ------------------
  |  Branch (1971:5): [True: 449, False: 119k]
  ------------------
 1972|    449|        return OFPERR_OFPMMFC_INVALID_METER;
 1973|    941|    case  ((uint32_t) 12 << 16) | 3:
  ------------------
  |  Branch (1973:5): [True: 941, False: 119k]
  ------------------
 1974|    941|        return OFPERR_OFPMMFC_UNKNOWN_METER;
 1975|     68|    case  ((uint32_t) 12 << 16) | 4:
  ------------------
  |  Branch (1975:5): [True: 68, False: 120k]
  ------------------
 1976|     68|        return OFPERR_OFPMMFC_BAD_COMMAND;
 1977|  2.05k|    case  ((uint32_t) 12 << 16) | 5:
  ------------------
  |  Branch (1977:5): [True: 2.05k, False: 118k]
  ------------------
 1978|  2.05k|        return OFPERR_OFPMMFC_BAD_FLAGS;
 1979|    875|    case  ((uint32_t) 12 << 16) | 6:
  ------------------
  |  Branch (1979:5): [True: 875, False: 119k]
  ------------------
 1980|    875|        return OFPERR_OFPMMFC_BAD_RATE;
 1981|    115|    case  ((uint32_t) 12 << 16) | 7:
  ------------------
  |  Branch (1981:5): [True: 115, False: 120k]
  ------------------
 1982|    115|        return OFPERR_OFPMMFC_BAD_BURST;
 1983|    304|    case  ((uint32_t) 12 << 16) | 8:
  ------------------
  |  Branch (1983:5): [True: 304, False: 119k]
  ------------------
 1984|    304|        return OFPERR_OFPMMFC_BAD_BAND;
 1985|    229|    case  ((uint32_t) 12 << 16) | 9:
  ------------------
  |  Branch (1985:5): [True: 229, False: 120k]
  ------------------
 1986|    229|        return OFPERR_OFPMMFC_BAD_BAND_VALUE;
 1987|    201|    case  ((uint32_t) 12 << 16) | 10:
  ------------------
  |  Branch (1987:5): [True: 201, False: 120k]
  ------------------
 1988|    201|        return OFPERR_OFPMMFC_OUT_OF_METERS;
 1989|  1.65k|    case  ((uint32_t) 12 << 16) | 11:
  ------------------
  |  Branch (1989:5): [True: 1.65k, False: 118k]
  ------------------
 1990|  1.65k|        return OFPERR_OFPMMFC_OUT_OF_BANDS;
 1991|    130|    case  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (1991:5): [True: 130, False: 120k]
  ------------------
 1992|    130|        return OFPERR_OFPTFFC_BAD_TABLE;
 1993|     88|    case  ((uint32_t) 13 << 16) | 1:
  ------------------
  |  Branch (1993:5): [True: 88, False: 120k]
  ------------------
 1994|     88|        return OFPERR_OFPTFFC_BAD_METADATA;
 1995|    194|    case  ((uint32_t) 13 << 16) | 5:
  ------------------
  |  Branch (1995:5): [True: 194, False: 120k]
  ------------------
 1996|    194|        return OFPERR_OFPTFFC_EPERM;
 1997|     66|    case (0x2320ULL << 32) |  ((uint32_t) 44 << 16) | 0:
  ------------------
  |  Branch (1997:5): [True: 66, False: 120k]
  ------------------
 1998|     66|        return OFPERR_NXTFFC_DUP_TABLE;
 1999|     94|    case  ((uint32_t) 13 << 16) | 2:
  ------------------
  |  Branch (1999:5): [True: 94, False: 120k]
  ------------------
 2000|     94|        return OFPERR_OFPBPC_BAD_TYPE;
 2001|    276|    case  ((uint32_t) 13 << 16) | 3:
  ------------------
  |  Branch (2001:5): [True: 276, False: 119k]
  ------------------
 2002|    276|        return OFPERR_OFPBPC_BAD_LEN;
 2003|     66|    case  ((uint32_t) 13 << 16) | 4:
  ------------------
  |  Branch (2003:5): [True: 66, False: 120k]
  ------------------
 2004|     66|        return OFPERR_OFPBPC_BAD_VALUE;
 2005|     18|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4443 << 16) | 0:
  ------------------
  |  Branch (2005:5): [True: 18, False: 120k]
  ------------------
 2006|     18|        return OFPERR_OFPBPC_TOO_MANY;
 2007|     34|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4444 << 16) | 0:
  ------------------
  |  Branch (2007:5): [True: 34, False: 120k]
  ------------------
 2008|     34|        return OFPERR_OFPBPC_DUP_TYPE;
 2009|     10|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4445 << 16) | 0:
  ------------------
  |  Branch (2009:5): [True: 10, False: 120k]
  ------------------
 2010|     10|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
 2011|     35|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4446 << 16) | 0:
  ------------------
  |  Branch (2011:5): [True: 35, False: 120k]
  ------------------
 2012|     35|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
 2013|     67|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4447 << 16) | 0:
  ------------------
  |  Branch (2013:5): [True: 67, False: 120k]
  ------------------
 2014|     67|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
 2015|     18|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4448 << 16) | 0:
  ------------------
  |  Branch (2015:5): [True: 18, False: 120k]
  ------------------
 2016|     18|        return OFPERR_OFPBPC_EPERM;
 2017|    579|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2370 << 16) | 0:
  ------------------
  |  Branch (2017:5): [True: 579, False: 119k]
  ------------------
 2018|    579|        return OFPERR_OFPACFC_INVALID;
 2019|    204|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2371 << 16) | 0:
  ------------------
  |  Branch (2019:5): [True: 204, False: 120k]
  ------------------
 2020|    204|        return OFPERR_OFPACFC_UNSUPPORTED;
 2021|     34|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2372 << 16) | 0:
  ------------------
  |  Branch (2021:5): [True: 34, False: 120k]
  ------------------
 2022|     34|        return OFPERR_OFPACFC_EPERM;
 2023|    195|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2300 << 16) | 0:
  ------------------
  |  Branch (2023:5): [True: 195, False: 120k]
  ------------------
 2024|    195|        return OFPERR_OFPBFC_UNKNOWN;
 2025|     34|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2301 << 16) | 0:
  ------------------
  |  Branch (2025:5): [True: 34, False: 120k]
  ------------------
 2026|     34|        return OFPERR_OFPBFC_EPERM;
 2027|     67|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2302 << 16) | 0:
  ------------------
  |  Branch (2027:5): [True: 67, False: 120k]
  ------------------
 2028|     67|        return OFPERR_OFPBFC_BAD_ID;
 2029|    195|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2303 << 16) | 0:
  ------------------
  |  Branch (2029:5): [True: 195, False: 120k]
  ------------------
 2030|    195|        return OFPERR_OFPBFC_BUNDLE_EXIST;
 2031|    313|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2304 << 16) | 0:
  ------------------
  |  Branch (2031:5): [True: 313, False: 119k]
  ------------------
 2032|    313|        return OFPERR_OFPBFC_BUNDLE_CLOSED;
 2033|    735|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2305 << 16) | 0:
  ------------------
  |  Branch (2033:5): [True: 735, False: 119k]
  ------------------
 2034|    735|        return OFPERR_OFPBFC_OUT_OF_BUNDLES;
 2035|  1.01k|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2306 << 16) | 0:
  ------------------
  |  Branch (2035:5): [True: 1.01k, False: 119k]
  ------------------
 2036|  1.01k|        return OFPERR_OFPBFC_BAD_TYPE;
 2037|     34|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2307 << 16) | 0:
  ------------------
  |  Branch (2037:5): [True: 34, False: 120k]
  ------------------
 2038|     34|        return OFPERR_OFPBFC_BAD_FLAGS;
 2039|     68|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2308 << 16) | 0:
  ------------------
  |  Branch (2039:5): [True: 68, False: 120k]
  ------------------
 2040|     68|        return OFPERR_OFPBFC_MSG_BAD_LEN;
 2041|     34|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2309 << 16) | 0:
  ------------------
  |  Branch (2041:5): [True: 34, False: 120k]
  ------------------
 2042|     34|        return OFPERR_OFPBFC_MSG_BAD_XID;
 2043|     25|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2310 << 16) | 0:
  ------------------
  |  Branch (2043:5): [True: 25, False: 120k]
  ------------------
 2044|     25|        return OFPERR_OFPBFC_MSG_UNSUP;
 2045|    273|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2311 << 16) | 0:
  ------------------
  |  Branch (2045:5): [True: 273, False: 120k]
  ------------------
 2046|    273|        return OFPERR_OFPBFC_MSG_CONFLICT;
 2047|    195|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2312 << 16) | 0:
  ------------------
  |  Branch (2047:5): [True: 195, False: 120k]
  ------------------
 2048|    195|        return OFPERR_OFPBFC_MSG_TOO_MANY;
 2049|    202|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2313 << 16) | 0:
  ------------------
  |  Branch (2049:5): [True: 202, False: 120k]
  ------------------
 2050|    202|        return OFPERR_OFPBFC_MSG_FAILED;
 2051|    227|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2314 << 16) | 0:
  ------------------
  |  Branch (2051:5): [True: 227, False: 120k]
  ------------------
 2052|    227|        return OFPERR_OFPBFC_TIMEOUT;
 2053|    269|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 2315 << 16) | 0:
  ------------------
  |  Branch (2053:5): [True: 269, False: 120k]
  ------------------
 2054|    269|        return OFPERR_OFPBFC_BUNDLE_IN_PROGRESS;
 2055|    247|    case (0x2320ULL << 32) |  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (2055:5): [True: 247, False: 120k]
  ------------------
 2056|    247|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
 2057|     67|    case (0x2320ULL << 32) |  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (2057:5): [True: 67, False: 120k]
  ------------------
 2058|     67|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
 2059|     37|    case (0x2320ULL << 32) |  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (2059:5): [True: 37, False: 120k]
  ------------------
 2060|     37|        return OFPERR_OFPMOFC_BAD_FLAGS;
 2061|  3.56k|    case (0x2320ULL << 32) |  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (2061:5): [True: 3.56k, False: 116k]
  ------------------
 2062|  3.56k|        return OFPERR_NXTTMFC_BAD_COMMAND;
 2063|     66|    case (0x2320ULL << 32) |  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (2063:5): [True: 66, False: 120k]
  ------------------
 2064|     66|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
 2065|    333|    case (0x2320ULL << 32) |  ((uint32_t) 18 << 16) | 0:
  ------------------
  |  Branch (2065:5): [True: 333, False: 119k]
  ------------------
 2066|    333|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
 2067|    783|    case (0x2320ULL << 32) |  ((uint32_t) 19 << 16) | 0:
  ------------------
  |  Branch (2067:5): [True: 783, False: 119k]
  ------------------
 2068|    783|        return OFPERR_NXTTMFC_TABLE_FULL;
 2069|    194|    case (0x2320ULL << 32) |  ((uint32_t) 20 << 16) | 0:
  ------------------
  |  Branch (2069:5): [True: 194, False: 120k]
  ------------------
 2070|    194|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
 2071|    202|    case (0x2320ULL << 32) |  ((uint32_t) 21 << 16) | 0:
  ------------------
  |  Branch (2071:5): [True: 202, False: 120k]
  ------------------
 2072|    202|        return OFPERR_NXTTMFC_DUP_ENTRY;
 2073|    995|    case (0x2320ULL << 32) |  ((uint32_t) 38 << 16) | 0:
  ------------------
  |  Branch (2073:5): [True: 995, False: 119k]
  ------------------
 2074|    995|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
 2075|    194|    case (0x2320ULL << 32) |  ((uint32_t) 34 << 16) | 0:
  ------------------
  |  Branch (2075:5): [True: 194, False: 120k]
  ------------------
 2076|    194|        return OFPERR_NXR_NOT_SUPPORTED;
 2077|     66|    case (0x2320ULL << 32) |  ((uint32_t) 35 << 16) | 0:
  ------------------
  |  Branch (2077:5): [True: 66, False: 120k]
  ------------------
 2078|     66|        return OFPERR_NXR_STALE;
 2079|  1.74k|    case (0x2320ULL << 32) |  ((uint32_t) 36 << 16) | 0:
  ------------------
  |  Branch (2079:5): [True: 1.74k, False: 118k]
  ------------------
 2080|  1.74k|        return OFPERR_NXST_NOT_CONFIGURED;
 2081|   120k|    }
 2082|       |
 2083|  33.1k|    return 0;
 2084|   120k|}
ofp-errors.c:ofperr_of14_decode:
 2294|   120k|{
 2295|   120k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (2295:13): [True: 81.1k, False: 39.2k]
  ------------------
 2296|  2.32k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (2296:5): [True: 2.32k, False: 118k]
  ------------------
 2297|  2.32k|        return OFPERR_OFPHFC_INCOMPATIBLE;
 2298|    205|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (2298:5): [True: 205, False: 120k]
  ------------------
 2299|    205|        return OFPERR_OFPHFC_EPERM;
 2300|    198|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (2300:5): [True: 198, False: 120k]
  ------------------
 2301|    198|        return OFPERR_OFPBRC_BAD_VERSION;
 2302|    203|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (2302:5): [True: 203, False: 120k]
  ------------------
 2303|    203|        return OFPERR_OFPBRC_BAD_TYPE;
 2304|  2.02k|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (2304:5): [True: 2.02k, False: 118k]
  ------------------
 2305|  2.02k|        return OFPERR_OFPBRC_BAD_STAT;
 2306|    175|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (2306:5): [True: 175, False: 120k]
  ------------------
 2307|    175|        return OFPERR_OFPBRC_BAD_VENDOR;
 2308|  1.19k|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (2308:5): [True: 1.19k, False: 119k]
  ------------------
 2309|  1.19k|        return OFPERR_OFPBRC_BAD_SUBTYPE;
 2310|    807|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (2310:5): [True: 807, False: 119k]
  ------------------
 2311|    807|        return OFPERR_OFPBRC_EPERM;
 2312|    194|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (2312:5): [True: 194, False: 120k]
  ------------------
 2313|    194|        return OFPERR_OFPBRC_BAD_LEN;
 2314|     69|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (2314:5): [True: 69, False: 120k]
  ------------------
 2315|     69|        return OFPERR_OFPBRC_BUFFER_EMPTY;
 2316|    645|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (2316:5): [True: 645, False: 119k]
  ------------------
 2317|    645|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
 2318|     75|    case  ((uint32_t) 1 << 16) | 9:
  ------------------
  |  Branch (2318:5): [True: 75, False: 120k]
  ------------------
 2319|     75|        return OFPERR_OFPBRC_BAD_TABLE_ID;
 2320|  1.91k|    case  ((uint32_t) 1 << 16) | 10:
  ------------------
  |  Branch (2320:5): [True: 1.91k, False: 118k]
  ------------------
 2321|  1.91k|        return OFPERR_OFPBRC_IS_SECONDARY;
 2322|     71|    case  ((uint32_t) 1 << 16) | 11:
  ------------------
  |  Branch (2322:5): [True: 71, False: 120k]
  ------------------
 2323|     71|        return OFPERR_OFPBRC_BAD_PORT;
 2324|  1.00k|    case  ((uint32_t) 1 << 16) | 12:
  ------------------
  |  Branch (2324:5): [True: 1.00k, False: 119k]
  ------------------
 2325|  1.00k|        return OFPERR_OFPBRC_BAD_PACKET;
 2326|     67|    case  ((uint32_t) 1 << 16) | 13:
  ------------------
  |  Branch (2326:5): [True: 67, False: 120k]
  ------------------
 2327|     67|        return OFPERR_OFPBRC_MULTIPART_BUFFER_OVERFLOW;
 2328|     34|    case  ((uint32_t) 1 << 16) | 14:
  ------------------
  |  Branch (2328:5): [True: 34, False: 120k]
  ------------------
 2329|     34|        return OFPERR_OFPBRC_MULTIPART_REQUEST_TIMEOUT;
 2330|     34|    case  ((uint32_t) 1 << 16) | 15:
  ------------------
  |  Branch (2330:5): [True: 34, False: 120k]
  ------------------
 2331|     34|        return OFPERR_OFPBRC_MULTIPART_REPLY_TIMEOUT;
 2332|     94|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (2332:5): [True: 94, False: 120k]
  ------------------
 2333|     94|        return OFPERR_NXBRC_NXM_INVALID;
 2334|     20|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (2334:5): [True: 20, False: 120k]
  ------------------
 2335|     20|        return OFPERR_NXBRC_NXM_BAD_TYPE;
 2336|    573|    case (0x2320ULL << 32) |  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (2336:5): [True: 573, False: 119k]
  ------------------
 2337|    573|        return OFPERR_NXBRC_MUST_BE_ZERO;
 2338|     18|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (2338:5): [True: 18, False: 120k]
  ------------------
 2339|     18|        return OFPERR_NXBRC_BAD_REASON;
 2340|    194|    case (0x2320ULL << 32) |  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (2340:5): [True: 194, False: 120k]
  ------------------
 2341|    194|        return OFPERR_NXBRC_FM_BAD_EVENT;
 2342|    239|    case (0x2320ULL << 32) |  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (2342:5): [True: 239, False: 120k]
  ------------------
 2343|    239|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
 2344|     90|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (2344:5): [True: 90, False: 120k]
  ------------------
 2345|     90|        return OFPERR_OFPBAC_BAD_TYPE;
 2346|    449|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (2346:5): [True: 449, False: 119k]
  ------------------
 2347|    449|        return OFPERR_OFPBAC_BAD_LEN;
 2348|    209|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (2348:5): [True: 209, False: 120k]
  ------------------
 2349|    209|        return OFPERR_OFPBAC_BAD_VENDOR;
 2350|     68|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (2350:5): [True: 68, False: 120k]
  ------------------
 2351|     68|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 2352|    303|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (2352:5): [True: 303, False: 120k]
  ------------------
 2353|    303|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 2354|    306|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (2354:5): [True: 306, False: 120k]
  ------------------
 2355|    306|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 2356|    293|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (2356:5): [True: 293, False: 120k]
  ------------------
 2357|    293|        return OFPERR_OFPBAC_EPERM;
 2358|    245|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (2358:5): [True: 245, False: 120k]
  ------------------
 2359|    245|        return OFPERR_OFPBAC_TOO_MANY;
 2360|    510|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (2360:5): [True: 510, False: 119k]
  ------------------
 2361|    510|        return OFPERR_OFPBAC_BAD_QUEUE;
 2362|  1.38k|    case  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (2362:5): [True: 1.38k, False: 119k]
  ------------------
 2363|  1.38k|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
 2364|    702|    case  ((uint32_t) 2 << 16) | 10:
  ------------------
  |  Branch (2364:5): [True: 702, False: 119k]
  ------------------
 2365|    702|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 2366|    664|    case  ((uint32_t) 2 << 16) | 11:
  ------------------
  |  Branch (2366:5): [True: 664, False: 119k]
  ------------------
 2367|    664|        return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
 2368|     66|    case  ((uint32_t) 2 << 16) | 12:
  ------------------
  |  Branch (2368:5): [True: 66, False: 120k]
  ------------------
 2369|     66|        return OFPERR_OFPBAC_BAD_TAG;
 2370|    252|    case  ((uint32_t) 2 << 16) | 13:
  ------------------
  |  Branch (2370:5): [True: 252, False: 120k]
  ------------------
 2371|    252|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 2372|    563|    case  ((uint32_t) 2 << 16) | 14:
  ------------------
  |  Branch (2372:5): [True: 563, False: 119k]
  ------------------
 2373|    563|        return OFPERR_OFPBAC_BAD_SET_LEN;
 2374|     66|    case  ((uint32_t) 2 << 16) | 15:
  ------------------
  |  Branch (2374:5): [True: 66, False: 120k]
  ------------------
 2375|     66|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2376|     42|    case (0x4f4e4600ULL << 32) |  ((uint32_t) 4250 << 16) | 0:
  ------------------
  |  Branch (2376:5): [True: 42, False: 120k]
  ------------------
 2377|     42|        return OFPERR_OFPBAC_BAD_SET_MASK;
 2378|     73|    case (0x2320ULL << 32) |  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (2378:5): [True: 73, False: 120k]
  ------------------
 2379|     73|        return OFPERR_NXBAC_MUST_BE_ZERO;
 2380|    194|    case (0x2320ULL << 32) |  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (2380:5): [True: 194, False: 120k]
  ------------------
 2381|    194|        return OFPERR_NXBAC_BAD_CONJUNCTION;
 2382|     68|    case (0x2320ULL << 32) |  ((uint32_t) 39 << 16) | 0:
  ------------------
  |  Branch (2382:5): [True: 68, False: 120k]
  ------------------
 2383|     68|        return OFPERR_NXBAC_BAD_HEADER_TYPE;
 2384|     34|    case (0x2320ULL << 32) |  ((uint32_t) 40 << 16) | 0:
  ------------------
  |  Branch (2384:5): [True: 34, False: 120k]
  ------------------
 2385|     34|        return OFPERR_NXBAC_UNKNOWN_ED_PROP;
 2386|     83|    case (0x2320ULL << 32) |  ((uint32_t) 41 << 16) | 0:
  ------------------
  |  Branch (2386:5): [True: 83, False: 120k]
  ------------------
 2387|     83|        return OFPERR_NXBAC_BAD_ED_PROP;
 2388|     66|    case (0x2320ULL << 32) |  ((uint32_t) 42 << 16) | 0:
  ------------------
  |  Branch (2388:5): [True: 66, False: 120k]
  ------------------
 2389|     66|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
 2390|    209|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (2390:5): [True: 209, False: 120k]
  ------------------
 2391|    209|        return OFPERR_OFPBIC_UNKNOWN_INST;
 2392|     97|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (2392:5): [True: 97, False: 120k]
  ------------------
 2393|     97|        return OFPERR_OFPBIC_UNSUP_INST;
 2394|    683|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (2394:5): [True: 683, False: 119k]
  ------------------
 2395|    683|        return OFPERR_OFPBIC_BAD_TABLE_ID;
 2396|     86|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (2396:5): [True: 86, False: 120k]
  ------------------
 2397|     86|        return OFPERR_OFPBIC_UNSUP_METADATA;
 2398|     67|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (2398:5): [True: 67, False: 120k]
  ------------------
 2399|     67|        return OFPERR_OFPBIC_UNSUP_METADATA_MASK;
 2400|     11|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (2400:5): [True: 11, False: 120k]
  ------------------
 2401|     11|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
 2402|    840|    case  ((uint32_t) 3 << 16) | 6:
  ------------------
  |  Branch (2402:5): [True: 840, False: 119k]
  ------------------
 2403|    840|        return OFPERR_OFPBIC_BAD_EXP_TYPE;
 2404|     68|    case  ((uint32_t) 3 << 16) | 7:
  ------------------
  |  Branch (2404:5): [True: 68, False: 120k]
  ------------------
 2405|     68|        return OFPERR_OFPBIC_BAD_LEN;
 2406|    305|    case  ((uint32_t) 3 << 16) | 8:
  ------------------
  |  Branch (2406:5): [True: 305, False: 120k]
  ------------------
 2407|    305|        return OFPERR_OFPBIC_EPERM;
 2408|    161|    case  ((uint32_t) 3 << 16) | 9:
  ------------------
  |  Branch (2408:5): [True: 161, False: 120k]
  ------------------
 2409|    161|        return OFPERR_OFPBIC_DUP_INST;
 2410|    104|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (2410:5): [True: 104, False: 120k]
  ------------------
 2411|    104|        return OFPERR_OFPBMC_BAD_TYPE;
 2412|    388|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (2412:5): [True: 388, False: 120k]
  ------------------
 2413|    388|        return OFPERR_OFPBMC_BAD_LEN;
 2414|     66|    case  ((uint32_t) 4 << 16) | 2:
  ------------------
  |  Branch (2414:5): [True: 66, False: 120k]
  ------------------
 2415|     66|        return OFPERR_OFPBMC_BAD_TAG;
 2416|     68|    case  ((uint32_t) 4 << 16) | 3:
  ------------------
  |  Branch (2416:5): [True: 68, False: 120k]
  ------------------
 2417|     68|        return OFPERR_OFPBMC_BAD_DL_ADDR_MASK;
 2418|     31|    case  ((uint32_t) 4 << 16) | 4:
  ------------------
  |  Branch (2418:5): [True: 31, False: 120k]
  ------------------
 2419|     31|        return OFPERR_OFPBMC_BAD_NW_ADDR_MASK;
 2420|  1.15k|    case  ((uint32_t) 4 << 16) | 5:
  ------------------
  |  Branch (2420:5): [True: 1.15k, False: 119k]
  ------------------
 2421|  1.15k|        return OFPERR_OFPBMC_BAD_WILDCARDS;
 2422|     83|    case  ((uint32_t) 4 << 16) | 6:
  ------------------
  |  Branch (2422:5): [True: 83, False: 120k]
  ------------------
 2423|     83|        return OFPERR_OFPBMC_BAD_FIELD;
 2424|    269|    case  ((uint32_t) 4 << 16) | 7:
  ------------------
  |  Branch (2424:5): [True: 269, False: 120k]
  ------------------
 2425|    269|        return OFPERR_OFPBMC_BAD_VALUE;
 2426|    430|    case  ((uint32_t) 4 << 16) | 8:
  ------------------
  |  Branch (2426:5): [True: 430, False: 119k]
  ------------------
 2427|    430|        return OFPERR_OFPBMC_BAD_MASK;
 2428|     66|    case  ((uint32_t) 4 << 16) | 9:
  ------------------
  |  Branch (2428:5): [True: 66, False: 120k]
  ------------------
 2429|     66|        return OFPERR_OFPBMC_BAD_PREREQ;
 2430|    924|    case  ((uint32_t) 4 << 16) | 10:
  ------------------
  |  Branch (2430:5): [True: 924, False: 119k]
  ------------------
 2431|    924|        return OFPERR_OFPBMC_DUP_FIELD;
 2432|  3.06k|    case  ((uint32_t) 4 << 16) | 11:
  ------------------
  |  Branch (2432:5): [True: 3.06k, False: 117k]
  ------------------
 2433|  3.06k|        return OFPERR_OFPBMC_EPERM;
 2434|    214|    case (0x2320ULL << 32) |  ((uint32_t) 43 << 16) | 0:
  ------------------
  |  Branch (2434:5): [True: 214, False: 120k]
  ------------------
 2435|    214|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
 2436|    183|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (2436:5): [True: 183, False: 120k]
  ------------------
 2437|    183|        return OFPERR_OFPFMFC_UNKNOWN;
 2438|    536|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (2438:5): [True: 536, False: 119k]
  ------------------
 2439|    536|        return OFPERR_OFPFMFC_TABLE_FULL;
 2440|     45|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (2440:5): [True: 45, False: 120k]
  ------------------
 2441|     45|        return OFPERR_OFPFMFC_BAD_TABLE_ID;
 2442|     72|    case  ((uint32_t) 5 << 16) | 3:
  ------------------
  |  Branch (2442:5): [True: 72, False: 120k]
  ------------------
 2443|     72|        return OFPERR_OFPFMFC_OVERLAP;
 2444|    328|    case  ((uint32_t) 5 << 16) | 4:
  ------------------
  |  Branch (2444:5): [True: 328, False: 120k]
  ------------------
 2445|    328|        return OFPERR_OFPFMFC_EPERM;
 2446|    603|    case  ((uint32_t) 5 << 16) | 5:
  ------------------
  |  Branch (2446:5): [True: 603, False: 119k]
  ------------------
 2447|    603|        return OFPERR_OFPFMFC_BAD_TIMEOUT;
 2448|    189|    case  ((uint32_t) 5 << 16) | 6:
  ------------------
  |  Branch (2448:5): [True: 189, False: 120k]
  ------------------
 2449|    189|        return OFPERR_OFPFMFC_BAD_COMMAND;
 2450|     92|    case  ((uint32_t) 5 << 16) | 7:
  ------------------
  |  Branch (2450:5): [True: 92, False: 120k]
  ------------------
 2451|     92|        return OFPERR_OFPFMFC_BAD_FLAGS;
 2452|     67|    case  ((uint32_t) 5 << 16) | 8:
  ------------------
  |  Branch (2452:5): [True: 67, False: 120k]
  ------------------
 2453|     67|        return OFPERR_OFPFMFC_CANT_SYNC;
 2454|    503|    case  ((uint32_t) 5 << 16) | 9:
  ------------------
  |  Branch (2454:5): [True: 503, False: 119k]
  ------------------
 2455|    503|        return OFPERR_OFPFMFC_BAD_PRIORITY;
 2456|     18|    case  ((uint32_t) 5 << 16) | 10:
  ------------------
  |  Branch (2456:5): [True: 18, False: 120k]
  ------------------
 2457|     18|        return OFPERR_OFPFMFC_IS_SYNC;
 2458|     66|    case (0x2320ULL << 32) |  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (2458:5): [True: 66, False: 120k]
  ------------------
 2459|     66|        return OFPERR_NXFMFC_HARDWARE;
 2460|  2.17k|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (2460:5): [True: 2.17k, False: 118k]
  ------------------
 2461|  2.17k|        return OFPERR_NXFMFC_BAD_TABLE_ID;
 2462|     34|    case (0x2320ULL << 32) |  ((uint32_t) 37 << 16) | 0:
  ------------------
  |  Branch (2462:5): [True: 34, False: 120k]
  ------------------
 2463|     34|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
 2464|    680|    case  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (2464:5): [True: 680, False: 119k]
  ------------------
 2465|    680|        return OFPERR_OFPGMFC_GROUP_EXISTS;
 2466|  11.0k|    case  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (2466:5): [True: 11.0k, False: 109k]
  ------------------
 2467|  11.0k|        return OFPERR_OFPGMFC_INVALID_GROUP;
 2468|    772|    case  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (2468:5): [True: 772, False: 119k]
  ------------------
 2469|    772|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
 2470|    210|    case  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (2470:5): [True: 210, False: 120k]
  ------------------
 2471|    210|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
 2472|    733|    case  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (2472:5): [True: 733, False: 119k]
  ------------------
 2473|    733|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
 2474|     20|    case  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (2474:5): [True: 20, False: 120k]
  ------------------
 2475|     20|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
 2476|     69|    case  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (2476:5): [True: 69, False: 120k]
  ------------------
 2477|     69|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
 2478|  2.84k|    case  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (2478:5): [True: 2.84k, False: 117k]
  ------------------
 2479|  2.84k|        return OFPERR_OFPGMFC_LOOP;
 2480|    889|    case  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (2480:5): [True: 889, False: 119k]
  ------------------
 2481|    889|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
 2482|    720|    case  ((uint32_t) 6 << 16) | 9:
  ------------------
  |  Branch (2482:5): [True: 720, False: 119k]
  ------------------
 2483|    720|        return OFPERR_OFPGMFC_CHAINED_GROUP;
 2484|     66|    case  ((uint32_t) 6 << 16) | 10:
  ------------------
  |  Branch (2484:5): [True: 66, False: 120k]
  ------------------
 2485|     66|        return OFPERR_OFPGMFC_BAD_TYPE;
 2486|    101|    case  ((uint32_t) 6 << 16) | 11:
  ------------------
  |  Branch (2486:5): [True: 101, False: 120k]
  ------------------
 2487|    101|        return OFPERR_OFPGMFC_BAD_COMMAND;
 2488|    159|    case  ((uint32_t) 6 << 16) | 12:
  ------------------
  |  Branch (2488:5): [True: 159, False: 120k]
  ------------------
 2489|    159|        return OFPERR_OFPGMFC_BAD_BUCKET;
 2490|  1.30k|    case  ((uint32_t) 6 << 16) | 13:
  ------------------
  |  Branch (2490:5): [True: 1.30k, False: 119k]
  ------------------
 2491|  1.30k|        return OFPERR_OFPGMFC_BAD_WATCH;
 2492|    503|    case  ((uint32_t) 6 << 16) | 14:
  ------------------
  |  Branch (2492:5): [True: 503, False: 119k]
  ------------------
 2493|    503|        return OFPERR_OFPGMFC_EPERM;
 2494|    264|    case  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (2494:5): [True: 264, False: 120k]
  ------------------
 2495|    264|        return OFPERR_OFPPMFC_BAD_PORT;
 2496|     91|    case  ((uint32_t) 7 << 16) | 1:
  ------------------
  |  Branch (2496:5): [True: 91, False: 120k]
  ------------------
 2497|     91|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
 2498|    132|    case  ((uint32_t) 7 << 16) | 2:
  ------------------
  |  Branch (2498:5): [True: 132, False: 120k]
  ------------------
 2499|    132|        return OFPERR_OFPPMFC_BAD_CONFIG;
 2500|    441|    case  ((uint32_t) 7 << 16) | 3:
  ------------------
  |  Branch (2500:5): [True: 441, False: 119k]
  ------------------
 2501|    441|        return OFPERR_OFPPMFC_BAD_ADVERTISE;
 2502|    250|    case  ((uint32_t) 7 << 16) | 4:
  ------------------
  |  Branch (2502:5): [True: 250, False: 120k]
  ------------------
 2503|    250|        return OFPERR_OFPPMFC_EPERM;
 2504|    675|    case  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (2504:5): [True: 675, False: 119k]
  ------------------
 2505|    675|        return OFPERR_OFPTMFC_BAD_TABLE;
 2506|  2.92k|    case  ((uint32_t) 8 << 16) | 1:
  ------------------
  |  Branch (2506:5): [True: 2.92k, False: 117k]
  ------------------
 2507|  2.92k|        return OFPERR_OFPTMFC_BAD_CONFIG;
 2508|     73|    case  ((uint32_t) 8 << 16) | 2:
  ------------------
  |  Branch (2508:5): [True: 73, False: 120k]
  ------------------
 2509|     73|        return OFPERR_OFPTMFC_EPERM;
 2510|     68|    case  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (2510:5): [True: 68, False: 120k]
  ------------------
 2511|     68|        return OFPERR_OFPQOFC_BAD_PORT;
 2512|    249|    case  ((uint32_t) 9 << 16) | 1:
  ------------------
  |  Branch (2512:5): [True: 249, False: 120k]
  ------------------
 2513|    249|        return OFPERR_OFPQOFC_BAD_QUEUE;
 2514|    317|    case  ((uint32_t) 9 << 16) | 2:
  ------------------
  |  Branch (2514:5): [True: 317, False: 120k]
  ------------------
 2515|    317|        return OFPERR_OFPQOFC_EPERM;
 2516|     66|    case (0x2320ULL << 32) |  ((uint32_t) 23 << 16) | 0:
  ------------------
  |  Branch (2516:5): [True: 66, False: 120k]
  ------------------
 2517|     66|        return OFPERR_NXQOFC_QUEUE_ERROR;
 2518|     39|    case  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (2518:5): [True: 39, False: 120k]
  ------------------
 2519|     39|        return OFPERR_OFPSCFC_BAD_FLAGS;
 2520|  2.02k|    case  ((uint32_t) 10 << 16) | 1:
  ------------------
  |  Branch (2520:5): [True: 2.02k, False: 118k]
  ------------------
 2521|  2.02k|        return OFPERR_OFPSCFC_BAD_LEN;
 2522|    893|    case  ((uint32_t) 10 << 16) | 2:
  ------------------
  |  Branch (2522:5): [True: 893, False: 119k]
  ------------------
 2523|    893|        return OFPERR_OFPSCFC_EPERM;
 2524|     35|    case  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (2524:5): [True: 35, False: 120k]
  ------------------
 2525|     35|        return OFPERR_OFPRRFC_STALE;
 2526|    168|    case  ((uint32_t) 11 << 16) | 1:
  ------------------
  |  Branch (2526:5): [True: 168, False: 120k]
  ------------------
 2527|    168|        return OFPERR_OFPRRFC_UNSUP;
 2528|    350|    case  ((uint32_t) 11 << 16) | 2:
  ------------------
  |  Branch (2528:5): [True: 350, False: 120k]
  ------------------
 2529|    350|        return OFPERR_OFPRRFC_BAD_ROLE;
 2530|    354|    case  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (2530:5): [True: 354, False: 120k]
  ------------------
 2531|    354|        return OFPERR_OFPMMFC_UNKNOWN;
 2532|    315|    case  ((uint32_t) 12 << 16) | 1:
  ------------------
  |  Branch (2532:5): [True: 315, False: 120k]
  ------------------
 2533|    315|        return OFPERR_OFPMMFC_METER_EXISTS;
 2534|    527|    case  ((uint32_t) 12 << 16) | 2:
  ------------------
  |  Branch (2534:5): [True: 527, False: 119k]
  ------------------
 2535|    527|        return OFPERR_OFPMMFC_INVALID_METER;
 2536|    527|    case  ((uint32_t) 12 << 16) | 3:
  ------------------
  |  Branch (2536:5): [True: 527, False: 119k]
  ------------------
 2537|    527|        return OFPERR_OFPMMFC_UNKNOWN_METER;
 2538|     72|    case  ((uint32_t) 12 << 16) | 4:
  ------------------
  |  Branch (2538:5): [True: 72, False: 120k]
  ------------------
 2539|     72|        return OFPERR_OFPMMFC_BAD_COMMAND;
 2540|     36|    case  ((uint32_t) 12 << 16) | 5:
  ------------------
  |  Branch (2540:5): [True: 36, False: 120k]
  ------------------
 2541|     36|        return OFPERR_OFPMMFC_BAD_FLAGS;
 2542|    332|    case  ((uint32_t) 12 << 16) | 6:
  ------------------
  |  Branch (2542:5): [True: 332, False: 120k]
  ------------------
 2543|    332|        return OFPERR_OFPMMFC_BAD_RATE;
 2544|     18|    case  ((uint32_t) 12 << 16) | 7:
  ------------------
  |  Branch (2544:5): [True: 18, False: 120k]
  ------------------
 2545|     18|        return OFPERR_OFPMMFC_BAD_BURST;
 2546|    220|    case  ((uint32_t) 12 << 16) | 8:
  ------------------
  |  Branch (2546:5): [True: 220, False: 120k]
  ------------------
 2547|    220|        return OFPERR_OFPMMFC_BAD_BAND;
 2548|    299|    case  ((uint32_t) 12 << 16) | 9:
  ------------------
  |  Branch (2548:5): [True: 299, False: 120k]
  ------------------
 2549|    299|        return OFPERR_OFPMMFC_BAD_BAND_VALUE;
 2550|     66|    case  ((uint32_t) 12 << 16) | 10:
  ------------------
  |  Branch (2550:5): [True: 66, False: 120k]
  ------------------
 2551|     66|        return OFPERR_OFPMMFC_OUT_OF_METERS;
 2552|    197|    case  ((uint32_t) 12 << 16) | 11:
  ------------------
  |  Branch (2552:5): [True: 197, False: 120k]
  ------------------
 2553|    197|        return OFPERR_OFPMMFC_OUT_OF_BANDS;
 2554|     70|    case  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (2554:5): [True: 70, False: 120k]
  ------------------
 2555|     70|        return OFPERR_OFPTFFC_BAD_TABLE;
 2556|    208|    case  ((uint32_t) 13 << 16) | 1:
  ------------------
  |  Branch (2556:5): [True: 208, False: 120k]
  ------------------
 2557|    208|        return OFPERR_OFPTFFC_BAD_METADATA;
 2558|  1.92k|    case  ((uint32_t) 13 << 16) | 5:
  ------------------
  |  Branch (2558:5): [True: 1.92k, False: 118k]
  ------------------
 2559|  1.92k|        return OFPERR_OFPTFFC_EPERM;
 2560|    194|    case (0x2320ULL << 32) |  ((uint32_t) 44 << 16) | 0:
  ------------------
  |  Branch (2560:5): [True: 194, False: 120k]
  ------------------
 2561|    194|        return OFPERR_NXTFFC_DUP_TABLE;
 2562|     56|    case  ((uint32_t) 14 << 16) | 0:
  ------------------
  |  Branch (2562:5): [True: 56, False: 120k]
  ------------------
 2563|     56|        return OFPERR_OFPBPC_BAD_TYPE;
 2564|    118|    case  ((uint32_t) 14 << 16) | 1:
  ------------------
  |  Branch (2564:5): [True: 118, False: 120k]
  ------------------
 2565|    118|        return OFPERR_OFPBPC_BAD_LEN;
 2566|     94|    case  ((uint32_t) 14 << 16) | 2:
  ------------------
  |  Branch (2566:5): [True: 94, False: 120k]
  ------------------
 2567|     94|        return OFPERR_OFPBPC_BAD_VALUE;
 2568|     66|    case  ((uint32_t) 14 << 16) | 3:
  ------------------
  |  Branch (2568:5): [True: 66, False: 120k]
  ------------------
 2569|     66|        return OFPERR_OFPBPC_TOO_MANY;
 2570|     39|    case  ((uint32_t) 14 << 16) | 4:
  ------------------
  |  Branch (2570:5): [True: 39, False: 120k]
  ------------------
 2571|     39|        return OFPERR_OFPBPC_DUP_TYPE;
 2572|  2.73k|    case  ((uint32_t) 14 << 16) | 5:
  ------------------
  |  Branch (2572:5): [True: 2.73k, False: 117k]
  ------------------
 2573|  2.73k|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
 2574|     34|    case  ((uint32_t) 14 << 16) | 6:
  ------------------
  |  Branch (2574:5): [True: 34, False: 120k]
  ------------------
 2575|     34|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
 2576|     66|    case  ((uint32_t) 14 << 16) | 7:
  ------------------
  |  Branch (2576:5): [True: 66, False: 120k]
  ------------------
 2577|     66|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
 2578|    197|    case  ((uint32_t) 14 << 16) | 8:
  ------------------
  |  Branch (2578:5): [True: 197, False: 120k]
  ------------------
 2579|    197|        return OFPERR_OFPBPC_EPERM;
 2580|    205|    case  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (2580:5): [True: 205, False: 120k]
  ------------------
 2581|    205|        return OFPERR_OFPACFC_INVALID;
 2582|     36|    case  ((uint32_t) 15 << 16) | 1:
  ------------------
  |  Branch (2582:5): [True: 36, False: 120k]
  ------------------
 2583|     36|        return OFPERR_OFPACFC_UNSUPPORTED;
 2584|     68|    case  ((uint32_t) 15 << 16) | 2:
  ------------------
  |  Branch (2584:5): [True: 68, False: 120k]
  ------------------
 2585|     68|        return OFPERR_OFPACFC_EPERM;
 2586|     84|    case  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (2586:5): [True: 84, False: 120k]
  ------------------
 2587|     84|        return OFPERR_OFPBFC_UNKNOWN;
 2588|     83|    case  ((uint32_t) 17 << 16) | 1:
  ------------------
  |  Branch (2588:5): [True: 83, False: 120k]
  ------------------
 2589|     83|        return OFPERR_OFPBFC_EPERM;
 2590|    881|    case  ((uint32_t) 17 << 16) | 2:
  ------------------
  |  Branch (2590:5): [True: 881, False: 119k]
  ------------------
 2591|    881|        return OFPERR_OFPBFC_BAD_ID;
 2592|    218|    case  ((uint32_t) 17 << 16) | 3:
  ------------------
  |  Branch (2592:5): [True: 218, False: 120k]
  ------------------
 2593|    218|        return OFPERR_OFPBFC_BUNDLE_EXIST;
 2594|     34|    case  ((uint32_t) 17 << 16) | 4:
  ------------------
  |  Branch (2594:5): [True: 34, False: 120k]
  ------------------
 2595|     34|        return OFPERR_OFPBFC_BUNDLE_CLOSED;
 2596|    115|    case  ((uint32_t) 17 << 16) | 5:
  ------------------
  |  Branch (2596:5): [True: 115, False: 120k]
  ------------------
 2597|    115|        return OFPERR_OFPBFC_OUT_OF_BUNDLES;
 2598|    153|    case  ((uint32_t) 17 << 16) | 6:
  ------------------
  |  Branch (2598:5): [True: 153, False: 120k]
  ------------------
 2599|    153|        return OFPERR_OFPBFC_BAD_TYPE;
 2600|  1.38k|    case  ((uint32_t) 17 << 16) | 7:
  ------------------
  |  Branch (2600:5): [True: 1.38k, False: 119k]
  ------------------
 2601|  1.38k|        return OFPERR_OFPBFC_BAD_FLAGS;
 2602|    198|    case  ((uint32_t) 17 << 16) | 8:
  ------------------
  |  Branch (2602:5): [True: 198, False: 120k]
  ------------------
 2603|    198|        return OFPERR_OFPBFC_MSG_BAD_LEN;
 2604|    147|    case  ((uint32_t) 17 << 16) | 9:
  ------------------
  |  Branch (2604:5): [True: 147, False: 120k]
  ------------------
 2605|    147|        return OFPERR_OFPBFC_MSG_BAD_XID;
 2606|    218|    case  ((uint32_t) 17 << 16) | 10:
  ------------------
  |  Branch (2606:5): [True: 218, False: 120k]
  ------------------
 2607|    218|        return OFPERR_OFPBFC_MSG_UNSUP;
 2608|    259|    case  ((uint32_t) 17 << 16) | 11:
  ------------------
  |  Branch (2608:5): [True: 259, False: 120k]
  ------------------
 2609|    259|        return OFPERR_OFPBFC_MSG_CONFLICT;
 2610|  2.17k|    case  ((uint32_t) 17 << 16) | 12:
  ------------------
  |  Branch (2610:5): [True: 2.17k, False: 118k]
  ------------------
 2611|  2.17k|        return OFPERR_OFPBFC_MSG_TOO_MANY;
 2612|    287|    case  ((uint32_t) 17 << 16) | 13:
  ------------------
  |  Branch (2612:5): [True: 287, False: 120k]
  ------------------
 2613|    287|        return OFPERR_OFPBFC_MSG_FAILED;
 2614|    201|    case  ((uint32_t) 17 << 16) | 14:
  ------------------
  |  Branch (2614:5): [True: 201, False: 120k]
  ------------------
 2615|    201|        return OFPERR_OFPBFC_TIMEOUT;
 2616|    224|    case  ((uint32_t) 17 << 16) | 15:
  ------------------
  |  Branch (2616:5): [True: 224, False: 120k]
  ------------------
 2617|    224|        return OFPERR_OFPBFC_BUNDLE_IN_PROGRESS;
 2618|    197|    case (0x2320ULL << 32) |  ((uint32_t) 22 << 16) | 0:
  ------------------
  |  Branch (2618:5): [True: 197, False: 120k]
  ------------------
 2619|    197|        return OFPERR_OFPBFC_BAD_VERSION;
 2620|     85|    case  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (2620:5): [True: 85, False: 120k]
  ------------------
 2621|     85|        return OFPERR_OFPMOFC_UNKNOWN;
 2622|     72|    case  ((uint32_t) 16 << 16) | 1:
  ------------------
  |  Branch (2622:5): [True: 72, False: 120k]
  ------------------
 2623|     72|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
 2624|     69|    case  ((uint32_t) 16 << 16) | 2:
  ------------------
  |  Branch (2624:5): [True: 69, False: 120k]
  ------------------
 2625|     69|        return OFPERR_OFPMOFC_INVALID_MONITOR;
 2626|     71|    case  ((uint32_t) 16 << 16) | 3:
  ------------------
  |  Branch (2626:5): [True: 71, False: 120k]
  ------------------
 2627|     71|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
 2628|     67|    case  ((uint32_t) 16 << 16) | 4:
  ------------------
  |  Branch (2628:5): [True: 67, False: 120k]
  ------------------
 2629|     67|        return OFPERR_OFPMOFC_BAD_COMMAND;
 2630|    206|    case  ((uint32_t) 16 << 16) | 5:
  ------------------
  |  Branch (2630:5): [True: 206, False: 120k]
  ------------------
 2631|    206|        return OFPERR_OFPMOFC_BAD_FLAGS;
 2632|     80|    case  ((uint32_t) 16 << 16) | 6:
  ------------------
  |  Branch (2632:5): [True: 80, False: 120k]
  ------------------
 2633|     80|        return OFPERR_OFPMOFC_BAD_TABLE_ID;
 2634|    177|    case  ((uint32_t) 16 << 16) | 7:
  ------------------
  |  Branch (2634:5): [True: 177, False: 120k]
  ------------------
 2635|    177|        return OFPERR_OFPMOFC_BAD_OUT;
 2636|    871|    case (0x2320ULL << 32) |  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (2636:5): [True: 871, False: 119k]
  ------------------
 2637|    871|        return OFPERR_NXTTMFC_BAD_COMMAND;
 2638|    458|    case (0x2320ULL << 32) |  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (2638:5): [True: 458, False: 119k]
  ------------------
 2639|    458|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
 2640|     35|    case (0x2320ULL << 32) |  ((uint32_t) 18 << 16) | 0:
  ------------------
  |  Branch (2640:5): [True: 35, False: 120k]
  ------------------
 2641|     35|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
 2642|     34|    case (0x2320ULL << 32) |  ((uint32_t) 19 << 16) | 0:
  ------------------
  |  Branch (2642:5): [True: 34, False: 120k]
  ------------------
 2643|     34|        return OFPERR_NXTTMFC_TABLE_FULL;
 2644|    194|    case (0x2320ULL << 32) |  ((uint32_t) 20 << 16) | 0:
  ------------------
  |  Branch (2644:5): [True: 194, False: 120k]
  ------------------
 2645|    194|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
 2646|     68|    case (0x2320ULL << 32) |  ((uint32_t) 21 << 16) | 0:
  ------------------
  |  Branch (2646:5): [True: 68, False: 120k]
  ------------------
 2647|     68|        return OFPERR_NXTTMFC_DUP_ENTRY;
 2648|     66|    case (0x2320ULL << 32) |  ((uint32_t) 38 << 16) | 0:
  ------------------
  |  Branch (2648:5): [True: 66, False: 120k]
  ------------------
 2649|     66|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
 2650|     24|    case (0x2320ULL << 32) |  ((uint32_t) 34 << 16) | 0:
  ------------------
  |  Branch (2650:5): [True: 24, False: 120k]
  ------------------
 2651|     24|        return OFPERR_NXR_NOT_SUPPORTED;
 2652|     74|    case (0x2320ULL << 32) |  ((uint32_t) 35 << 16) | 0:
  ------------------
  |  Branch (2652:5): [True: 74, False: 120k]
  ------------------
 2653|     74|        return OFPERR_NXR_STALE;
 2654|     66|    case (0x2320ULL << 32) |  ((uint32_t) 36 << 16) | 0:
  ------------------
  |  Branch (2654:5): [True: 66, False: 120k]
  ------------------
 2655|     66|        return OFPERR_NXST_NOT_CONFIGURED;
 2656|   120k|    }
 2657|       |
 2658|  39.2k|    return 0;
 2659|   120k|}
ofp-errors.c:ofperr_of15_decode:
 2869|   110k|{
 2870|   110k|    switch (((uint64_t) vendor << 32) | ((uint32_t) type << 16) | code) {
  ------------------
  |  Branch (2870:13): [True: 81.8k, False: 28.7k]
  ------------------
 2871|  1.33k|    case  ((uint32_t) 0 << 16) | 0:
  ------------------
  |  Branch (2871:5): [True: 1.33k, False: 109k]
  ------------------
 2872|  1.33k|        return OFPERR_OFPHFC_INCOMPATIBLE;
 2873|    278|    case  ((uint32_t) 0 << 16) | 1:
  ------------------
  |  Branch (2873:5): [True: 278, False: 110k]
  ------------------
 2874|    278|        return OFPERR_OFPHFC_EPERM;
 2875|    995|    case  ((uint32_t) 1 << 16) | 0:
  ------------------
  |  Branch (2875:5): [True: 995, False: 109k]
  ------------------
 2876|    995|        return OFPERR_OFPBRC_BAD_VERSION;
 2877|  4.64k|    case  ((uint32_t) 1 << 16) | 1:
  ------------------
  |  Branch (2877:5): [True: 4.64k, False: 105k]
  ------------------
 2878|  4.64k|        return OFPERR_OFPBRC_BAD_TYPE;
 2879|  2.22k|    case  ((uint32_t) 1 << 16) | 2:
  ------------------
  |  Branch (2879:5): [True: 2.22k, False: 108k]
  ------------------
 2880|  2.22k|        return OFPERR_OFPBRC_BAD_STAT;
 2881|     67|    case  ((uint32_t) 1 << 16) | 3:
  ------------------
  |  Branch (2881:5): [True: 67, False: 110k]
  ------------------
 2882|     67|        return OFPERR_OFPBRC_BAD_VENDOR;
 2883|    162|    case  ((uint32_t) 1 << 16) | 4:
  ------------------
  |  Branch (2883:5): [True: 162, False: 110k]
  ------------------
 2884|    162|        return OFPERR_OFPBRC_BAD_SUBTYPE;
 2885|  1.03k|    case  ((uint32_t) 1 << 16) | 5:
  ------------------
  |  Branch (2885:5): [True: 1.03k, False: 109k]
  ------------------
 2886|  1.03k|        return OFPERR_OFPBRC_EPERM;
 2887|     90|    case  ((uint32_t) 1 << 16) | 6:
  ------------------
  |  Branch (2887:5): [True: 90, False: 110k]
  ------------------
 2888|     90|        return OFPERR_OFPBRC_BAD_LEN;
 2889|    405|    case  ((uint32_t) 1 << 16) | 7:
  ------------------
  |  Branch (2889:5): [True: 405, False: 110k]
  ------------------
 2890|    405|        return OFPERR_OFPBRC_BUFFER_EMPTY;
 2891|  2.36k|    case  ((uint32_t) 1 << 16) | 8:
  ------------------
  |  Branch (2891:5): [True: 2.36k, False: 108k]
  ------------------
 2892|  2.36k|        return OFPERR_OFPBRC_BUFFER_UNKNOWN;
 2893|    660|    case  ((uint32_t) 1 << 16) | 9:
  ------------------
  |  Branch (2893:5): [True: 660, False: 109k]
  ------------------
 2894|    660|        return OFPERR_OFPBRC_BAD_TABLE_ID;
 2895|    348|    case  ((uint32_t) 1 << 16) | 10:
  ------------------
  |  Branch (2895:5): [True: 348, False: 110k]
  ------------------
 2896|    348|        return OFPERR_OFPBRC_IS_SECONDARY;
 2897|    198|    case  ((uint32_t) 1 << 16) | 11:
  ------------------
  |  Branch (2897:5): [True: 198, False: 110k]
  ------------------
 2898|    198|        return OFPERR_OFPBRC_BAD_PORT;
 2899|  3.30k|    case  ((uint32_t) 1 << 16) | 12:
  ------------------
  |  Branch (2899:5): [True: 3.30k, False: 107k]
  ------------------
 2900|  3.30k|        return OFPERR_OFPBRC_BAD_PACKET;
 2901|     19|    case  ((uint32_t) 1 << 16) | 13:
  ------------------
  |  Branch (2901:5): [True: 19, False: 110k]
  ------------------
 2902|     19|        return OFPERR_OFPBRC_MULTIPART_BUFFER_OVERFLOW;
 2903|    143|    case  ((uint32_t) 1 << 16) | 14:
  ------------------
  |  Branch (2903:5): [True: 143, False: 110k]
  ------------------
 2904|    143|        return OFPERR_OFPBRC_MULTIPART_REQUEST_TIMEOUT;
 2905|    481|    case  ((uint32_t) 1 << 16) | 15:
  ------------------
  |  Branch (2905:5): [True: 481, False: 110k]
  ------------------
 2906|    481|        return OFPERR_OFPBRC_MULTIPART_REPLY_TIMEOUT;
 2907|    199|    case  ((uint32_t) 1 << 16) | 16:
  ------------------
  |  Branch (2907:5): [True: 199, False: 110k]
  ------------------
 2908|    199|        return OFPERR_OFPBRC_MULTIPART_BAD_SCHED;
 2909|    197|    case  ((uint32_t) 1 << 16) | 17:
  ------------------
  |  Branch (2909:5): [True: 197, False: 110k]
  ------------------
 2910|    197|        return OFPERR_OFPBRC_PIPELINE_FIELDS_ONLY;
 2911|     18|    case  ((uint32_t) 1 << 16) | 18:
  ------------------
  |  Branch (2911:5): [True: 18, False: 110k]
  ------------------
 2912|     18|        return OFPERR_OFPBRC_UNKNOWN;
 2913|  1.20k|    case (0x2320ULL << 32) |  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (2913:5): [True: 1.20k, False: 109k]
  ------------------
 2914|  1.20k|        return OFPERR_NXBRC_NXM_INVALID;
 2915|    243|    case (0x2320ULL << 32) |  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (2915:5): [True: 243, False: 110k]
  ------------------
 2916|    243|        return OFPERR_NXBRC_NXM_BAD_TYPE;
 2917|     76|    case (0x2320ULL << 32) |  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (2917:5): [True: 76, False: 110k]
  ------------------
 2918|     76|        return OFPERR_NXBRC_MUST_BE_ZERO;
 2919|    194|    case (0x2320ULL << 32) |  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (2919:5): [True: 194, False: 110k]
  ------------------
 2920|    194|        return OFPERR_NXBRC_BAD_REASON;
 2921|    204|    case (0x2320ULL << 32) |  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (2921:5): [True: 204, False: 110k]
  ------------------
 2922|    204|        return OFPERR_NXBRC_FM_BAD_EVENT;
 2923|    485|    case (0x2320ULL << 32) |  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (2923:5): [True: 485, False: 110k]
  ------------------
 2924|    485|        return OFPERR_NXBRC_UNENCODABLE_ERROR;
 2925|    424|    case  ((uint32_t) 2 << 16) | 0:
  ------------------
  |  Branch (2925:5): [True: 424, False: 110k]
  ------------------
 2926|    424|        return OFPERR_OFPBAC_BAD_TYPE;
 2927|     67|    case  ((uint32_t) 2 << 16) | 1:
  ------------------
  |  Branch (2927:5): [True: 67, False: 110k]
  ------------------
 2928|     67|        return OFPERR_OFPBAC_BAD_LEN;
 2929|  1.28k|    case  ((uint32_t) 2 << 16) | 2:
  ------------------
  |  Branch (2929:5): [True: 1.28k, False: 109k]
  ------------------
 2930|  1.28k|        return OFPERR_OFPBAC_BAD_VENDOR;
 2931|     42|    case  ((uint32_t) 2 << 16) | 3:
  ------------------
  |  Branch (2931:5): [True: 42, False: 110k]
  ------------------
 2932|     42|        return OFPERR_OFPBAC_BAD_VENDOR_TYPE;
 2933|    324|    case  ((uint32_t) 2 << 16) | 4:
  ------------------
  |  Branch (2933:5): [True: 324, False: 110k]
  ------------------
 2934|    324|        return OFPERR_OFPBAC_BAD_OUT_PORT;
 2935|    611|    case  ((uint32_t) 2 << 16) | 5:
  ------------------
  |  Branch (2935:5): [True: 611, False: 109k]
  ------------------
 2936|    611|        return OFPERR_OFPBAC_BAD_ARGUMENT;
 2937|    180|    case  ((uint32_t) 2 << 16) | 6:
  ------------------
  |  Branch (2937:5): [True: 180, False: 110k]
  ------------------
 2938|    180|        return OFPERR_OFPBAC_EPERM;
 2939|     21|    case  ((uint32_t) 2 << 16) | 7:
  ------------------
  |  Branch (2939:5): [True: 21, False: 110k]
  ------------------
 2940|     21|        return OFPERR_OFPBAC_TOO_MANY;
 2941|    595|    case  ((uint32_t) 2 << 16) | 8:
  ------------------
  |  Branch (2941:5): [True: 595, False: 109k]
  ------------------
 2942|    595|        return OFPERR_OFPBAC_BAD_QUEUE;
 2943|  1.12k|    case  ((uint32_t) 2 << 16) | 9:
  ------------------
  |  Branch (2943:5): [True: 1.12k, False: 109k]
  ------------------
 2944|  1.12k|        return OFPERR_OFPBAC_BAD_OUT_GROUP;
 2945|     68|    case  ((uint32_t) 2 << 16) | 10:
  ------------------
  |  Branch (2945:5): [True: 68, False: 110k]
  ------------------
 2946|     68|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
 2947|     34|    case  ((uint32_t) 2 << 16) | 11:
  ------------------
  |  Branch (2947:5): [True: 34, False: 110k]
  ------------------
 2948|     34|        return OFPERR_OFPBAC_UNSUPPORTED_ORDER;
 2949|    152|    case  ((uint32_t) 2 << 16) | 12:
  ------------------
  |  Branch (2949:5): [True: 152, False: 110k]
  ------------------
 2950|    152|        return OFPERR_OFPBAC_BAD_TAG;
 2951|     87|    case  ((uint32_t) 2 << 16) | 13:
  ------------------
  |  Branch (2951:5): [True: 87, False: 110k]
  ------------------
 2952|     87|        return OFPERR_OFPBAC_BAD_SET_TYPE;
 2953|    555|    case  ((uint32_t) 2 << 16) | 14:
  ------------------
  |  Branch (2953:5): [True: 555, False: 109k]
  ------------------
 2954|    555|        return OFPERR_OFPBAC_BAD_SET_LEN;
 2955|    467|    case  ((uint32_t) 2 << 16) | 15:
  ------------------
  |  Branch (2955:5): [True: 467, False: 110k]
  ------------------
 2956|    467|        return OFPERR_OFPBAC_BAD_SET_ARGUMENT;
 2957|     34|    case  ((uint32_t) 2 << 16) | 16:
  ------------------
  |  Branch (2957:5): [True: 34, False: 110k]
  ------------------
 2958|     34|        return OFPERR_OFPBAC_BAD_SET_MASK;
 2959|     18|    case  ((uint32_t) 2 << 16) | 17:
  ------------------
  |  Branch (2959:5): [True: 18, False: 110k]
  ------------------
 2960|     18|        return OFPERR_OFPBAC_BAD_METER;
 2961|    195|    case (0x2320ULL << 32) |  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (2961:5): [True: 195, False: 110k]
  ------------------
 2962|    195|        return OFPERR_NXBAC_MUST_BE_ZERO;
 2963|     36|    case (0x2320ULL << 32) |  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (2963:5): [True: 36, False: 110k]
  ------------------
 2964|     36|        return OFPERR_NXBAC_BAD_CONJUNCTION;
 2965|     34|    case (0x2320ULL << 32) |  ((uint32_t) 39 << 16) | 0:
  ------------------
  |  Branch (2965:5): [True: 34, False: 110k]
  ------------------
 2966|     34|        return OFPERR_NXBAC_BAD_HEADER_TYPE;
 2967|    195|    case (0x2320ULL << 32) |  ((uint32_t) 40 << 16) | 0:
  ------------------
  |  Branch (2967:5): [True: 195, False: 110k]
  ------------------
 2968|    195|        return OFPERR_NXBAC_UNKNOWN_ED_PROP;
 2969|  7.22k|    case (0x2320ULL << 32) |  ((uint32_t) 41 << 16) | 0:
  ------------------
  |  Branch (2969:5): [True: 7.22k, False: 103k]
  ------------------
 2970|  7.22k|        return OFPERR_NXBAC_BAD_ED_PROP;
 2971|     67|    case (0x2320ULL << 32) |  ((uint32_t) 42 << 16) | 0:
  ------------------
  |  Branch (2971:5): [True: 67, False: 110k]
  ------------------
 2972|     67|        return OFPERR_NXBAC_CT_DATAPATH_SUPPORT;
 2973|     68|    case  ((uint32_t) 3 << 16) | 0:
  ------------------
  |  Branch (2973:5): [True: 68, False: 110k]
  ------------------
 2974|     68|        return OFPERR_OFPBIC_UNKNOWN_INST;
 2975|     66|    case  ((uint32_t) 3 << 16) | 1:
  ------------------
  |  Branch (2975:5): [True: 66, False: 110k]
  ------------------
 2976|     66|        return OFPERR_OFPBIC_UNSUP_INST;
 2977|  2.81k|    case  ((uint32_t) 3 << 16) | 2:
  ------------------
  |  Branch (2977:5): [True: 2.81k, False: 107k]
  ------------------
 2978|  2.81k|        return OFPERR_OFPBIC_BAD_TABLE_ID;
 2979|    147|    case  ((uint32_t) 3 << 16) | 3:
  ------------------
  |  Branch (2979:5): [True: 147, False: 110k]
  ------------------
 2980|    147|        return OFPERR_OFPBIC_UNSUP_METADATA;
 2981|     89|    case  ((uint32_t) 3 << 16) | 4:
  ------------------
  |  Branch (2981:5): [True: 89, False: 110k]
  ------------------
 2982|     89|        return OFPERR_OFPBIC_UNSUP_METADATA_MASK;
 2983|     34|    case  ((uint32_t) 3 << 16) | 5:
  ------------------
  |  Branch (2983:5): [True: 34, False: 110k]
  ------------------
 2984|     34|        return OFPERR_OFPBIC_BAD_EXPERIMENTER;
 2985|    576|    case  ((uint32_t) 3 << 16) | 6:
  ------------------
  |  Branch (2985:5): [True: 576, False: 109k]
  ------------------
 2986|    576|        return OFPERR_OFPBIC_BAD_EXP_TYPE;
 2987|     70|    case  ((uint32_t) 3 << 16) | 7:
  ------------------
  |  Branch (2987:5): [True: 70, False: 110k]
  ------------------
 2988|     70|        return OFPERR_OFPBIC_BAD_LEN;
 2989|    732|    case  ((uint32_t) 3 << 16) | 8:
  ------------------
  |  Branch (2989:5): [True: 732, False: 109k]
  ------------------
 2990|    732|        return OFPERR_OFPBIC_EPERM;
 2991|    184|    case  ((uint32_t) 3 << 16) | 9:
  ------------------
  |  Branch (2991:5): [True: 184, False: 110k]
  ------------------
 2992|    184|        return OFPERR_OFPBIC_DUP_INST;
 2993|    216|    case  ((uint32_t) 4 << 16) | 0:
  ------------------
  |  Branch (2993:5): [True: 216, False: 110k]
  ------------------
 2994|    216|        return OFPERR_OFPBMC_BAD_TYPE;
 2995|    583|    case  ((uint32_t) 4 << 16) | 1:
  ------------------
  |  Branch (2995:5): [True: 583, False: 109k]
  ------------------
 2996|    583|        return OFPERR_OFPBMC_BAD_LEN;
 2997|    697|    case  ((uint32_t) 4 << 16) | 2:
  ------------------
  |  Branch (2997:5): [True: 697, False: 109k]
  ------------------
 2998|    697|        return OFPERR_OFPBMC_BAD_TAG;
 2999|    454|    case  ((uint32_t) 4 << 16) | 3:
  ------------------
  |  Branch (2999:5): [True: 454, False: 110k]
  ------------------
 3000|    454|        return OFPERR_OFPBMC_BAD_DL_ADDR_MASK;
 3001|    206|    case  ((uint32_t) 4 << 16) | 4:
  ------------------
  |  Branch (3001:5): [True: 206, False: 110k]
  ------------------
 3002|    206|        return OFPERR_OFPBMC_BAD_NW_ADDR_MASK;
 3003|     66|    case  ((uint32_t) 4 << 16) | 5:
  ------------------
  |  Branch (3003:5): [True: 66, False: 110k]
  ------------------
 3004|     66|        return OFPERR_OFPBMC_BAD_WILDCARDS;
 3005|     77|    case  ((uint32_t) 4 << 16) | 6:
  ------------------
  |  Branch (3005:5): [True: 77, False: 110k]
  ------------------
 3006|     77|        return OFPERR_OFPBMC_BAD_FIELD;
 3007|     82|    case  ((uint32_t) 4 << 16) | 7:
  ------------------
  |  Branch (3007:5): [True: 82, False: 110k]
  ------------------
 3008|     82|        return OFPERR_OFPBMC_BAD_VALUE;
 3009|    489|    case  ((uint32_t) 4 << 16) | 8:
  ------------------
  |  Branch (3009:5): [True: 489, False: 110k]
  ------------------
 3010|    489|        return OFPERR_OFPBMC_BAD_MASK;
 3011|    204|    case  ((uint32_t) 4 << 16) | 9:
  ------------------
  |  Branch (3011:5): [True: 204, False: 110k]
  ------------------
 3012|    204|        return OFPERR_OFPBMC_BAD_PREREQ;
 3013|     76|    case  ((uint32_t) 4 << 16) | 10:
  ------------------
  |  Branch (3013:5): [True: 76, False: 110k]
  ------------------
 3014|     76|        return OFPERR_OFPBMC_DUP_FIELD;
 3015|     70|    case  ((uint32_t) 4 << 16) | 11:
  ------------------
  |  Branch (3015:5): [True: 70, False: 110k]
  ------------------
 3016|     70|        return OFPERR_OFPBMC_EPERM;
 3017|  1.63k|    case (0x2320ULL << 32) |  ((uint32_t) 43 << 16) | 0:
  ------------------
  |  Branch (3017:5): [True: 1.63k, False: 108k]
  ------------------
 3018|  1.63k|        return OFPERR_NXBMC_CT_DATAPATH_SUPPORT;
 3019|    289|    case  ((uint32_t) 5 << 16) | 0:
  ------------------
  |  Branch (3019:5): [True: 289, False: 110k]
  ------------------
 3020|    289|        return OFPERR_OFPFMFC_UNKNOWN;
 3021|    305|    case  ((uint32_t) 5 << 16) | 1:
  ------------------
  |  Branch (3021:5): [True: 305, False: 110k]
  ------------------
 3022|    305|        return OFPERR_OFPFMFC_TABLE_FULL;
 3023|     67|    case  ((uint32_t) 5 << 16) | 2:
  ------------------
  |  Branch (3023:5): [True: 67, False: 110k]
  ------------------
 3024|     67|        return OFPERR_OFPFMFC_BAD_TABLE_ID;
 3025|     75|    case  ((uint32_t) 5 << 16) | 3:
  ------------------
  |  Branch (3025:5): [True: 75, False: 110k]
  ------------------
 3026|     75|        return OFPERR_OFPFMFC_OVERLAP;
 3027|     34|    case  ((uint32_t) 5 << 16) | 4:
  ------------------
  |  Branch (3027:5): [True: 34, False: 110k]
  ------------------
 3028|     34|        return OFPERR_OFPFMFC_EPERM;
 3029|    647|    case  ((uint32_t) 5 << 16) | 5:
  ------------------
  |  Branch (3029:5): [True: 647, False: 109k]
  ------------------
 3030|    647|        return OFPERR_OFPFMFC_BAD_TIMEOUT;
 3031|    199|    case  ((uint32_t) 5 << 16) | 6:
  ------------------
  |  Branch (3031:5): [True: 199, False: 110k]
  ------------------
 3032|    199|        return OFPERR_OFPFMFC_BAD_COMMAND;
 3033|    128|    case  ((uint32_t) 5 << 16) | 7:
  ------------------
  |  Branch (3033:5): [True: 128, False: 110k]
  ------------------
 3034|    128|        return OFPERR_OFPFMFC_BAD_FLAGS;
 3035|    379|    case  ((uint32_t) 5 << 16) | 8:
  ------------------
  |  Branch (3035:5): [True: 379, False: 110k]
  ------------------
 3036|    379|        return OFPERR_OFPFMFC_CANT_SYNC;
 3037|    194|    case  ((uint32_t) 5 << 16) | 9:
  ------------------
  |  Branch (3037:5): [True: 194, False: 110k]
  ------------------
 3038|    194|        return OFPERR_OFPFMFC_BAD_PRIORITY;
 3039|    501|    case  ((uint32_t) 5 << 16) | 10:
  ------------------
  |  Branch (3039:5): [True: 501, False: 110k]
  ------------------
 3040|    501|        return OFPERR_OFPFMFC_IS_SYNC;
 3041|     66|    case (0x2320ULL << 32) |  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (3041:5): [True: 66, False: 110k]
  ------------------
 3042|     66|        return OFPERR_NXFMFC_HARDWARE;
 3043|     66|    case (0x2320ULL << 32) |  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (3043:5): [True: 66, False: 110k]
  ------------------
 3044|     66|        return OFPERR_NXFMFC_BAD_TABLE_ID;
 3045|     66|    case (0x2320ULL << 32) |  ((uint32_t) 37 << 16) | 0:
  ------------------
  |  Branch (3045:5): [True: 66, False: 110k]
  ------------------
 3046|     66|        return OFPERR_NXFMFC_INVALID_TLV_FIELD;
 3047|     69|    case  ((uint32_t) 6 << 16) | 0:
  ------------------
  |  Branch (3047:5): [True: 69, False: 110k]
  ------------------
 3048|     69|        return OFPERR_OFPGMFC_GROUP_EXISTS;
 3049|  1.86k|    case  ((uint32_t) 6 << 16) | 1:
  ------------------
  |  Branch (3049:5): [True: 1.86k, False: 108k]
  ------------------
 3050|  1.86k|        return OFPERR_OFPGMFC_INVALID_GROUP;
 3051|    153|    case  ((uint32_t) 6 << 16) | 2:
  ------------------
  |  Branch (3051:5): [True: 153, False: 110k]
  ------------------
 3052|    153|        return OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED;
 3053|    198|    case  ((uint32_t) 6 << 16) | 3:
  ------------------
  |  Branch (3053:5): [True: 198, False: 110k]
  ------------------
 3054|    198|        return OFPERR_OFPGMFC_OUT_OF_GROUPS;
 3055|    512|    case  ((uint32_t) 6 << 16) | 4:
  ------------------
  |  Branch (3055:5): [True: 512, False: 110k]
  ------------------
 3056|    512|        return OFPERR_OFPGMFC_OUT_OF_BUCKETS;
 3057|     21|    case  ((uint32_t) 6 << 16) | 5:
  ------------------
  |  Branch (3057:5): [True: 21, False: 110k]
  ------------------
 3058|     21|        return OFPERR_OFPGMFC_CHAINING_UNSUPPORTED;
 3059|    121|    case  ((uint32_t) 6 << 16) | 6:
  ------------------
  |  Branch (3059:5): [True: 121, False: 110k]
  ------------------
 3060|    121|        return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
 3061|    948|    case  ((uint32_t) 6 << 16) | 7:
  ------------------
  |  Branch (3061:5): [True: 948, False: 109k]
  ------------------
 3062|    948|        return OFPERR_OFPGMFC_LOOP;
 3063|    157|    case  ((uint32_t) 6 << 16) | 8:
  ------------------
  |  Branch (3063:5): [True: 157, False: 110k]
  ------------------
 3064|    157|        return OFPERR_OFPGMFC_UNKNOWN_GROUP;
 3065|     69|    case  ((uint32_t) 6 << 16) | 9:
  ------------------
  |  Branch (3065:5): [True: 69, False: 110k]
  ------------------
 3066|     69|        return OFPERR_OFPGMFC_CHAINED_GROUP;
 3067|  2.06k|    case  ((uint32_t) 6 << 16) | 10:
  ------------------
  |  Branch (3067:5): [True: 2.06k, False: 108k]
  ------------------
 3068|  2.06k|        return OFPERR_OFPGMFC_BAD_TYPE;
 3069|     66|    case  ((uint32_t) 6 << 16) | 11:
  ------------------
  |  Branch (3069:5): [True: 66, False: 110k]
  ------------------
 3070|     66|        return OFPERR_OFPGMFC_BAD_COMMAND;
 3071|  1.51k|    case  ((uint32_t) 6 << 16) | 12:
  ------------------
  |  Branch (3071:5): [True: 1.51k, False: 109k]
  ------------------
 3072|  1.51k|        return OFPERR_OFPGMFC_BAD_BUCKET;
 3073|     66|    case  ((uint32_t) 6 << 16) | 13:
  ------------------
  |  Branch (3073:5): [True: 66, False: 110k]
  ------------------
 3074|     66|        return OFPERR_OFPGMFC_BAD_WATCH;
 3075|    202|    case  ((uint32_t) 6 << 16) | 14:
  ------------------
  |  Branch (3075:5): [True: 202, False: 110k]
  ------------------
 3076|    202|        return OFPERR_OFPGMFC_EPERM;
 3077|     83|    case  ((uint32_t) 6 << 16) | 15:
  ------------------
  |  Branch (3077:5): [True: 83, False: 110k]
  ------------------
 3078|     83|        return OFPERR_OFPGMFC_UNKNOWN_BUCKET;
 3079|     40|    case  ((uint32_t) 6 << 16) | 16:
  ------------------
  |  Branch (3079:5): [True: 40, False: 110k]
  ------------------
 3080|     40|        return OFPERR_OFPGMFC_BUCKET_EXISTS;
 3081|  1.36k|    case  ((uint32_t) 7 << 16) | 0:
  ------------------
  |  Branch (3081:5): [True: 1.36k, False: 109k]
  ------------------
 3082|  1.36k|        return OFPERR_OFPPMFC_BAD_PORT;
 3083|     68|    case  ((uint32_t) 7 << 16) | 1:
  ------------------
  |  Branch (3083:5): [True: 68, False: 110k]
  ------------------
 3084|     68|        return OFPERR_OFPPMFC_BAD_HW_ADDR;
 3085|  1.42k|    case  ((uint32_t) 7 << 16) | 2:
  ------------------
  |  Branch (3085:5): [True: 1.42k, False: 109k]
  ------------------
 3086|  1.42k|        return OFPERR_OFPPMFC_BAD_CONFIG;
 3087|     70|    case  ((uint32_t) 7 << 16) | 3:
  ------------------
  |  Branch (3087:5): [True: 70, False: 110k]
  ------------------
 3088|     70|        return OFPERR_OFPPMFC_BAD_ADVERTISE;
 3089|     66|    case  ((uint32_t) 7 << 16) | 4:
  ------------------
  |  Branch (3089:5): [True: 66, False: 110k]
  ------------------
 3090|     66|        return OFPERR_OFPPMFC_EPERM;
 3091|    234|    case  ((uint32_t) 8 << 16) | 0:
  ------------------
  |  Branch (3091:5): [True: 234, False: 110k]
  ------------------
 3092|    234|        return OFPERR_OFPTMFC_BAD_TABLE;
 3093|  2.34k|    case  ((uint32_t) 8 << 16) | 1:
  ------------------
  |  Branch (3093:5): [True: 2.34k, False: 108k]
  ------------------
 3094|  2.34k|        return OFPERR_OFPTMFC_BAD_CONFIG;
 3095|    122|    case  ((uint32_t) 8 << 16) | 2:
  ------------------
  |  Branch (3095:5): [True: 122, False: 110k]
  ------------------
 3096|    122|        return OFPERR_OFPTMFC_EPERM;
 3097|    120|    case  ((uint32_t) 9 << 16) | 0:
  ------------------
  |  Branch (3097:5): [True: 120, False: 110k]
  ------------------
 3098|    120|        return OFPERR_OFPQOFC_BAD_PORT;
 3099|     70|    case  ((uint32_t) 9 << 16) | 1:
  ------------------
  |  Branch (3099:5): [True: 70, False: 110k]
  ------------------
 3100|     70|        return OFPERR_OFPQOFC_BAD_QUEUE;
 3101|     66|    case  ((uint32_t) 9 << 16) | 2:
  ------------------
  |  Branch (3101:5): [True: 66, False: 110k]
  ------------------
 3102|     66|        return OFPERR_OFPQOFC_EPERM;
 3103|    828|    case (0x2320ULL << 32) |  ((uint32_t) 23 << 16) | 0:
  ------------------
  |  Branch (3103:5): [True: 828, False: 109k]
  ------------------
 3104|    828|        return OFPERR_NXQOFC_QUEUE_ERROR;
 3105|     66|    case  ((uint32_t) 10 << 16) | 0:
  ------------------
  |  Branch (3105:5): [True: 66, False: 110k]
  ------------------
 3106|     66|        return OFPERR_OFPSCFC_BAD_FLAGS;
 3107|    195|    case  ((uint32_t) 10 << 16) | 1:
  ------------------
  |  Branch (3107:5): [True: 195, False: 110k]
  ------------------
 3108|    195|        return OFPERR_OFPSCFC_BAD_LEN;
 3109|    231|    case  ((uint32_t) 10 << 16) | 2:
  ------------------
  |  Branch (3109:5): [True: 231, False: 110k]
  ------------------
 3110|    231|        return OFPERR_OFPSCFC_EPERM;
 3111|     55|    case  ((uint32_t) 11 << 16) | 0:
  ------------------
  |  Branch (3111:5): [True: 55, False: 110k]
  ------------------
 3112|     55|        return OFPERR_OFPRRFC_STALE;
 3113|     68|    case  ((uint32_t) 11 << 16) | 1:
  ------------------
  |  Branch (3113:5): [True: 68, False: 110k]
  ------------------
 3114|     68|        return OFPERR_OFPRRFC_UNSUP;
 3115|    296|    case  ((uint32_t) 11 << 16) | 2:
  ------------------
  |  Branch (3115:5): [True: 296, False: 110k]
  ------------------
 3116|    296|        return OFPERR_OFPRRFC_BAD_ROLE;
 3117|     39|    case  ((uint32_t) 11 << 16) | 3:
  ------------------
  |  Branch (3117:5): [True: 39, False: 110k]
  ------------------
 3118|     39|        return OFPERR_OFPRRFC_ID_UNSUP;
 3119|     76|    case  ((uint32_t) 11 << 16) | 4:
  ------------------
  |  Branch (3119:5): [True: 76, False: 110k]
  ------------------
 3120|     76|        return OFPERR_OFPRRFC_ID_IN_USE;
 3121|     19|    case  ((uint32_t) 12 << 16) | 0:
  ------------------
  |  Branch (3121:5): [True: 19, False: 110k]
  ------------------
 3122|     19|        return OFPERR_OFPMMFC_UNKNOWN;
 3123|    286|    case  ((uint32_t) 12 << 16) | 1:
  ------------------
  |  Branch (3123:5): [True: 286, False: 110k]
  ------------------
 3124|    286|        return OFPERR_OFPMMFC_METER_EXISTS;
 3125|    225|    case  ((uint32_t) 12 << 16) | 2:
  ------------------
  |  Branch (3125:5): [True: 225, False: 110k]
  ------------------
 3126|    225|        return OFPERR_OFPMMFC_INVALID_METER;
 3127|     66|    case  ((uint32_t) 12 << 16) | 3:
  ------------------
  |  Branch (3127:5): [True: 66, False: 110k]
  ------------------
 3128|     66|        return OFPERR_OFPMMFC_UNKNOWN_METER;
 3129|    607|    case  ((uint32_t) 12 << 16) | 4:
  ------------------
  |  Branch (3129:5): [True: 607, False: 109k]
  ------------------
 3130|    607|        return OFPERR_OFPMMFC_BAD_COMMAND;
 3131|    641|    case  ((uint32_t) 12 << 16) | 5:
  ------------------
  |  Branch (3131:5): [True: 641, False: 109k]
  ------------------
 3132|    641|        return OFPERR_OFPMMFC_BAD_FLAGS;
 3133|     82|    case  ((uint32_t) 12 << 16) | 6:
  ------------------
  |  Branch (3133:5): [True: 82, False: 110k]
  ------------------
 3134|     82|        return OFPERR_OFPMMFC_BAD_RATE;
 3135|     80|    case  ((uint32_t) 12 << 16) | 7:
  ------------------
  |  Branch (3135:5): [True: 80, False: 110k]
  ------------------
 3136|     80|        return OFPERR_OFPMMFC_BAD_BURST;
 3137|    200|    case  ((uint32_t) 12 << 16) | 8:
  ------------------
  |  Branch (3137:5): [True: 200, False: 110k]
  ------------------
 3138|    200|        return OFPERR_OFPMMFC_BAD_BAND;
 3139|    145|    case  ((uint32_t) 12 << 16) | 9:
  ------------------
  |  Branch (3139:5): [True: 145, False: 110k]
  ------------------
 3140|    145|        return OFPERR_OFPMMFC_BAD_BAND_VALUE;
 3141|    205|    case  ((uint32_t) 12 << 16) | 10:
  ------------------
  |  Branch (3141:5): [True: 205, False: 110k]
  ------------------
 3142|    205|        return OFPERR_OFPMMFC_OUT_OF_METERS;
 3143|    220|    case  ((uint32_t) 12 << 16) | 11:
  ------------------
  |  Branch (3143:5): [True: 220, False: 110k]
  ------------------
 3144|    220|        return OFPERR_OFPMMFC_OUT_OF_BANDS;
 3145|    202|    case  ((uint32_t) 13 << 16) | 0:
  ------------------
  |  Branch (3145:5): [True: 202, False: 110k]
  ------------------
 3146|    202|        return OFPERR_OFPTFFC_BAD_TABLE;
 3147|    930|    case  ((uint32_t) 13 << 16) | 1:
  ------------------
  |  Branch (3147:5): [True: 930, False: 109k]
  ------------------
 3148|    930|        return OFPERR_OFPTFFC_BAD_METADATA;
 3149|  1.27k|    case  ((uint32_t) 13 << 16) | 5:
  ------------------
  |  Branch (3149:5): [True: 1.27k, False: 109k]
  ------------------
 3150|  1.27k|        return OFPERR_OFPTFFC_EPERM;
 3151|     34|    case  ((uint32_t) 13 << 16) | 6:
  ------------------
  |  Branch (3151:5): [True: 34, False: 110k]
  ------------------
 3152|     34|        return OFPERR_OFPTFFC_BAD_CAPA;
 3153|    231|    case  ((uint32_t) 13 << 16) | 7:
  ------------------
  |  Branch (3153:5): [True: 231, False: 110k]
  ------------------
 3154|    231|        return OFPERR_OFPTFFC_BAD_MAX_ENT;
 3155|    195|    case  ((uint32_t) 13 << 16) | 8:
  ------------------
  |  Branch (3155:5): [True: 195, False: 110k]
  ------------------
 3156|    195|        return OFPERR_OFPTFFC_BAD_FEATURES;
 3157|    195|    case  ((uint32_t) 13 << 16) | 9:
  ------------------
  |  Branch (3157:5): [True: 195, False: 110k]
  ------------------
 3158|    195|        return OFPERR_OFPTFFC_BAD_COMMAND;
 3159|     70|    case  ((uint32_t) 13 << 16) | 10:
  ------------------
  |  Branch (3159:5): [True: 70, False: 110k]
  ------------------
 3160|     70|        return OFPERR_OFPTFFC_TOO_MANY;
 3161|     34|    case (0x2320ULL << 32) |  ((uint32_t) 44 << 16) | 0:
  ------------------
  |  Branch (3161:5): [True: 34, False: 110k]
  ------------------
 3162|     34|        return OFPERR_NXTFFC_DUP_TABLE;
 3163|    194|    case  ((uint32_t) 14 << 16) | 0:
  ------------------
  |  Branch (3163:5): [True: 194, False: 110k]
  ------------------
 3164|    194|        return OFPERR_OFPBPC_BAD_TYPE;
 3165|     68|    case  ((uint32_t) 14 << 16) | 1:
  ------------------
  |  Branch (3165:5): [True: 68, False: 110k]
  ------------------
 3166|     68|        return OFPERR_OFPBPC_BAD_LEN;
 3167|    109|    case  ((uint32_t) 14 << 16) | 2:
  ------------------
  |  Branch (3167:5): [True: 109, False: 110k]
  ------------------
 3168|    109|        return OFPERR_OFPBPC_BAD_VALUE;
 3169|     66|    case  ((uint32_t) 14 << 16) | 3:
  ------------------
  |  Branch (3169:5): [True: 66, False: 110k]
  ------------------
 3170|     66|        return OFPERR_OFPBPC_TOO_MANY;
 3171|     66|    case  ((uint32_t) 14 << 16) | 4:
  ------------------
  |  Branch (3171:5): [True: 66, False: 110k]
  ------------------
 3172|     66|        return OFPERR_OFPBPC_DUP_TYPE;
 3173|    390|    case  ((uint32_t) 14 << 16) | 5:
  ------------------
  |  Branch (3173:5): [True: 390, False: 110k]
  ------------------
 3174|    390|        return OFPERR_OFPBPC_BAD_EXPERIMENTER;
 3175|     70|    case  ((uint32_t) 14 << 16) | 6:
  ------------------
  |  Branch (3175:5): [True: 70, False: 110k]
  ------------------
 3176|     70|        return OFPERR_OFPBPC_BAD_EXP_TYPE;
 3177|     74|    case  ((uint32_t) 14 << 16) | 7:
  ------------------
  |  Branch (3177:5): [True: 74, False: 110k]
  ------------------
 3178|     74|        return OFPERR_OFPBPC_BAD_EXP_VALUE;
 3179|    346|    case  ((uint32_t) 14 << 16) | 8:
  ------------------
  |  Branch (3179:5): [True: 346, False: 110k]
  ------------------
 3180|    346|        return OFPERR_OFPBPC_EPERM;
 3181|    202|    case  ((uint32_t) 15 << 16) | 0:
  ------------------
  |  Branch (3181:5): [True: 202, False: 110k]
  ------------------
 3182|    202|        return OFPERR_OFPACFC_INVALID;
 3183|     18|    case  ((uint32_t) 15 << 16) | 1:
  ------------------
  |  Branch (3183:5): [True: 18, False: 110k]
  ------------------
 3184|     18|        return OFPERR_OFPACFC_UNSUPPORTED;
 3185|     70|    case  ((uint32_t) 15 << 16) | 2:
  ------------------
  |  Branch (3185:5): [True: 70, False: 110k]
  ------------------
 3186|     70|        return OFPERR_OFPACFC_EPERM;
 3187|    199|    case  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (3187:5): [True: 199, False: 110k]
  ------------------
 3188|    199|        return OFPERR_OFPBFC_UNKNOWN;
 3189|     85|    case  ((uint32_t) 17 << 16) | 1:
  ------------------
  |  Branch (3189:5): [True: 85, False: 110k]
  ------------------
 3190|     85|        return OFPERR_OFPBFC_EPERM;
 3191|     88|    case  ((uint32_t) 17 << 16) | 2:
  ------------------
  |  Branch (3191:5): [True: 88, False: 110k]
  ------------------
 3192|     88|        return OFPERR_OFPBFC_BAD_ID;
 3193|    194|    case  ((uint32_t) 17 << 16) | 3:
  ------------------
  |  Branch (3193:5): [True: 194, False: 110k]
  ------------------
 3194|    194|        return OFPERR_OFPBFC_BUNDLE_EXIST;
 3195|    152|    case  ((uint32_t) 17 << 16) | 4:
  ------------------
  |  Branch (3195:5): [True: 152, False: 110k]
  ------------------
 3196|    152|        return OFPERR_OFPBFC_BUNDLE_CLOSED;
 3197|    105|    case  ((uint32_t) 17 << 16) | 5:
  ------------------
  |  Branch (3197:5): [True: 105, False: 110k]
  ------------------
 3198|    105|        return OFPERR_OFPBFC_OUT_OF_BUNDLES;
 3199|    135|    case  ((uint32_t) 17 << 16) | 6:
  ------------------
  |  Branch (3199:5): [True: 135, False: 110k]
  ------------------
 3200|    135|        return OFPERR_OFPBFC_BAD_TYPE;
 3201|  1.35k|    case  ((uint32_t) 17 << 16) | 7:
  ------------------
  |  Branch (3201:5): [True: 1.35k, False: 109k]
  ------------------
 3202|  1.35k|        return OFPERR_OFPBFC_BAD_FLAGS;
 3203|     83|    case  ((uint32_t) 17 << 16) | 8:
  ------------------
  |  Branch (3203:5): [True: 83, False: 110k]
  ------------------
 3204|     83|        return OFPERR_OFPBFC_MSG_BAD_LEN;
 3205|    123|    case  ((uint32_t) 17 << 16) | 9:
  ------------------
  |  Branch (3205:5): [True: 123, False: 110k]
  ------------------
 3206|    123|        return OFPERR_OFPBFC_MSG_BAD_XID;
 3207|     66|    case  ((uint32_t) 17 << 16) | 10:
  ------------------
  |  Branch (3207:5): [True: 66, False: 110k]
  ------------------
 3208|     66|        return OFPERR_OFPBFC_MSG_UNSUP;
 3209|    559|    case  ((uint32_t) 17 << 16) | 11:
  ------------------
  |  Branch (3209:5): [True: 559, False: 109k]
  ------------------
 3210|    559|        return OFPERR_OFPBFC_MSG_CONFLICT;
 3211|     66|    case  ((uint32_t) 17 << 16) | 12:
  ------------------
  |  Branch (3211:5): [True: 66, False: 110k]
  ------------------
 3212|     66|        return OFPERR_OFPBFC_MSG_TOO_MANY;
 3213|    158|    case  ((uint32_t) 17 << 16) | 13:
  ------------------
  |  Branch (3213:5): [True: 158, False: 110k]
  ------------------
 3214|    158|        return OFPERR_OFPBFC_MSG_FAILED;
 3215|    513|    case  ((uint32_t) 17 << 16) | 14:
  ------------------
  |  Branch (3215:5): [True: 513, False: 110k]
  ------------------
 3216|    513|        return OFPERR_OFPBFC_TIMEOUT;
 3217|  1.39k|    case  ((uint32_t) 17 << 16) | 15:
  ------------------
  |  Branch (3217:5): [True: 1.39k, False: 109k]
  ------------------
 3218|  1.39k|        return OFPERR_OFPBFC_BUNDLE_IN_PROGRESS;
 3219|    543|    case  ((uint32_t) 17 << 16) | 16:
  ------------------
  |  Branch (3219:5): [True: 543, False: 110k]
  ------------------
 3220|    543|        return OFPERR_OFPBFC_SCHED_NOT_SUPPORTED;
 3221|     71|    case  ((uint32_t) 17 << 16) | 17:
  ------------------
  |  Branch (3221:5): [True: 71, False: 110k]
  ------------------
 3222|     71|        return OFPERR_OFPBFC_SCHED_FUTURE;
 3223|     68|    case  ((uint32_t) 17 << 16) | 18:
  ------------------
  |  Branch (3223:5): [True: 68, False: 110k]
  ------------------
 3224|     68|        return OFPERR_OFPBFC_SCHED_PAST;
 3225|     67|    case (0x2320ULL << 32) |  ((uint32_t) 22 << 16) | 0:
  ------------------
  |  Branch (3225:5): [True: 67, False: 110k]
  ------------------
 3226|     67|        return OFPERR_OFPBFC_BAD_VERSION;
 3227|     34|    case  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (3227:5): [True: 34, False: 110k]
  ------------------
 3228|     34|        return OFPERR_OFPMOFC_UNKNOWN;
 3229|     66|    case  ((uint32_t) 16 << 16) | 1:
  ------------------
  |  Branch (3229:5): [True: 66, False: 110k]
  ------------------
 3230|     66|        return OFPERR_OFPMOFC_MONITOR_EXISTS;
 3231|     77|    case  ((uint32_t) 16 << 16) | 2:
  ------------------
  |  Branch (3231:5): [True: 77, False: 110k]
  ------------------
 3232|     77|        return OFPERR_OFPMOFC_INVALID_MONITOR;
 3233|    268|    case  ((uint32_t) 16 << 16) | 3:
  ------------------
  |  Branch (3233:5): [True: 268, False: 110k]
  ------------------
 3234|    268|        return OFPERR_OFPMOFC_UNKNOWN_MONITOR;
 3235|    194|    case  ((uint32_t) 16 << 16) | 4:
  ------------------
  |  Branch (3235:5): [True: 194, False: 110k]
  ------------------
 3236|    194|        return OFPERR_OFPMOFC_BAD_COMMAND;
 3237|     34|    case  ((uint32_t) 16 << 16) | 5:
  ------------------
  |  Branch (3237:5): [True: 34, False: 110k]
  ------------------
 3238|     34|        return OFPERR_OFPMOFC_BAD_FLAGS;
 3239|    200|    case  ((uint32_t) 16 << 16) | 6:
  ------------------
  |  Branch (3239:5): [True: 200, False: 110k]
  ------------------
 3240|    200|        return OFPERR_OFPMOFC_BAD_TABLE_ID;
 3241|    717|    case  ((uint32_t) 16 << 16) | 7:
  ------------------
  |  Branch (3241:5): [True: 717, False: 109k]
  ------------------
 3242|    717|        return OFPERR_OFPMOFC_BAD_OUT;
 3243|    494|    case (0x2320ULL << 32) |  ((uint32_t) 16 << 16) | 0:
  ------------------
  |  Branch (3243:5): [True: 494, False: 110k]
  ------------------
 3244|    494|        return OFPERR_NXTTMFC_BAD_COMMAND;
 3245|     66|    case (0x2320ULL << 32) |  ((uint32_t) 17 << 16) | 0:
  ------------------
  |  Branch (3245:5): [True: 66, False: 110k]
  ------------------
 3246|     66|        return OFPERR_NXTTMFC_BAD_OPT_LEN;
 3247|    196|    case (0x2320ULL << 32) |  ((uint32_t) 18 << 16) | 0:
  ------------------
  |  Branch (3247:5): [True: 196, False: 110k]
  ------------------
 3248|    196|        return OFPERR_NXTTMFC_BAD_FIELD_IDX;
 3249|     34|    case (0x2320ULL << 32) |  ((uint32_t) 19 << 16) | 0:
  ------------------
  |  Branch (3249:5): [True: 34, False: 110k]
  ------------------
 3250|     34|        return OFPERR_NXTTMFC_TABLE_FULL;
 3251|     18|    case (0x2320ULL << 32) |  ((uint32_t) 20 << 16) | 0:
  ------------------
  |  Branch (3251:5): [True: 18, False: 110k]
  ------------------
 3252|     18|        return OFPERR_NXTTMFC_ALREADY_MAPPED;
 3253|     36|    case (0x2320ULL << 32) |  ((uint32_t) 21 << 16) | 0:
  ------------------
  |  Branch (3253:5): [True: 36, False: 110k]
  ------------------
 3254|     36|        return OFPERR_NXTTMFC_DUP_ENTRY;
 3255|    195|    case (0x2320ULL << 32) |  ((uint32_t) 38 << 16) | 0:
  ------------------
  |  Branch (3255:5): [True: 195, False: 110k]
  ------------------
 3256|    195|        return OFPERR_NXTTMFC_INVALID_TLV_DEL;
 3257|     67|    case (0x2320ULL << 32) |  ((uint32_t) 34 << 16) | 0:
  ------------------
  |  Branch (3257:5): [True: 67, False: 110k]
  ------------------
 3258|     67|        return OFPERR_NXR_NOT_SUPPORTED;
 3259|    911|    case (0x2320ULL << 32) |  ((uint32_t) 35 << 16) | 0:
  ------------------
  |  Branch (3259:5): [True: 911, False: 109k]
  ------------------
 3260|    911|        return OFPERR_NXR_STALE;
 3261|    577|    case (0x2320ULL << 32) |  ((uint32_t) 36 << 16) | 0:
  ------------------
  |  Branch (3261:5): [True: 577, False: 109k]
  ------------------
 3262|    577|        return OFPERR_NXST_NOT_CONFIGURED;
 3263|   110k|    }
 3264|       |
 3265|  28.7k|    return 0;
 3266|   110k|}

ofputil_flow_mod_flags_format:
  111|  48.9k|{
  112|  48.9k|    if (flags & OFPUTIL_FF_SEND_FLOW_REM) {
  ------------------
  |  Branch (112:9): [True: 6.42k, False: 42.5k]
  ------------------
  113|  6.42k|        ds_put_cstr(s, "send_flow_rem ");
  114|  6.42k|    }
  115|  48.9k|    if (flags & OFPUTIL_FF_CHECK_OVERLAP) {
  ------------------
  |  Branch (115:9): [True: 6.92k, False: 42.0k]
  ------------------
  116|  6.92k|        ds_put_cstr(s, "check_overlap ");
  117|  6.92k|    }
  118|  48.9k|    if (flags & OFPUTIL_FF_RESET_COUNTS) {
  ------------------
  |  Branch (118:9): [True: 2.60k, False: 46.3k]
  ------------------
  119|  2.60k|        ds_put_cstr(s, "reset_counts ");
  120|  2.60k|    }
  121|  48.9k|    if (flags & OFPUTIL_FF_NO_PKT_COUNTS) {
  ------------------
  |  Branch (121:9): [True: 5.83k, False: 43.1k]
  ------------------
  122|  5.83k|        ds_put_cstr(s, "no_packet_counts ");
  123|  5.83k|    }
  124|  48.9k|    if (flags & OFPUTIL_FF_NO_BYT_COUNTS) {
  ------------------
  |  Branch (124:9): [True: 2.60k, False: 46.3k]
  ------------------
  125|  2.60k|        ds_put_cstr(s, "no_byte_counts ");
  126|  2.60k|    }
  127|  48.9k|    if (flags & OFPUTIL_FF_HIDDEN_FIELDS) {
  ------------------
  |  Branch (127:9): [True: 0, False: 48.9k]
  ------------------
  128|      0|        ds_put_cstr(s, "allow_hidden_fields ");
  129|      0|    }
  130|  48.9k|    if (flags & OFPUTIL_FF_NO_READONLY) {
  ------------------
  |  Branch (130:9): [True: 0, False: 48.9k]
  ------------------
  131|      0|        ds_put_cstr(s, "no_readonly_table ");
  132|      0|    }
  133|  48.9k|}
ofputil_decode_flow_mod:
  155|   108k|{
  156|   108k|    ovs_be16 raw_flags;
  157|   108k|    enum ofperr error;
  158|   108k|    struct match match;
  159|   108k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  160|   108k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  161|   108k|    if (raw == OFPRAW_OFPT11_FLOW_MOD) {
  ------------------
  |  Branch (161:9): [True: 38.8k, False: 69.4k]
  ------------------
  162|       |        /* Standard OpenFlow 1.1+ flow_mod. */
  163|  38.8k|        const struct ofp11_flow_mod *ofm;
  164|       |
  165|  38.8k|        ofm = ofpbuf_pull(&b, sizeof *ofm);
  166|       |
  167|  38.8k|        error = ofputil_pull_ofp11_match(&b, tun_table, vl_mff_map, &match,
  168|  38.8k|                                         NULL);
  169|  38.8k|        if (error) {
  ------------------
  |  Branch (169:13): [True: 8.15k, False: 30.6k]
  ------------------
  170|  8.15k|            return error;
  171|  8.15k|        }
  172|       |
  173|       |        /* Translate the message. */
  174|  30.6k|        fm->priority = ntohs(ofm->priority);
  175|  30.6k|        if (ofm->command == OFPFC_ADD
  ------------------
  |  Branch (175:13): [True: 17.6k, False: 13.0k]
  ------------------
  176|  13.0k|            || (oh->version == OFP11_VERSION
  ------------------
  |  Branch (176:17): [True: 4.33k, False: 8.68k]
  ------------------
  177|  4.33k|                && (ofm->command == OFPFC_MODIFY ||
  ------------------
  |  Branch (177:21): [True: 2.89k, False: 1.44k]
  ------------------
  178|  1.44k|                    ofm->command == OFPFC_MODIFY_STRICT)
  ------------------
  |  Branch (178:21): [True: 539, False: 903]
  ------------------
  179|  17.6k|                && ofm->cookie_mask == htonll(0))) {
  ------------------
  |  Branch (179:20): [True: 10, False: 3.42k]
  ------------------
  180|       |            /* In OpenFlow 1.1 only, a "modify" or "modify-strict" that does
  181|       |             * not match on the cookie is treated as an "add" if there is no
  182|       |             * match. */
  183|  17.6k|            fm->cookie = htonll(0);
  184|  17.6k|            fm->cookie_mask = htonll(0);
  185|  17.6k|            fm->new_cookie = ofm->cookie;
  186|  17.6k|        } else {
  187|  13.0k|            fm->cookie = ofm->cookie;
  188|  13.0k|            fm->cookie_mask = ofm->cookie_mask;
  189|  13.0k|            fm->new_cookie = OVS_BE64_MAX;
  ------------------
  |  |   44|  13.0k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  190|  13.0k|        }
  191|  30.6k|        fm->modify_cookie = false;
  192|  30.6k|        fm->command = ofm->command;
  193|       |
  194|       |        /* Get table ID.
  195|       |         *
  196|       |         * OF1.1 entirely forbids table_id == OFPTT_ALL.
  197|       |         * OF1.2+ allows table_id == OFPTT_ALL only for deletes. */
  198|  30.6k|        fm->table_id = ofm->table_id;
  199|  30.6k|        if (fm->table_id == OFPTT_ALL
  ------------------
  |  Branch (199:13): [True: 3.24k, False: 27.4k]
  ------------------
  200|  3.24k|            && (oh->version == OFP11_VERSION
  ------------------
  |  Branch (200:17): [True: 654, False: 2.58k]
  ------------------
  201|  2.58k|                || (ofm->command != OFPFC_DELETE &&
  ------------------
  |  Branch (201:21): [True: 151, False: 2.43k]
  ------------------
  202|    691|                    ofm->command != OFPFC_DELETE_STRICT))) {
  ------------------
  |  Branch (202:21): [True: 37, False: 114]
  ------------------
  203|    691|            return OFPERR_OFPFMFC_BAD_TABLE_ID;
  204|    691|        }
  205|       |
  206|  30.0k|        fm->idle_timeout = ntohs(ofm->idle_timeout);
  207|  30.0k|        fm->hard_timeout = ntohs(ofm->hard_timeout);
  208|  30.0k|        if (oh->version >= OFP14_VERSION && ofm->command == OFPFC_ADD) {
  ------------------
  |  Branch (208:13): [True: 25.8k, False: 4.19k]
  |  Branch (208:45): [True: 17.1k, False: 8.63k]
  ------------------
  209|  17.1k|            fm->importance = ntohs(ofm->importance);
  210|  17.1k|        } else {
  211|  12.8k|            fm->importance = 0;
  212|  12.8k|        }
  213|  30.0k|        fm->buffer_id = ntohl(ofm->buffer_id);
  214|  30.0k|        error = ofputil_port_from_ofp11(ofm->out_port, &fm->out_port);
  215|  30.0k|        if (error) {
  ------------------
  |  Branch (215:13): [True: 1.04k, False: 28.9k]
  ------------------
  216|  1.04k|            return error;
  217|  1.04k|        }
  218|       |
  219|  28.9k|        fm->out_group = (ofm->command == OFPFC_DELETE ||
  ------------------
  |  Branch (219:26): [True: 3.68k, False: 25.2k]
  ------------------
  220|  25.2k|                         ofm->command == OFPFC_DELETE_STRICT
  ------------------
  |  Branch (220:26): [True: 1.29k, False: 23.9k]
  ------------------
  221|  28.9k|                         ? ntohl(ofm->out_group)
  222|  28.9k|                         : OFPG_ANY);
  223|  28.9k|        raw_flags = ofm->flags;
  224|  69.4k|    } else {
  225|  69.4k|        uint16_t command;
  226|       |
  227|  69.4k|        if (raw == OFPRAW_OFPT10_FLOW_MOD) {
  ------------------
  |  Branch (227:13): [True: 66.5k, False: 2.89k]
  ------------------
  228|       |            /* Standard OpenFlow 1.0 flow_mod. */
  229|  66.5k|            const struct ofp10_flow_mod *ofm;
  230|       |
  231|       |            /* Get the ofp10_flow_mod. */
  232|  66.5k|            ofm = ofpbuf_pull(&b, sizeof *ofm);
  233|       |
  234|       |            /* Translate the rule. */
  235|  66.5k|            ofputil_match_from_ofp10_match(&ofm->match, &match);
  236|  66.5k|            ofputil_normalize_match(&match);
  237|       |
  238|       |            /* OpenFlow 1.0 says that exact-match rules have to have the
  239|       |             * highest possible priority. */
  240|  66.5k|            fm->priority = (ofm->match.wildcards & htonl(OFPFW10_ALL)
  ------------------
  |  Branch (240:29): [True: 59.1k, False: 7.38k]
  ------------------
  241|  66.5k|                            ? ntohs(ofm->priority)
  242|  66.5k|                            : UINT16_MAX);
  243|       |
  244|       |            /* Translate the message. */
  245|  66.5k|            command = ntohs(ofm->command);
  246|  66.5k|            fm->cookie = htonll(0);
  247|  66.5k|            fm->cookie_mask = htonll(0);
  248|  66.5k|            fm->new_cookie = ofm->cookie;
  249|  66.5k|            fm->idle_timeout = ntohs(ofm->idle_timeout);
  250|  66.5k|            fm->hard_timeout = ntohs(ofm->hard_timeout);
  251|  66.5k|            fm->importance = 0;
  252|  66.5k|            fm->buffer_id = ntohl(ofm->buffer_id);
  253|  66.5k|            fm->out_port = u16_to_ofp(ntohs(ofm->out_port));
  254|  66.5k|            fm->out_group = OFPG_ANY;
  255|  66.5k|            raw_flags = ofm->flags;
  256|  66.5k|        } else if (raw == OFPRAW_NXT_FLOW_MOD) {
  ------------------
  |  Branch (256:20): [True: 2.89k, False: 0]
  ------------------
  257|       |            /* Nicira extended flow_mod. */
  258|  2.89k|            const struct nx_flow_mod *nfm;
  259|       |
  260|       |            /* Dissect the message. */
  261|  2.89k|            nfm = ofpbuf_pull(&b, sizeof *nfm);
  262|  2.89k|            error = nx_pull_match(&b, ntohs(nfm->match_len),
  263|  2.89k|                                  &match, &fm->cookie, &fm->cookie_mask,
  264|  2.89k|                                  false, tun_table, vl_mff_map);
  265|  2.89k|            if (error) {
  ------------------
  |  Branch (265:17): [True: 156, False: 2.73k]
  ------------------
  266|    156|                return error;
  267|    156|            }
  268|       |
  269|       |            /* Translate the message. */
  270|  2.73k|            command = ntohs(nfm->command);
  271|  2.73k|            if ((command & 0xff) == OFPFC_ADD && fm->cookie_mask) {
  ------------------
  |  Branch (271:17): [True: 1.82k, False: 916]
  |  Branch (271:50): [True: 157, False: 1.66k]
  ------------------
  272|       |                /* Flow additions may only set a new cookie, not match an
  273|       |                 * existing cookie. */
  274|    157|                return OFPERR_NXBRC_NXM_INVALID;
  275|    157|            }
  276|  2.58k|            fm->priority = ntohs(nfm->priority);
  277|  2.58k|            fm->new_cookie = nfm->cookie;
  278|  2.58k|            fm->idle_timeout = ntohs(nfm->idle_timeout);
  279|  2.58k|            fm->hard_timeout = ntohs(nfm->hard_timeout);
  280|  2.58k|            fm->importance = 0;
  281|  2.58k|            fm->buffer_id = ntohl(nfm->buffer_id);
  282|  2.58k|            fm->out_port = u16_to_ofp(ntohs(nfm->out_port));
  283|  2.58k|            fm->out_group = OFPG_ANY;
  284|  2.58k|            raw_flags = nfm->flags;
  285|  2.58k|        } else {
  286|      0|            OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  287|      0|        }
  288|       |
  289|  69.1k|        fm->modify_cookie = fm->new_cookie != OVS_BE64_MAX;
  ------------------
  |  |   44|  69.1k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  290|  69.1k|        if (protocol & OFPUTIL_P_TID) {
  ------------------
  |  |  103|  69.1k|#define OFPUTIL_P_TID (OFPUTIL_P_OF10_STD_TID | \
  |  |  104|  69.1k|                       OFPUTIL_P_OF10_NXM_TID | \
  |  |  105|  69.1k|                       OFPUTIL_P_OF11_STD |     \
  |  |  106|  69.1k|                       OFPUTIL_P_ANY_OXM)
  |  |  ------------------
  |  |  |  |   82|  69.1k|#define OFPUTIL_P_ANY_OXM (OFPUTIL_P_OF12_OXM | \
  |  |  |  |   83|  69.1k|                           OFPUTIL_P_OF13_OXM | \
  |  |  |  |   84|  69.1k|                           OFPUTIL_P_OF14_OXM | \
  |  |  |  |   85|  69.1k|                           OFPUTIL_P_OF15_OXM)
  |  |  ------------------
  ------------------
  |  Branch (290:13): [True: 69.1k, False: 0]
  ------------------
  291|  69.1k|            fm->command = command & 0xff;
  292|  69.1k|            fm->table_id = command >> 8;
  293|  69.1k|        } else {
  294|      0|            if (command > 0xff) {
  ------------------
  |  Branch (294:17): [True: 0, False: 0]
  ------------------
  295|      0|                VLOG_WARN_RL(&rl, "flow_mod has explicit table_id "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|      0|                             "but flow_mod_table_id extension is not enabled");
  297|      0|            }
  298|      0|            fm->command = command;
  299|      0|            fm->table_id = 0xff;
  300|      0|        }
  301|  69.1k|    }
  302|       |
  303|       |    /* Check for mismatched conntrack original direction tuple address fields
  304|       |     * w.r.t. the IP version of the match. */
  305|  98.1k|    if (((match.wc.masks.ct_nw_src || match.wc.masks.ct_nw_dst)
  ------------------
  |  Branch (305:11): [True: 0, False: 98.1k]
  |  Branch (305:39): [True: 0, False: 98.1k]
  ------------------
  306|      0|         && match.flow.dl_type != htons(ETH_TYPE_IP))
  ------------------
  |  Branch (306:13): [True: 0, False: 0]
  ------------------
  307|  98.1k|        || ((ipv6_addr_is_set(&match.wc.masks.ct_ipv6_src)
  ------------------
  |  Branch (307:14): [True: 0, False: 98.1k]
  ------------------
  308|  98.1k|             || ipv6_addr_is_set(&match.wc.masks.ct_ipv6_dst))
  ------------------
  |  Branch (308:17): [True: 0, False: 98.1k]
  ------------------
  309|      0|            && match.flow.dl_type != htons(ETH_TYPE_IPV6))) {
  ------------------
  |  Branch (309:16): [True: 0, False: 0]
  ------------------
  310|      0|        return OFPERR_OFPBAC_MATCH_INCONSISTENT;
  311|      0|    }
  312|       |
  313|  98.1k|    if (fm->command > OFPFC_DELETE_STRICT) {
  ------------------
  |  Branch (313:9): [True: 7.18k, False: 90.9k]
  ------------------
  314|  7.18k|        return OFPERR_OFPFMFC_BAD_COMMAND;
  315|  7.18k|    }
  316|       |
  317|  90.9k|    fm->ofpacts_tlv_bitmap = 0;
  318|  90.9k|    error = ofpacts_pull_openflow_instructions(&b, b.size, oh->version,
  319|  90.9k|                                               vl_mff_map,
  320|  90.9k|                                               &fm->ofpacts_tlv_bitmap,
  321|  90.9k|                                               ofpacts);
  322|  90.9k|    if (error) {
  ------------------
  |  Branch (322:9): [True: 34.8k, False: 56.0k]
  ------------------
  323|  34.8k|        return error;
  324|  34.8k|    }
  325|  56.0k|    fm->ofpacts = ofpacts->data;
  326|  56.0k|    fm->ofpacts_len = ofpacts->size;
  327|       |
  328|  56.0k|    error = ofputil_decode_flow_mod_flags(raw_flags, fm->command,
  329|  56.0k|                                          oh->version, &fm->flags);
  330|  56.0k|    if (error) {
  ------------------
  |  Branch (330:9): [True: 1.93k, False: 54.1k]
  ------------------
  331|  1.93k|        return error;
  332|  1.93k|    }
  333|       |
  334|  54.1k|    if (fm->flags & OFPUTIL_FF_EMERG) {
  ------------------
  |  Branch (334:9): [True: 576, False: 53.5k]
  ------------------
  335|       |        /* We do not support the OpenFlow 1.0 emergency flow cache, which
  336|       |         * is not required in OpenFlow 1.0.1 and removed from OpenFlow 1.1.
  337|       |         *
  338|       |         * OpenFlow 1.0 specifies the error code to use when idle_timeout
  339|       |         * or hard_timeout is nonzero.  Otherwise, there is no good error
  340|       |         * code, so just state that the flow table is full. */
  341|    576|        return (fm->hard_timeout || fm->idle_timeout
  ------------------
  |  Branch (341:17): [True: 413, False: 163]
  |  Branch (341:37): [True: 19, False: 144]
  ------------------
  342|    576|                ? OFPERR_OFPFMFC_BAD_EMERG_TIMEOUT
  343|    576|                : OFPERR_OFPFMFC_TABLE_FULL);
  344|    576|    }
  345|       |
  346|  53.5k|    struct ofpact_check_params cp = {
  347|  53.5k|        .match = &match,
  348|  53.5k|        .max_ports = max_port,
  349|  53.5k|        .table_id = fm->table_id,
  350|  53.5k|        .n_tables = max_table
  351|  53.5k|    };
  352|  53.5k|    error = ofpacts_check_consistency(fm->ofpacts, fm->ofpacts_len,
  353|  53.5k|                                      protocol, &cp);
  354|  53.5k|    if (!error) {
  ------------------
  |  Branch (354:9): [True: 46.7k, False: 6.77k]
  ------------------
  355|  46.7k|        minimatch_init(&fm->match, &match);
  356|  46.7k|    }
  357|  53.5k|    return error;
  358|  54.1k|}
ofputil_flow_mod_format:
  489|   108k|{
  490|   108k|    struct ofputil_flow_mod fm;
  491|   108k|    struct ofpbuf ofpacts;
  492|   108k|    bool need_priority;
  493|   108k|    enum ofperr error;
  494|   108k|    enum ofpraw raw;
  495|   108k|    enum ofputil_protocol protocol;
  496|       |
  497|   108k|    protocol = ofputil_protocol_from_ofp_version(oh->version);
  498|   108k|    protocol = ofputil_protocol_set_tid(protocol, true);
  499|       |
  500|   108k|    ofpbuf_init(&ofpacts, 64);
  501|   108k|    error = ofputil_decode_flow_mod(&fm, oh, protocol, NULL, NULL, &ofpacts,
  502|   108k|                                    OFPP_MAX, 255);
  ------------------
  |  |   33|   108k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|   108k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  503|   108k|    if (error) {
  ------------------
  |  Branch (503:9): [True: 61.5k, False: 46.7k]
  ------------------
  504|  61.5k|        ofpbuf_uninit(&ofpacts);
  505|  61.5k|        return error;
  506|  61.5k|    }
  507|       |
  508|  46.7k|    ds_put_char(s, ' ');
  509|  46.7k|    switch (fm.command) {
  510|  33.1k|    case OFPFC_ADD:
  ------------------
  |  Branch (510:5): [True: 33.1k, False: 13.6k]
  ------------------
  511|  33.1k|        ds_put_cstr(s, "ADD");
  512|  33.1k|        break;
  513|  5.24k|    case OFPFC_MODIFY:
  ------------------
  |  Branch (513:5): [True: 5.24k, False: 41.5k]
  ------------------
  514|  5.24k|        ds_put_cstr(s, "MOD");
  515|  5.24k|        break;
  516|  4.26k|    case OFPFC_MODIFY_STRICT:
  ------------------
  |  Branch (516:5): [True: 4.26k, False: 42.5k]
  ------------------
  517|  4.26k|        ds_put_cstr(s, "MOD_STRICT");
  518|  4.26k|        break;
  519|  2.62k|    case OFPFC_DELETE:
  ------------------
  |  Branch (519:5): [True: 2.62k, False: 44.1k]
  ------------------
  520|  2.62k|        ds_put_cstr(s, "DEL");
  521|  2.62k|        break;
  522|  1.49k|    case OFPFC_DELETE_STRICT:
  ------------------
  |  Branch (522:5): [True: 1.49k, False: 45.2k]
  ------------------
  523|  1.49k|        ds_put_cstr(s, "DEL_STRICT");
  524|  1.49k|        break;
  525|      0|    default:
  ------------------
  |  Branch (525:5): [True: 0, False: 46.7k]
  ------------------
  526|      0|        ds_put_format(s, "cmd:%d", fm.command);
  527|  46.7k|    }
  528|  46.7k|    if (fm.table_id != 0
  ------------------
  |  Branch (528:9): [True: 20.6k, False: 26.1k]
  ------------------
  529|  26.1k|        || ofputil_table_map_get_name(table_map, fm.table_id)) {
  ------------------
  |  Branch (529:12): [True: 0, False: 26.1k]
  ------------------
  530|  20.6k|        ds_put_format(s, " table:");
  531|  20.6k|        ofputil_format_table(fm.table_id, table_map, s);
  532|  20.6k|    }
  533|       |
  534|  46.7k|    ds_put_char(s, ' ');
  535|  46.7k|    ofpraw_decode(&raw, oh);
  536|  46.7k|    if (verbosity >= 3 && raw == OFPRAW_OFPT10_FLOW_MOD) {
  ------------------
  |  Branch (536:9): [True: 0, False: 46.7k]
  |  Branch (536:27): [True: 0, False: 0]
  ------------------
  537|      0|        const struct ofp10_flow_mod *ofm = ofpmsg_body(oh);
  538|      0|        ofp10_match_print(s, &ofm->match, port_map, verbosity);
  539|       |
  540|       |        /* ofp_print_match() doesn't print priority. */
  541|      0|        need_priority = true;
  542|  46.7k|    } else if (verbosity >= 3 && raw == OFPRAW_NXT_FLOW_MOD) {
  ------------------
  |  Branch (542:16): [True: 0, False: 46.7k]
  |  Branch (542:34): [True: 0, False: 0]
  ------------------
  543|      0|        const struct nx_flow_mod *nfm = ofpmsg_body(oh);
  544|      0|        const void *nxm = nfm + 1;
  545|      0|        char *nxm_s;
  546|       |
  547|      0|        nxm_s = nx_match_to_string(nxm, ntohs(nfm->match_len));
  548|      0|        ds_put_cstr(s, nxm_s);
  549|      0|        free(nxm_s);
  550|       |
  551|       |        /* nx_match_to_string() doesn't print priority. */
  552|      0|        need_priority = true;
  553|  46.7k|    } else {
  554|  46.7k|        struct match match;
  555|  46.7k|        minimatch_expand(&fm.match, &match);
  556|  46.7k|        match_format(&match, port_map, s, fm.priority);
  557|       |
  558|       |        /* match_format() does print priority. */
  559|  46.7k|        need_priority = false;
  560|  46.7k|    }
  561|       |
  562|  46.7k|    if (ds_last(s) != ' ') {
  ------------------
  |  Branch (562:9): [True: 45.7k, False: 1.04k]
  ------------------
  563|  45.7k|        ds_put_char(s, ' ');
  564|  45.7k|    }
  565|  46.7k|    if (fm.new_cookie != htonll(0) && fm.new_cookie != OVS_BE64_MAX) {
  ------------------
  |  |   44|  46.1k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  |  Branch (565:9): [True: 46.1k, False: 666]
  |  Branch (565:39): [True: 38.9k, False: 7.16k]
  ------------------
  566|  38.9k|        ds_put_format(s, "cookie:0x%"PRIx64" ", ntohll(fm.new_cookie));
  567|  38.9k|    }
  568|  46.7k|    if (fm.cookie_mask != htonll(0)) {
  ------------------
  |  Branch (568:9): [True: 7.16k, False: 39.6k]
  ------------------
  569|  7.16k|        ds_put_format(s, "cookie:0x%"PRIx64"/0x%"PRIx64" ",
  570|  7.16k|                ntohll(fm.cookie), ntohll(fm.cookie_mask));
  571|  7.16k|    }
  572|  46.7k|    if (fm.idle_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  46.7k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (572:9): [True: 35.8k, False: 10.9k]
  ------------------
  573|  35.8k|        ds_put_format(s, "idle:%"PRIu16" ", fm.idle_timeout);
  574|  35.8k|    }
  575|  46.7k|    if (fm.hard_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  46.7k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (575:9): [True: 39.2k, False: 7.52k]
  ------------------
  576|  39.2k|        ds_put_format(s, "hard:%"PRIu16" ", fm.hard_timeout);
  577|  39.2k|    }
  578|  46.7k|    if (fm.importance != 0) {
  ------------------
  |  Branch (578:9): [True: 7.24k, False: 39.5k]
  ------------------
  579|  7.24k|        ds_put_format(s, "importance:%"PRIu16" ", fm.importance);
  580|  7.24k|    }
  581|  46.7k|    if (fm.priority != OFP_DEFAULT_PRIORITY && need_priority) {
  ------------------
  |  |  138|  93.5k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  |  Branch (581:9): [True: 45.7k, False: 1.04k]
  |  Branch (581:48): [True: 0, False: 45.7k]
  ------------------
  582|      0|        ds_put_format(s, "pri:%d ", fm.priority);
  583|      0|    }
  584|  46.7k|    if (fm.buffer_id != UINT32_MAX) {
  ------------------
  |  Branch (584:9): [True: 45.6k, False: 1.16k]
  ------------------
  585|  45.6k|        ds_put_format(s, "buf:0x%"PRIx32" ", fm.buffer_id);
  586|  45.6k|    }
  587|  46.7k|    if (fm.out_port != OFPP_ANY) {
  ------------------
  |  |   80|  46.7k|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|  46.7k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|  46.7k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (587:9): [True: 45.4k, False: 1.33k]
  ------------------
  588|  45.4k|        ds_put_format(s, "out_port:");
  589|  45.4k|        ofputil_format_port(fm.out_port, port_map, s);
  590|  45.4k|        ds_put_char(s, ' ');
  591|  45.4k|    }
  592|       |
  593|  46.7k|    if (oh->version == OFP10_VERSION || oh->version == OFP11_VERSION) {
  ------------------
  |  Branch (593:9): [True: 30.3k, False: 16.4k]
  |  Branch (593:41): [True: 2.88k, False: 13.5k]
  ------------------
  594|       |        /* Don't print the reset_counts flag for OF1.0 and OF1.1 because those
  595|       |         * versions don't really have such a flag and printing one is likely to
  596|       |         * confuse people. */
  597|  33.2k|        fm.flags &= ~OFPUTIL_FF_RESET_COUNTS;
  598|  33.2k|    }
  599|  46.7k|    ofputil_flow_mod_flags_format(s, fm.flags);
  600|       |
  601|  46.7k|    ds_put_cstr(s, "actions=");
  602|  46.7k|    struct ofpact_format_params fp = {
  603|  46.7k|        .port_map = port_map,
  604|  46.7k|        .table_map = table_map,
  605|  46.7k|        .s = s,
  606|  46.7k|    };
  607|  46.7k|    ofpacts_format(fm.ofpacts, fm.ofpacts_len, &fp);
  608|  46.7k|    ofpbuf_uninit(&ofpacts);
  609|  46.7k|    minimatch_destroy(&fm.match);
  610|       |
  611|  46.7k|    return 0;
  612|  46.7k|}
ofputil_decode_flow_stats_request:
  697|  5.06k|{
  698|  5.06k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  699|  5.06k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  700|  5.06k|    switch ((int) raw) {
  701|    280|    case OFPRAW_OFPST10_FLOW_REQUEST:
  ------------------
  |  Branch (701:5): [True: 280, False: 4.78k]
  ------------------
  702|    280|        return ofputil_decode_ofpst10_flow_request(fsr, b.data, false);
  703|       |
  704|  1.74k|    case OFPRAW_OFPST10_AGGREGATE_REQUEST:
  ------------------
  |  Branch (704:5): [True: 1.74k, False: 3.31k]
  ------------------
  705|  1.74k|        return ofputil_decode_ofpst10_flow_request(fsr, b.data, true);
  706|       |
  707|    480|    case OFPRAW_OFPST11_FLOW_REQUEST:
  ------------------
  |  Branch (707:5): [True: 480, False: 4.58k]
  ------------------
  708|    480|        return ofputil_decode_ofpst11_flow_request(fsr, &b, false, tun_table,
  709|    480|                                                   vl_mff_map);
  710|       |
  711|  1.65k|    case OFPRAW_OFPST11_AGGREGATE_REQUEST:
  ------------------
  |  Branch (711:5): [True: 1.65k, False: 3.41k]
  ------------------
  712|  1.65k|        return ofputil_decode_ofpst11_flow_request(fsr, &b, true, tun_table,
  713|  1.65k|                                                   vl_mff_map);
  714|       |
  715|    174|    case OFPRAW_OFPST15_AGGREGATE_REQUEST:
  ------------------
  |  Branch (715:5): [True: 174, False: 4.89k]
  ------------------
  716|    174|       return ofputil_decode_ofpst11_flow_request(fsr, &b, true,
  717|    174|                                                  tun_table, vl_mff_map);
  718|       |
  719|    404|    case OFPRAW_NXST_FLOW_REQUEST:
  ------------------
  |  Branch (719:5): [True: 404, False: 4.66k]
  ------------------
  720|    404|        return ofputil_decode_nxst_flow_request(fsr, &b, false, tun_table,
  721|    404|                                                vl_mff_map);
  722|       |
  723|    331|    case OFPRAW_NXST_AGGREGATE_REQUEST:
  ------------------
  |  Branch (723:5): [True: 331, False: 4.73k]
  ------------------
  724|    331|        return ofputil_decode_nxst_flow_request(fsr, &b, true, tun_table,
  725|    331|                                                vl_mff_map);
  726|       |
  727|      0|    default:
  ------------------
  |  Branch (727:5): [True: 0, False: 5.06k]
  ------------------
  728|       |        /* Hey, the caller lied. */
  729|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  730|  5.06k|    }
  731|  5.06k|}
ofputil_flow_stats_request_format:
  819|  2.40k|{
  820|  2.40k|    if (fsr->table_id != 0xff) {
  ------------------
  |  Branch (820:9): [True: 1.55k, False: 852]
  ------------------
  821|  1.55k|        ds_put_format(s, " table=");
  822|  1.55k|        ofputil_format_table(fsr->table_id, table_map, s);
  823|  1.55k|    }
  824|       |
  825|  2.40k|    if (fsr->out_port != OFPP_ANY) {
  ------------------
  |  |   80|  2.40k|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|  2.40k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|  2.40k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (825:9): [True: 2.20k, False: 195]
  ------------------
  826|  2.20k|        ds_put_cstr(s, " out_port=");
  827|  2.20k|        ofputil_format_port(fsr->out_port, port_map, s);
  828|  2.20k|    }
  829|       |
  830|  2.40k|    ds_put_char(s, ' ');
  831|  2.40k|    match_format(&fsr->match, port_map, s, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  2.40k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  832|  2.40k|}
ofputil_decode_flow_stats_reply:
  896|  22.4k|{
  897|  22.4k|    const struct ofp_header *oh;
  898|  22.4k|    size_t instructions_len;
  899|  22.4k|    enum ofperr error;
  900|  22.4k|    enum ofpraw raw;
  901|       |
  902|  22.4k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (902:14): [True: 6.06k, False: 16.4k]
  ------------------
  903|  22.4k|             : ofpraw_pull(&raw, msg));
  904|  22.4k|    if (error) {
  ------------------
  |  Branch (904:9): [True: 0, False: 22.4k]
  ------------------
  905|      0|        return error;
  906|      0|    }
  907|  22.4k|    oh = msg->header;
  908|       |
  909|  22.4k|    if (!msg->size) {
  ------------------
  |  Branch (909:9): [True: 1.73k, False: 20.7k]
  ------------------
  910|  1.73k|        return EOF;
  911|  20.7k|    } else if (raw == OFPRAW_OFPST15_FLOW_REPLY) {
  ------------------
  |  Branch (911:16): [True: 11.7k, False: 8.95k]
  ------------------
  912|  11.7k|        const struct ofp15_flow_desc *ofd;
  913|  11.7k|        size_t length;
  914|  11.7k|        uint16_t padded_match_len;
  915|  11.7k|        uint16_t stat_len;
  916|  11.7k|        uint8_t oxs_field_set;
  917|       |
  918|  11.7k|        ofd = ofpbuf_try_pull(msg, sizeof *ofd);
  919|  11.7k|        if (!ofd) {
  ------------------
  |  Branch (919:13): [True: 2.81k, False: 8.96k]
  ------------------
  920|  2.81k|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply has %" PRIu32
  ------------------
  |  |  224|  2.81k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.81k|    do {                                                                \
  |  |  |  |  288|  2.81k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.81k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.81k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.81k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|  2.81k|                         " leftover " "bytes at end", msg->size);
  922|  2.81k|            return EINVAL;
  923|  2.81k|        }
  924|       |
  925|  8.96k|        length = ntohs(ofd->length);
  926|  8.96k|        if (length < sizeof *ofd) {
  ------------------
  |  Branch (926:13): [True: 722, False: 8.24k]
  ------------------
  927|    722|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply claims invalid "
  ------------------
  |  |  224|    722|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    722|    do {                                                                \
  |  |  |  |  288|    722|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    722|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 722]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    722|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 722]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|    722|                         "length %" PRIuSIZE, length);
  929|    722|            return EINVAL;
  930|    722|        }
  931|       |
  932|  8.24k|        if (ofputil_pull_ofp11_match(msg, NULL, NULL, &fs->match,
  ------------------
  |  Branch (932:13): [True: 1.91k, False: 6.32k]
  ------------------
  933|  8.24k|                                     &padded_match_len)) {
  934|  1.91k|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply bad match");
  ------------------
  |  |  224|  1.91k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.91k|    do {                                                                \
  |  |  |  |  288|  1.91k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.91k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.91k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.91k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  935|  1.91k|            return EINVAL;
  936|  1.91k|        }
  937|       |
  938|  6.32k|        fs->priority = ntohs(ofd->priority);
  939|  6.32k|        fs->table_id = ofd->table_id;
  940|  6.32k|        fs->cookie = ofd->cookie;
  941|  6.32k|        fs->idle_timeout = ntohs(ofd->idle_timeout);
  942|  6.32k|        fs->hard_timeout = ntohs(ofd->hard_timeout);
  943|  6.32k|        fs->importance = ntohs(ofd->importance);
  944|       |
  945|  6.32k|        error = ofputil_decode_flow_mod_flags(ofd->flags, -1, oh->version,
  946|  6.32k|                                                &fs->flags);
  947|  6.32k|        if (error) {
  ------------------
  |  Branch (947:13): [True: 782, False: 5.54k]
  ------------------
  948|    782|            return error;
  949|    782|        }
  950|       |
  951|  5.54k|        struct oxs_stats oxs;
  952|  5.54k|        if (oxs_pull_stat(msg, &oxs, &stat_len, &oxs_field_set)) {
  ------------------
  |  Branch (952:13): [True: 886, False: 4.65k]
  ------------------
  953|    886|            VLOG_WARN_RL(&rl, "OXS OFPST_FLOW reply bad stats");
  ------------------
  |  |  224|    886|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    886|    do {                                                                \
  |  |  |  |  288|    886|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    886|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 886]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    886|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 886]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  954|    886|            return EINVAL;
  955|    886|        }
  956|  4.65k|        fs->duration_sec = oxs.duration_sec;
  957|  4.65k|        fs->duration_nsec = oxs.duration_nsec;
  958|  4.65k|        fs->packet_count = oxs.packet_count;
  959|  4.65k|        fs->byte_count = oxs.byte_count;
  960|  4.65k|        fs->idle_age = oxs.idle_age == UINT32_MAX ? -1 : oxs.idle_age;
  ------------------
  |  Branch (960:24): [True: 4.65k, False: 0]
  ------------------
  961|  4.65k|        fs->hard_age = -1;
  962|       |
  963|  4.65k|        instructions_len = length - sizeof *ofd - padded_match_len - stat_len;
  964|  8.95k|    } else if (raw == OFPRAW_OFPST11_FLOW_REPLY
  ------------------
  |  Branch (964:16): [True: 1.14k, False: 7.81k]
  ------------------
  965|  7.81k|               || raw == OFPRAW_OFPST13_FLOW_REPLY) {
  ------------------
  |  Branch (965:19): [True: 1.85k, False: 5.96k]
  ------------------
  966|  2.99k|        const struct ofp11_flow_stats *ofs;
  967|  2.99k|        size_t length;
  968|  2.99k|        uint16_t padded_match_len;
  969|       |
  970|  2.99k|        ofs = ofpbuf_try_pull(msg, sizeof *ofs);
  971|  2.99k|        if (!ofs) {
  ------------------
  |  Branch (971:13): [True: 716, False: 2.27k]
  ------------------
  972|    716|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply has %"PRIu32" leftover "
  ------------------
  |  |  224|    716|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    716|    do {                                                                \
  |  |  |  |  288|    716|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    716|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 716]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    716|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 716]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|    716|                         "bytes at end", msg->size);
  974|    716|            return OFPERR_OFPBRC_BAD_LEN;
  975|    716|        }
  976|       |
  977|  2.27k|        length = ntohs(ofs->length);
  978|  2.27k|        if (length < sizeof *ofs) {
  ------------------
  |  Branch (978:13): [True: 38, False: 2.24k]
  ------------------
  979|     38|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply claims invalid "
  ------------------
  |  |  224|     38|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     38|    do {                                                                \
  |  |  |  |  288|     38|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     38|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     38|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|     38|                         "length %"PRIuSIZE, length);
  981|     38|            return OFPERR_OFPBRC_BAD_LEN;
  982|     38|        }
  983|       |
  984|  2.24k|        error = ofputil_pull_ofp11_match(msg, NULL, NULL, &fs->match,
  985|  2.24k|                                         &padded_match_len);
  986|  2.24k|        if (error) {
  ------------------
  |  Branch (986:13): [True: 474, False: 1.76k]
  ------------------
  987|    474|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply bad match");
  ------------------
  |  |  224|    474|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    474|    do {                                                                \
  |  |  |  |  288|    474|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    474|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 474]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    474|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|    474|            return error;
  989|    474|        }
  990|  1.76k|        instructions_len = length - sizeof *ofs - padded_match_len;
  991|       |
  992|  1.76k|        fs->priority = ntohs(ofs->priority);
  993|  1.76k|        fs->table_id = ofs->table_id;
  994|  1.76k|        fs->duration_sec = ntohl(ofs->duration_sec);
  995|  1.76k|        fs->duration_nsec = ntohl(ofs->duration_nsec);
  996|  1.76k|        fs->idle_timeout = ntohs(ofs->idle_timeout);
  997|  1.76k|        fs->hard_timeout = ntohs(ofs->hard_timeout);
  998|  1.76k|        if (oh->version >= OFP14_VERSION) {
  ------------------
  |  Branch (998:13): [True: 117, False: 1.65k]
  ------------------
  999|    117|            fs->importance = ntohs(ofs->importance);
 1000|  1.65k|        } else {
 1001|  1.65k|            fs->importance = 0;
 1002|  1.65k|        }
 1003|  1.76k|        if (raw == OFPRAW_OFPST13_FLOW_REPLY) {
  ------------------
  |  Branch (1003:13): [True: 1.03k, False: 736]
  ------------------
 1004|  1.03k|            error = ofputil_decode_flow_mod_flags(ofs->flags, -1, oh->version,
 1005|  1.03k|                                                  &fs->flags);
 1006|  1.03k|            if (error) {
  ------------------
  |  Branch (1006:17): [True: 602, False: 429]
  ------------------
 1007|    602|                return error;
 1008|    602|            }
 1009|  1.03k|        } else {
 1010|    736|            fs->flags = 0;
 1011|    736|        }
 1012|  1.16k|        fs->idle_age = -1;
 1013|  1.16k|        fs->hard_age = -1;
 1014|  1.16k|        fs->cookie = ofs->cookie;
 1015|  1.16k|        fs->packet_count = ntohll(ofs->packet_count);
 1016|  1.16k|        fs->byte_count = ntohll(ofs->byte_count);
 1017|  5.96k|    } else if (raw == OFPRAW_OFPST10_FLOW_REPLY) {
  ------------------
  |  Branch (1017:16): [True: 4.06k, False: 1.90k]
  ------------------
 1018|  4.06k|        const struct ofp10_flow_stats *ofs;
 1019|  4.06k|        size_t length;
 1020|       |
 1021|  4.06k|        ofs = ofpbuf_try_pull(msg, sizeof *ofs);
 1022|  4.06k|        if (!ofs) {
  ------------------
  |  Branch (1022:13): [True: 270, False: 3.79k]
  ------------------
 1023|    270|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply has %"PRIu32" leftover "
  ------------------
  |  |  224|    270|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    270|    do {                                                                \
  |  |  |  |  288|    270|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    270|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 270]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    270|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 270]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1024|    270|                         "bytes at end", msg->size);
 1025|    270|            return OFPERR_OFPBRC_BAD_LEN;
 1026|    270|        }
 1027|       |
 1028|  3.79k|        length = ntohs(ofs->length);
 1029|  3.79k|        if (length < sizeof *ofs) {
  ------------------
  |  Branch (1029:13): [True: 2.42k, False: 1.36k]
  ------------------
 1030|  2.42k|            VLOG_WARN_RL(&rl, "OFPST_FLOW reply claims invalid "
  ------------------
  |  |  224|  2.42k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.42k|    do {                                                                \
  |  |  |  |  288|  2.42k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.42k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.42k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|  2.42k|                         "length %"PRIuSIZE, length);
 1032|  2.42k|            return OFPERR_OFPBRC_BAD_LEN;
 1033|  2.42k|        }
 1034|  1.36k|        instructions_len = length - sizeof *ofs;
 1035|       |
 1036|  1.36k|        fs->cookie = get_32aligned_be64(&ofs->cookie);
 1037|  1.36k|        ofputil_match_from_ofp10_match(&ofs->match, &fs->match);
 1038|  1.36k|        fs->priority = ntohs(ofs->priority);
 1039|  1.36k|        fs->table_id = ofs->table_id;
 1040|  1.36k|        fs->duration_sec = ntohl(ofs->duration_sec);
 1041|  1.36k|        fs->duration_nsec = ntohl(ofs->duration_nsec);
 1042|  1.36k|        fs->idle_timeout = ntohs(ofs->idle_timeout);
 1043|  1.36k|        fs->hard_timeout = ntohs(ofs->hard_timeout);
 1044|  1.36k|        fs->importance = 0;
 1045|  1.36k|        fs->idle_age = -1;
 1046|  1.36k|        fs->hard_age = -1;
 1047|  1.36k|        fs->packet_count = ntohll(get_32aligned_be64(&ofs->packet_count));
 1048|  1.36k|        fs->byte_count = ntohll(get_32aligned_be64(&ofs->byte_count));
 1049|  1.36k|        fs->flags = 0;
 1050|  1.90k|    } else if (raw == OFPRAW_NXST_FLOW_REPLY) {
  ------------------
  |  Branch (1050:16): [True: 1.90k, False: 0]
  ------------------
 1051|  1.90k|        const struct nx_flow_stats *nfs;
 1052|  1.90k|        size_t match_len, length;
 1053|       |
 1054|  1.90k|        nfs = ofpbuf_try_pull(msg, sizeof *nfs);
 1055|  1.90k|        if (!nfs) {
  ------------------
  |  Branch (1055:13): [True: 452, False: 1.44k]
  ------------------
 1056|    452|            VLOG_WARN_RL(&rl, "NXST_FLOW reply has %"PRIu32" leftover "
  ------------------
  |  |  224|    452|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    452|    do {                                                                \
  |  |  |  |  288|    452|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    452|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 452]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    452|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 452]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|    452|                         "bytes at end", msg->size);
 1058|    452|            return OFPERR_OFPBRC_BAD_LEN;
 1059|    452|        }
 1060|       |
 1061|  1.44k|        length = ntohs(nfs->length);
 1062|  1.44k|        match_len = ntohs(nfs->match_len);
 1063|  1.44k|        if (length < sizeof *nfs + ROUND_UP(match_len, 8)) {
  ------------------
  |  |  303|  1.44k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  1.44k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (1063:13): [True: 271, False: 1.17k]
  ------------------
 1064|    271|            VLOG_WARN_RL(&rl, "NXST_FLOW reply with match_len=%"PRIuSIZE" "
  ------------------
  |  |  224|    271|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    271|    do {                                                                \
  |  |  |  |  288|    271|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    271|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 271]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    271|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 271]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1065|    271|                         "claims invalid length %"PRIuSIZE, match_len, length);
 1066|    271|            return OFPERR_OFPBRC_BAD_LEN;
 1067|    271|        }
 1068|  1.17k|        error = nx_pull_match(msg, match_len, &fs->match, NULL, NULL, false,
 1069|  1.17k|                              NULL, NULL);
 1070|  1.17k|        if (error) {
  ------------------
  |  Branch (1070:13): [True: 241, False: 936]
  ------------------
 1071|    241|            return error;
 1072|    241|        }
 1073|    936|        instructions_len = length - sizeof *nfs - ROUND_UP(match_len, 8);
  ------------------
  |  |  303|    936|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|    936|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
 1074|       |
 1075|    936|        fs->cookie = nfs->cookie;
 1076|    936|        fs->table_id = nfs->table_id;
 1077|    936|        fs->duration_sec = ntohl(nfs->duration_sec);
 1078|    936|        fs->duration_nsec = ntohl(nfs->duration_nsec);
 1079|    936|        fs->priority = ntohs(nfs->priority);
 1080|    936|        fs->idle_timeout = ntohs(nfs->idle_timeout);
 1081|    936|        fs->hard_timeout = ntohs(nfs->hard_timeout);
 1082|    936|        fs->importance = 0;
 1083|    936|        fs->idle_age = -1;
 1084|    936|        fs->hard_age = -1;
 1085|    936|        if (flow_age_extension) {
  ------------------
  |  Branch (1085:13): [True: 936, False: 0]
  ------------------
 1086|    936|            if (nfs->idle_age) {
  ------------------
  |  Branch (1086:17): [True: 185, False: 751]
  ------------------
 1087|    185|                fs->idle_age = ntohs(nfs->idle_age) - 1;
 1088|    185|            }
 1089|    936|            if (nfs->hard_age) {
  ------------------
  |  Branch (1089:17): [True: 625, False: 311]
  ------------------
 1090|    625|                fs->hard_age = ntohs(nfs->hard_age) - 1;
 1091|    625|            }
 1092|    936|        }
 1093|    936|        fs->packet_count = ntohll(nfs->packet_count);
 1094|    936|        fs->byte_count = ntohll(nfs->byte_count);
 1095|    936|        fs->flags = 0;
 1096|    936|    } else {
 1097|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1098|      0|    }
 1099|       |
 1100|  8.12k|    error = ofpacts_pull_openflow_instructions(msg, instructions_len,
 1101|  8.12k|                                               oh->version, NULL, NULL,
 1102|  8.12k|                                               ofpacts);
 1103|  8.12k|    if (error) {
  ------------------
  |  Branch (1103:9): [True: 2.06k, False: 6.06k]
  ------------------
 1104|  2.06k|        VLOG_WARN_RL(&rl, "OFPST_FLOW reply bad instructions");
  ------------------
  |  |  224|  2.06k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.06k|    do {                                                                \
  |  |  |  |  288|  2.06k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.06k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.06k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.06k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|  2.06k|        return error;
 1106|  2.06k|    }
 1107|  6.06k|    fs->ofpacts = ofpacts->data;
 1108|  6.06k|    fs->ofpacts_len = ofpacts->size;
 1109|       |
 1110|  6.06k|    return 0;
 1111|  8.12k|}
ofputil_flow_stats_format:
 1292|  6.06k|{
 1293|  6.06k|    if (show_stats || fs->cookie) {
  ------------------
  |  Branch (1293:9): [True: 6.06k, False: 0]
  |  Branch (1293:23): [True: 0, False: 0]
  ------------------
 1294|  6.06k|        ds_put_format(string, "%scookie=%s0x%"PRIx64", ",
 1295|  6.06k|                      colors.param, colors.end, ntohll(fs->cookie));
 1296|  6.06k|    }
 1297|  6.06k|    if (show_stats) {
  ------------------
  |  Branch (1297:9): [True: 6.06k, False: 0]
  ------------------
 1298|  6.06k|        ds_put_format(string, "%sduration=%s", colors.param, colors.end);
 1299|  6.06k|        ofp_print_duration(string, fs->duration_sec, fs->duration_nsec);
 1300|  6.06k|        ds_put_cstr(string, ", ");
 1301|  6.06k|    }
 1302|       |
 1303|  6.06k|    if (show_stats || fs->table_id
  ------------------
  |  Branch (1303:9): [True: 6.06k, False: 0]
  |  Branch (1303:23): [True: 0, False: 0]
  ------------------
 1304|  6.06k|        || ofputil_table_map_get_name(table_map, fs->table_id) != NULL) {
  ------------------
  |  Branch (1304:12): [True: 0, False: 0]
  ------------------
 1305|  6.06k|        ds_put_format(string, "%stable=%s", colors.special, colors.end);
 1306|  6.06k|        ofputil_format_table(fs->table_id, table_map, string);
 1307|  6.06k|        ds_put_cstr(string, ", ");
 1308|  6.06k|    }
 1309|  6.06k|    if (show_stats) {
  ------------------
  |  Branch (1309:9): [True: 6.06k, False: 0]
  ------------------
 1310|  6.06k|        print_flow_stat(string, "n_packets", fs->packet_count);
 1311|  6.06k|        print_flow_stat(string, "n_bytes", fs->byte_count);
 1312|  6.06k|    }
 1313|  6.06k|    if (fs->idle_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  6.06k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (1313:9): [True: 4.58k, False: 1.47k]
  ------------------
 1314|  4.58k|        ds_put_format(string, "%sidle_timeout=%s%"PRIu16", ",
 1315|  4.58k|                      colors.param, colors.end, fs->idle_timeout);
 1316|  4.58k|    }
 1317|  6.06k|    if (fs->hard_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  6.06k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (1317:9): [True: 4.19k, False: 1.86k]
  ------------------
 1318|  4.19k|        ds_put_format(string, "%shard_timeout=%s%"PRIu16", ",
 1319|  4.19k|                      colors.param, colors.end, fs->hard_timeout);
 1320|  4.19k|    }
 1321|  6.06k|    if (fs->flags) {
  ------------------
  |  Branch (1321:9): [True: 2.18k, False: 3.87k]
  ------------------
 1322|  2.18k|        ofputil_flow_mod_flags_format(string, fs->flags);
 1323|  2.18k|    }
 1324|  6.06k|    if (fs->importance != 0) {
  ------------------
  |  Branch (1324:9): [True: 4.49k, False: 1.56k]
  ------------------
 1325|  4.49k|        ds_put_format(string, "%simportance=%s%"PRIu16", ",
 1326|  4.49k|                      colors.param, colors.end, fs->importance);
 1327|  4.49k|    }
 1328|  6.06k|    if (show_stats && fs->idle_age >= 0) {
  ------------------
  |  Branch (1328:9): [True: 6.06k, False: 0]
  |  Branch (1328:23): [True: 155, False: 5.90k]
  ------------------
 1329|    155|        ds_put_format(string, "%sidle_age=%s%d, ",
 1330|    155|                      colors.param, colors.end, fs->idle_age);
 1331|    155|    }
 1332|  6.06k|    if (show_stats && fs->hard_age >= 0 && fs->hard_age != fs->duration_sec) {
  ------------------
  |  Branch (1332:9): [True: 6.06k, False: 0]
  |  Branch (1332:23): [True: 595, False: 5.46k]
  |  Branch (1332:44): [True: 559, False: 36]
  ------------------
 1333|    559|        ds_put_format(string, "%shard_age=%s%d, ",
 1334|    559|                      colors.param, colors.end, fs->hard_age);
 1335|    559|    }
 1336|       |
 1337|       |    /* Print the match, followed by a space (but omit the space if the match
 1338|       |     * was an empty string). */
 1339|  6.06k|    size_t length = string->length;
 1340|  6.06k|    match_format(&fs->match, port_map, string, fs->priority);
 1341|  6.06k|    if (string->length != length) {
  ------------------
  |  Branch (1341:9): [True: 6.01k, False: 41]
  ------------------
 1342|  6.01k|        ds_put_char(string, ' ');
 1343|  6.01k|    }
 1344|       |
 1345|  6.06k|    ds_put_format(string, "%sactions=%s", colors.actions, colors.end);
 1346|  6.06k|    struct ofpact_format_params fp = {
 1347|  6.06k|        .port_map = port_map,
 1348|  6.06k|        .table_map = table_map,
 1349|  6.06k|        .s = string,
 1350|  6.06k|    };
 1351|  6.06k|    ofpacts_format(fs->ofpacts, fs->ofpacts_len, &fp);
 1352|  6.06k|}
ofputil_decode_aggregate_stats_reply:
 1401|  2.98k|{
 1402|  2.98k|    struct ofpbuf msg = ofpbuf_const_initializer(reply, ntohs(reply->length));
 1403|  2.98k|    enum ofpraw raw;
 1404|       |
 1405|  2.98k|    raw = ofpraw_pull_assert(&msg);
 1406|  2.98k|    if (raw == OFPRAW_OFPST15_AGGREGATE_REPLY) {
  ------------------
  |  Branch (1406:9): [True: 2.95k, False: 35]
  ------------------
 1407|  2.95k|        struct oxs_stats oxs;
 1408|  2.95k|        uint16_t statlen;
 1409|  2.95k|        uint8_t oxs_field_set;
 1410|  2.95k|        enum ofperr error = oxs_pull_stat(&msg, &oxs, &statlen,
 1411|  2.95k|                                          &oxs_field_set);
 1412|  2.95k|        if (error) {
  ------------------
  |  Branch (1412:13): [True: 2.79k, False: 161]
  ------------------
 1413|  2.79k|            return error;
 1414|  2.79k|        }
 1415|    161|        stats->packet_count = oxs.packet_count;
 1416|    161|        stats->byte_count = oxs.byte_count;
 1417|    161|        stats->flow_count = oxs.flow_count;
 1418|    161|    } else {
 1419|     35|        struct ofp_aggregate_stats_reply *asr = msg.msg;
 1420|     35|        stats->packet_count = ntohll(get_32aligned_be64(&asr->packet_count));
 1421|     35|        stats->byte_count = ntohll(get_32aligned_be64(&asr->byte_count));
 1422|     35|        stats->flow_count = ntohl(asr->flow_count);
 1423|     35|    }
 1424|       |
 1425|    196|    return 0;
 1426|  2.98k|}
ofputil_aggregate_stats_format:
 1431|    196|{
 1432|    196|    ds_put_format(s, " packet_count=%"PRIu64, as->packet_count);
 1433|    196|    ds_put_format(s, " byte_count=%"PRIu64, as->byte_count);
 1434|       |    ds_put_format(s, " flow_count=%"PRIu32, as->flow_count);
 1435|    196|}
ofp-flow.c:ofputil_decode_flow_mod_flags:
   63|  63.4k|{
   64|  63.4k|    uint16_t raw_flags = ntohs(raw_flags_);
   65|  63.4k|    const struct ofputil_flow_mod_flag *f;
   66|       |
   67|  63.4k|    *flagsp = 0;
   68|   444k|    for (f = ofputil_flow_mod_flags; f->raw_flag; f++) {
  ------------------
  |  Branch (68:38): [True: 380k, False: 63.4k]
  ------------------
   69|   380k|        if (raw_flags & f->raw_flag
  ------------------
  |  Branch (69:13): [True: 41.9k, False: 338k]
  ------------------
   70|  41.9k|            && version >= f->min_version
  ------------------
  |  Branch (70:16): [True: 40.0k, False: 1.85k]
  ------------------
   71|  40.0k|            && (!f->max_version || version <= f->max_version)) {
  ------------------
  |  Branch (71:17): [True: 34.3k, False: 5.65k]
  |  Branch (71:36): [True: 903, False: 4.74k]
  ------------------
   72|  35.2k|            raw_flags &= ~f->raw_flag;
   73|  35.2k|            *flagsp |= f->flag;
   74|  35.2k|        }
   75|   380k|    }
   76|       |
   77|       |    /* In OF1.0 and OF1.1, "add" always resets counters, and other commands
   78|       |     * never do.
   79|       |     *
   80|       |     * In OF1.2 and later, OFPFF12_RESET_COUNTS controls whether each command
   81|       |     * resets counters. */
   82|  63.4k|    if ((version == OFP10_VERSION || version == OFP11_VERSION)
  ------------------
  |  Branch (82:10): [True: 35.3k, False: 28.0k]
  |  Branch (82:38): [True: 3.37k, False: 24.6k]
  ------------------
   83|  38.7k|        && command == OFPFC_ADD) {
  ------------------
  |  Branch (83:12): [True: 28.6k, False: 10.0k]
  ------------------
   84|  28.6k|        *flagsp |= OFPUTIL_FF_RESET_COUNTS;
   85|  28.6k|    }
   86|       |
   87|  63.4k|    return raw_flags ? OFPERR_OFPFMFC_BAD_FLAGS : 0;
  ------------------
  |  Branch (87:12): [True: 3.32k, False: 60.1k]
  ------------------
   88|  63.4k|}
ofp-flow.c:ofputil_decode_ofpst10_flow_request:
  618|  2.02k|{
  619|  2.02k|    fsr->aggregate = aggregate;
  620|  2.02k|    ofputil_match_from_ofp10_match(&ofsr->match, &fsr->match);
  621|  2.02k|    fsr->out_port = u16_to_ofp(ntohs(ofsr->out_port));
  622|  2.02k|    fsr->out_group = OFPG_ANY;
  623|  2.02k|    fsr->table_id = ofsr->table_id;
  624|  2.02k|    fsr->cookie = fsr->cookie_mask = htonll(0);
  625|       |
  626|  2.02k|    return 0;
  627|  2.02k|}
ofp-flow.c:ofputil_decode_ofpst11_flow_request:
  634|  2.30k|{
  635|  2.30k|    const struct ofp11_flow_stats_request *ofsr;
  636|  2.30k|    enum ofperr error;
  637|       |
  638|  2.30k|    ofsr = ofpbuf_pull(b, sizeof *ofsr);
  639|  2.30k|    fsr->aggregate = aggregate;
  640|  2.30k|    fsr->table_id = ofsr->table_id;
  641|  2.30k|    error = ofputil_port_from_ofp11(ofsr->out_port, &fsr->out_port);
  642|  2.30k|    if (error) {
  ------------------
  |  Branch (642:9): [True: 772, False: 1.53k]
  ------------------
  643|    772|        return error;
  644|    772|    }
  645|  1.53k|    fsr->out_group = ntohl(ofsr->out_group);
  646|  1.53k|    fsr->cookie = ofsr->cookie;
  647|  1.53k|    fsr->cookie_mask = ofsr->cookie_mask;
  648|  1.53k|    error = ofputil_pull_ofp11_match(b, tun_table, vl_mff_map, &fsr->match,
  649|  1.53k|                                     NULL);
  650|  1.53k|    if (error) {
  ------------------
  |  Branch (650:9): [True: 1.43k, False: 102]
  ------------------
  651|  1.43k|        return error;
  652|  1.43k|    }
  653|       |
  654|    102|    return 0;
  655|  1.53k|}
ofp-flow.c:ofputil_decode_nxst_flow_request:
  662|    735|{
  663|    735|    const struct nx_flow_stats_request *nfsr;
  664|    735|    enum ofperr error;
  665|       |
  666|    735|    nfsr = ofpbuf_pull(b, sizeof *nfsr);
  667|    735|    error = nx_pull_match(b, ntohs(nfsr->match_len), &fsr->match,
  668|    735|                          &fsr->cookie, &fsr->cookie_mask, false, tun_table,
  669|    735|                          vl_mff_map);
  670|    735|    if (error) {
  ------------------
  |  Branch (670:9): [True: 379, False: 356]
  ------------------
  671|    379|        return error;
  672|    379|    }
  673|    356|    if (b->size) {
  ------------------
  |  Branch (673:9): [True: 82, False: 274]
  ------------------
  674|     82|        return OFPERR_OFPBRC_BAD_LEN;
  675|     82|    }
  676|       |
  677|    274|    fsr->aggregate = aggregate;
  678|    274|    fsr->out_port = u16_to_ofp(ntohs(nfsr->out_port));
  679|    274|    fsr->out_group = OFPG_ANY;
  680|    274|    fsr->table_id = nfsr->table_id;
  681|       |
  682|    274|    return 0;
  683|    356|}
ofp-flow.c:print_flow_stat:
 1272|  12.1k|{
 1273|  12.1k|    ds_put_format(string, "%s%s=%s", colors.param, leader, colors.end);
 1274|  12.1k|    if (stat != UINT64_MAX) {
  ------------------
  |  Branch (1274:9): [True: 3.09k, False: 9.02k]
  ------------------
 1275|  3.09k|        ds_put_format(string, "%"PRIu64, stat);
 1276|  9.02k|    } else {
 1277|  9.02k|        ds_put_char(string, '?');
 1278|  9.02k|    }
 1279|  12.1k|    ds_put_cstr(string, ", ");
 1280|  12.1k|}

ofputil_format_group:
   66|  1.54k|{
   67|  1.54k|    char name[MAX_GROUP_NAME_LEN + 1];
   68|       |
   69|  1.54k|    ofputil_group_to_string(group_id, name, sizeof name);
   70|  1.54k|    ds_put_cstr(s, name);
   71|  1.54k|}
ofputil_group_to_string:
   81|  1.54k|{
   82|  1.54k|    switch (group_id) {
   83|    320|    case OFPG_ALL:
  ------------------
  |  Branch (83:5): [True: 320, False: 1.22k]
  ------------------
   84|    320|        ovs_strlcpy(namebuf, "ALL", bufsize);
   85|    320|        break;
   86|       |
   87|     84|    case OFPG_ANY:
  ------------------
  |  Branch (87:5): [True: 84, False: 1.45k]
  ------------------
   88|     84|        ovs_strlcpy(namebuf, "ANY", bufsize);
   89|     84|        break;
   90|       |
   91|  1.13k|    default:
  ------------------
  |  Branch (91:5): [True: 1.13k, False: 404]
  ------------------
   92|       |        snprintf(namebuf, bufsize, "%"PRIu32, group_id);
   93|  1.13k|        break;
   94|  1.54k|    }
   95|  1.54k|}
ofputil_bucket_list_destroy:
  100|  37.8k|{
  101|  37.8k|    struct ofputil_bucket *bucket;
  102|       |
  103|  37.8k|    LIST_FOR_EACH_POP (bucket, list_node, buckets) {
  ------------------
  |  |  140|  53.3k|    while (!ovs_list_is_empty(LIST) ?                                         \
  |  |  ------------------
  |  |  |  Branch (140:12): [True: 15.4k, False: 37.8k]
  |  |  |  Branch (140:12): [True: 15.4k, False: 37.8k]
  |  |  ------------------
  |  |  141|  53.3k|           (INIT_CONTAINER(ITER, ovs_list_pop_front(LIST), MEMBER), 1) :      \
  |  |  ------------------
  |  |  |  |  150|  15.4k|    ((OBJECT) = NULL, ASSIGN_CONTAINER(OBJECT, POINTER, MEMBER))
  |  |  |  |  ------------------
  |  |  |  |  |  |  143|  15.4k|    ((OBJECT) = OBJECT_CONTAINING(POINTER, OBJECT, MEMBER), (void) 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|  15.4k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  |  |  135|  15.4k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  108|  15.4k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  142|  53.3k|           (ITER = NULL, 0))
  ------------------
  104|  15.4k|        free(bucket->ofpacts);
  105|  15.4k|        free(bucket);
  106|  15.4k|    }
  107|  37.8k|}
ofputil_bucket_check_duplicate_id:
  169|  14.0k|{
  170|  14.0k|    struct ofputil_bucket *i, *j;
  171|       |
  172|  14.0k|    LIST_FOR_EACH (i, list_node, buckets) {
  ------------------
  |  |   76|  14.0k|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  14.0k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  14.0k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  21.4k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  21.4k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 7.50k, False: 13.9k]
  |  |  |  |  |  Branch (185:6): [True: 7.50k, False: 13.9k]
  |  |  |  |  ------------------
  |  |  |  |  186|  21.4k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  7.50k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  7.50k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  7.50k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  21.4k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  14.0k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  7.39k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  7.39k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  10.9k|        LIST_FOR_EACH_REVERSE (j, list_node, buckets) {
  ------------------
  |  |   86|  7.50k|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->prev, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  7.50k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  7.50k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   87|  10.9k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  10.9k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 10.9k, False: 0]
  |  |  |  |  |  Branch (185:6): [True: 10.9k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  186|  10.9k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  10.9k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  10.9k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  10.9k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  10.9k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   88|  7.50k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->prev))
  |  |  ------------------
  |  |  |  |  193|  3.43k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  3.43k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  10.9k|            if (i == j) {
  ------------------
  |  Branch (174:17): [True: 7.39k, False: 3.53k]
  ------------------
  175|  7.39k|                break;
  176|  7.39k|            }
  177|  3.53k|            if (i->bucket_id == j->bucket_id) {
  ------------------
  |  Branch (177:17): [True: 106, False: 3.43k]
  ------------------
  178|    106|                return true;
  179|    106|            }
  180|  3.53k|        }
  181|  7.50k|    }
  182|       |
  183|  13.9k|    return false;
  184|  14.0k|}
ofputil_uninit_group_desc:
  231|  1.40k|{
  232|  1.40k|    ofputil_bucket_list_destroy(&gd->buckets);
  233|  1.40k|    ofputil_group_properties_destroy(&gd->props);
  234|  1.40k|}
ofputil_decode_group_desc_request:
  241|    690|{
  242|    690|    struct ofpbuf request = ofpbuf_const_initializer(oh, ntohs(oh->length));
  243|    690|    enum ofpraw raw = ofpraw_pull_assert(&request);
  244|    690|    if (raw == OFPRAW_OFPST11_GROUP_DESC_REQUEST) {
  ------------------
  |  Branch (244:9): [True: 249, False: 441]
  ------------------
  245|    249|        return OFPG_ALL;
  246|    441|    } else if (raw == OFPRAW_NXST_GROUP_DESC_REQUEST ||
  ------------------
  |  Branch (246:16): [True: 19, False: 422]
  ------------------
  247|    441|               raw == OFPRAW_OFPST15_GROUP_DESC_REQUEST) {
  ------------------
  |  Branch (247:16): [True: 422, False: 0]
  ------------------
  248|    441|        ovs_be32 *group_id = ofpbuf_pull(&request, sizeof *group_id);
  249|    441|        return ntohl(*group_id);
  250|    441|    } else {
  251|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  252|      0|    }
  253|    690|}
ofputil_group_desc_request_format:
  298|    690|{
  299|    690|    uint32_t group_id = ofputil_decode_group_desc_request(oh);
  300|    690|    ds_put_cstr(string, " group_id=");
  301|    690|    ofputil_format_group(group_id, string);
  302|       |
  303|    690|    return 0;
  304|    690|}
ofputil_decode_group_features_reply:
  422|  1.11k|{
  423|  1.11k|    const struct ofp12_group_features_stats *ogf = ofpmsg_body(oh);
  424|  1.11k|    int i;
  425|       |
  426|  1.11k|    features->types = ntohl(ogf->types);
  427|  1.11k|    features->capabilities = ntohl(ogf->capabilities);
  428|  5.57k|    for (i = 0; i < OFPGT12_N_TYPES; i++) {
  ------------------
  |  |  151|  5.57k|#define OFPGT12_N_TYPES 4
  ------------------
  |  Branch (428:17): [True: 4.45k, False: 1.11k]
  ------------------
  429|       |        features->max_groups[i] = ntohl(ogf->max_groups[i]);
  430|  4.45k|        features->ofpacts[i] = ofpact_bitmap_from_openflow(
  431|  4.45k|            ogf->actions[i], oh->version);
  432|  4.45k|    }
  433|  1.11k|}
ofputil_group_features_format:
  449|  1.11k|{
  450|  1.11k|    struct ofputil_group_features features;
  451|  1.11k|    int i;
  452|       |
  453|  1.11k|    ofputil_decode_group_features_reply(oh, &features);
  454|       |
  455|  1.11k|    ds_put_format(string, "\n Group table:\n");
  456|  1.11k|    ds_put_format(string, "    Types:  0x%"PRIx32"\n", features.types);
  457|  1.11k|    ds_put_format(string, "    Capabilities:  0x%"PRIx32"\n",
  458|  1.11k|                  features.capabilities);
  459|       |
  460|  5.57k|    for (i = 0; i < OFPGT12_N_TYPES; i++) {
  ------------------
  |  |  151|  5.57k|#define OFPGT12_N_TYPES 4
  ------------------
  |  Branch (460:17): [True: 4.45k, False: 1.11k]
  ------------------
  461|  4.45k|        if (features.types & (1u << i)) {
  ------------------
  |  Branch (461:13): [True: 3.34k, False: 1.11k]
  ------------------
  462|  3.34k|            ds_put_format(string, "    %s group:\n", group_type_to_string(i));
  463|  3.34k|            ds_put_format(string, "       max_groups=%#"PRIx32"\n",
  464|  3.34k|                          features.max_groups[i]);
  465|  3.34k|            ds_put_format(string, "       actions: ");
  466|  3.34k|            ofpact_bitmap_format(features.ofpacts[i], string);
  467|  3.34k|            ds_put_char(string, '\n');
  468|  3.34k|        }
  469|  4.45k|    }
  470|       |
  471|  1.11k|    return 0;
  472|  1.11k|}
ofputil_decode_group_stats_request:
  480|    850|{
  481|    850|    const struct ofp11_group_stats_request *gsr11 = ofpmsg_body(request);
  482|       |    *group_id = ntohl(gsr11->group_id);
  483|    850|    return 0;
  484|    850|}
ofputil_decode_group_stats_reply:
  500|  5.01k|{
  501|  5.01k|    struct ofp11_bucket_counter *obc;
  502|  5.01k|    struct ofp11_group_stats *ogs11;
  503|  5.01k|    enum ofpraw raw;
  504|  5.01k|    enum ofperr error;
  505|  5.01k|    size_t base_len;
  506|  5.01k|    size_t length;
  507|  5.01k|    size_t i;
  508|       |
  509|  5.01k|    gs->bucket_stats = NULL;
  510|  5.01k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (510:14): [True: 2.77k, False: 2.24k]
  ------------------
  511|  5.01k|             : ofpraw_pull(&raw, msg));
  512|  5.01k|    if (error) {
  ------------------
  |  Branch (512:9): [True: 0, False: 5.01k]
  ------------------
  513|      0|        return error;
  514|      0|    }
  515|       |
  516|  5.01k|    if (!msg->size) {
  ------------------
  |  Branch (516:9): [True: 302, False: 4.71k]
  ------------------
  517|    302|        return EOF;
  518|    302|    }
  519|       |
  520|  4.71k|    if (raw == OFPRAW_OFPST11_GROUP_REPLY) {
  ------------------
  |  Branch (520:9): [True: 2.78k, False: 1.93k]
  ------------------
  521|  2.78k|        base_len = sizeof *ogs11;
  522|  2.78k|        ogs11 = ofpbuf_try_pull(msg, sizeof *ogs11);
  523|  2.78k|        gs->duration_sec = gs->duration_nsec = UINT32_MAX;
  524|  2.78k|    } else if (raw == OFPRAW_NXST_GROUP_REPLY ||
  ------------------
  |  Branch (524:16): [True: 1.18k, False: 744]
  ------------------
  525|  1.93k|               raw == OFPRAW_OFPST13_GROUP_REPLY) {
  ------------------
  |  Branch (525:16): [True: 744, False: 0]
  ------------------
  526|  1.93k|        struct ofp13_group_stats *ogs13;
  527|       |
  528|  1.93k|        base_len = sizeof *ogs13;
  529|  1.93k|        ogs13 = ofpbuf_try_pull(msg, sizeof *ogs13);
  530|  1.93k|        if (ogs13) {
  ------------------
  |  Branch (530:13): [True: 1.41k, False: 519]
  ------------------
  531|  1.41k|            ogs11 = &ogs13->gs;
  532|  1.41k|            gs->duration_sec = ntohl(ogs13->duration_sec);
  533|  1.41k|            gs->duration_nsec = ntohl(ogs13->duration_nsec);
  534|  1.41k|        } else {
  535|    519|            ogs11 = NULL;
  536|    519|        }
  537|  1.93k|    } else {
  538|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  539|      0|    }
  540|       |
  541|  4.71k|    if (!ogs11) {
  ------------------
  |  Branch (541:9): [True: 588, False: 4.12k]
  ------------------
  542|    588|        VLOG_WARN_RL(&rl, "%s reply has %"PRIu32" leftover bytes at end",
  ------------------
  |  |  224|    588|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    588|    do {                                                                \
  |  |  |  |  288|    588|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    588|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 588]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    588|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 588]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    588|                     ofpraw_get_name(raw), msg->size);
  544|    588|        return OFPERR_OFPBRC_BAD_LEN;
  545|    588|    }
  546|  4.12k|    length = ntohs(ogs11->length);
  547|  4.12k|    if (length < sizeof base_len) {
  ------------------
  |  Branch (547:9): [True: 310, False: 3.81k]
  ------------------
  548|    310|        VLOG_WARN_RL(&rl, "%s reply claims invalid length %"PRIuSIZE,
  ------------------
  |  |  224|    310|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    310|    do {                                                                \
  |  |  |  |  288|    310|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    310|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 310]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    310|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 310]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|    310|                     ofpraw_get_name(raw), length);
  550|    310|        return OFPERR_OFPBRC_BAD_LEN;
  551|    310|    }
  552|       |
  553|  3.81k|    gs->group_id = ntohl(ogs11->group_id);
  554|  3.81k|    gs->ref_count = ntohl(ogs11->ref_count);
  555|  3.81k|    gs->packet_count = ntohll(ogs11->packet_count);
  556|  3.81k|    gs->byte_count = ntohll(ogs11->byte_count);
  557|       |
  558|  3.81k|    gs->n_buckets = (length - base_len) / sizeof *obc;
  559|  3.81k|    obc = ofpbuf_try_pull(msg, gs->n_buckets * sizeof *obc);
  560|  3.81k|    if (!obc) {
  ------------------
  |  Branch (560:9): [True: 1.04k, False: 2.77k]
  ------------------
  561|  1.04k|        VLOG_WARN_RL(&rl, "%s reply has %"PRIu32" leftover bytes at end",
  ------------------
  |  |  224|  1.04k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.04k|    do {                                                                \
  |  |  |  |  288|  1.04k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.04k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.04k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.04k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|  1.04k|                     ofpraw_get_name(raw), msg->size);
  563|  1.04k|        return OFPERR_OFPBRC_BAD_LEN;
  564|  1.04k|    }
  565|       |
  566|  2.77k|    gs->bucket_stats = xmalloc(gs->n_buckets * sizeof *gs->bucket_stats);
  567|  10.3k|    for (i = 0; i < gs->n_buckets; i++) {
  ------------------
  |  Branch (567:17): [True: 7.54k, False: 2.77k]
  ------------------
  568|  7.54k|        gs->bucket_stats[i].packet_count = ntohll(obc[i].packet_count);
  569|  7.54k|        gs->bucket_stats[i].byte_count = ntohll(obc[i].byte_count);
  570|  7.54k|    }
  571|       |
  572|  2.77k|    return 0;
  573|  3.81k|}
ofputil_group_stats_request_format:
  579|    850|{
  580|    850|    enum ofperr error;
  581|    850|    uint32_t group_id;
  582|       |
  583|    850|    error = ofputil_decode_group_stats_request(oh, &group_id);
  584|    850|    if (error) {
  ------------------
  |  Branch (584:9): [True: 0, False: 850]
  ------------------
  585|      0|        return error;
  586|      0|    }
  587|       |
  588|    850|    ds_put_cstr(string, " group_id=");
  589|    850|    ofputil_format_group(group_id, string);
  590|    850|    return 0;
  591|    850|}
ofputil_group_stats_format:
  595|  2.24k|{
  596|  2.24k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  597|  5.01k|    for (;;) {
  598|  5.01k|        struct ofputil_group_stats gs;
  599|  5.01k|        int retval;
  600|       |
  601|  5.01k|        retval = ofputil_decode_group_stats_reply(&b, &gs);
  602|  5.01k|        if (retval) {
  ------------------
  |  Branch (602:13): [True: 2.24k, False: 2.77k]
  ------------------
  603|  2.24k|            if (retval != EOF) {
  ------------------
  |  Branch (603:17): [True: 1.94k, False: 302]
  ------------------
  604|  1.94k|                ds_put_cstr(s, " ***parse error***");
  605|  1.94k|                return retval;
  606|  1.94k|            }
  607|    302|            break;
  608|  2.24k|        }
  609|       |
  610|  2.77k|        ds_put_char(s, '\n');
  611|       |
  612|  2.77k|        ds_put_char(s, ' ');
  613|  2.77k|        ds_put_format(s, "group_id=%"PRIu32",", gs.group_id);
  614|       |
  615|  2.77k|        if (gs.duration_sec != UINT32_MAX) {
  ------------------
  |  Branch (615:13): [True: 1.19k, False: 1.58k]
  ------------------
  616|  1.19k|            ds_put_cstr(s, "duration=");
  617|  1.19k|            ofp_print_duration(s, gs.duration_sec, gs.duration_nsec);
  618|  1.19k|            ds_put_char(s, ',');
  619|  1.19k|        }
  620|  2.77k|        ds_put_format(s, "ref_count=%"PRIu32",", gs.ref_count);
  621|  2.77k|        ds_put_format(s, "packet_count=%"PRIu64",", gs.packet_count);
  622|  2.77k|        ds_put_format(s, "byte_count=%"PRIu64"", gs.byte_count);
  623|       |
  624|  10.3k|        for (uint32_t bucket_i = 0; bucket_i < gs.n_buckets; bucket_i++) {
  ------------------
  |  Branch (624:37): [True: 7.54k, False: 2.77k]
  ------------------
  625|  7.54k|            if (gs.bucket_stats[bucket_i].packet_count != UINT64_MAX) {
  ------------------
  |  Branch (625:17): [True: 7.08k, False: 463]
  ------------------
  626|  7.08k|                ds_put_format(s, ",bucket%"PRIu32":", bucket_i);
  627|  7.08k|                ds_put_format(s, "packet_count=%"PRIu64",", gs.bucket_stats[bucket_i].packet_count);
  628|  7.08k|                ds_put_format(s, "byte_count=%"PRIu64"", gs.bucket_stats[bucket_i].byte_count);
  629|  7.08k|            }
  630|  7.54k|        }
  631|       |
  632|  2.77k|        free(gs.bucket_stats);
  633|  2.77k|    }
  634|    302|    return 0;
  635|  2.24k|}
ofputil_group_properties_destroy:
 1525|  22.5k|{
 1526|  22.5k|    free(gp->fields.values);
 1527|  22.5k|}
ofputil_group_properties_format:
 1532|  13.2k|{
 1533|  13.2k|    if (!gp->selection_method[0]) {
  ------------------
  |  Branch (1533:9): [True: 9.46k, False: 3.77k]
  ------------------
 1534|  9.46k|        return;
 1535|  9.46k|    }
 1536|       |
 1537|  3.77k|    ds_put_format(ds, ",selection_method=%s", gp->selection_method);
 1538|  3.77k|    if (gp->selection_method_param) {
  ------------------
  |  Branch (1538:9): [True: 3.58k, False: 184]
  ------------------
 1539|  3.58k|        ds_put_format(ds, ",selection_method_param=%"PRIu64,
 1540|  3.58k|                      gp->selection_method_param);
 1541|  3.58k|    }
 1542|       |
 1543|  3.77k|    size_t n = bitmap_count1(gp->fields.used.bm, MFF_N_IDS);
 1544|  3.77k|    if (n == 1) {
  ------------------
  |  Branch (1544:9): [True: 615, False: 3.15k]
  ------------------
 1545|    615|        ds_put_cstr(ds, ",fields=");
 1546|    615|        oxm_format_field_array(ds, &gp->fields);
 1547|  3.15k|    } else if (n > 1) {
  ------------------
  |  Branch (1547:16): [True: 2.69k, False: 466]
  ------------------
 1548|  2.69k|        ds_put_cstr(ds, ",fields(");
 1549|  2.69k|        oxm_format_field_array(ds, &gp->fields);
 1550|  2.69k|        ds_put_char(ds, ')');
 1551|  2.69k|    }
 1552|  3.77k|}
ofputil_decode_group_desc_reply:
 1793|  7.47k|{
 1794|  7.47k|    ofputil_init_group_properties(&gd->props);
 1795|       |
 1796|  7.47k|    switch (version)
 1797|  7.47k|    {
 1798|  1.14k|    case OFP11_VERSION:
  ------------------
  |  Branch (1798:5): [True: 1.14k, False: 6.32k]
  ------------------
 1799|  1.78k|    case OFP12_VERSION:
  ------------------
  |  Branch (1799:5): [True: 643, False: 6.82k]
  ------------------
 1800|  1.88k|    case OFP13_VERSION:
  ------------------
  |  Branch (1800:5): [True: 102, False: 7.37k]
  ------------------
 1801|  2.11k|    case OFP14_VERSION:
  ------------------
  |  Branch (1801:5): [True: 226, False: 7.24k]
  ------------------
 1802|  2.11k|        return ofputil_decode_ofp11_group_desc_reply(gd, msg, version);
 1803|       |
 1804|  4.38k|    case OFP10_VERSION:
  ------------------
  |  Branch (1804:5): [True: 4.38k, False: 3.08k]
  ------------------
 1805|  5.35k|    case OFP15_VERSION:
  ------------------
  |  Branch (1805:5): [True: 971, False: 6.50k]
  ------------------
 1806|  5.35k|        return ofputil_decode_ofp15_group_desc_reply(gd, msg, version);
 1807|       |
 1808|      0|    default:
  ------------------
  |  Branch (1808:5): [True: 0, False: 7.47k]
  ------------------
 1809|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1810|  7.47k|    }
 1811|  7.47k|}
ofputil_bucket_format:
 1846|  8.42k|{
 1847|  8.42k|    ds_put_cstr(s, "bucket=");
 1848|       |
 1849|  8.42k|    ofp_print_bucket_id(s, "bucket_id:", bucket->bucket_id, ofp_version);
 1850|  8.42k|    if (bucket->weight != (type == OFPGT11_SELECT ? 1 : 0)) {
  ------------------
  |  Branch (1850:9): [True: 2.92k, False: 5.50k]
  |  Branch (1850:28): [True: 2.59k, False: 5.83k]
  ------------------
 1851|  2.92k|        ds_put_format(s, "weight:%"PRIu16",", bucket->weight);
 1852|  2.92k|    }
 1853|  8.42k|    if (bucket->watch_port != OFPP_NONE) {
  ------------------
  |  |   47|  8.42k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  8.42k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1853:9): [True: 1.75k, False: 6.67k]
  ------------------
 1854|  1.75k|        ds_put_cstr(s, "watch_port:");
 1855|  1.75k|        ofputil_format_port(bucket->watch_port, port_map, s);
 1856|  1.75k|        ds_put_char(s, ',');
 1857|  1.75k|    }
 1858|  8.42k|    if (bucket->watch_group != OFPG_ANY) {
  ------------------
  |  Branch (1858:9): [True: 3.30k, False: 5.11k]
  ------------------
 1859|  3.30k|        ds_put_format(s, "watch_group:%"PRIu32",", bucket->watch_group);
 1860|  3.30k|    }
 1861|       |
 1862|  8.42k|    ds_put_cstr(s, "actions=");
 1863|  8.42k|    struct ofpact_format_params fp = {
 1864|  8.42k|        .port_map = port_map,
 1865|  8.42k|        .table_map = table_map,
 1866|  8.42k|        .s = s,
 1867|  8.42k|    };
 1868|  8.42k|    ofpacts_format(bucket->ofpacts, bucket->ofpacts_len, &fp);
 1869|  8.42k|}
ofputil_group_format:
 1879|  13.2k|{
 1880|  13.2k|    ds_put_format(s, "group_id=%"PRIu32, group_id);
 1881|       |
 1882|  13.2k|    if (!suppress_type) {
  ------------------
  |  Branch (1882:9): [True: 8.97k, False: 4.26k]
  ------------------
 1883|  8.97k|        static const char *type_str[] = { "all", "select", "indirect",
 1884|  8.97k|                                          "ff", "unknown" };
 1885|  8.97k|        ds_put_format(s, ",type=%s", type_str[type > 4 ? 4 : type]);
  ------------------
  |  Branch (1885:47): [True: 339, False: 8.63k]
  ------------------
 1886|  8.97k|    }
 1887|       |
 1888|  13.2k|    ofputil_group_properties_format(props, s);
 1889|       |
 1890|  13.2k|    if (!bucket && !p_buckets) {
  ------------------
  |  Branch (1890:9): [True: 13.2k, False: 0]
  |  Branch (1890:20): [True: 0, False: 13.2k]
  ------------------
 1891|      0|        return;
 1892|      0|    }
 1893|       |
 1894|  13.2k|    ds_put_char(s, ',');
 1895|       |
 1896|  13.2k|    if (bucket) {
  ------------------
  |  Branch (1896:9): [True: 0, False: 13.2k]
  ------------------
 1897|      0|        ofputil_bucket_format(s, bucket, type, ofp_version, NULL, NULL);
 1898|  13.2k|    } else {
 1899|  13.2k|        LIST_FOR_EACH (bucket, list_node, p_buckets) {
  ------------------
  |  |   76|  13.2k|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  13.2k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  13.2k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  21.6k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  21.6k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 8.42k, False: 13.2k]
  |  |  |  |  |  Branch (185:6): [True: 8.42k, False: 13.2k]
  |  |  |  |  ------------------
  |  |  |  |  186|  21.6k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  8.42k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  8.42k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  8.42k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  21.6k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  13.2k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  8.42k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  8.42k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1900|  8.42k|            ofputil_bucket_format(s, bucket, type, ofp_version,
 1901|  8.42k|                                port_map, table_map);
 1902|  8.42k|            ds_put_char(s, ',');
 1903|  8.42k|        }
 1904|  13.2k|        ds_chomp(s, ',');
 1905|  13.2k|    }
 1906|  13.2k|}
ofputil_group_desc_format:
 1912|  6.52k|{
 1913|  6.52k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
 1914|  7.47k|    for (;;) {
 1915|  7.47k|        struct ofputil_group_desc gd;
 1916|  7.47k|        int retval;
 1917|       |
 1918|  7.47k|        retval = ofputil_decode_group_desc_reply(&gd, &b, oh->version);
 1919|  7.47k|        if (retval) {
  ------------------
  |  Branch (1919:13): [True: 6.52k, False: 944]
  ------------------
 1920|  6.52k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (1920:20): [True: 5.87k, False: 654]
  ------------------
 1921|  6.52k|        }
 1922|       |
 1923|    944|        ds_put_char(s, '\n');
 1924|    944|        ds_put_char(s, ' ');
 1925|    944|        ofputil_group_format(s, gd.group_id, gd.type, NULL, &gd.buckets,
 1926|       |                             &gd.props, oh->version, false,
 1927|    944|                             port_map, table_map);
 1928|    944|        ofputil_uninit_group_desc(&gd);
 1929|    944|     }
 1930|  6.52k|}
ofputil_uninit_group_mod:
 1934|  21.1k|{
 1935|  21.1k|    ofputil_bucket_list_destroy(&gm->buckets);
 1936|  21.1k|    ofputil_group_properties_destroy(&gm->props);
 1937|  21.1k|}
ofputil_decode_group_mod:
 2310|  36.8k|{
 2311|  36.8k|    ofputil_init_group_properties(&gm->props);
 2312|       |
 2313|  36.8k|    enum ofp_version ofp_version = oh->version;
 2314|  36.8k|    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
 2315|  36.8k|    ofpraw_pull_assert(&msg);
 2316|       |
 2317|  36.8k|    enum ofperr err;
 2318|  36.8k|    switch (ofp_version) {
 2319|  3.28k|    case OFP11_VERSION:
  ------------------
  |  Branch (2319:5): [True: 3.28k, False: 33.5k]
  ------------------
 2320|  7.46k|    case OFP12_VERSION:
  ------------------
  |  Branch (2320:5): [True: 4.17k, False: 32.6k]
  ------------------
 2321|  8.06k|    case OFP13_VERSION:
  ------------------
  |  Branch (2321:5): [True: 602, False: 36.2k]
  ------------------
 2322|  13.7k|    case OFP14_VERSION:
  ------------------
  |  Branch (2322:5): [True: 5.69k, False: 31.1k]
  ------------------
 2323|  13.7k|        err = ofputil_pull_ofp11_group_mod(&msg, ofp_version, gm);
 2324|  13.7k|        break;
 2325|       |
 2326|     79|    case OFP10_VERSION:
  ------------------
  |  Branch (2326:5): [True: 79, False: 36.7k]
  ------------------
 2327|  23.0k|    case OFP15_VERSION:
  ------------------
  |  Branch (2327:5): [True: 22.9k, False: 13.8k]
  ------------------
 2328|  23.0k|        err = ofputil_pull_ofp15_group_mod(&msg, ofp_version, gm);
 2329|  23.0k|        break;
 2330|       |
 2331|      0|    default:
  ------------------
  |  Branch (2331:5): [True: 0, False: 36.8k]
  ------------------
 2332|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 2333|  36.8k|    }
 2334|  36.8k|    if (err) {
  ------------------
  |  Branch (2334:9): [True: 20.0k, False: 16.7k]
  ------------------
 2335|  20.0k|        return err;
 2336|  20.0k|    }
 2337|       |
 2338|  16.7k|    err = ofputil_check_group_mod(gm);
 2339|  16.7k|    if (err) {
  ------------------
  |  Branch (2339:9): [True: 4.49k, False: 12.2k]
  ------------------
 2340|  4.49k|        ofputil_uninit_group_mod(gm);
 2341|  4.49k|    }
 2342|  16.7k|    return err;
 2343|  36.8k|}
ofputil_group_mod_format__:
 2350|  12.2k|{
 2351|  12.2k|    bool bucket_command = false;
 2352|       |
 2353|  12.2k|    ds_put_char(s, '\n');
 2354|       |
 2355|  12.2k|    ds_put_char(s, ' ');
 2356|  12.2k|    switch (gm->command) {
 2357|  5.61k|    case OFPGC11_ADD:
  ------------------
  |  Branch (2357:5): [True: 5.61k, False: 6.67k]
  ------------------
 2358|  5.61k|        ds_put_cstr(s, "ADD");
 2359|  5.61k|        break;
 2360|       |
 2361|  1.35k|    case OFPGC11_MODIFY:
  ------------------
  |  Branch (2361:5): [True: 1.35k, False: 10.9k]
  ------------------
 2362|  1.35k|        ds_put_cstr(s, "MOD");
 2363|  1.35k|        break;
 2364|       |
 2365|    369|    case OFPGC11_ADD_OR_MOD:
  ------------------
  |  Branch (2365:5): [True: 369, False: 11.9k]
  ------------------
 2366|    369|        ds_put_cstr(s, "ADD_OR_MOD");
 2367|    369|        break;
 2368|       |
 2369|    695|    case OFPGC11_DELETE:
  ------------------
  |  Branch (2369:5): [True: 695, False: 11.5k]
  ------------------
 2370|    695|        ds_put_cstr(s, "DEL");
 2371|    695|        break;
 2372|       |
 2373|  3.42k|    case OFPGC15_INSERT_BUCKET:
  ------------------
  |  Branch (2373:5): [True: 3.42k, False: 8.86k]
  ------------------
 2374|  3.42k|        ds_put_cstr(s, "INSERT_BUCKET");
 2375|  3.42k|        bucket_command = true;
 2376|  3.42k|        break;
 2377|       |
 2378|    833|    case OFPGC15_REMOVE_BUCKET:
  ------------------
  |  Branch (2378:5): [True: 833, False: 11.4k]
  ------------------
 2379|    833|        ds_put_cstr(s, "REMOVE_BUCKET");
 2380|    833|        bucket_command = true;
 2381|    833|        break;
 2382|       |
 2383|      0|    default:
  ------------------
  |  Branch (2383:5): [True: 0, False: 12.2k]
  ------------------
 2384|      0|        ds_put_format(s, "cmd:%"PRIu16"", gm->command);
 2385|  12.2k|    }
 2386|  12.2k|    ds_put_char(s, ' ');
 2387|       |
 2388|  12.2k|    if (bucket_command) {
  ------------------
  |  Branch (2388:9): [True: 4.26k, False: 8.03k]
  ------------------
 2389|  4.26k|        ofp_print_bucket_id(s, "command_bucket_id:",
 2390|  4.26k|                            gm->command_bucket_id, ofp_version);
 2391|  4.26k|    }
 2392|       |
 2393|       |    ofputil_group_format(s, gm->group_id, gm->type, NULL, &gm->buckets,
 2394|  12.2k|                         &gm->props, ofp_version, bucket_command,
 2395|  12.2k|                         port_map, table_map);
 2396|  12.2k|}
ofputil_group_mod_format:
 2402|  34.9k|{
 2403|  34.9k|    struct ofputil_group_mod gm;
 2404|  34.9k|    int error;
 2405|       |
 2406|  34.9k|    error = ofputil_decode_group_mod(oh, &gm);
 2407|  34.9k|    if (error) {
  ------------------
  |  Branch (2407:9): [True: 23.7k, False: 11.1k]
  ------------------
 2408|  23.7k|        return error;
 2409|  23.7k|    }
 2410|  11.1k|    ofputil_group_mod_format__(s, oh->version, &gm, port_map, table_map);
 2411|  11.1k|    ofputil_uninit_group_mod(&gm);
 2412|  11.1k|    return 0;
 2413|  34.9k|}
ofp-group.c:group_type_to_string:
  437|  3.34k|{
  438|  3.34k|    switch (type) {
  439|  1.09k|    case OFPGT11_ALL: return "all";
  ------------------
  |  Branch (439:5): [True: 1.09k, False: 2.24k]
  ------------------
  440|  1.01k|    case OFPGT11_SELECT: return "select";
  ------------------
  |  Branch (440:5): [True: 1.01k, False: 2.32k]
  ------------------
  441|  1.02k|    case OFPGT11_INDIRECT: return "indirect";
  ------------------
  |  Branch (441:5): [True: 1.02k, False: 2.32k]
  ------------------
  442|    208|    case OFPGT11_FF: return "fast failover";
  ------------------
  |  Branch (442:5): [True: 208, False: 3.13k]
  ------------------
  443|      0|    default: OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  |  Branch (443:5): [True: 0, False: 3.34k]
  ------------------
  444|  3.34k|    }
  445|  3.34k|}
ofp-group.c:ofputil_init_group_properties:
 1511|  44.2k|{
 1512|  44.2k|    memset(gp, 0, sizeof *gp);
 1513|  44.2k|}
ofp-group.c:ofputil_decode_ofp11_group_desc_reply:
 1686|  2.11k|{
 1687|  2.11k|    struct ofp11_group_desc_stats *ogds;
 1688|  2.11k|    size_t length;
 1689|       |
 1690|  2.11k|    if (!msg->header) {
  ------------------
  |  Branch (1690:9): [True: 1.22k, False: 889]
  ------------------
 1691|  1.22k|        ofpraw_pull_assert(msg);
 1692|  1.22k|    }
 1693|       |
 1694|  2.11k|    if (!msg->size) {
  ------------------
  |  Branch (1694:9): [True: 328, False: 1.78k]
  ------------------
 1695|    328|        return EOF;
 1696|    328|    }
 1697|       |
 1698|  1.78k|    ogds = ofpbuf_try_pull(msg, sizeof *ogds);
 1699|  1.78k|    if (!ogds) {
  ------------------
  |  Branch (1699:9): [True: 0, False: 1.78k]
  ------------------
 1700|      0|        VLOG_WARN_RL(&rl, "OFPST11_GROUP_DESC reply has %"PRIu32" "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|      0|                     "leftover bytes at end", msg->size);
 1702|      0|        return OFPERR_OFPBRC_BAD_LEN;
 1703|      0|    }
 1704|  1.78k|    gd->type = ogds->type;
 1705|  1.78k|    gd->group_id = ntohl(ogds->group_id);
 1706|       |
 1707|  1.78k|    length = ntohs(ogds->length);
 1708|  1.78k|    if (length < sizeof *ogds || length - sizeof *ogds > msg->size) {
  ------------------
  |  Branch (1708:9): [True: 456, False: 1.33k]
  |  Branch (1708:34): [True: 435, False: 896]
  ------------------
 1709|    891|        VLOG_WARN_RL(&rl, "OFPST11_GROUP_DESC reply claims invalid "
  ------------------
  |  |  224|    891|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    891|    do {                                                                \
  |  |  |  |  288|    891|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    891|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 891]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    891|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 891]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1710|    891|                     "length %"PRIuSIZE, length);
 1711|    891|        return OFPERR_OFPBRC_BAD_LEN;
 1712|    891|    }
 1713|       |
 1714|    896|    return ofputil_pull_ofp11_buckets(msg, length - sizeof *ogds, version,
 1715|    896|                                      &gd->buckets);
 1716|  1.78k|}
ofp-group.c:ofputil_pull_ofp11_buckets:
 1319|  14.6k|{
 1320|  14.6k|    struct ofp11_bucket *ob;
 1321|  14.6k|    uint32_t bucket_id = 0;
 1322|       |
 1323|  14.6k|    ovs_list_init(buckets);
 1324|  20.3k|    while (buckets_length > 0) {
  ------------------
  |  Branch (1324:12): [True: 11.7k, False: 8.69k]
  ------------------
 1325|  11.7k|        struct ofputil_bucket *bucket;
 1326|  11.7k|        struct ofpbuf ofpacts;
 1327|  11.7k|        enum ofperr error;
 1328|  11.7k|        size_t ob_len;
 1329|       |
 1330|  11.7k|        ob = (buckets_length >= sizeof *ob
  ------------------
  |  Branch (1330:15): [True: 11.2k, False: 421]
  ------------------
 1331|  11.7k|              ? ofpbuf_try_pull(msg, sizeof *ob)
 1332|  11.7k|              : NULL);
 1333|  11.7k|        if (!ob) {
  ------------------
  |  Branch (1333:13): [True: 421, False: 11.2k]
  ------------------
 1334|    421|            VLOG_WARN_RL(&rl, "buckets end with %"PRIuSIZE" leftover bytes",
  ------------------
  |  |  224|    421|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    421|    do {                                                                \
  |  |  |  |  288|    421|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    421|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 421]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    421|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 421]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1335|    421|                         buckets_length);
 1336|    421|            ofputil_bucket_list_destroy(buckets);
 1337|    421|            return OFPERR_OFPGMFC_BAD_BUCKET;
 1338|    421|        }
 1339|       |
 1340|  11.2k|        ob_len = ntohs(ob->len);
 1341|  11.2k|        if (ob_len < sizeof *ob) {
  ------------------
  |  Branch (1341:13): [True: 2.01k, False: 9.27k]
  ------------------
 1342|  2.01k|            VLOG_WARN_RL(&rl, "OpenFlow message bucket length "
  ------------------
  |  |  224|  2.01k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.01k|    do {                                                                \
  |  |  |  |  288|  2.01k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.01k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.01k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.01k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.01k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|  2.01k|                         "%"PRIuSIZE" is not valid", ob_len);
 1344|  2.01k|            ofputil_bucket_list_destroy(buckets);
 1345|  2.01k|            return OFPERR_OFPGMFC_BAD_BUCKET;
 1346|  9.27k|        } else if (ob_len > buckets_length) {
  ------------------
  |  Branch (1346:20): [True: 1.17k, False: 8.09k]
  ------------------
 1347|  1.17k|            VLOG_WARN_RL(&rl, "OpenFlow message bucket length %"PRIuSIZE" "
  ------------------
  |  |  224|  1.17k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.17k|    do {                                                                \
  |  |  |  |  288|  1.17k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.17k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1348|  1.17k|                         "exceeds remaining buckets data size %"PRIuSIZE,
 1349|  1.17k|                         ob_len, buckets_length);
 1350|  1.17k|            ofputil_bucket_list_destroy(buckets);
 1351|  1.17k|            return OFPERR_OFPGMFC_BAD_BUCKET;
 1352|  1.17k|        }
 1353|  8.09k|        buckets_length -= ob_len;
 1354|       |
 1355|  8.09k|        ofpbuf_init(&ofpacts, 0);
 1356|  8.09k|        error = ofpacts_pull_openflow_actions(msg, ob_len - sizeof *ob,
 1357|  8.09k|                                              version, NULL, NULL, &ofpacts);
 1358|  8.09k|        if (error) {
  ------------------
  |  Branch (1358:13): [True: 2.12k, False: 5.96k]
  ------------------
 1359|  2.12k|            ofpbuf_uninit(&ofpacts);
 1360|  2.12k|            ofputil_bucket_list_destroy(buckets);
 1361|  2.12k|            return error;
 1362|  2.12k|        }
 1363|       |
 1364|  5.96k|        bucket = xzalloc(sizeof *bucket);
 1365|  5.96k|        bucket->weight = ntohs(ob->weight);
 1366|  5.96k|        error = ofputil_port_from_ofp11(ob->watch_port, &bucket->watch_port);
 1367|  5.96k|        if (error) {
  ------------------
  |  Branch (1367:13): [True: 224, False: 5.74k]
  ------------------
 1368|    224|            ofpbuf_uninit(&ofpacts);
 1369|    224|            ofputil_bucket_list_destroy(buckets);
 1370|    224|            free(bucket);
 1371|    224|            return OFPERR_OFPGMFC_BAD_WATCH;
 1372|    224|        }
 1373|  5.74k|        bucket->watch_group = ntohl(ob->watch_group);
 1374|  5.74k|        bucket->bucket_id = bucket_id++;
 1375|       |
 1376|  5.74k|        bucket->ofpacts = ofpbuf_steal_data(&ofpacts);
 1377|  5.74k|        bucket->ofpacts_len = ofpacts.size;
 1378|  5.74k|        ovs_list_push_back(buckets, &bucket->list_node);
 1379|  5.74k|    }
 1380|       |
 1381|  8.69k|    return 0;
 1382|  14.6k|}
ofp-group.c:ofputil_decode_ofp15_group_desc_reply:
 1722|  5.35k|{
 1723|  5.35k|    struct ofp15_group_desc_stats *ogds;
 1724|  5.35k|    uint16_t length, bucket_list_len;
 1725|  5.35k|    int error;
 1726|       |
 1727|  5.35k|    if (!msg->header) {
  ------------------
  |  Branch (1727:9): [True: 5.30k, False: 55]
  ------------------
 1728|  5.30k|        ofpraw_pull_assert(msg);
 1729|  5.30k|    }
 1730|       |
 1731|  5.35k|    if (!msg->size) {
  ------------------
  |  Branch (1731:9): [True: 326, False: 5.03k]
  ------------------
 1732|    326|        return EOF;
 1733|    326|    }
 1734|       |
 1735|  5.03k|    ogds = ofpbuf_try_pull(msg, sizeof *ogds);
 1736|  5.03k|    if (!ogds) {
  ------------------
  |  Branch (1736:9): [True: 377, False: 4.65k]
  ------------------
 1737|    377|        VLOG_WARN_RL(&rl, "OFPST11_GROUP_DESC reply has %"PRIu32" "
  ------------------
  |  |  224|    377|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    377|    do {                                                                \
  |  |  |  |  288|    377|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    377|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    377|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1738|    377|                     "leftover bytes at end", msg->size);
 1739|    377|        return OFPERR_OFPBRC_BAD_LEN;
 1740|    377|    }
 1741|  4.65k|    gd->type = ogds->type;
 1742|  4.65k|    gd->group_id = ntohl(ogds->group_id);
 1743|       |
 1744|  4.65k|    length = ntohs(ogds->length);
 1745|  4.65k|    if (length < sizeof *ogds || length - sizeof *ogds > msg->size) {
  ------------------
  |  Branch (1745:9): [True: 846, False: 3.80k]
  |  Branch (1745:34): [True: 1.12k, False: 2.68k]
  ------------------
 1746|  1.96k|        VLOG_WARN_RL(&rl, "OFPST11_GROUP_DESC reply claims invalid "
  ------------------
  |  |  224|  1.96k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.96k|    do {                                                                \
  |  |  |  |  288|  1.96k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.96k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.96k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.96k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.96k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|  1.96k|                     "length %u", length);
 1748|  1.96k|        return OFPERR_OFPBRC_BAD_LEN;
 1749|  1.96k|    }
 1750|       |
 1751|  2.68k|    bucket_list_len = ntohs(ogds->bucket_list_len);
 1752|  2.68k|    if (length < bucket_list_len + sizeof *ogds) {
  ------------------
  |  Branch (1752:9): [True: 123, False: 2.56k]
  ------------------
 1753|    123|        VLOG_WARN_RL(&rl, "OFPST11_GROUP_DESC reply claims invalid "
  ------------------
  |  |  224|    123|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    123|    do {                                                                \
  |  |  |  |  288|    123|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    123|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 123]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    123|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 123]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|    123|                     "bucket list length %u", bucket_list_len);
 1755|    123|        return OFPERR_OFPBRC_BAD_LEN;
 1756|    123|    }
 1757|  2.56k|    error = ofputil_pull_ofp15_buckets(msg, bucket_list_len, version, gd->type,
 1758|  2.56k|                                       &gd->buckets);
 1759|  2.56k|    if (error) {
  ------------------
  |  Branch (1759:9): [True: 2.04k, False: 518]
  ------------------
 1760|  2.04k|        return error;
 1761|  2.04k|    }
 1762|       |
 1763|       |    /* By definition group desc messages don't have a group mod command.
 1764|       |     * However, parse_group_prop_ntr_selection_method() checks to make sure
 1765|       |     * that the command is OFPGC15_ADD or OFPGC15_DELETE to guard
 1766|       |     * against group mod messages with other commands supplying
 1767|       |     * a NTR selection method group experimenter property.
 1768|       |     * Such properties are valid for group desc replies so
 1769|       |     * claim that the group mod command is OFPGC15_ADD to
 1770|       |     * satisfy the check in parse_group_prop_ntr_selection_method() */
 1771|    518|    error = parse_ofp15_group_properties(
 1772|    518|        msg, gd->type, OFPGC15_ADD, &gd->props,
 1773|    518|        length - sizeof *ogds - bucket_list_len);
 1774|    518|    if (error) {
  ------------------
  |  Branch (1774:9): [True: 463, False: 55]
  ------------------
 1775|    463|        ofputil_uninit_group_desc(gd);
 1776|    463|    }
 1777|    518|    return error;
 1778|  2.56k|}
ofp-group.c:ofputil_pull_ofp15_buckets:
 1388|  23.2k|{
 1389|  23.2k|    ovs_list_init(buckets);
 1390|  32.9k|    while (buckets_length > 0) {
  ------------------
  |  Branch (1390:12): [True: 18.9k, False: 14.0k]
  ------------------
 1391|  18.9k|        struct ofputil_bucket *bucket = NULL;
 1392|  18.9k|        struct ofpbuf ofpacts;
 1393|  18.9k|        enum ofperr err = OFPERR_OFPGMFC_BAD_BUCKET;
 1394|  18.9k|        size_t ob_len, actions_len, properties_len;
 1395|  18.9k|        ovs_be32 watch_port = ofputil_port_to_ofp11(OFPP_ANY);
  ------------------
  |  |   80|  18.9k|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|  18.9k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|  18.9k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|  18.9k|        ovs_be32 watch_group = htonl(OFPG_ANY);
 1397|  18.9k|        ovs_be16 weight = htons(group_type == OFPGT11_SELECT ? 1 : 0);
  ------------------
  |  Branch (1397:27): [True: 753, False: 18.1k]
  ------------------
 1398|       |
 1399|  18.9k|        ofpbuf_init(&ofpacts, 0);
 1400|       |
 1401|  18.9k|        struct ofp15_bucket *ob = ofpbuf_try_pull(msg, sizeof *ob);
 1402|  18.9k|        if (!ob) {
  ------------------
  |  Branch (1402:13): [True: 0, False: 18.9k]
  ------------------
 1403|      0|            VLOG_WARN_RL(&rl, "buckets end with %"PRIuSIZE
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|      0|                         " leftover bytes", buckets_length);
 1405|      0|            goto err;
 1406|      0|        }
 1407|       |
 1408|  18.9k|        ob_len = ntohs(ob->len);
 1409|  18.9k|        actions_len = ntohs(ob->action_array_len);
 1410|       |
 1411|  18.9k|        if (ob_len < sizeof *ob) {
  ------------------
  |  Branch (1411:13): [True: 1.08k, False: 17.8k]
  ------------------
 1412|  1.08k|            VLOG_WARN_RL(&rl, "OpenFlow message bucket length "
  ------------------
  |  |  224|  1.08k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.08k|    do {                                                                \
  |  |  |  |  288|  1.08k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.08k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.08k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1413|  1.08k|                         "%"PRIuSIZE" is not valid", ob_len);
 1414|  1.08k|            goto err;
 1415|  17.8k|        } else if (ob_len > buckets_length) {
  ------------------
  |  Branch (1415:20): [True: 1.43k, False: 16.4k]
  ------------------
 1416|  1.43k|            VLOG_WARN_RL(&rl, "OpenFlow message bucket length "
  ------------------
  |  |  224|  1.43k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.43k|    do {                                                                \
  |  |  |  |  288|  1.43k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.43k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.43k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  1.43k|                         "%"PRIuSIZE" exceeds remaining buckets data size %"
 1418|  1.43k|                         PRIuSIZE, ob_len, buckets_length);
 1419|  1.43k|            goto err;
 1420|  16.4k|        } else if (actions_len > ob_len - sizeof *ob) {
  ------------------
  |  Branch (1420:20): [True: 2.11k, False: 14.3k]
  ------------------
 1421|  2.11k|            VLOG_WARN_RL(&rl, "OpenFlow message bucket actions "
  ------------------
  |  |  224|  2.11k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.11k|    do {                                                                \
  |  |  |  |  288|  2.11k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.11k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.11k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1422|  2.11k|                         "length %"PRIuSIZE" exceeds remaining bucket "
 1423|  2.11k|                         "data size %"PRIuSIZE, actions_len,
 1424|  2.11k|                         ob_len - sizeof *ob);
 1425|  2.11k|            goto err;
 1426|  2.11k|        }
 1427|  14.3k|        buckets_length -= ob_len;
 1428|       |
 1429|  14.3k|        err = ofpacts_pull_openflow_actions(msg, actions_len, version,
 1430|  14.3k|                                            NULL, NULL, &ofpacts);
 1431|  14.3k|        if (err) {
  ------------------
  |  Branch (1431:13): [True: 3.64k, False: 10.6k]
  ------------------
 1432|  3.64k|            goto err;
 1433|  3.64k|        }
 1434|       |
 1435|  10.6k|        properties_len = ob_len - sizeof *ob - actions_len;
 1436|  10.6k|        struct ofpbuf properties = ofpbuf_const_initializer(
 1437|  10.6k|            ofpbuf_pull(msg, properties_len), properties_len);
 1438|  11.3k|        while (properties.size > 0) {
  ------------------
  |  Branch (1438:16): [True: 1.44k, False: 9.91k]
  ------------------
 1439|  1.44k|            struct ofpbuf payload;
 1440|  1.44k|            uint64_t type;
 1441|       |
 1442|  1.44k|            err = ofpprop_pull(&properties, &payload, &type);
 1443|  1.44k|            if (err) {
  ------------------
  |  Branch (1443:17): [True: 321, False: 1.12k]
  ------------------
 1444|    321|                goto err;
 1445|    321|            }
 1446|       |
 1447|  1.12k|            switch (type) {
 1448|    570|            case OFPGBPT15_WEIGHT:
  ------------------
  |  Branch (1448:13): [True: 570, False: 552]
  ------------------
 1449|    570|                err = ofpprop_parse_be16(&payload, &weight);
 1450|    570|                break;
 1451|       |
 1452|    285|            case OFPGBPT15_WATCH_PORT:
  ------------------
  |  Branch (1452:13): [True: 285, False: 837]
  ------------------
 1453|    285|                err = ofpprop_parse_be32(&payload, &watch_port);
 1454|    285|                break;
 1455|       |
 1456|     40|            case OFPGBPT15_WATCH_GROUP:
  ------------------
  |  Branch (1456:13): [True: 40, False: 1.08k]
  ------------------
 1457|     40|                err = ofpprop_parse_be32(&payload, &watch_group);
 1458|     40|                break;
 1459|       |
 1460|    227|            default:
  ------------------
  |  Branch (1460:13): [True: 227, False: 895]
  ------------------
 1461|    227|                err = OFPPROP_UNKNOWN(false, "group bucket", type);
  ------------------
  |  |  144|    227|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
 1462|    227|                break;
 1463|  1.12k|            }
 1464|       |
 1465|  1.12k|            if (err) {
  ------------------
  |  Branch (1465:17): [True: 434, False: 688]
  ------------------
 1466|    434|                goto err;
 1467|    434|            }
 1468|  1.12k|        }
 1469|       |
 1470|  9.91k|        bucket = xzalloc(sizeof *bucket);
 1471|       |
 1472|  9.91k|        bucket->weight = ntohs(weight);
 1473|  9.91k|        err = ofputil_port_from_ofp11(watch_port, &bucket->watch_port);
 1474|  9.91k|        if (err) {
  ------------------
  |  Branch (1474:13): [True: 131, False: 9.78k]
  ------------------
 1475|    131|            err = OFPERR_OFPGMFC_BAD_WATCH;
 1476|    131|            goto err;
 1477|    131|        }
 1478|  9.78k|        bucket->watch_group = ntohl(watch_group);
 1479|  9.78k|        bucket->bucket_id = ntohl(ob->bucket_id);
 1480|  9.78k|        if (bucket->bucket_id > OFPG15_BUCKET_MAX) {
  ------------------
  |  Branch (1480:13): [True: 50, False: 9.73k]
  ------------------
 1481|     50|            VLOG_WARN_RL(&rl, "bucket id (%u) is out of range",
  ------------------
  |  |  224|     50|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     50|    do {                                                                \
  |  |  |  |  288|     50|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     50|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     50|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 50]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|     50|                         bucket->bucket_id);
 1483|     50|            err = OFPERR_OFPGMFC_BAD_BUCKET;
 1484|     50|            goto err;
 1485|     50|        }
 1486|       |
 1487|  9.73k|        bucket->ofpacts = ofpbuf_steal_data(&ofpacts);
 1488|  9.73k|        bucket->ofpacts_len = ofpacts.size;
 1489|  9.73k|        ovs_list_push_back(buckets, &bucket->list_node);
 1490|       |
 1491|  9.73k|        continue;
 1492|       |
 1493|  9.21k|    err:
 1494|  9.21k|        free(bucket);
 1495|  9.21k|        ofpbuf_uninit(&ofpacts);
 1496|  9.21k|        ofputil_bucket_list_destroy(buckets);
 1497|  9.21k|        return err;
 1498|  9.78k|    }
 1499|       |
 1500|  14.0k|    if (ofputil_bucket_check_duplicate_id(buckets)) {
  ------------------
  |  Branch (1500:9): [True: 106, False: 13.9k]
  ------------------
 1501|    106|        VLOG_WARN_RL(&rl, "Duplicate bucket id");
  ------------------
  |  |  224|    106|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    106|    do {                                                                \
  |  |  |  |  288|    106|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    106|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 106]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    106|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 106]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1502|    106|        ofputil_bucket_list_destroy(buckets);
 1503|    106|        return OFPERR_OFPGMFC_BAD_BUCKET;
 1504|    106|    }
 1505|       |
 1506|  13.9k|    return 0;
 1507|  14.0k|}
ofp-group.c:parse_ofp15_group_properties:
 1649|  13.9k|{
 1650|  13.9k|    struct ofpbuf properties = ofpbuf_const_initializer(
 1651|  13.9k|        ofpbuf_pull(msg, properties_len), properties_len);
 1652|  17.7k|    while (properties.size > 0) {
  ------------------
  |  Branch (1652:12): [True: 8.69k, False: 9.06k]
  ------------------
 1653|  8.69k|        struct ofpbuf payload;
 1654|  8.69k|        enum ofperr error;
 1655|  8.69k|        uint64_t type;
 1656|       |
 1657|  8.69k|        error = ofpprop_pull(&properties, &payload, &type);
 1658|  8.69k|        if (error) {
  ------------------
  |  Branch (1658:13): [True: 442, False: 8.25k]
  ------------------
 1659|    442|            return error;
 1660|    442|        }
 1661|       |
 1662|  8.25k|        switch (type) {
 1663|    714|        case OFPPROP_EXP(NTR_VENDOR_ID, NTRT_SELECTION_METHOD):
  ------------------
  |  |   67|    714|    (((uint64_t) (EXP_ID) << 32) | (EXP_TYPE))
  ------------------
  |  Branch (1663:9): [True: 714, False: 7.53k]
  ------------------
 1664|  6.87k|        case OFPPROP_EXP(NTR_COMPAT_VENDOR_ID, NTRT_SELECTION_METHOD):
  ------------------
  |  |   67|  6.87k|    (((uint64_t) (EXP_ID) << 32) | (EXP_TYPE))
  ------------------
  |  Branch (1664:9): [True: 6.15k, False: 2.09k]
  ------------------
 1665|  6.87k|            error = parse_group_prop_ntr_selection_method(&payload, group_type,
 1666|  6.87k|                                                          group_cmd, gp);
 1667|  6.87k|            break;
 1668|       |
 1669|  1.38k|        default:
  ------------------
  |  Branch (1669:9): [True: 1.38k, False: 6.87k]
  ------------------
 1670|  1.38k|            error = OFPPROP_UNKNOWN(false, "group", type);
  ------------------
  |  |  144|  1.38k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
 1671|  1.38k|            break;
 1672|  8.25k|        }
 1673|       |
 1674|  8.25k|        if (error) {
  ------------------
  |  Branch (1674:13): [True: 4.41k, False: 3.83k]
  ------------------
 1675|  4.41k|            return error;
 1676|  4.41k|        }
 1677|  8.25k|    }
 1678|       |
 1679|  9.06k|    return 0;
 1680|  13.9k|}
ofp-group.c:parse_group_prop_ntr_selection_method:
 1559|  6.87k|{
 1560|  6.87k|    struct ntr_group_prop_selection_method *prop = payload->data;
 1561|  6.87k|    size_t fields_len, method_len;
 1562|  6.87k|    enum ofperr error;
 1563|       |
 1564|  6.87k|    switch (group_type) {
 1565|  6.10k|    case OFPGT11_SELECT:
  ------------------
  |  Branch (1565:5): [True: 6.10k, False: 771]
  ------------------
 1566|  6.10k|        break;
 1567|    133|    case OFPGT11_ALL:
  ------------------
  |  Branch (1567:5): [True: 133, False: 6.73k]
  ------------------
 1568|    372|    case OFPGT11_INDIRECT:
  ------------------
  |  Branch (1568:5): [True: 239, False: 6.63k]
  ------------------
 1569|    575|    case OFPGT11_FF:
  ------------------
  |  Branch (1569:5): [True: 203, False: 6.66k]
  ------------------
 1570|    575|        OFPPROP_LOG(&rl, false, "ntr selection method property is "
  ------------------
  |  |  139|    575|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    575|    do {                                                                \
  |  |  |  |  288|  1.15k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 575]
  |  |  |  |  ------------------
  |  |  |  |  289|    575|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 575]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    575|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 575]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|    575|                    "only allowed for select groups");
 1572|    575|        return OFPERR_OFPBPC_BAD_VALUE;
 1573|    196|    default:
  ------------------
  |  Branch (1573:5): [True: 196, False: 6.67k]
  ------------------
 1574|    196|        return OFPERR_OFPGMFC_BAD_TYPE;
 1575|  6.87k|    }
 1576|       |
 1577|  6.10k|    switch (group_cmd) {
 1578|  4.73k|    case OFPGC15_ADD:
  ------------------
  |  Branch (1578:5): [True: 4.73k, False: 1.36k]
  ------------------
 1579|  5.10k|    case OFPGC15_MODIFY:
  ------------------
  |  Branch (1579:5): [True: 370, False: 5.73k]
  ------------------
 1580|  5.26k|    case OFPGC15_ADD_OR_MOD:
  ------------------
  |  Branch (1580:5): [True: 157, False: 5.94k]
  ------------------
 1581|  5.26k|        break;
 1582|     70|    case OFPGC15_DELETE:
  ------------------
  |  Branch (1582:5): [True: 70, False: 6.03k]
  ------------------
 1583|    171|    case OFPGC15_INSERT_BUCKET:
  ------------------
  |  Branch (1583:5): [True: 101, False: 6.00k]
  ------------------
 1584|    238|    case OFPGC15_REMOVE_BUCKET:
  ------------------
  |  Branch (1584:5): [True: 67, False: 6.03k]
  ------------------
 1585|    238|        OFPPROP_LOG(&rl, false, "ntr selection method property is "
  ------------------
  |  |  139|    238|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    238|    do {                                                                \
  |  |  |  |  288|    476|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 238]
  |  |  |  |  ------------------
  |  |  |  |  289|    238|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 238]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    238|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 238]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1586|    238|                    "only allowed for add and delete group modifications");
 1587|    238|        return OFPERR_OFPBPC_BAD_VALUE;
 1588|    600|    default:
  ------------------
  |  Branch (1588:5): [True: 600, False: 5.50k]
  ------------------
 1589|    600|        return OFPERR_OFPGMFC_BAD_COMMAND;
 1590|  6.10k|    }
 1591|       |
 1592|  5.26k|    if (payload->size < sizeof *prop) {
  ------------------
  |  Branch (1592:9): [True: 41, False: 5.22k]
  ------------------
 1593|     41|        OFPPROP_LOG(&rl, false, "ntr selection method property "
  ------------------
  |  |  139|     41|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     41|    do {                                                                \
  |  |  |  |  288|     82|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  289|     41|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     41|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1594|     41|                    "length %u is not valid", payload->size);
 1595|     41|        return OFPERR_OFPBPC_BAD_LEN;
 1596|     41|    }
 1597|       |
 1598|  5.22k|    method_len = strnlen(prop->selection_method, NTR_MAX_SELECTION_METHOD_LEN);
  ------------------
  |  |   34|  5.22k|#define NTR_MAX_SELECTION_METHOD_LEN 16
  ------------------
 1599|       |
 1600|  5.22k|    if (method_len == NTR_MAX_SELECTION_METHOD_LEN) {
  ------------------
  |  |   34|  5.22k|#define NTR_MAX_SELECTION_METHOD_LEN 16
  ------------------
  |  Branch (1600:9): [True: 18, False: 5.20k]
  ------------------
 1601|     18|        OFPPROP_LOG(&rl, false,
  ------------------
  |  |  139|     18|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     18|    do {                                                                \
  |  |  |  |  288|     36|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  289|     18|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|     18|                    "ntr selection method is not null terminated");
 1603|     18|        return OFPERR_OFPBPC_BAD_VALUE;
 1604|     18|    }
 1605|       |
 1606|  5.20k|    if (strcmp("hash", prop->selection_method)
  ------------------
  |  Branch (1606:9): [True: 750, False: 4.45k]
  ------------------
 1607|    750|        && strcmp("dp_hash", prop->selection_method)) {
  ------------------
  |  Branch (1607:12): [True: 739, False: 11]
  ------------------
 1608|    739|        OFPPROP_LOG(&rl, false,
  ------------------
  |  |  139|    739|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    739|    do {                                                                \
  |  |  |  |  288|  1.47k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 739]
  |  |  |  |  ------------------
  |  |  |  |  289|    739|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 739]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    739|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 739]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|    739|                    "ntr selection method '%s' is not supported",
 1610|    739|                    prop->selection_method);
 1611|    739|        return OFPERR_OFPBPC_BAD_VALUE;
 1612|    739|    }
 1613|       |    /* 'method_len' is now non-zero. */
 1614|       |
 1615|  4.46k|    strcpy(gp->selection_method, prop->selection_method);
 1616|  4.46k|    gp->selection_method_param = ntohll(prop->selection_method_param);
 1617|       |
 1618|  4.46k|    ofpbuf_pull(payload, sizeof *prop);
 1619|       |
 1620|  4.46k|    fields_len = ntohs(prop->length) - sizeof *prop;
 1621|  4.46k|    if (fields_len && strcmp("hash", gp->selection_method)) {
  ------------------
  |  Branch (1621:9): [True: 3.95k, False: 513]
  |  Branch (1621:23): [True: 10, False: 3.94k]
  ------------------
 1622|     10|        OFPPROP_LOG(&rl, false, "ntr selection method %s "
  ------------------
  |  |  139|     10|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     10|    do {                                                                \
  |  |  |  |  288|     20|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  289|     10|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|     10|                    "does not support fields", gp->selection_method);
 1624|     10|        return OFPERR_OFPBPC_BAD_VALUE;
 1625|     10|    }
 1626|       |
 1627|  4.45k|    if (fields_len > 0) {
  ------------------
  |  Branch (1627:9): [True: 3.94k, False: 513]
  ------------------
 1628|  3.94k|        error = oxm_pull_field_array(payload->data, fields_len,
 1629|  3.94k|                &gp->fields);
 1630|  3.94k|        if (error) {
  ------------------
  |  Branch (1630:13): [True: 620, False: 3.32k]
  ------------------
 1631|    620|            OFPPROP_LOG(&rl, false,
  ------------------
  |  |  139|    620|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    620|    do {                                                                \
  |  |  |  |  288|  1.24k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  |  |  289|    620|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 620]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    620|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 620]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|    620|                    "ntr selection method fields are invalid");
 1633|    620|            return error;
 1634|    620|        }
 1635|  3.94k|    } else {
 1636|       |        /* Selection_method "hash: w/o fields means default hash method. */
 1637|    513|        gp->fields.values_size = 0;
 1638|    513|    }
 1639|       |
 1640|  3.83k|    return 0;
 1641|  4.45k|}
ofp-group.c:ofp_print_bucket_id:
 1816|  12.6k|{
 1817|  12.6k|    if (ofp_version > OFP10_VERSION && ofp_version < OFP15_VERSION) {
  ------------------
  |  Branch (1817:9): [True: 12.6k, False: 2]
  |  Branch (1817:40): [True: 3.73k, False: 8.94k]
  ------------------
 1818|  3.73k|        return;
 1819|  3.73k|    }
 1820|       |
 1821|  8.94k|    ds_put_cstr(s, label);
 1822|       |
 1823|  8.94k|    switch (bucket_id) {
 1824|     66|    case OFPG15_BUCKET_FIRST:
  ------------------
  |  Branch (1824:5): [True: 66, False: 8.88k]
  ------------------
 1825|     66|        ds_put_cstr(s, "first");
 1826|     66|        break;
 1827|  1.87k|    case OFPG15_BUCKET_LAST:
  ------------------
  |  Branch (1827:5): [True: 1.87k, False: 7.07k]
  ------------------
 1828|  1.87k|        ds_put_cstr(s, "last");
 1829|  1.87k|        break;
 1830|    432|    case OFPG15_BUCKET_ALL:
  ------------------
  |  Branch (1830:5): [True: 432, False: 8.51k]
  ------------------
 1831|    432|        ds_put_cstr(s, "all");
 1832|    432|        break;
 1833|  6.57k|    default:
  ------------------
  |  Branch (1833:5): [True: 6.57k, False: 2.36k]
  ------------------
 1834|  6.57k|        ds_put_format(s, "%"PRIu32, bucket_id);
 1835|  6.57k|        break;
 1836|  8.94k|    }
 1837|       |
 1838|  8.94k|    ds_put_char(s, ',');
 1839|  8.94k|}
ofp-group.c:ofputil_pull_ofp11_group_mod:
 2152|  13.7k|{
 2153|  13.7k|    const struct ofp11_group_mod *ogm;
 2154|  13.7k|    enum ofperr error;
 2155|       |
 2156|  13.7k|    ogm = ofpbuf_pull(msg, sizeof *ogm);
 2157|  13.7k|    gm->command = ntohs(ogm->command);
 2158|  13.7k|    gm->type = ogm->type;
 2159|  13.7k|    gm->group_id = ntohl(ogm->group_id);
 2160|  13.7k|    gm->command_bucket_id = OFPG15_BUCKET_ALL;
 2161|       |
 2162|  13.7k|    error = ofputil_pull_ofp11_buckets(msg, msg->size, ofp_version,
 2163|  13.7k|                                       &gm->buckets);
 2164|       |
 2165|       |    /* OF1.3.5+ prescribes an error when an OFPGC_DELETE includes buckets. */
 2166|  13.7k|    if (!error
  ------------------
  |  Branch (2166:9): [True: 7.80k, False: 5.95k]
  ------------------
 2167|  7.80k|        && ofp_version >= OFP13_VERSION
  ------------------
  |  Branch (2167:12): [True: 4.99k, False: 2.80k]
  ------------------
 2168|  4.99k|        && gm->command == OFPGC11_DELETE
  ------------------
  |  Branch (2168:12): [True: 141, False: 4.85k]
  ------------------
 2169|    141|        && !ovs_list_is_empty(&gm->buckets)) {
  ------------------
  |  Branch (2169:12): [True: 26, False: 115]
  ------------------
 2170|     26|        error = OFPERR_OFPGMFC_INVALID_GROUP;
 2171|     26|        ofputil_bucket_list_destroy(&gm->buckets);
 2172|     26|    }
 2173|       |
 2174|  13.7k|    return error;
 2175|  13.7k|}
ofp-group.c:ofputil_pull_ofp15_group_mod:
 2180|  23.0k|{
 2181|  23.0k|    const struct ofp15_group_mod *ogm;
 2182|  23.0k|    uint16_t bucket_list_len;
 2183|  23.0k|    enum ofperr error = OFPERR_OFPGMFC_BAD_BUCKET;
 2184|       |
 2185|  23.0k|    ogm = ofpbuf_pull(msg, sizeof *ogm);
 2186|  23.0k|    gm->command = ntohs(ogm->command);
 2187|  23.0k|    gm->type = ogm->type;
 2188|  23.0k|    gm->group_id = ntohl(ogm->group_id);
 2189|       |
 2190|  23.0k|    gm->command_bucket_id = ntohl(ogm->command_bucket_id);
 2191|  23.0k|    switch (gm->command) {
 2192|  4.63k|    case OFPGC15_REMOVE_BUCKET:
  ------------------
  |  Branch (2192:5): [True: 4.63k, False: 18.4k]
  ------------------
 2193|  4.63k|        if (gm->command_bucket_id == OFPG15_BUCKET_ALL) {
  ------------------
  |  Branch (2193:13): [True: 575, False: 4.05k]
  ------------------
 2194|    575|            error = 0;
 2195|    575|        }
 2196|       |        /* Fall through */
 2197|  14.0k|    case OFPGC15_INSERT_BUCKET:
  ------------------
  |  Branch (2197:5): [True: 9.39k, False: 13.6k]
  ------------------
 2198|  14.0k|        if (gm->command_bucket_id <= OFPG15_BUCKET_MAX ||
  ------------------
  |  Branch (2198:13): [True: 10.0k, False: 4.00k]
  ------------------
 2199|  4.00k|            gm->command_bucket_id == OFPG15_BUCKET_FIRST
  ------------------
  |  Branch (2199:13): [True: 75, False: 3.92k]
  ------------------
 2200|  13.4k|            || gm->command_bucket_id == OFPG15_BUCKET_LAST) {
  ------------------
  |  Branch (2200:16): [True: 3.30k, False: 622]
  ------------------
 2201|  13.4k|            error = 0;
 2202|  13.4k|        }
 2203|  14.0k|        break;
 2204|       |
 2205|  5.70k|    case OFPGC11_ADD:
  ------------------
  |  Branch (2205:5): [True: 5.70k, False: 17.3k]
  ------------------
 2206|  6.13k|    case OFPGC11_MODIFY:
  ------------------
  |  Branch (2206:5): [True: 432, False: 22.6k]
  ------------------
 2207|  6.62k|    case OFPGC11_ADD_OR_MOD:
  ------------------
  |  Branch (2207:5): [True: 485, False: 22.5k]
  ------------------
 2208|  6.69k|    case OFPGC11_DELETE:
  ------------------
  |  Branch (2208:5): [True: 79, False: 22.9k]
  ------------------
 2209|  9.02k|    default:
  ------------------
  |  Branch (2209:5): [True: 2.32k, False: 20.7k]
  ------------------
 2210|  9.02k|        if (gm->command_bucket_id == OFPG15_BUCKET_ALL) {
  ------------------
  |  Branch (2210:13): [True: 7.57k, False: 1.45k]
  ------------------
 2211|  7.57k|            error = 0;
 2212|  7.57k|        }
 2213|  9.02k|        break;
 2214|  23.0k|    }
 2215|  23.0k|    if (error) {
  ------------------
  |  Branch (2215:9): [True: 1.49k, False: 21.5k]
  ------------------
 2216|  1.49k|        VLOG_WARN_RL(&rl,
  ------------------
  |  |  224|  1.49k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.49k|    do {                                                                \
  |  |  |  |  288|  1.49k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.49k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.49k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.49k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.49k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2217|  1.49k|                     "group command bucket id (%u) is out of range",
 2218|  1.49k|                     gm->command_bucket_id);
 2219|  1.49k|        return OFPERR_OFPGMFC_BAD_BUCKET;
 2220|  1.49k|    }
 2221|       |
 2222|  21.5k|    bucket_list_len = ntohs(ogm->bucket_array_len);
 2223|  21.5k|    if (bucket_list_len > msg->size) {
  ------------------
  |  Branch (2223:9): [True: 873, False: 20.6k]
  ------------------
 2224|    873|        return OFPERR_OFPBRC_BAD_LEN;
 2225|    873|    }
 2226|  20.6k|    error = ofputil_pull_ofp15_buckets(msg, bucket_list_len, ofp_version,
 2227|  20.6k|                                       gm->type, &gm->buckets);
 2228|  20.6k|    if (error) {
  ------------------
  |  Branch (2228:9): [True: 7.27k, False: 13.4k]
  ------------------
 2229|  7.27k|        return error;
 2230|  7.27k|    }
 2231|       |
 2232|  13.4k|    error = parse_ofp15_group_properties(msg, gm->type, gm->command,
 2233|  13.4k|                                         &gm->props, msg->size);
 2234|  13.4k|    if (error) {
  ------------------
  |  Branch (2234:9): [True: 4.39k, False: 9.01k]
  ------------------
 2235|  4.39k|        ofputil_uninit_group_mod(gm);
 2236|  4.39k|    }
 2237|  13.4k|    return error;
 2238|  20.6k|}
ofp-group.c:ofputil_check_group_mod:
 2242|  16.7k|{
 2243|  16.7k|    switch (gm->type) {
 2244|  1.86k|    case OFPGT11_INDIRECT:
  ------------------
  |  Branch (2244:5): [True: 1.86k, False: 14.9k]
  ------------------
 2245|  1.86k|        if (gm->command != OFPGC11_DELETE
  ------------------
  |  Branch (2245:13): [True: 1.24k, False: 614]
  ------------------
 2246|  1.24k|            && !ovs_list_is_singleton(&gm->buckets) ) {
  ------------------
  |  Branch (2246:16): [True: 290, False: 958]
  ------------------
 2247|    290|            return OFPERR_OFPGMFC_INVALID_GROUP;
 2248|    290|        }
 2249|  1.57k|        break;
 2250|  4.81k|    case OFPGT11_ALL:
  ------------------
  |  Branch (2250:5): [True: 4.81k, False: 11.9k]
  ------------------
 2251|  10.4k|    case OFPGT11_SELECT:
  ------------------
  |  Branch (2251:5): [True: 5.65k, False: 11.1k]
  ------------------
 2252|  13.1k|    case OFPGT11_FF:
  ------------------
  |  Branch (2252:5): [True: 2.72k, False: 14.0k]
  ------------------
 2253|  13.1k|        break;
 2254|  1.72k|    default:
  ------------------
  |  Branch (2254:5): [True: 1.72k, False: 15.0k]
  ------------------
 2255|  1.72k|        return OFPERR_OFPGMFC_BAD_TYPE;
 2256|  16.7k|    }
 2257|       |
 2258|  14.7k|    switch (gm->command) {
 2259|  5.97k|    case OFPGC11_ADD:
  ------------------
  |  Branch (2259:5): [True: 5.97k, False: 8.79k]
  ------------------
 2260|  7.32k|    case OFPGC11_MODIFY:
  ------------------
  |  Branch (2260:5): [True: 1.35k, False: 13.4k]
  ------------------
 2261|  7.69k|    case OFPGC11_ADD_OR_MOD:
  ------------------
  |  Branch (2261:5): [True: 369, False: 14.4k]
  ------------------
 2262|  8.39k|    case OFPGC11_DELETE:
  ------------------
  |  Branch (2262:5): [True: 696, False: 14.0k]
  ------------------
 2263|  12.9k|    case OFPGC15_INSERT_BUCKET:
  ------------------
  |  Branch (2263:5): [True: 4.58k, False: 10.1k]
  ------------------
 2264|  12.9k|        break;
 2265|  1.02k|    case OFPGC15_REMOVE_BUCKET:
  ------------------
  |  Branch (2265:5): [True: 1.02k, False: 13.7k]
  ------------------
 2266|  1.02k|        if (!ovs_list_is_empty(&gm->buckets)) {
  ------------------
  |  Branch (2266:13): [True: 195, False: 833]
  ------------------
 2267|    195|            return OFPERR_OFPGMFC_BAD_BUCKET;
 2268|    195|        }
 2269|    833|        break;
 2270|    833|    default:
  ------------------
  |  Branch (2270:5): [True: 772, False: 13.9k]
  ------------------
 2271|    772|        return OFPERR_OFPGMFC_BAD_COMMAND;
 2272|  14.7k|    }
 2273|       |
 2274|  13.8k|    struct ofputil_bucket *bucket;
 2275|  13.8k|    LIST_FOR_EACH (bucket, list_node, &gm->buckets) {
  ------------------
  |  |   76|  13.8k|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  13.8k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  13.8k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  22.3k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  22.3k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 10.0k, False: 12.2k]
  |  |  |  |  |  Branch (185:6): [True: 10.0k, False: 12.2k]
  |  |  |  |  ------------------
  |  |  |  |  186|  22.3k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  10.0k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  10.0k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  10.0k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  22.3k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  13.8k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  8.55k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  8.55k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2276|  10.0k|        if (bucket->weight && gm->type != OFPGT11_SELECT
  ------------------
  |  Branch (2276:13): [True: 814, False: 9.25k]
  |  Branch (2276:31): [True: 665, False: 149]
  ------------------
 2277|    665|            && gm->command != OFPGC15_INSERT_BUCKET) {
  ------------------
  |  Branch (2277:16): [True: 181, False: 484]
  ------------------
 2278|    181|            return OFPERR_OFPGMFC_INVALID_GROUP;
 2279|    181|        }
 2280|       |
 2281|  9.88k|        switch (gm->type) {
 2282|  4.51k|        case OFPGT11_ALL:
  ------------------
  |  Branch (2282:9): [True: 4.51k, False: 5.37k]
  ------------------
 2283|  5.40k|        case OFPGT11_INDIRECT:
  ------------------
  |  Branch (2283:9): [True: 888, False: 9.00k]
  ------------------
 2284|  5.40k|            if (ofputil_bucket_has_liveness(bucket)) {
  ------------------
  |  Branch (2284:17): [True: 259, False: 5.14k]
  ------------------
 2285|    259|                return OFPERR_OFPGMFC_WATCH_UNSUPPORTED;
 2286|    259|            }
 2287|  5.14k|            break;
 2288|  5.14k|        case OFPGT11_SELECT:
  ------------------
  |  Branch (2288:9): [True: 2.59k, False: 7.29k]
  ------------------
 2289|  2.59k|            break;
 2290|  1.89k|        case OFPGT11_FF:
  ------------------
  |  Branch (2290:9): [True: 1.89k, False: 7.99k]
  ------------------
 2291|  1.89k|            if (!ofputil_bucket_has_liveness(bucket)) {
  ------------------
  |  Branch (2291:17): [True: 1.07k, False: 825]
  ------------------
 2292|  1.07k|                return OFPERR_OFPGMFC_INVALID_GROUP;
 2293|  1.07k|            }
 2294|    825|            break;
 2295|    825|        default:
  ------------------
  |  Branch (2295:9): [True: 0, False: 9.88k]
  ------------------
 2296|       |            /* Returning BAD TYPE to be consistent
 2297|       |             * though gm->type has been checked already. */
 2298|      0|            return OFPERR_OFPGMFC_BAD_TYPE;
 2299|  9.88k|        }
 2300|  9.88k|    }
 2301|       |
 2302|  12.2k|    return 0;
 2303|  13.8k|}

ofputil_pull_ipfix_stats:
   75|  17.5k|{
   76|  17.5k|    enum ofperr error;
   77|  17.5k|    enum ofpraw raw;
   78|       |
   79|  17.5k|    memset(is, 0xFF, sizeof (*is));
   80|       |
   81|  17.5k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (81:14): [True: 13.7k, False: 3.76k]
  ------------------
   82|  17.5k|             : ofpraw_pull(&raw, msg));
   83|  17.5k|    if (error) {
  ------------------
  |  Branch (83:9): [True: 0, False: 17.5k]
  ------------------
   84|      0|        return error;
   85|      0|    }
   86|       |
   87|  17.5k|    if (!msg->size) {
  ------------------
  |  Branch (87:9): [True: 3.76k, False: 13.7k]
  ------------------
   88|  3.76k|        return EOF;
   89|  13.7k|    } else if (raw == OFPRAW_NXST_IPFIX_BRIDGE_REPLY ||
  ------------------
  |  Branch (89:16): [True: 878, False: 12.9k]
  ------------------
   90|  13.7k|               raw == OFPRAW_NXST_IPFIX_FLOW_REPLY) {
  ------------------
  |  Branch (90:16): [True: 12.9k, False: 0]
  ------------------
   91|  13.7k|        struct nx_ipfix_stats_reply *reply;
   92|       |
   93|  13.7k|        reply = ofpbuf_try_pull(msg, sizeof *reply);
   94|  13.7k|        return ofputil_ipfix_stats_from_nx(is, reply);
   95|  13.7k|    } else {
   96|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
   97|      0|    }
   98|  17.5k|}
ofputil_count_ipfix_stats:
  106|  2.89k|{
  107|  2.89k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  108|  2.89k|    ofpraw_pull_assert(&b);
  109|       |
  110|  2.89k|    return b.size / sizeof(struct ofputil_ipfix_stats);
  111|  2.89k|}
ofputil_format_ipfix_stats_bridge:
  150|    878|{
  151|    878|    ds_put_cstr(string, "\n  bridge ipfix: ");
  152|    878|    format_ipfix_stats(string, is, 16);
  153|    878|}
ofputil_format_ipfix_stats_flow:
  158|  12.9k|{
  159|  12.9k|    ds_put_cstr(string, "  id");
  160|  12.9k|    ds_put_format(string, " %3"PRIuSIZE": ", (size_t) is->collector_set_id);
  161|  12.9k|    format_ipfix_stats(string, is, 10);
  162|  12.9k|}
ofp-ipfix.c:ofputil_ipfix_stats_from_nx:
   57|  13.7k|{
   58|  13.7k|    is->collector_set_id = ntohl(reply->collector_set_id);
   59|  13.7k|    is->total_flows = ntohll(reply->total_flows);
   60|  13.7k|    is->current_flows = ntohll(reply->current_flows);
   61|  13.7k|    is->pkts = ntohll(reply->pkts);
   62|  13.7k|    is->ipv4_pkts = ntohll(reply->ipv4_pkts);
   63|  13.7k|    is->ipv6_pkts = ntohll(reply->ipv6_pkts);
   64|  13.7k|    is->error_pkts = ntohll(reply->error_pkts);
   65|  13.7k|    is->ipv4_error_pkts = ntohll(reply->ipv4_error_pkts);
   66|  13.7k|    is->ipv6_error_pkts = ntohll(reply->ipv6_error_pkts);
   67|  13.7k|    is->tx_pkts = ntohll(reply->tx_pkts);
   68|  13.7k|    is->tx_errors = ntohll(reply->tx_errors);
   69|       |
   70|  13.7k|    return 0;
   71|  13.7k|}
ofp-ipfix.c:format_ipfix_stats:
  133|  13.7k|{
  134|  13.7k|    print_ipfix_stat(string, "flows=", is->total_flows, 1);
  135|  13.7k|    print_ipfix_stat(string, "current flows=", is->current_flows, 1);
  136|  13.7k|    print_ipfix_stat(string, "sampled pkts=", is->pkts, 1);
  137|  13.7k|    print_ipfix_stat(string, "ipv4 ok=", is->ipv4_pkts, 1);
  138|  13.7k|    print_ipfix_stat(string, "ipv6 ok=", is->ipv6_pkts, 1);
  139|  13.7k|    print_ipfix_stat(string, "tx pkts=", is->tx_pkts, 0);
  140|  13.7k|    ds_put_char_multiple(string, ' ', indent);
  141|  13.7k|    print_ipfix_stat(string, "pkts errs=", is->error_pkts, 1);
  142|  13.7k|    print_ipfix_stat(string, "ipv4 errs=", is->ipv4_error_pkts, 1);
  143|  13.7k|    print_ipfix_stat(string, "ipv6 errs=", is->ipv6_error_pkts, 1);
  144|  13.7k|    print_ipfix_stat(string, "tx errs=", is->tx_errors, 0);
  145|  13.7k|}
ofp-ipfix.c:print_ipfix_stat:
  116|   137k|{
  117|   137k|    ds_put_cstr(string, leader);
  118|   137k|    if (stat != UINT64_MAX) {
  ------------------
  |  Branch (118:9): [True: 113k, False: 24.6k]
  ------------------
  119|   113k|        ds_put_format(string, "%"PRIu64, stat);
  120|   113k|    } else {
  121|  24.6k|        ds_put_char(string, '?');
  122|  24.6k|    }
  123|   137k|    if (more) {
  ------------------
  |  Branch (123:9): [True: 110k, False: 27.5k]
  ------------------
  124|   110k|        ds_put_cstr(string, ", ");
  125|   110k|    } else {
  126|  27.5k|        ds_put_cstr(string, "\n");
  127|  27.5k|    }
  128|   137k|}

ofputil_wildcard_from_ofpfw10:
   67|  70.2k|{
   68|  70.2k|    BUILD_ASSERT_DECL(FLOW_WC_SEQ == 43);
  ------------------
  |  |  270|  70.2k|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  ------------------
   69|       |
   70|       |    /* Initialize most of wc. */
   71|  70.2k|    flow_wildcards_init_catchall(wc);
   72|       |
   73|  70.2k|    if (!(ofpfw & OFPFW10_IN_PORT)) {
  ------------------
  |  Branch (73:9): [True: 60.7k, False: 9.50k]
  ------------------
   74|  60.7k|        wc->masks.in_port.ofp_port = u16_to_ofp(UINT16_MAX);
   75|  60.7k|    }
   76|       |
   77|  70.2k|    if (!(ofpfw & OFPFW10_NW_TOS)) {
  ------------------
  |  Branch (77:9): [True: 47.5k, False: 22.6k]
  ------------------
   78|  47.5k|        wc->masks.nw_tos |= IP_DSCP_MASK;
  ------------------
  |  |  724|  47.5k|#define IP_DSCP_MASK 0xfc
  ------------------
   79|  47.5k|    }
   80|       |
   81|  70.2k|    if (!(ofpfw & OFPFW10_NW_PROTO)) {
  ------------------
  |  Branch (81:9): [True: 52.3k, False: 17.9k]
  ------------------
   82|  52.3k|        wc->masks.nw_proto = UINT8_MAX;
   83|  52.3k|    }
   84|  70.2k|    wc->masks.nw_src = ofputil_wcbits_to_netmask(ofpfw
   85|  70.2k|                                                 >> OFPFW10_NW_SRC_SHIFT);
   86|  70.2k|    wc->masks.nw_dst = ofputil_wcbits_to_netmask(ofpfw
   87|  70.2k|                                                 >> OFPFW10_NW_DST_SHIFT);
   88|       |
   89|  70.2k|    if (!(ofpfw & OFPFW10_TP_SRC)) {
  ------------------
  |  Branch (89:9): [True: 54.5k, False: 15.6k]
  ------------------
   90|  54.5k|        wc->masks.tp_src = OVS_BE16_MAX;
  ------------------
  |  |   42|  54.5k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
   91|  54.5k|    }
   92|  70.2k|    if (!(ofpfw & OFPFW10_TP_DST)) {
  ------------------
  |  Branch (92:9): [True: 52.6k, False: 17.6k]
  ------------------
   93|  52.6k|        wc->masks.tp_dst = OVS_BE16_MAX;
  ------------------
  |  |   42|  52.6k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
   94|  52.6k|    }
   95|       |
   96|  70.2k|    if (!(ofpfw & OFPFW10_DL_SRC)) {
  ------------------
  |  Branch (96:9): [True: 53.6k, False: 16.5k]
  ------------------
   97|  53.6k|        WC_MASK_FIELD(wc, dl_src);
  ------------------
  |  |  201|  53.6k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
   98|  53.6k|    }
   99|  70.2k|    if (!(ofpfw & OFPFW10_DL_DST)) {
  ------------------
  |  Branch (99:9): [True: 53.1k, False: 17.0k]
  ------------------
  100|  53.1k|        WC_MASK_FIELD(wc, dl_dst);
  ------------------
  |  |  201|  53.1k|    memset(&(WC)->masks.FIELD, 0xff, sizeof (WC)->masks.FIELD)
  ------------------
  101|  53.1k|    }
  102|  70.2k|    if (!(ofpfw & OFPFW10_DL_TYPE)) {
  ------------------
  |  Branch (102:9): [True: 64.1k, False: 6.06k]
  ------------------
  103|  64.1k|        wc->masks.dl_type = OVS_BE16_MAX;
  ------------------
  |  |   42|  64.1k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  104|  64.1k|    }
  105|       |
  106|       |    /* VLAN TCI mask. */
  107|  70.2k|    if (!(ofpfw & OFPFW10_DL_VLAN_PCP)) {
  ------------------
  |  Branch (107:9): [True: 50.2k, False: 19.9k]
  ------------------
  108|  50.2k|        wc->masks.vlans[0].tci |= htons(VLAN_PCP_MASK | VLAN_CFI);
  109|  50.2k|    }
  110|  70.2k|    if (!(ofpfw & OFPFW10_DL_VLAN)) {
  ------------------
  |  Branch (110:9): [True: 47.1k, False: 23.0k]
  ------------------
  111|       |        wc->masks.vlans[0].tci |= htons(VLAN_VID_MASK | VLAN_CFI);
  112|  47.1k|    }
  113|  70.2k|}
ofputil_match_from_ofp10_match:
  119|  70.2k|{
  120|  70.2k|    uint32_t ofpfw = ntohl(ofmatch->wildcards) & OFPFW10_ALL;
  121|       |
  122|       |    /* Initialize match->wc. */
  123|  70.2k|    memset(&match->flow, 0, sizeof match->flow);
  124|  70.2k|    ofputil_wildcard_from_ofpfw10(ofpfw, &match->wc);
  125|  70.2k|    memset(&match->tun_md, 0, sizeof match->tun_md);
  126|       |
  127|       |    /* If any fields, except in_port, are matched, then we also need to match
  128|       |     * on the Ethernet packet_type. */
  129|  70.2k|    const uint32_t ofpfw_data_bits = (OFPFW10_NW_TOS | OFPFW10_NW_PROTO
  130|  70.2k|                                      | OFPFW10_TP_SRC | OFPFW10_TP_DST
  131|  70.2k|                                      | OFPFW10_DL_SRC | OFPFW10_DL_DST
  132|  70.2k|                                      | OFPFW10_DL_TYPE
  133|  70.2k|                                      | OFPFW10_DL_VLAN | OFPFW10_DL_VLAN_PCP);
  134|  70.2k|    if ((ofpfw & ofpfw_data_bits) != ofpfw_data_bits
  ------------------
  |  Branch (134:9): [True: 68.5k, False: 1.67k]
  ------------------
  135|  1.67k|        || ofputil_wcbits_to_netmask(ofpfw >> OFPFW10_NW_SRC_SHIFT)
  ------------------
  |  Branch (135:12): [True: 524, False: 1.14k]
  ------------------
  136|  69.5k|        || ofputil_wcbits_to_netmask(ofpfw >> OFPFW10_NW_DST_SHIFT)) {
  ------------------
  |  Branch (136:12): [True: 441, False: 705]
  ------------------
  137|  69.5k|        match_set_default_packet_type(match);
  138|  69.5k|    }
  139|       |
  140|       |    /* Initialize most of match->flow. */
  141|  70.2k|    match->flow.nw_src = ofmatch->nw_src;
  142|  70.2k|    match->flow.nw_dst = ofmatch->nw_dst;
  143|  70.2k|    match->flow.in_port.ofp_port = u16_to_ofp(ntohs(ofmatch->in_port));
  144|  70.2k|    match->flow.dl_type = ofputil_dl_type_from_openflow(ofmatch->dl_type);
  145|  70.2k|    match->flow.tp_src = ofmatch->tp_src;
  146|  70.2k|    match->flow.tp_dst = ofmatch->tp_dst;
  147|  70.2k|    match->flow.dl_src = ofmatch->dl_src;
  148|  70.2k|    match->flow.dl_dst = ofmatch->dl_dst;
  149|  70.2k|    match->flow.nw_tos = ofmatch->nw_tos & IP_DSCP_MASK;
  ------------------
  |  |  724|  70.2k|#define IP_DSCP_MASK 0xfc
  ------------------
  150|  70.2k|    match->flow.nw_proto = ofmatch->nw_proto;
  151|       |
  152|       |    /* Translate VLANs. */
  153|  70.2k|    if (!(ofpfw & OFPFW10_DL_VLAN) &&
  ------------------
  |  Branch (153:9): [True: 47.1k, False: 23.0k]
  ------------------
  154|  47.1k|        ofmatch->dl_vlan == htons(OFP10_VLAN_NONE)) {
  ------------------
  |  Branch (154:9): [True: 3.71k, False: 43.4k]
  ------------------
  155|       |        /* Match only packets without 802.1Q header.
  156|       |         *
  157|       |         * When OFPFW10_DL_VLAN_PCP is wildcarded, this is obviously correct.
  158|       |         *
  159|       |         * If OFPFW10_DL_VLAN_PCP is matched, the flow match is contradictory,
  160|       |         * because we can't have a specific PCP without an 802.1Q header.
  161|       |         * However, older versions of OVS treated this as matching packets
  162|       |         * withut an 802.1Q header, so we do here too. */
  163|  3.71k|        match->flow.vlans[0].tci = htons(0);
  164|  3.71k|        match->wc.masks.vlans[0].tci = htons(0xffff);
  165|  66.5k|    } else {
  166|  66.5k|        ovs_be16 vid, pcp, tci;
  167|  66.5k|        uint16_t hpcp;
  168|       |
  169|  66.5k|        vid = ofmatch->dl_vlan & htons(VLAN_VID_MASK);
  170|  66.5k|        hpcp = (ofmatch->dl_vlan_pcp << VLAN_PCP_SHIFT) & VLAN_PCP_MASK;
  ------------------
  |  |  498|  66.5k|#define VLAN_PCP_SHIFT 13
  ------------------
                      hpcp = (ofmatch->dl_vlan_pcp << VLAN_PCP_SHIFT) & VLAN_PCP_MASK;
  ------------------
  |  |  497|  66.5k|#define VLAN_PCP_MASK 0xe000
  ------------------
  171|  66.5k|        pcp = htons(hpcp);
  172|  66.5k|        tci = vid | pcp | htons(VLAN_CFI);
  173|  66.5k|        match->flow.vlans[0].tci = tci & match->wc.masks.vlans[0].tci;
  174|  66.5k|    }
  175|       |
  176|       |    /* Clean up. */
  177|  70.2k|    match_zero_wildcarded_fields(match);
  178|  70.2k|}
ofputil_pull_ofp11_match:
  262|  65.1k|{
  263|  65.1k|    struct ofp11_match_header *omh = buf->data;
  264|  65.1k|    uint16_t match_len;
  265|       |
  266|  65.1k|    if (buf->size < sizeof *omh) {
  ------------------
  |  Branch (266:9): [True: 214, False: 64.9k]
  ------------------
  267|    214|        return OFPERR_OFPBMC_BAD_LEN;
  268|    214|    }
  269|       |
  270|  64.9k|    match_len = ntohs(omh->length);
  271|       |
  272|  64.9k|    switch (ntohs(omh->type)) {
  273|  9.05k|    case OFPMT_STANDARD: {
  ------------------
  |  Branch (273:5): [True: 9.05k, False: 55.8k]
  ------------------
  274|  9.05k|        struct ofp11_match *om;
  275|       |
  276|  9.05k|        if (match_len != sizeof *om || buf->size < sizeof *om) {
  ------------------
  |  Branch (276:13): [True: 1.40k, False: 7.65k]
  |  Branch (276:40): [True: 38, False: 7.61k]
  ------------------
  277|  1.43k|            return OFPERR_OFPBMC_BAD_LEN;
  278|  1.43k|        }
  279|  7.61k|        om = ofpbuf_pull(buf, sizeof *om);
  280|  7.61k|        if (padded_match_len) {
  ------------------
  |  Branch (280:13): [True: 366, False: 7.25k]
  ------------------
  281|    366|            *padded_match_len = match_len;
  282|    366|        }
  283|  7.61k|        return ofputil_match_from_ofp11_match(om, match);
  284|  9.05k|    }
  285|       |
  286|  48.9k|    case OFPMT_OXM:
  ------------------
  |  Branch (286:5): [True: 48.9k, False: 16.0k]
  ------------------
  287|  48.9k|        if (padded_match_len) {
  ------------------
  |  Branch (287:13): [True: 12.2k, False: 36.6k]
  ------------------
  288|  12.2k|            *padded_match_len = ROUND_UP(match_len, 8);
  ------------------
  |  |  303|  12.2k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  12.2k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  289|  12.2k|        }
  290|  48.9k|        return oxm_pull_match(buf, false, tun_table, vl_mff_map, match);
  291|       |
  292|  6.94k|    default:
  ------------------
  |  Branch (292:5): [True: 6.94k, False: 57.9k]
  ------------------
  293|  6.94k|        return OFPERR_OFPBMC_BAD_TYPE;
  294|  64.9k|    }
  295|  64.9k|}
ofputil_match_from_ofp11_match:
  302|  7.61k|{
  303|  7.61k|    uint16_t wc = ntohl(ofmatch->wildcards);
  304|  7.61k|    bool ipv4, arp, rarp;
  305|       |
  306|  7.61k|    match_init_catchall(match);
  307|  7.61k|    match->flow.tunnel.metadata.tab = NULL;
  308|       |
  309|  7.61k|    if (!(wc & OFPFW11_IN_PORT)) {
  ------------------
  |  Branch (309:9): [True: 3.42k, False: 4.19k]
  ------------------
  310|  3.42k|        ofp_port_t ofp_port;
  311|  3.42k|        enum ofperr error;
  312|       |
  313|  3.42k|        error = ofputil_port_from_ofp11(ofmatch->in_port, &ofp_port);
  314|  3.42k|        if (error) {
  ------------------
  |  Branch (314:13): [True: 75, False: 3.35k]
  ------------------
  315|     75|            return OFPERR_OFPBMC_BAD_VALUE;
  316|     75|        }
  317|  3.35k|        match_set_in_port(match, ofp_port);
  318|  3.35k|    }
  319|       |
  320|  7.54k|    struct eth_addr dl_src_mask = eth_addr_invert(ofmatch->dl_src_mask);
  321|  7.54k|    struct eth_addr dl_dst_mask = eth_addr_invert(ofmatch->dl_dst_mask);
  322|  7.54k|    if (!eth_addr_is_zero(dl_src_mask) || !eth_addr_is_zero(dl_dst_mask)) {
  ------------------
  |  Branch (322:9): [True: 6.92k, False: 613]
  |  Branch (322:43): [True: 516, False: 97]
  ------------------
  323|  7.44k|        match_set_dl_src_masked(match, ofmatch->dl_src, dl_src_mask);
  324|  7.44k|        match_set_dl_dst_masked(match, ofmatch->dl_dst, dl_dst_mask);
  325|  7.44k|        match_set_default_packet_type(match);
  326|  7.44k|    }
  327|       |
  328|  7.54k|    if (!(wc & OFPFW11_DL_VLAN)) {
  ------------------
  |  Branch (328:9): [True: 5.91k, False: 1.62k]
  ------------------
  329|  5.91k|        if (ofmatch->dl_vlan == htons(OFPVID11_NONE)) {
  ------------------
  |  Branch (329:13): [True: 1.97k, False: 3.93k]
  ------------------
  330|       |            /* Match only packets without a VLAN tag. */
  331|  1.97k|            match->flow.vlans[0].tci = htons(0);
  332|  1.97k|            match->wc.masks.vlans[0].tci = OVS_BE16_MAX;
  ------------------
  |  |   42|  1.97k|#define OVS_BE16_MAX ((OVS_FORCE ovs_be16) 0xffff)
  ------------------
  333|  3.93k|        } else {
  334|  3.93k|            if (ofmatch->dl_vlan == htons(OFPVID11_ANY)) {
  ------------------
  |  Branch (334:17): [True: 1.20k, False: 2.72k]
  ------------------
  335|       |                /* Match any packet with a VLAN tag regardless of VID. */
  336|  1.20k|                match->flow.vlans[0].tci = htons(VLAN_CFI);
  337|  1.20k|                match->wc.masks.vlans[0].tci = htons(VLAN_CFI);
  338|  2.72k|            } else if (ntohs(ofmatch->dl_vlan) < 4096) {
  ------------------
  |  Branch (338:24): [True: 2.50k, False: 228]
  ------------------
  339|       |                /* Match only packets with the specified VLAN VID. */
  340|  2.50k|                match->flow.vlans[0].tci = htons(VLAN_CFI) | ofmatch->dl_vlan;
  341|  2.50k|                match->wc.masks.vlans[0].tci = htons(VLAN_CFI | VLAN_VID_MASK);
  342|  2.50k|            } else {
  343|       |                /* Invalid VID. */
  344|    228|                return OFPERR_OFPBMC_BAD_VALUE;
  345|    228|            }
  346|       |
  347|  3.70k|            if (!(wc & OFPFW11_DL_VLAN_PCP)) {
  ------------------
  |  Branch (347:17): [True: 1.48k, False: 2.22k]
  ------------------
  348|  1.48k|                if (ofmatch->dl_vlan_pcp <= 7) {
  ------------------
  |  Branch (348:21): [True: 1.42k, False: 60]
  ------------------
  349|  1.42k|                    match->flow.vlans[0].tci |= htons(ofmatch->dl_vlan_pcp
  350|  1.42k|                                                  << VLAN_PCP_SHIFT);
  351|  1.42k|                    match->wc.masks.vlans[0].tci |= htons(VLAN_PCP_MASK);
  352|  1.42k|                } else {
  353|       |                    /* Invalid PCP. */
  354|     60|                    return OFPERR_OFPBMC_BAD_VALUE;
  355|     60|                }
  356|  1.48k|            }
  357|  3.70k|        }
  358|  5.62k|        match_set_default_packet_type(match);
  359|  5.62k|    }
  360|       |
  361|  7.25k|    if (!(wc & OFPFW11_DL_TYPE)) {
  ------------------
  |  Branch (361:9): [True: 5.46k, False: 1.78k]
  ------------------
  362|  5.46k|        match_set_dl_type(match,
  363|  5.46k|                          ofputil_dl_type_from_openflow(ofmatch->dl_type));
  364|  5.46k|        match_set_default_packet_type(match);
  365|  5.46k|    }
  366|       |
  367|  7.25k|    ipv4 = match->flow.dl_type == htons(ETH_TYPE_IP);
  368|  7.25k|    arp = match->flow.dl_type == htons(ETH_TYPE_ARP);
  369|  7.25k|    rarp = match->flow.dl_type == htons(ETH_TYPE_RARP);
  370|       |
  371|  7.25k|    if (ipv4 && !(wc & OFPFW11_NW_TOS)) {
  ------------------
  |  Branch (371:9): [True: 1.38k, False: 5.87k]
  |  Branch (371:17): [True: 1.20k, False: 176]
  ------------------
  372|  1.20k|        if (ofmatch->nw_tos & ~IP_DSCP_MASK) {
  ------------------
  |  |  724|  1.20k|#define IP_DSCP_MASK 0xfc
  ------------------
  |  Branch (372:13): [True: 43, False: 1.16k]
  ------------------
  373|       |            /* Invalid TOS. */
  374|     43|            return OFPERR_OFPBMC_BAD_VALUE;
  375|     43|        }
  376|       |
  377|  1.16k|        match_set_nw_dscp(match, ofmatch->nw_tos);
  378|  1.16k|    }
  379|       |
  380|  7.21k|    if (ipv4 || arp || rarp) {
  ------------------
  |  Branch (380:9): [True: 1.34k, False: 5.87k]
  |  Branch (380:17): [True: 442, False: 5.42k]
  |  Branch (380:24): [True: 50, False: 5.37k]
  ------------------
  381|  1.83k|        if (!(wc & OFPFW11_NW_PROTO)) {
  ------------------
  |  Branch (381:13): [True: 1.46k, False: 369]
  ------------------
  382|  1.46k|            match_set_nw_proto(match, ofmatch->nw_proto);
  383|  1.46k|        }
  384|  1.83k|        match_set_nw_src_masked(match, ofmatch->nw_src, ~ofmatch->nw_src_mask);
  385|  1.83k|        match_set_nw_dst_masked(match, ofmatch->nw_dst, ~ofmatch->nw_dst_mask);
  386|  1.83k|    }
  387|       |
  388|  7.21k|#define OFPFW11_TP_ALL (OFPFW11_TP_SRC | OFPFW11_TP_DST)
  389|  7.21k|    if (ipv4 && (wc & OFPFW11_TP_ALL) != OFPFW11_TP_ALL) {
  ------------------
  |  |  388|  1.34k|#define OFPFW11_TP_ALL (OFPFW11_TP_SRC | OFPFW11_TP_DST)
  ------------------
                  if (ipv4 && (wc & OFPFW11_TP_ALL) != OFPFW11_TP_ALL) {
  ------------------
  |  |  388|  1.34k|#define OFPFW11_TP_ALL (OFPFW11_TP_SRC | OFPFW11_TP_DST)
  ------------------
  |  Branch (389:9): [True: 1.34k, False: 5.87k]
  |  Branch (389:17): [True: 1.17k, False: 168]
  ------------------
  390|  1.17k|        switch (match->flow.nw_proto) {
  391|    330|        case IPPROTO_ICMP:
  ------------------
  |  Branch (391:9): [True: 330, False: 842]
  ------------------
  392|       |            /* "A.2.3 Flow Match Structures" in OF1.1 says:
  393|       |             *
  394|       |             *    The tp_src and tp_dst fields will be ignored unless the
  395|       |             *    network protocol specified is as TCP, UDP or SCTP.
  396|       |             *
  397|       |             * but I'm pretty sure we should support ICMP too, otherwise
  398|       |             * that's a regression from OF1.0. */
  399|    330|            if (!(wc & OFPFW11_TP_SRC)) {
  ------------------
  |  Branch (399:17): [True: 320, False: 10]
  ------------------
  400|    320|                uint16_t icmp_type = ntohs(ofmatch->tp_src);
  401|    320|                if (icmp_type < 0x100) {
  ------------------
  |  Branch (401:21): [True: 199, False: 121]
  ------------------
  402|    199|                    match_set_icmp_type(match, icmp_type);
  403|    199|                } else {
  404|    121|                    return OFPERR_OFPBMC_BAD_FIELD;
  405|    121|                }
  406|    320|            }
  407|    209|            if (!(wc & OFPFW11_TP_DST)) {
  ------------------
  |  Branch (407:17): [True: 172, False: 37]
  ------------------
  408|    172|                uint16_t icmp_code = ntohs(ofmatch->tp_dst);
  409|    172|                if (icmp_code < 0x100) {
  ------------------
  |  Branch (409:21): [True: 68, False: 104]
  ------------------
  410|     68|                    match_set_icmp_code(match, icmp_code);
  411|    104|                } else {
  412|    104|                    return OFPERR_OFPBMC_BAD_FIELD;
  413|    104|                }
  414|    172|            }
  415|    105|            break;
  416|       |
  417|    105|        case IPPROTO_TCP:
  ------------------
  |  Branch (417:9): [True: 37, False: 1.13k]
  ------------------
  418|     48|        case IPPROTO_UDP:
  ------------------
  |  Branch (418:9): [True: 11, False: 1.16k]
  ------------------
  419|    591|        case IPPROTO_SCTP:
  ------------------
  |  Branch (419:9): [True: 543, False: 629]
  ------------------
  420|    591|            if (!(wc & (OFPFW11_TP_SRC))) {
  ------------------
  |  Branch (420:17): [True: 48, False: 543]
  ------------------
  421|     48|                match_set_tp_src(match, ofmatch->tp_src);
  422|     48|            }
  423|    591|            if (!(wc & (OFPFW11_TP_DST))) {
  ------------------
  |  Branch (423:17): [True: 545, False: 46]
  ------------------
  424|    545|                match_set_tp_dst(match, ofmatch->tp_dst);
  425|    545|            }
  426|    591|            break;
  427|       |
  428|    251|        default:
  ------------------
  |  Branch (428:9): [True: 251, False: 921]
  ------------------
  429|       |            /* OF1.1 says explicitly to ignore this. */
  430|    251|            break;
  431|  1.17k|        }
  432|  1.17k|    }
  433|       |
  434|  6.98k|    if (eth_type_mpls(match->flow.dl_type)) {
  ------------------
  |  Branch (434:9): [True: 1.31k, False: 5.67k]
  ------------------
  435|  1.31k|        if (!(wc & OFPFW11_MPLS_LABEL)) {
  ------------------
  |  Branch (435:13): [True: 977, False: 333]
  ------------------
  436|    977|            match_set_mpls_label(match, 0, ofmatch->mpls_label);
  437|    977|        }
  438|  1.31k|        if (!(wc & OFPFW11_MPLS_TC)) {
  ------------------
  |  Branch (438:13): [True: 1.18k, False: 122]
  ------------------
  439|  1.18k|            match_set_mpls_tc(match, 0, ofmatch->mpls_tc);
  440|  1.18k|        }
  441|  1.31k|    }
  442|       |
  443|  6.98k|    match_set_metadata_masked(match, ofmatch->metadata,
  444|  6.98k|                              ~ofmatch->metadata_mask);
  445|       |
  446|  6.98k|    return 0;
  447|  7.21k|}
ofputil_dl_type_from_openflow:
  632|  75.7k|{
  633|  75.7k|    return (ofp_dl_type == htons(OFP_DL_TYPE_NOT_ETH_TYPE)
  ------------------
  |  Branch (633:13): [True: 30, False: 75.6k]
  ------------------
  634|  75.7k|            ? htons(FLOW_DL_TYPE_NONE)
  635|  75.7k|            : ofp_dl_type);
  636|  75.7k|}
ofputil_decode_tlv_table_mod:
  709|  2.39k|{
  710|  2.39k|    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
  711|  2.39k|    ofpraw_pull_assert(&msg);
  712|       |
  713|  2.39k|    struct nx_tlv_table_mod *nx_ttm = ofpbuf_pull(&msg, sizeof *nx_ttm);
  714|  2.39k|    ttm->command = ntohs(nx_ttm->command);
  715|  2.39k|    if (ttm->command > NXTTMC_CLEAR) {
  ------------------
  |  Branch (715:9): [True: 685, False: 1.71k]
  ------------------
  716|    685|        VLOG_WARN_RL(&rl, "tlv table mod command (%u) is out of range",
  ------------------
  |  |  224|    685|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    685|    do {                                                                \
  |  |  |  |  288|    685|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    685|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 685]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    685|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 685]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  717|    685|                     ttm->command);
  718|    685|        return OFPERR_NXTTMFC_BAD_COMMAND;
  719|    685|    }
  720|       |
  721|  1.71k|    return decode_tlv_table_mappings(&msg, TUN_METADATA_NUM_OPTS,
  ------------------
  |  |   26|  1.71k|#define TUN_METADATA_NUM_OPTS 64
  ------------------
  722|  1.71k|                                        &ttm->mappings);
  723|  2.39k|}
ofputil_format_tlv_table_mod:
  745|  1.03k|{
  746|  1.03k|    ds_put_cstr(s, "\n ");
  747|       |
  748|  1.03k|    switch (ttm->command) {
  ------------------
  |  Branch (748:13): [True: 1.03k, False: 0]
  ------------------
  749|    824|    case NXTTMC_ADD:
  ------------------
  |  Branch (749:5): [True: 824, False: 208]
  ------------------
  750|    824|        ds_put_cstr(s, "ADD");
  751|    824|        break;
  752|    190|    case NXTTMC_DELETE:
  ------------------
  |  Branch (752:5): [True: 190, False: 842]
  ------------------
  753|    190|        ds_put_cstr(s, "DEL");
  754|    190|        break;
  755|     18|    case NXTTMC_CLEAR:
  ------------------
  |  Branch (755:5): [True: 18, False: 1.01k]
  ------------------
  756|     18|        ds_put_cstr(s, "CLEAR");
  757|     18|        break;
  758|  1.03k|    }
  759|       |
  760|  1.03k|    if (ttm->command != NXTTMC_CLEAR) {
  ------------------
  |  Branch (760:9): [True: 1.01k, False: 18]
  ------------------
  761|  1.01k|        print_tlv_table(s, &ttm->mappings);
  762|  1.01k|    }
  763|  1.03k|}
ofputil_decode_tlv_table_reply:
  791|  2.98k|{
  792|  2.98k|    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
  793|  2.98k|    ofpraw_pull_assert(&msg);
  794|       |
  795|  2.98k|    struct nx_tlv_table_reply *nx_ttr = ofpbuf_pull(&msg, sizeof *nx_ttr);
  796|  2.98k|    ttr->max_option_space = ntohl(nx_ttr->max_option_space);
  797|  2.98k|    ttr->max_fields = ntohs(nx_ttr->max_fields);
  798|       |
  799|  2.98k|    return decode_tlv_table_mappings(&msg, ttr->max_fields, &ttr->mappings);
  800|  2.98k|}
ofputil_format_tlv_table_reply:
  839|    826|{
  840|    826|    ds_put_char(s, '\n');
  841|       |
  842|    826|    const struct ofputil_tlv_map *map;
  843|    826|    int allocated_space = 0;
  844|  1.33k|    LIST_FOR_EACH (map, list_node, &ttr->mappings) {
  ------------------
  |  |   76|    826|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|    826|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|    826|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  2.16k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  2.16k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 1.33k, False: 826]
  |  |  |  |  |  Branch (185:6): [True: 1.33k, False: 826]
  |  |  |  |  ------------------
  |  |  |  |  186|  2.16k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.33k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  1.33k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  1.33k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  2.16k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  1.33k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  1.33k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  1.33k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  845|  1.33k|        allocated_space += map->option_len;
  846|  1.33k|    }
  847|       |
  848|    826|    ds_put_format(s, " max option space=%"PRIu32" max fields=%"PRIu16"\n",
  849|    826|                  ttr->max_option_space, ttr->max_fields);
  850|    826|    ds_put_format(s, " allocated option space=%d\n", allocated_space);
  851|    826|    ds_put_char(s, '\n');
  852|    826|    print_tlv_table(s, &ttr->mappings);
  853|    826|}
ofputil_uninit_tlv_table:
  857|  4.69k|{
  858|  4.69k|    struct ofputil_tlv_map *map;
  859|       |
  860|  10.3k|    LIST_FOR_EACH_POP (map, list_node, mappings) {
  ------------------
  |  |  140|  15.0k|    while (!ovs_list_is_empty(LIST) ?                                         \
  |  |  ------------------
  |  |  |  Branch (140:12): [True: 10.3k, False: 4.69k]
  |  |  |  Branch (140:12): [True: 10.3k, False: 4.69k]
  |  |  ------------------
  |  |  141|  15.0k|           (INIT_CONTAINER(ITER, ovs_list_pop_front(LIST), MEMBER), 1) :      \
  |  |  ------------------
  |  |  |  |  150|  10.3k|    ((OBJECT) = NULL, ASSIGN_CONTAINER(OBJECT, POINTER, MEMBER))
  |  |  |  |  ------------------
  |  |  |  |  |  |  143|  10.3k|    ((OBJECT) = OBJECT_CONTAINING(POINTER, OBJECT, MEMBER), (void) 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|  10.3k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  |  |  135|  10.3k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  108|  10.3k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  142|  15.0k|           (ITER = NULL, 0))
  ------------------
  861|  10.3k|        free(map);
  862|  10.3k|    }
  863|  4.69k|}
ofputil_normalize_match:
 1000|  66.5k|{
 1001|       |    ofputil_normalize_match__(match, true);
 1002|  66.5k|}
ofp-match.c:ofputil_wcbits_to_netmask:
   44|   143k|{
   45|   143k|    wcbits &= 0x3f;
   46|   143k|    return wcbits < 32 ? htonl(~((1u << wcbits) - 1)) : 0;
  ------------------
  |  Branch (46:12): [True: 101k, False: 41.8k]
  ------------------
   47|   143k|}
ofp-match.c:decode_tlv_table_mappings:
  672|  4.69k|{
  673|  4.69k|    ovs_list_init(mappings);
  674|       |
  675|  12.2k|    while (msg->size) {
  ------------------
  |  Branch (675:12): [True: 10.3k, False: 1.85k]
  ------------------
  676|  10.3k|        struct nx_tlv_map *nx_map;
  677|  10.3k|        struct ofputil_tlv_map *map;
  678|       |
  679|  10.3k|        nx_map = ofpbuf_pull(msg, sizeof *nx_map);
  680|  10.3k|        map = xmalloc(sizeof *map);
  681|  10.3k|        ovs_list_push_back(mappings, &map->list_node);
  682|       |
  683|  10.3k|        map->option_class = ntohs(nx_map->option_class);
  684|  10.3k|        map->option_type = nx_map->option_type;
  685|       |
  686|  10.3k|        map->option_len = nx_map->option_len;
  687|  10.3k|        if (map->option_len % 4 || map->option_len > TLV_MAX_OPT_SIZE) {
  ------------------
  |  |   26|  8.85k|#define TLV_MAX_OPT_SIZE 124
  ------------------
  |  Branch (687:13): [True: 1.51k, False: 8.85k]
  |  Branch (687:36): [True: 588, False: 8.27k]
  ------------------
  688|  2.10k|            VLOG_WARN_RL(&rl, "tlv table option length (%u) is not a "
  ------------------
  |  |  224|  2.10k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.10k|    do {                                                                \
  |  |  |  |  288|  2.10k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.10k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.10k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|  2.10k|                         "valid option size", map->option_len);
  690|  2.10k|            ofputil_uninit_tlv_table(mappings);
  691|  2.10k|            return OFPERR_NXTTMFC_BAD_OPT_LEN;
  692|  2.10k|        }
  693|       |
  694|  8.27k|        map->index = ntohs(nx_map->index);
  695|  8.27k|        if (map->index >= max_fields) {
  ------------------
  |  Branch (695:13): [True: 732, False: 7.53k]
  ------------------
  696|    732|            VLOG_WARN_RL(&rl, "tlv table field index (%u) is too large "
  ------------------
  |  |  224|    732|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    732|    do {                                                                \
  |  |  |  |  288|    732|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    732|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 732]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    732|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 732]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  697|    732|                         "(max %u)", map->index, max_fields - 1);
  698|    732|            ofputil_uninit_tlv_table(mappings);
  699|    732|            return OFPERR_NXTTMFC_BAD_FIELD_IDX;
  700|    732|        }
  701|  8.27k|    }
  702|       |
  703|  1.85k|    return 0;
  704|  4.69k|}
ofp-match.c:print_tlv_table:
  727|  1.84k|{
  728|  1.84k|    struct ofputil_tlv_map *map;
  729|       |
  730|  1.84k|    ds_put_cstr(s, " mapping table:\n");
  731|  1.84k|    ds_put_cstr(s, "  class  type  length  match field\n");
  732|  1.84k|    ds_put_cstr(s, " ------  ----  ------  --------------");
  733|       |
  734|  3.02k|    LIST_FOR_EACH (map, list_node, mappings) {
  ------------------
  |  |   76|  1.84k|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|  1.84k|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  1.84k|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|  4.86k|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|  4.86k|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 3.02k, False: 1.84k]
  |  |  |  |  |  Branch (185:6): [True: 3.02k, False: 1.84k]
  |  |  |  |  ------------------
  |  |  |  |  186|  4.86k|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  3.02k|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  3.02k|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  3.02k|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  4.86k|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|  3.02k|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|  3.02k|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|  3.02k|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  735|  3.02k|        ds_put_format(s, "\n %#6"PRIx16"  %#4"PRIx8"  %6"PRIu8"  "
  736|       |                      "tun_metadata%"PRIu16,
  737|  3.02k|                      map->option_class, map->option_type, map->option_len,
  738|  3.02k|                      map->index);
  739|  3.02k|    }
  740|  1.84k|}
ofp-match.c:ofputil_normalize_match__:
  867|  66.5k|{
  868|  66.5k|    enum {
  869|  66.5k|        MAY_NW_ADDR     = 1 << 0, /* nw_src, nw_dst */
  870|  66.5k|        MAY_TP_ADDR     = 1 << 1, /* tp_src, tp_dst */
  871|  66.5k|        MAY_NW_PROTO    = 1 << 2, /* nw_proto */
  872|  66.5k|        MAY_IPVx        = 1 << 3, /* tos, frag, ttl */
  873|  66.5k|        MAY_ARP_SHA     = 1 << 4, /* arp_sha */
  874|  66.5k|        MAY_ARP_THA     = 1 << 5, /* arp_tha */
  875|  66.5k|        MAY_IPV6        = 1 << 6, /* ipv6_src, ipv6_dst, ipv6_label */
  876|  66.5k|        MAY_ND_TARGET   = 1 << 7, /* nd_target */
  877|  66.5k|        MAY_MPLS        = 1 << 8, /* mpls label and tc */
  878|  66.5k|        MAY_ETHER       = 1 << 9, /* dl_src, dl_dst */
  879|  66.5k|    } may_match;
  880|       |
  881|  66.5k|    struct flow_wildcards wc = match->wc;
  882|  66.5k|    ovs_be16 dl_type;
  883|       |
  884|       |    /* Figure out what fields may be matched. */
  885|       |    /* Check the packet_type first and extract dl_type. */
  886|  66.5k|    if (wc.masks.packet_type == 0 || match_has_default_packet_type(match)) {
  ------------------
  |  Branch (886:9): [True: 685, False: 65.8k]
  |  Branch (886:38): [True: 65.8k, False: 0]
  ------------------
  887|  66.5k|        may_match = MAY_ETHER;
  888|  66.5k|        dl_type = match->flow.dl_type;
  889|  66.5k|    } else if (wc.masks.packet_type == OVS_BE32_MAX &&
  ------------------
  |  |   43|      0|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (889:16): [True: 0, False: 0]
  ------------------
  890|      0|               pt_ns(match->flow.packet_type) == OFPHTN_ETHERTYPE) {
  ------------------
  |  Branch (890:16): [True: 0, False: 0]
  ------------------
  891|      0|        may_match = 0;
  892|      0|        dl_type = pt_ns_type_be(match->flow.packet_type);
  893|      0|    } else {
  894|      0|        may_match = 0;
  895|      0|        dl_type = 0;
  896|      0|    }
  897|  66.5k|    if (dl_type == htons(ETH_TYPE_IP)) {
  ------------------
  |  Branch (897:9): [True: 14.7k, False: 51.8k]
  ------------------
  898|  14.7k|        may_match |= MAY_NW_PROTO | MAY_IPVx | MAY_NW_ADDR;
  899|  14.7k|        if (match->flow.nw_proto == IPPROTO_TCP ||
  ------------------
  |  Branch (899:13): [True: 1.43k, False: 13.3k]
  ------------------
  900|  13.3k|            match->flow.nw_proto == IPPROTO_UDP ||
  ------------------
  |  Branch (900:13): [True: 207, False: 13.1k]
  ------------------
  901|  13.1k|            match->flow.nw_proto == IPPROTO_SCTP ||
  ------------------
  |  Branch (901:13): [True: 1.36k, False: 11.7k]
  ------------------
  902|  11.7k|            match->flow.nw_proto == IPPROTO_ICMP) {
  ------------------
  |  Branch (902:13): [True: 1.73k, False: 10.0k]
  ------------------
  903|  4.74k|            may_match |= MAY_TP_ADDR;
  904|  4.74k|        }
  905|  51.8k|    } else if (dl_type == htons(ETH_TYPE_IPV6)) {
  ------------------
  |  Branch (905:16): [True: 2.96k, False: 48.8k]
  ------------------
  906|  2.96k|        may_match |= MAY_NW_PROTO | MAY_IPVx | MAY_IPV6;
  907|  2.96k|        if (match->flow.nw_proto == IPPROTO_TCP ||
  ------------------
  |  Branch (907:13): [True: 575, False: 2.38k]
  ------------------
  908|  2.38k|            match->flow.nw_proto == IPPROTO_UDP ||
  ------------------
  |  Branch (908:13): [True: 568, False: 1.82k]
  ------------------
  909|  1.82k|            match->flow.nw_proto == IPPROTO_SCTP) {
  ------------------
  |  Branch (909:13): [True: 207, False: 1.61k]
  ------------------
  910|  1.35k|            may_match |= MAY_TP_ADDR;
  911|  1.61k|        } else if (match->flow.nw_proto == IPPROTO_ICMPV6) {
  ------------------
  |  Branch (911:20): [True: 1.21k, False: 402]
  ------------------
  912|  1.21k|            may_match |= MAY_TP_ADDR;
  913|  1.21k|            if (match->flow.tp_src == htons(ND_NEIGHBOR_SOLICIT)) {
  ------------------
  |  Branch (913:17): [True: 198, False: 1.01k]
  ------------------
  914|    198|                may_match |= MAY_ND_TARGET | MAY_ARP_SHA;
  915|  1.01k|            } else if (match->flow.tp_src == htons(ND_NEIGHBOR_ADVERT)) {
  ------------------
  |  Branch (915:24): [True: 523, False: 490]
  ------------------
  916|    523|                may_match |= MAY_ND_TARGET | MAY_ARP_THA;
  917|    523|            }
  918|  1.21k|        }
  919|  48.8k|    } else if (dl_type == htons(ETH_TYPE_ARP) ||
  ------------------
  |  Branch (919:16): [True: 1.80k, False: 47.0k]
  ------------------
  920|  47.0k|               dl_type == htons(ETH_TYPE_RARP)) {
  ------------------
  |  Branch (920:16): [True: 331, False: 46.7k]
  ------------------
  921|  2.13k|        may_match |= MAY_NW_PROTO | MAY_NW_ADDR | MAY_ARP_SHA | MAY_ARP_THA;
  922|  46.7k|    } else if (eth_type_mpls(dl_type)) {
  ------------------
  |  Branch (922:16): [True: 256, False: 46.4k]
  ------------------
  923|    256|        may_match |= MAY_MPLS;
  924|    256|    }
  925|       |
  926|       |    /* Clear the fields that may not be matched. */
  927|  66.5k|    if (!(may_match & MAY_ETHER)) {
  ------------------
  |  Branch (927:9): [True: 0, False: 66.5k]
  ------------------
  928|      0|        wc.masks.dl_src = wc.masks.dl_dst = eth_addr_zero;
  929|      0|    }
  930|  66.5k|    if (!(may_match & MAY_NW_ADDR)) {
  ------------------
  |  Branch (930:9): [True: 49.6k, False: 16.8k]
  ------------------
  931|  49.6k|        wc.masks.nw_src = wc.masks.nw_dst = htonl(0);
  932|  49.6k|    }
  933|  66.5k|    if (!(may_match & MAY_TP_ADDR)) {
  ------------------
  |  Branch (933:9): [True: 59.2k, False: 7.30k]
  ------------------
  934|  59.2k|        wc.masks.tp_src = wc.masks.tp_dst = htons(0);
  935|  59.2k|    }
  936|  66.5k|    if (!(may_match & MAY_NW_PROTO)) {
  ------------------
  |  Branch (936:9): [True: 46.7k, False: 19.8k]
  ------------------
  937|  46.7k|        wc.masks.nw_proto = 0;
  938|  46.7k|    }
  939|  66.5k|    if (!(may_match & MAY_IPVx)) {
  ------------------
  |  Branch (939:9): [True: 48.8k, False: 17.7k]
  ------------------
  940|  48.8k|        wc.masks.nw_tos = 0;
  941|  48.8k|        wc.masks.nw_ttl = 0;
  942|  48.8k|    }
  943|  66.5k|    if (!(may_match & MAY_ARP_SHA)) {
  ------------------
  |  Branch (943:9): [True: 64.2k, False: 2.33k]
  ------------------
  944|  64.2k|        WC_UNMASK_FIELD(&wc, arp_sha);
  ------------------
  |  |  205|  64.2k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
  945|  64.2k|    }
  946|  66.5k|    if (!(may_match & MAY_ARP_THA)) {
  ------------------
  |  Branch (946:9): [True: 63.9k, False: 2.65k]
  ------------------
  947|  63.9k|        WC_UNMASK_FIELD(&wc, arp_tha);
  ------------------
  |  |  205|  63.9k|    memset(&(WC)->masks.FIELD, 0, sizeof (WC)->masks.FIELD)
  ------------------
  948|  63.9k|    }
  949|  66.5k|    if (!(may_match & MAY_IPV6)) {
  ------------------
  |  Branch (949:9): [True: 63.6k, False: 2.96k]
  ------------------
  950|  63.6k|        wc.masks.ipv6_src = wc.masks.ipv6_dst = in6addr_any;
  951|  63.6k|        wc.masks.ipv6_label = htonl(0);
  952|  63.6k|    }
  953|  66.5k|    if (!(may_match & MAY_ND_TARGET)) {
  ------------------
  |  Branch (953:9): [True: 65.8k, False: 721]
  ------------------
  954|  65.8k|        wc.masks.nd_target = in6addr_any;
  955|  65.8k|    }
  956|  66.5k|    if (!(may_match & MAY_MPLS)) {
  ------------------
  |  Branch (956:9): [True: 66.3k, False: 256]
  ------------------
  957|  66.3k|        memset(wc.masks.mpls_lse, 0, sizeof wc.masks.mpls_lse);
  958|  66.3k|    }
  959|       |
  960|       |    /* Log any changes. */
  961|  66.5k|    if (!flow_wildcards_equal(&wc, &match->wc)) {
  ------------------
  |  Branch (961:9): [True: 60.6k, False: 5.90k]
  ------------------
  962|  60.6k|        bool log = may_log && !VLOG_DROP_INFO(&rl);
  ------------------
  |  |  235|   121k|#define VLOG_DROP_INFO(RL) vlog_should_drop(&this_module, VLL_INFO, RL)
  ------------------
  |  Branch (962:20): [True: 60.6k, False: 0]
  |  Branch (962:31): [True: 0, False: 60.6k]
  ------------------
  963|  60.6k|        char *pre = (log
  ------------------
  |  Branch (963:22): [True: 0, False: 60.6k]
  ------------------
  964|  60.6k|                     ? match_to_string(match, NULL, OFP_DEFAULT_PRIORITY)
  ------------------
  |  |  138|      0|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  965|  60.6k|                     : NULL);
  966|       |
  967|  60.6k|        match->wc = wc;
  968|  60.6k|        match_zero_wildcarded_fields(match);
  969|       |
  970|  60.6k|        if (log) {
  ------------------
  |  Branch (970:13): [True: 0, False: 60.6k]
  ------------------
  971|      0|            char *post = match_to_string(match, NULL, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|      0|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  972|      0|            VLOG_INFO("normalization changed ofp_match, details:");
  ------------------
  |  |  210|      0|#define VLOG_INFO(...) VLOG(VLL_INFO, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|      0|    do {                                                \
  |  |  |  |  281|      0|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|      0|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  973|      0|            VLOG_INFO(" pre: %s", pre);
  ------------------
  |  |  210|      0|#define VLOG_INFO(...) VLOG(VLL_INFO, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|      0|    do {                                                \
  |  |  |  |  281|      0|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|      0|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  974|      0|            VLOG_INFO("post: %s", post);
  ------------------
  |  |  210|      0|#define VLOG_INFO(...) VLOG(VLL_INFO, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|      0|    do {                                                \
  |  |  |  |  281|      0|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|      0|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|      0|            free(pre);
  976|      0|            free(post);
  977|      0|        }
  978|  60.6k|    }
  979|  66.5k|}

ofputil_format_meter_id:
   34|  6.10k|{
   35|  6.10k|    if (meter_id <= OFPM13_MAX) {
  ------------------
  |  Branch (35:9): [True: 3.83k, False: 2.27k]
  ------------------
   36|  3.83k|        ds_put_format(s, "meter%c%"PRIu32, separator, meter_id);
   37|  3.83k|    } else {
   38|  2.27k|        const char *name;
   39|  2.27k|        switch (meter_id) {
   40|    503|        case OFPM13_SLOWPATH:
  ------------------
  |  Branch (40:9): [True: 503, False: 1.76k]
  ------------------
   41|    503|            name = "slowpath";
   42|    503|            break;
   43|    347|        case OFPM13_CONTROLLER:
  ------------------
  |  Branch (43:9): [True: 347, False: 1.92k]
  ------------------
   44|    347|            name = "controller";
   45|    347|            break;
   46|    282|        case OFPM13_ALL:
  ------------------
  |  Branch (46:9): [True: 282, False: 1.98k]
  ------------------
   47|    282|            name = "all";
   48|    282|            break;
   49|  1.13k|        default:
  ------------------
  |  Branch (49:9): [True: 1.13k, False: 1.13k]
  ------------------
   50|  1.13k|            name = "unknown";
   51|  2.27k|        }
   52|  2.27k|        ds_put_format(s, "meter%c%s", separator, name);
   53|  2.27k|    }
   54|  6.10k|}
ofputil_format_meter_band:
   59|  2.06k|{
   60|  2.06k|    ds_put_cstr(s, "\ntype=");
   61|  2.06k|    switch (mb->type) {
   62|  1.56k|    case OFPMBT13_DROP:
  ------------------
  |  Branch (62:5): [True: 1.56k, False: 499]
  ------------------
   63|  1.56k|        ds_put_cstr(s, "drop");
   64|  1.56k|        break;
   65|    499|    case OFPMBT13_DSCP_REMARK:
  ------------------
  |  Branch (65:5): [True: 499, False: 1.56k]
  ------------------
   66|    499|        ds_put_cstr(s, "dscp_remark");
   67|    499|        break;
   68|      0|    default:
  ------------------
  |  Branch (68:5): [True: 0, False: 2.06k]
  ------------------
   69|      0|        ds_put_format(s, "%u", mb->type);
   70|  2.06k|    }
   71|       |
   72|  2.06k|    ds_put_format(s, " rate=%"PRIu32, mb->rate);
   73|       |
   74|  2.06k|    if (flags & OFPMF13_BURST) {
  ------------------
  |  Branch (74:9): [True: 415, False: 1.65k]
  ------------------
   75|    415|        ds_put_format(s, " burst_size=%"PRIu32, mb->burst_size);
   76|    415|    }
   77|  2.06k|    if (mb->type == OFPMBT13_DSCP_REMARK) {
  ------------------
  |  Branch (77:9): [True: 499, False: 1.56k]
  ------------------
   78|       |        ds_put_format(s, " prec_level=%"PRIu8, mb->prec_level);
   79|    499|    }
   80|  2.06k|}
ofputil_decode_meter_mod:
  126|  4.44k|{
  127|  4.44k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  128|  4.44k|    ofpraw_pull_assert(&b);
  129|  4.44k|    const struct ofp13_meter_mod *omm = ofpbuf_pull(&b, sizeof *omm);
  130|       |
  131|       |    /* Translate the message. */
  132|  4.44k|    mm->command = ntohs(omm->command);
  133|  4.44k|    if (mm->command != OFPMC13_ADD &&
  ------------------
  |  Branch (133:9): [True: 2.49k, False: 1.94k]
  ------------------
  134|  2.49k|        mm->command != OFPMC13_MODIFY &&
  ------------------
  |  Branch (134:9): [True: 960, False: 1.53k]
  ------------------
  135|    960|        mm->command != OFPMC13_DELETE) {
  ------------------
  |  Branch (135:9): [True: 702, False: 258]
  ------------------
  136|    702|        return OFPERR_OFPMMFC_BAD_COMMAND;
  137|    702|    }
  138|  3.73k|    mm->meter.meter_id = ntohl(omm->meter_id);
  139|       |
  140|  3.73k|    if (mm->command == OFPMC13_DELETE) {
  ------------------
  |  Branch (140:9): [True: 258, False: 3.48k]
  ------------------
  141|    258|        mm->meter.flags = 0;
  142|    258|        mm->meter.n_bands = 0;
  143|    258|        mm->meter.bands = NULL;
  144|  3.48k|    } else {
  145|  3.48k|        enum ofperr error;
  146|       |
  147|  3.48k|        mm->meter.flags = ntohs(omm->flags);
  148|  3.48k|        if (mm->meter.flags & OFPMF13_KBPS &&
  ------------------
  |  Branch (148:13): [True: 1.60k, False: 1.87k]
  ------------------
  149|  1.60k|            mm->meter.flags & OFPMF13_PKTPS) {
  ------------------
  |  Branch (149:13): [True: 1.17k, False: 426]
  ------------------
  150|  1.17k|            return OFPERR_OFPMMFC_BAD_FLAGS;
  151|  1.17k|        }
  152|       |
  153|  2.30k|        error = ofputil_pull_bands(&b, b.size, &mm->meter.n_bands, bands);
  154|  2.30k|        if (error) {
  ------------------
  |  Branch (154:13): [True: 781, False: 1.52k]
  ------------------
  155|    781|            return error;
  156|    781|        }
  157|  1.52k|        mm->meter.bands = bands->data;
  158|  1.52k|    }
  159|  1.78k|    return 0;
  160|  3.73k|}
ofputil_decode_meter_request:
  164|  1.76k|{
  165|  1.76k|    const struct ofp13_meter_multipart_request *omr = ofpmsg_body(oh);
  166|       |    *meter_id = ntohl(omr->meter_id);
  167|  1.76k|}
ofputil_decode_meter_config:
  289|  3.10k|{
  290|  3.10k|    const struct ofp13_meter_config *omc;
  291|  3.10k|    enum ofperr err;
  292|       |
  293|       |    /* Pull OpenFlow headers for the first call. */
  294|  3.10k|    if (!msg->header) {
  ------------------
  |  Branch (294:9): [True: 1.84k, False: 1.25k]
  ------------------
  295|  1.84k|        ofpraw_pull_assert(msg);
  296|  1.84k|    }
  297|       |
  298|  3.10k|    if (!msg->size) {
  ------------------
  |  Branch (298:9): [True: 895, False: 2.21k]
  ------------------
  299|    895|        return EOF;
  300|    895|    }
  301|       |
  302|  2.21k|    omc = ofpbuf_try_pull(msg, sizeof *omc);
  303|  2.21k|    if (!omc) {
  ------------------
  |  Branch (303:9): [True: 0, False: 2.21k]
  ------------------
  304|      0|        VLOG_WARN_RL(&rl, "OFPMP_METER_CONFIG reply has %"PRIu32" leftover "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|      0|                     "bytes at end", msg->size);
  306|      0|        return OFPERR_OFPBRC_BAD_LEN;
  307|      0|    }
  308|       |
  309|  2.21k|    ofpbuf_clear(bands);
  310|  2.21k|    err = ofputil_pull_bands(msg, ntohs(omc->length) - sizeof *omc,
  311|  2.21k|                             &mc->n_bands, bands);
  312|  2.21k|    if (err) {
  ------------------
  |  Branch (312:9): [True: 951, False: 1.25k]
  ------------------
  313|    951|        return err;
  314|    951|    }
  315|  1.25k|    mc->meter_id = ntohl(omc->meter_id);
  316|  1.25k|    mc->flags = ntohs(omc->flags);
  317|  1.25k|    mc->bands = bands->data;
  318|       |
  319|  1.25k|    return 0;
  320|  2.21k|}
ofputil_format_meter_config:
  347|  3.03k|{
  348|  3.03k|    uint16_t i;
  349|       |
  350|  3.03k|    ofputil_format_meter_id(s, mc->meter_id, '=');
  351|  3.03k|    ds_put_char(s, ' ');
  352|       |
  353|  3.03k|    ofp_print_meter_flags(s, mc->flags);
  354|       |
  355|  3.03k|    ds_put_cstr(s, "bands=");
  356|  5.10k|    for (i = 0; i < mc->n_bands; ++i) {
  ------------------
  |  Branch (356:17): [True: 2.06k, False: 3.03k]
  ------------------
  357|  2.06k|        ofputil_format_meter_band(s, mc->flags, &mc->bands[i]);
  358|  2.06k|    }
  359|  3.03k|    ds_put_char(s, '\n');
  360|  3.03k|}
ofputil_decode_meter_stats:
  404|  2.85k|{
  405|  2.85k|    const struct ofp13_meter_stats *oms;
  406|  2.85k|    enum ofperr err;
  407|       |
  408|       |    /* Pull OpenFlow headers for the first call. */
  409|  2.85k|    if (!msg->header) {
  ------------------
  |  Branch (409:9): [True: 1.54k, False: 1.30k]
  ------------------
  410|  1.54k|        ofpraw_pull_assert(msg);
  411|  1.54k|    }
  412|       |
  413|  2.85k|    if (!msg->size) {
  ------------------
  |  Branch (413:9): [True: 402, False: 2.45k]
  ------------------
  414|    402|        return EOF;
  415|    402|    }
  416|       |
  417|  2.45k|    oms = ofpbuf_try_pull(msg, sizeof *oms);
  418|  2.45k|    if (!oms) {
  ------------------
  |  Branch (418:9): [True: 362, False: 2.09k]
  ------------------
  419|    362|        VLOG_WARN_RL(&rl, "OFPMP_METER reply has %"PRIu32" leftover bytes "
  ------------------
  |  |  224|    362|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    362|    do {                                                                \
  |  |  |  |  288|    362|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    362|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 362]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    362|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 362]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|    362|                     "at end", msg->size);
  421|    362|        return OFPERR_OFPBRC_BAD_LEN;
  422|    362|    }
  423|       |
  424|  2.09k|    ofpbuf_clear(bands);
  425|  2.09k|    err = ofputil_pull_band_stats(msg, ntohs(oms->len) - sizeof *oms,
  426|  2.09k|                                  &ms->n_bands, bands);
  427|  2.09k|    if (err) {
  ------------------
  |  Branch (427:9): [True: 783, False: 1.30k]
  ------------------
  428|    783|        return err;
  429|    783|    }
  430|  1.30k|    ms->meter_id = ntohl(oms->meter_id);
  431|  1.30k|    ms->flow_count = ntohl(oms->flow_count);
  432|  1.30k|    ms->packet_in_count = ntohll(oms->packet_in_count);
  433|  1.30k|    ms->byte_in_count = ntohll(oms->byte_in_count);
  434|  1.30k|    ms->duration_sec = ntohl(oms->duration_sec);
  435|  1.30k|    ms->duration_nsec = ntohl(oms->duration_nsec);
  436|  1.30k|    ms->bands = bands->data;
  437|       |
  438|  1.30k|    return 0;
  439|  2.09k|}
ofputil_format_meter_stats:
  443|  1.30k|{
  444|  1.30k|    uint16_t i;
  445|       |
  446|  1.30k|    ofputil_format_meter_id(s, ms->meter_id, ':');
  447|  1.30k|    ds_put_char(s, ' ');
  448|  1.30k|    ds_put_format(s, "flow_count:%"PRIu32" ", ms->flow_count);
  449|  1.30k|    ds_put_format(s, "packet_in_count:%"PRIu64" ", ms->packet_in_count);
  450|  1.30k|    ds_put_format(s, "byte_in_count:%"PRIu64" ", ms->byte_in_count);
  451|  1.30k|    ds_put_cstr(s, "duration:");
  452|  1.30k|    ofp_print_duration(s, ms->duration_sec, ms->duration_nsec);
  453|  1.30k|    ds_put_char(s, ' ');
  454|       |
  455|  1.30k|    ds_put_cstr(s, "bands:\n");
  456|  2.88k|    for (i = 0; i < ms->n_bands; ++i) {
  ------------------
  |  Branch (456:17): [True: 1.58k, False: 1.30k]
  ------------------
  457|  1.58k|        ds_put_format(s, "%d: ", i);
  458|  1.58k|        ds_put_format(s, "packet_count:%"PRIu64" ", ms->bands[i].packet_count);
  459|  1.58k|        ds_put_format(s, "byte_count:%"PRIu64"\n", ms->bands[i].byte_count);
  460|  1.58k|    }
  461|  1.30k|}
ofputil_decode_meter_features:
  466|    367|{
  467|    367|    const struct ofp13_meter_features *omf = ofpmsg_body(oh);
  468|       |
  469|    367|    mf->max_meters = ntohl(omf->max_meter);
  470|    367|    mf->band_types = ntohl(omf->band_types);
  471|       |    mf->capabilities = ntohl(omf->capabilities);
  472|    367|    mf->max_bands = omf->max_bands;
  473|    367|    mf->max_color = omf->max_color;
  474|    367|}
ofputil_format_meter_features:
  524|    367|{
  525|    367|    ds_put_format(s, "\nmax_meter:%"PRIu32, mf->max_meters);
  526|    367|    ds_put_format(s, " max_bands:%"PRIu8, mf->max_bands);
  527|    367|    ds_put_format(s, " max_color:%"PRIu8"\n", mf->max_color);
  528|       |
  529|    367|    ds_put_cstr(s, "band_types: ");
  530|    367|    ofp_print_bit_names(s, mf->band_types,
  531|    367|                        ofputil_meter_band_types_to_name, ' ');
  532|    367|    ds_put_char(s, '\n');
  533|       |
  534|    367|    ds_put_cstr(s, "capabilities: ");
  535|    367|    ofp_print_bit_names(s, mf->capabilities,
  536|    367|                        ofputil_meter_capabilities_to_name, ' ');
  537|    367|    ds_put_char(s, '\n');
  538|    367|}
ofputil_format_meter_mod:
  797|  1.78k|{
  798|  1.78k|    switch (mm->command) {
  799|    959|    case OFPMC13_ADD:
  ------------------
  |  Branch (799:5): [True: 959, False: 821]
  ------------------
  800|    959|        ds_put_cstr(s, " ADD ");
  801|    959|        break;
  802|    563|    case OFPMC13_MODIFY:
  ------------------
  |  Branch (802:5): [True: 563, False: 1.21k]
  ------------------
  803|    563|        ds_put_cstr(s, " MOD ");
  804|    563|        break;
  805|    258|    case OFPMC13_DELETE:
  ------------------
  |  Branch (805:5): [True: 258, False: 1.52k]
  ------------------
  806|    258|        ds_put_cstr(s, " DEL ");
  807|    258|        break;
  808|      0|    default:
  ------------------
  |  Branch (808:5): [True: 0, False: 1.78k]
  ------------------
  809|      0|        ds_put_format(s, " cmd:%d ", mm->command);
  810|  1.78k|    }
  811|       |
  812|  1.78k|    ofputil_format_meter_config(s, &mm->meter);
  813|  1.78k|}
ofp-meter.c:ofputil_pull_bands:
   85|  4.51k|{
   86|  4.51k|    const struct ofp13_meter_band_header *ombh;
   87|  4.51k|    struct ofputil_meter_band *mb;
   88|  4.51k|    uint16_t n = 0;
   89|       |
   90|  4.51k|    ombh = ofpbuf_try_pull(msg, len);
   91|  4.51k|    if (!ombh) {
  ------------------
  |  Branch (91:9): [True: 682, False: 3.83k]
  ------------------
   92|    682|        return OFPERR_OFPBRC_BAD_LEN;
   93|    682|    }
   94|       |
   95|  6.08k|    while (len >= sizeof (struct ofp13_meter_band_drop)) {
  ------------------
  |  Branch (95:12): [True: 3.24k, False: 2.83k]
  ------------------
   96|  3.24k|        size_t ombh_len = ntohs(ombh->len);
   97|       |        /* All supported band types have the same length. */
   98|  3.24k|        if (ombh_len != sizeof (struct ofp13_meter_band_drop)) {
  ------------------
  |  Branch (98:13): [True: 552, False: 2.69k]
  ------------------
   99|    552|            return OFPERR_OFPBRC_BAD_LEN;
  100|    552|        }
  101|  2.69k|        mb = ofpbuf_put_uninit(bands, sizeof *mb);
  102|  2.69k|        mb->type = ntohs(ombh->type);
  103|  2.69k|        if (mb->type != OFPMBT13_DROP && mb->type != OFPMBT13_DSCP_REMARK) {
  ------------------
  |  Branch (103:13): [True: 958, False: 1.73k]
  |  Branch (103:42): [True: 440, False: 518]
  ------------------
  104|    440|            return OFPERR_OFPMMFC_BAD_BAND;
  105|    440|        }
  106|  2.25k|        mb->rate = ntohl(ombh->rate);
  107|  2.25k|        mb->burst_size = ntohl(ombh->burst_size);
  108|  2.25k|        mb->prec_level = (mb->type == OFPMBT13_DSCP_REMARK) ?
  ------------------
  |  Branch (108:26): [True: 518, False: 1.73k]
  ------------------
  109|  1.73k|            ((struct ofp13_meter_band_dscp_remark *)ombh)->prec_level : 0;
  110|  2.25k|        n++;
  111|  2.25k|        len -= ombh_len;
  112|  2.25k|        ombh = ALIGNED_CAST(struct ofp13_meter_band_header *,
  ------------------
  |  |  434|  2.25k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  113|  2.25k|                            (char *) ombh + ombh_len);
  114|  2.25k|    }
  115|  2.83k|    if (len) {
  ------------------
  |  Branch (115:9): [True: 58, False: 2.78k]
  ------------------
  116|     58|        return OFPERR_OFPBRC_BAD_LEN;
  117|     58|    }
  118|  2.78k|    *n_bands = n;
  119|  2.78k|    return 0;
  120|  2.83k|}
ofp-meter.c:ofp_print_meter_flags:
  324|  3.03k|{
  325|  3.03k|    if (flags & OFPMF13_KBPS) {
  ------------------
  |  Branch (325:9): [True: 1.21k, False: 1.82k]
  ------------------
  326|  1.21k|        ds_put_cstr(s, "kbps ");
  327|  1.21k|    }
  328|  3.03k|    if (flags & OFPMF13_PKTPS) {
  ------------------
  |  Branch (328:9): [True: 828, False: 2.21k]
  ------------------
  329|    828|        ds_put_cstr(s, "pktps ");
  330|    828|    }
  331|  3.03k|    if (flags & OFPMF13_BURST) {
  ------------------
  |  Branch (331:9): [True: 607, False: 2.43k]
  ------------------
  332|    607|        ds_put_cstr(s, "burst ");
  333|    607|    }
  334|  3.03k|    if (flags & OFPMF13_STATS) {
  ------------------
  |  Branch (334:9): [True: 916, False: 2.12k]
  ------------------
  335|    916|        ds_put_cstr(s, "stats ");
  336|    916|    }
  337|       |
  338|  3.03k|    flags &= ~(OFPMF13_KBPS | OFPMF13_PKTPS | OFPMF13_BURST | OFPMF13_STATS);
  339|  3.03k|    if (flags) {
  ------------------
  |  Branch (339:9): [True: 1.86k, False: 1.17k]
  ------------------
  340|  1.86k|        ds_put_format(s, "flags:0x%x ", (unsigned)flags);
  341|  1.86k|    }
  342|  3.03k|}
ofp-meter.c:ofputil_pull_band_stats:
  365|  2.09k|{
  366|  2.09k|    const struct ofp13_meter_band_stats *ombs;
  367|  2.09k|    struct ofputil_meter_band_stats *mbs;
  368|  2.09k|    uint16_t n, i;
  369|       |
  370|  2.09k|    ombs = ofpbuf_try_pull(msg, len);
  371|  2.09k|    if (!ombs) {
  ------------------
  |  Branch (371:9): [True: 544, False: 1.54k]
  ------------------
  372|    544|        return OFPERR_OFPBRC_BAD_LEN;
  373|    544|    }
  374|       |
  375|  1.54k|    n = len / sizeof *ombs;
  376|  1.54k|    if (len != n * sizeof *ombs) {
  ------------------
  |  Branch (376:9): [True: 239, False: 1.30k]
  ------------------
  377|    239|        return OFPERR_OFPBRC_BAD_LEN;
  378|    239|    }
  379|       |
  380|  1.30k|    mbs = ofpbuf_put_uninit(bands, len);
  381|       |
  382|  2.88k|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (382:17): [True: 1.58k, False: 1.30k]
  ------------------
  383|  1.58k|        mbs[i].packet_count = ntohll(ombs[i].packet_band_count);
  384|  1.58k|        mbs[i].byte_count = ntohll(ombs[i].byte_band_count);
  385|  1.58k|    }
  386|  1.30k|    *n_bands = n;
  387|  1.30k|    return 0;
  388|  1.54k|}
ofp-meter.c:ofputil_meter_band_types_to_name:
  497|  3.74k|{
  498|  3.74k|    switch (bit) {
  ------------------
  |  Branch (498:13): [True: 239, False: 3.50k]
  ------------------
  499|    187|    case 1 << OFPMBT13_DROP:          return "drop";
  ------------------
  |  Branch (499:5): [True: 187, False: 3.56k]
  ------------------
  500|     52|    case 1 << OFPMBT13_DSCP_REMARK:   return "dscp_remark";
  ------------------
  |  Branch (500:5): [True: 52, False: 3.69k]
  ------------------
  501|  3.74k|    }
  502|       |
  503|  3.50k|    return NULL;
  504|  3.74k|}
ofp-meter.c:ofputil_meter_capabilities_to_name:
  508|  4.91k|{
  509|  4.91k|    enum ofp13_meter_flags flag = bit;
  510|       |
  511|  4.91k|    switch (flag) {
  ------------------
  |  Branch (511:13): [True: 720, False: 4.19k]
  ------------------
  512|    225|    case OFPMF13_KBPS:    return "kbps";
  ------------------
  |  Branch (512:5): [True: 225, False: 4.68k]
  ------------------
  513|    127|    case OFPMF13_PKTPS:   return "pktps";
  ------------------
  |  Branch (513:5): [True: 127, False: 4.78k]
  ------------------
  514|    208|    case OFPMF13_BURST:   return "burst";
  ------------------
  |  Branch (514:5): [True: 208, False: 4.70k]
  ------------------
  515|    160|    case OFPMF13_STATS:   return "stats";
  ------------------
  |  Branch (515:5): [True: 160, False: 4.75k]
  ------------------
  516|  4.91k|    }
  517|       |
  518|  4.19k|    return NULL;
  519|  4.91k|}

ofp_flow_removed_reason_to_string:
   44|  10.9k|{
   45|  10.9k|    switch (reason) {
   46|  2.41k|    case OFPRR_IDLE_TIMEOUT:
  ------------------
  |  Branch (46:5): [True: 2.41k, False: 8.57k]
  ------------------
   47|  2.41k|        return "idle";
   48|  1.74k|    case OFPRR_HARD_TIMEOUT:
  ------------------
  |  Branch (48:5): [True: 1.74k, False: 9.24k]
  ------------------
   49|  1.74k|        return "hard";
   50|  1.15k|    case OFPRR_DELETE:
  ------------------
  |  Branch (50:5): [True: 1.15k, False: 9.83k]
  ------------------
   51|  1.15k|        return "delete";
   52|  1.24k|    case OFPRR_GROUP_DELETE:
  ------------------
  |  Branch (52:5): [True: 1.24k, False: 9.74k]
  ------------------
   53|  1.24k|        return "group_delete";
   54|  1.46k|    case OFPRR_EVICTION:
  ------------------
  |  Branch (54:5): [True: 1.46k, False: 9.53k]
  ------------------
   55|  1.46k|        return "eviction";
   56|    701|    case OFPRR_METER_DELETE:
  ------------------
  |  Branch (56:5): [True: 701, False: 10.2k]
  ------------------
   57|    701|        return "meter_delete";
   58|      2|    case OVS_OFPRR_NONE:
  ------------------
  |  Branch (58:5): [True: 2, False: 10.9k]
  ------------------
   59|  2.26k|    default:
  ------------------
  |  Branch (59:5): [True: 2.26k, False: 8.73k]
  ------------------
   60|  2.26k|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
   61|  2.26k|        return reasonbuf;
   62|  10.9k|    }
   63|  10.9k|}
ofputil_decode_flow_removed:
   71|  9.53k|{
   72|  9.53k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
   73|  9.53k|    enum ofpraw raw = ofpraw_pull_assert(&b);
   74|  9.53k|    if (raw == OFPRAW_OFPT15_FLOW_REMOVED) {
  ------------------
  |  Branch (74:9): [True: 4.09k, False: 5.44k]
  ------------------
   75|  4.09k|        const struct ofp15_flow_removed *ofr;
   76|  4.09k|        enum ofperr error;
   77|       |
   78|  4.09k|        ofr = ofpbuf_pull(&b, sizeof *ofr);
   79|       |
   80|  4.09k|        error = ofputil_pull_ofp11_match(&b, NULL, NULL,  &fr->match, NULL);
   81|  4.09k|        if (error) {
  ------------------
  |  Branch (81:13): [True: 1.02k, False: 3.07k]
  ------------------
   82|  1.02k|            return error;
   83|  1.02k|        }
   84|       |
   85|  3.07k|        struct oxs_stats stats;
   86|  3.07k|        uint16_t statlen;
   87|  3.07k|        uint8_t oxs_field_set;
   88|  3.07k|        error = oxs_pull_stat(&b, &stats, &statlen, &oxs_field_set);
   89|  3.07k|        if (error) {
  ------------------
  |  Branch (89:13): [True: 2.43k, False: 637]
  ------------------
   90|  2.43k|            return error;
   91|  2.43k|        }
   92|       |
   93|    637|        fr->cookie = ofr->cookie;
   94|    637|        fr->priority = ntohs(ofr->priority);
   95|    637|        fr->reason = ofr->reason;
   96|    637|        fr->table_id = ofr->table_id;
   97|    637|        fr->duration_sec = stats.duration_sec;
   98|    637|        fr->duration_nsec = stats.duration_nsec;
   99|    637|        fr->idle_timeout = ntohs(ofr->idle_timeout);
  100|    637|        fr->hard_timeout = ntohs(ofr->hard_timeout);
  101|    637|        fr->packet_count = stats.packet_count;
  102|    637|        fr->byte_count = stats.byte_count;
  103|  5.44k|    } else if (raw == OFPRAW_OFPT11_FLOW_REMOVED) {
  ------------------
  |  Branch (103:16): [True: 4.24k, False: 1.19k]
  ------------------
  104|  4.24k|        const struct ofp12_flow_removed *ofr;
  105|  4.24k|        enum ofperr error;
  106|       |
  107|  4.24k|        ofr = ofpbuf_pull(&b, sizeof *ofr);
  108|       |
  109|  4.24k|        error = ofputil_pull_ofp11_match(&b, NULL, NULL, &fr->match, NULL);
  110|  4.24k|        if (error) {
  ------------------
  |  Branch (110:13): [True: 2.16k, False: 2.07k]
  ------------------
  111|  2.16k|            return error;
  112|  2.16k|        }
  113|       |
  114|  2.07k|        fr->priority = ntohs(ofr->priority);
  115|  2.07k|        fr->cookie = ofr->cookie;
  116|  2.07k|        fr->reason = ofr->reason;
  117|  2.07k|        fr->table_id = ofr->table_id;
  118|  2.07k|        fr->duration_sec = ntohl(ofr->duration_sec);
  119|  2.07k|        fr->duration_nsec = ntohl(ofr->duration_nsec);
  120|  2.07k|        fr->idle_timeout = ntohs(ofr->idle_timeout);
  121|  2.07k|        fr->hard_timeout = ntohs(ofr->hard_timeout);
  122|  2.07k|        fr->packet_count = ntohll(ofr->packet_count);
  123|  2.07k|        fr->byte_count = ntohll(ofr->byte_count);
  124|  2.07k|    } else if (raw == OFPRAW_OFPT10_FLOW_REMOVED) {
  ------------------
  |  Branch (124:16): [True: 275, False: 924]
  ------------------
  125|    275|        const struct ofp10_flow_removed *ofr;
  126|       |
  127|    275|        ofr = ofpbuf_pull(&b, sizeof *ofr);
  128|       |
  129|    275|        ofputil_match_from_ofp10_match(&ofr->match, &fr->match);
  130|    275|        fr->priority = ntohs(ofr->priority);
  131|    275|        fr->cookie = ofr->cookie;
  132|    275|        fr->reason = ofr->reason;
  133|    275|        fr->table_id = 255;
  134|    275|        fr->duration_sec = ntohl(ofr->duration_sec);
  135|    275|        fr->duration_nsec = ntohl(ofr->duration_nsec);
  136|    275|        fr->idle_timeout = ntohs(ofr->idle_timeout);
  137|    275|        fr->hard_timeout = 0;
  138|    275|        fr->packet_count = ntohll(ofr->packet_count);
  139|    275|        fr->byte_count = ntohll(ofr->byte_count);
  140|    924|    } else if (raw == OFPRAW_NXT_FLOW_REMOVED) {
  ------------------
  |  Branch (140:16): [True: 924, False: 0]
  ------------------
  141|    924|        struct nx_flow_removed *nfr;
  142|    924|        enum ofperr error;
  143|       |
  144|    924|        nfr = ofpbuf_pull(&b, sizeof *nfr);
  145|    924|        error = nx_pull_match(&b, ntohs(nfr->match_len), &fr->match, NULL,
  146|    924|                              NULL, false, NULL, NULL);
  147|    924|        if (error) {
  ------------------
  |  Branch (147:13): [True: 75, False: 849]
  ------------------
  148|     75|            return error;
  149|     75|        }
  150|    849|        if (b.size) {
  ------------------
  |  Branch (150:13): [True: 399, False: 450]
  ------------------
  151|    399|            return OFPERR_OFPBRC_BAD_LEN;
  152|    399|        }
  153|       |
  154|    450|        fr->priority = ntohs(nfr->priority);
  155|    450|        fr->cookie = nfr->cookie;
  156|    450|        fr->reason = nfr->reason;
  157|    450|        fr->table_id = nfr->table_id ? nfr->table_id - 1 : 255;
  ------------------
  |  Branch (157:24): [True: 236, False: 214]
  ------------------
  158|    450|        fr->duration_sec = ntohl(nfr->duration_sec);
  159|    450|        fr->duration_nsec = ntohl(nfr->duration_nsec);
  160|    450|        fr->idle_timeout = ntohs(nfr->idle_timeout);
  161|    450|        fr->hard_timeout = 0;
  162|    450|        fr->packet_count = ntohll(nfr->packet_count);
  163|    450|        fr->byte_count = ntohll(nfr->byte_count);
  164|    450|    } else {
  165|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  166|      0|    }
  167|       |
  168|  3.43k|    return 0;
  169|  9.53k|}
ofputil_flow_removed_format:
  302|  3.43k|{
  303|  3.43k|    char reasonbuf[OFP_FLOW_REMOVED_REASON_BUFSIZE];
  304|       |
  305|  3.43k|    ds_put_char(s, ' ');
  306|  3.43k|    match_format(&fr->match, port_map, s, fr->priority);
  307|       |
  308|  3.43k|    ds_put_format(s, " reason=%s",
  309|  3.43k|                  ofp_flow_removed_reason_to_string(fr->reason, reasonbuf,
  310|  3.43k|                                                    sizeof reasonbuf));
  311|       |
  312|  3.43k|    if (fr->table_id != 255) {
  ------------------
  |  Branch (312:9): [True: 2.87k, False: 565]
  ------------------
  313|  2.87k|        ds_put_format(s, " table_id=");
  314|  2.87k|        ofputil_format_table(fr->table_id, table_map, s);
  315|  2.87k|    }
  316|       |
  317|  3.43k|    if (fr->cookie != htonll(0)) {
  ------------------
  |  Branch (317:9): [True: 3.32k, False: 108]
  ------------------
  318|  3.32k|        ds_put_format(s, " cookie:0x%"PRIx64, ntohll(fr->cookie));
  319|  3.32k|    }
  320|  3.43k|    ds_put_cstr(s, " duration");
  321|  3.43k|    ofp_print_duration(s, fr->duration_sec, fr->duration_nsec);
  322|  3.43k|    ds_put_format(s, " idle%"PRIu16, fr->idle_timeout);
  323|  3.43k|    if (fr->hard_timeout) {
  ------------------
  |  Branch (323:9): [True: 1.22k, False: 2.21k]
  ------------------
  324|       |        /* The hard timeout was only added in OF1.2, so only print it if it is
  325|       |         * actually in use to avoid gratuitous change to the formatting. */
  326|       |        ds_put_format(s, " hard%"PRIu16, fr->hard_timeout);
  327|  1.22k|    }
  328|  3.43k|    ds_put_format(s, " pkts%"PRIu64" bytes%"PRIu64"\n",
  329|  3.43k|                  fr->packet_count, fr->byte_count);
  330|  3.43k|}
ofputil_decode_flow_monitor_request:
  439|  8.29k|{
  440|  8.29k|    uint16_t flags;
  441|  8.29k|    enum ofperr error;
  442|  8.29k|    enum ofpraw raw;
  443|       |
  444|  8.29k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (444:14): [True: 3.89k, False: 4.39k]
  ------------------
  445|  8.29k|             : ofpraw_pull(&raw, msg));
  446|  8.29k|    if (error) {
  ------------------
  |  Branch (446:9): [True: 0, False: 8.29k]
  ------------------
  447|      0|        return error;
  448|      0|    }
  449|       |
  450|  8.29k|    if (!msg->size) {
  ------------------
  |  Branch (450:9): [True: 2.22k, False: 6.07k]
  ------------------
  451|  2.22k|        return EOF;
  452|  2.22k|    }
  453|       |
  454|  6.07k|    switch ((int) raw) {
  455|  2.54k|    case OFPRAW_NXST_FLOW_MONITOR_REQUEST: {
  ------------------
  |  Branch (455:5): [True: 2.54k, False: 3.53k]
  ------------------
  456|  2.54k|        struct nx_flow_monitor_request *nfmr;
  457|       |
  458|  2.54k|        nfmr = ofpbuf_try_pull(msg, sizeof *nfmr);
  459|  2.54k|        if (!nfmr) {
  ------------------
  |  Branch (459:13): [True: 170, False: 2.37k]
  ------------------
  460|    170|            VLOG_WARN_RL(&rl, "NXST_FLOW_MONITOR request has %"PRIu32" "
  ------------------
  |  |  224|    170|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    170|    do {                                                                \
  |  |  |  |  288|    170|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    170|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 170]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    170|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 170]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|    170|                    "leftover bytes at end", msg->size);
  462|    170|            return OFPERR_OFPBRC_BAD_LEN;
  463|    170|        }
  464|       |
  465|  2.37k|        flags = ntohs(nfmr->flags);
  466|  2.37k|        if (!(flags & (NXFMF_ADD | NXFMF_DELETE | NXFMF_MODIFY))
  ------------------
  |  Branch (466:13): [True: 233, False: 2.13k]
  ------------------
  467|  2.13k|            || flags & ~(NXFMF_INITIAL | NXFMF_ADD | NXFMF_DELETE
  ------------------
  |  Branch (467:16): [True: 101, False: 2.03k]
  ------------------
  468|  2.13k|                         | NXFMF_MODIFY | NXFMF_ACTIONS | NXFMF_OWN)) {
  469|    334|            VLOG_WARN_RL(&rl, "NXST_FLOW_MONITOR has bad flags %#"PRIx16,
  ------------------
  |  |  224|    334|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    334|    do {                                                                \
  |  |  |  |  288|    334|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    334|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 334]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    334|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 334]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|    334|                         flags);
  471|    334|            return OFPERR_OFPMOFC_BAD_FLAGS;
  472|    334|        }
  473|       |
  474|  2.03k|        if (!is_all_zeros(nfmr->zeros, sizeof nfmr->zeros)) {
  ------------------
  |  Branch (474:13): [True: 149, False: 1.88k]
  ------------------
  475|    149|            return OFPERR_NXBRC_MUST_BE_ZERO;
  476|    149|        }
  477|       |
  478|  1.88k|        rq->id = ntohl(nfmr->id);
  479|  1.88k|        rq->command = OFPFMC_ADD;
  480|  1.88k|        rq->flags = nx_to_ofp_flow_monitor_flags(flags);
  481|  1.88k|        rq->out_port = u16_to_ofp(ntohs(nfmr->out_port));
  482|  1.88k|        rq->table_id = nfmr->table_id;
  483|  1.88k|        rq->out_group = OFPG_ANY;
  484|       |
  485|  1.88k|        return nx_pull_match(msg, ntohs(nfmr->match_len), &rq->match, NULL,
  486|  1.88k|                NULL, false, NULL, NULL);
  487|  2.03k|    }
  488|      0|    case OFPRAW_ONFST13_FLOW_MONITOR_REQUEST: {
  ------------------
  |  Branch (488:5): [True: 0, False: 6.07k]
  ------------------
  489|      0|        struct onf_flow_monitor_request *ofmr;
  490|       |
  491|      0|        ofmr = ofpbuf_try_pull(msg, sizeof *ofmr);
  492|      0|        if (!ofmr) {
  ------------------
  |  Branch (492:13): [True: 0, False: 0]
  ------------------
  493|      0|            VLOG_WARN_RL(&rl, "ONFST_FLOW_MONITOR request has %"PRIu32" "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  494|      0|                         "leftover bytes at end", msg->size);
  495|      0|            return OFPERR_OFPBRC_BAD_LEN;
  496|      0|        }
  497|       |
  498|      0|        flags = ntohs(ofmr->flags);
  499|      0|        if (!(flags & (ONFFMF_ADD | ONFFMF_DELETE | ONFFMF_MODIFY))
  ------------------
  |  Branch (499:13): [True: 0, False: 0]
  ------------------
  500|      0|            || flags & ~(ONFFMF_INITIAL | ONFFMF_ADD | ONFFMF_DELETE
  ------------------
  |  Branch (500:16): [True: 0, False: 0]
  ------------------
  501|      0|                         | ONFFMF_MODIFY | ONFFMF_ACTIONS | ONFFMF_OWN)) {
  502|      0|            VLOG_WARN_RL(&rl, "ONFST_FLOW_MONITOR has bad flags %#"PRIx16,
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|      0|                         flags);
  504|      0|            return OFPERR_OFPMOFC_BAD_FLAGS;
  505|      0|        }
  506|       |
  507|      0|        if (!is_all_zeros(ofmr->zeros, sizeof ofmr->zeros)) {
  ------------------
  |  Branch (507:13): [True: 0, False: 0]
  ------------------
  508|      0|            return OFPERR_NXBRC_MUST_BE_ZERO;
  509|      0|        }
  510|       |
  511|      0|        rq->id = ntohl(ofmr->id);
  512|      0|        rq->command = OFPFMC_ADD;
  513|      0|        rq->flags = nx_to_ofp_flow_monitor_flags(flags);
  514|      0|        error = ofputil_port_from_ofp11(ofmr->out_port, &rq->out_port);
  515|      0|        if (error) {
  ------------------
  |  Branch (515:13): [True: 0, False: 0]
  ------------------
  516|      0|            return error;
  517|      0|        }
  518|      0|        rq->table_id = ofmr->table_id;
  519|      0|        rq->out_group = OFPG_ANY;
  520|       |
  521|      0|        return ofputil_pull_ofp11_match(msg, NULL, NULL, &rq->match, NULL);
  522|      0|    }
  523|  3.53k|    case OFPRAW_OFPST14_FLOW_MONITOR_REQUEST: {
  ------------------
  |  Branch (523:5): [True: 3.53k, False: 2.54k]
  ------------------
  524|  3.53k|        struct ofp14_flow_monitor_request *ofmr;
  525|       |
  526|  3.53k|        ofmr = ofpbuf_try_pull(msg, sizeof *ofmr);
  527|  3.53k|        if (!ofmr) {
  ------------------
  |  Branch (527:13): [True: 129, False: 3.40k]
  ------------------
  528|    129|            VLOG_WARN_RL(&rl, "OFPST_FLOW_MONITOR request has %"PRIu32" "
  ------------------
  |  |  224|    129|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    129|    do {                                                                \
  |  |  |  |  288|    129|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    129|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 129]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    129|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|    129|                    "leftover bytes at end", msg->size);
  530|    129|            return OFPERR_OFPBRC_BAD_LEN;
  531|    129|        }
  532|       |
  533|  3.40k|        flags = ntohs(ofmr->flags);
  534|  3.40k|        rq->id = ntohl(ofmr->monitor_id);
  535|  3.40k|        rq->command = ofmr->command;
  536|       |
  537|  3.40k|        if (ofmr->command == OFPFMC_DELETE) {
  ------------------
  |  Branch (537:13): [True: 181, False: 3.22k]
  ------------------
  538|    181|            return ofputil_pull_ofp11_match(msg, NULL, NULL, &rq->match, NULL);
  539|    181|        }
  540|       |
  541|  3.22k|        if (!(flags & (OFPFMF_ADD | OFPFMF_REMOVED | OFPFMF_MODIFY))
  ------------------
  |  Branch (541:13): [True: 135, False: 3.08k]
  ------------------
  542|  3.08k|                || flags & ~(OFPFMF_INITIAL | OFPFMF_ADD | OFPFMF_REMOVED
  ------------------
  |  Branch (542:20): [True: 228, False: 2.86k]
  ------------------
  543|  3.08k|                    | OFPFMF_MODIFY | OFPFMF_INSTRUCTIONS | OFPFMF_ONLY_OWN)) {
  544|    363|            VLOG_WARN_RL(&rl, "OFPST_FLOW_MONITOR has bad flags %#"PRIx16,
  ------------------
  |  |  224|    363|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    363|    do {                                                                \
  |  |  |  |  288|    363|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    363|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 363]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    363|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 363]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|    363|                         flags);
  546|    363|            return OFPERR_OFPMOFC_BAD_FLAGS;
  547|    363|        }
  548|       |
  549|  2.86k|        rq->command = ofmr->command;
  550|  2.86k|        rq->flags = flags;
  551|  2.86k|        error = ofputil_port_from_ofp11(ofmr->out_port, &rq->out_port);
  552|  2.86k|        if (error) {
  ------------------
  |  Branch (552:13): [True: 699, False: 2.16k]
  ------------------
  553|    699|            return error;
  554|    699|        }
  555|  2.16k|        rq->out_group = ntohl(ofmr->out_group);
  556|  2.16k|        rq->table_id = ofmr->table_id;
  557|       |
  558|  2.16k|        return ofputil_pull_ofp11_match(msg, NULL, NULL, &rq->match, NULL);
  559|  2.86k|    }
  560|      0|    default:
  ------------------
  |  Branch (560:5): [True: 0, False: 6.07k]
  ------------------
  561|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  562|  6.07k|    }
  563|  6.07k|}
ofputil_flow_monitor_request_format:
  678|  3.89k|{
  679|  3.89k|    if (request->command == OFPFMC_DELETE) {
  ------------------
  |  Branch (679:9): [True: 100, False: 3.79k]
  ------------------
  680|    100|        ds_put_format(s, "\n id=%"PRIu32" command=%s", request->id,
  681|    100|                      ofp_flow_monitor_command_to_string(request->command));
  682|    100|        return;
  683|    100|    }
  684|  3.79k|    ds_put_format(s, "\n id=%"PRIu32" flags=", request->id);
  685|  3.79k|    ofp_print_bit_names(s, request->flags,
  686|  3.79k|                        ofp_flow_monitor_flags_to_name, ',');
  687|       |
  688|  3.79k|    if (request->out_port != OFPP_NONE) {
  ------------------
  |  |   47|  3.79k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  3.79k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (688:9): [True: 2.64k, False: 1.15k]
  ------------------
  689|  2.64k|        ds_put_cstr(s, " out_port=");
  690|  2.64k|        ofputil_format_port(request->out_port, port_map, s);
  691|  2.64k|    }
  692|       |
  693|  3.79k|    if (request->out_group && (request->out_group != OFPG_ANY)) {
  ------------------
  |  Branch (693:9): [True: 3.76k, False: 33]
  |  Branch (693:31): [True: 1.94k, False: 1.82k]
  ------------------
  694|  1.94k|        ds_put_format(s, " out_group=%d", request->out_group);
  695|  1.94k|    }
  696|       |
  697|  3.79k|    if (request->table_id != 0xff) {
  ------------------
  |  Branch (697:9): [True: 2.74k, False: 1.05k]
  ------------------
  698|  2.74k|        ds_put_format(s, " table=");
  699|  2.74k|        ofputil_format_table(request->table_id, table_map, s);
  700|  2.74k|    }
  701|       |
  702|  3.79k|    if (request->command != OFPFMC_DELETE) {
  ------------------
  |  Branch (702:9): [True: 3.79k, False: 0]
  ------------------
  703|  3.79k|        ds_put_char(s, ' ');
  704|  3.79k|        match_format(&request->match, port_map, s, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  3.79k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  705|  3.79k|        ds_chomp(s, ' ');
  706|  3.79k|    }
  707|  3.79k|}
ofputil_decode_flow_update:
  824|  46.1k|{
  825|  46.1k|    unsigned int length;
  826|  46.1k|    struct ofp_header *oh;
  827|  46.1k|    enum ofperr error;
  828|  46.1k|    enum ofpraw raw;
  829|       |
  830|  46.1k|    if (!msg->header) {
  ------------------
  |  Branch (830:9): [True: 26.7k, False: 19.3k]
  ------------------
  831|  26.7k|        ofpraw_pull_assert(msg);
  832|  26.7k|    }
  833|       |
  834|  46.1k|    error = ofpraw_decode(&raw, msg->header);
  835|  46.1k|    if (error) {
  ------------------
  |  Branch (835:9): [True: 0, False: 46.1k]
  ------------------
  836|      0|        return error;
  837|      0|    }
  838|       |
  839|  46.1k|    ofpbuf_clear(ofpacts);
  840|  46.1k|    if (!msg->size) {
  ------------------
  |  Branch (840:9): [True: 5.19k, False: 40.9k]
  ------------------
  841|  5.19k|        return EOF;
  842|  5.19k|    }
  843|       |
  844|  40.9k|    oh = msg->header;
  845|       |
  846|  40.9k|    switch ((int) raw) {
  847|      0|    case OFPRAW_ONFST13_FLOW_MONITOR_REPLY:
  ------------------
  |  Branch (847:5): [True: 0, False: 40.9k]
  ------------------
  848|  8.00k|    case OFPRAW_NXST_FLOW_MONITOR_REPLY: {
  ------------------
  |  Branch (848:5): [True: 8.00k, False: 32.9k]
  ------------------
  849|  8.00k|        struct nx_flow_update_header *nfuh;
  850|  8.00k|        enum nx_flow_update_event nx_event;
  851|       |
  852|  8.00k|        if (msg->size < sizeof(struct nx_flow_update_header)) {
  ------------------
  |  Branch (852:13): [True: 0, False: 8.00k]
  ------------------
  853|      0|            goto bad_len;
  854|      0|        }
  855|       |
  856|  8.00k|        nfuh = msg->data;
  857|  8.00k|        length = ntohs(nfuh->length);
  858|  8.00k|        if (length > msg->size || length % 8) {
  ------------------
  |  Branch (858:13): [True: 276, False: 7.73k]
  |  Branch (858:35): [True: 114, False: 7.61k]
  ------------------
  859|    390|            goto bad_len;
  860|    390|        }
  861|       |
  862|  7.61k|        nx_event = ntohs(nfuh->event);
  863|  7.61k|        if (nx_event == NXFME_ABBREV) {
  ------------------
  |  Branch (863:13): [True: 646, False: 6.97k]
  ------------------
  864|    646|            struct nx_flow_update_abbrev *nfua;
  865|       |
  866|    646|            if (length != sizeof *nfua) {
  ------------------
  |  Branch (866:17): [True: 104, False: 542]
  ------------------
  867|    104|                goto bad_len;
  868|    104|            }
  869|       |
  870|    542|            nfua = ofpbuf_pull(msg, sizeof *nfua);
  871|    542|            update->xid = nfua->xid;
  872|  6.97k|        } else if (nx_event == NXFME_ADDED
  ------------------
  |  Branch (872:20): [True: 5.42k, False: 1.55k]
  ------------------
  873|  1.55k|                   || nx_event == NXFME_DELETED
  ------------------
  |  Branch (873:23): [True: 196, False: 1.35k]
  ------------------
  874|  6.59k|                   || nx_event == NXFME_MODIFIED) {
  ------------------
  |  Branch (874:23): [True: 977, False: 380]
  ------------------
  875|  6.59k|            struct nx_flow_update_full *nfuf;
  876|  6.59k|            unsigned int actions_len;
  877|  6.59k|            unsigned int match_len;
  878|       |
  879|  6.59k|            if (length < sizeof *nfuf) {
  ------------------
  |  Branch (879:17): [True: 2.12k, False: 4.46k]
  ------------------
  880|  2.12k|                goto bad_len;
  881|  2.12k|            }
  882|       |
  883|  4.46k|            nfuf = ofpbuf_pull(msg, sizeof *nfuf);
  884|  4.46k|            match_len = ntohs(nfuf->match_len);
  885|  4.46k|            if (sizeof *nfuf + match_len > length) {
  ------------------
  |  Branch (885:17): [True: 1.44k, False: 3.02k]
  ------------------
  886|  1.44k|                goto bad_len;
  887|  1.44k|            }
  888|       |
  889|  3.02k|            update->reason = ntohs(nfuf->reason);
  890|  3.02k|            update->idle_timeout = ntohs(nfuf->idle_timeout);
  891|  3.02k|            update->hard_timeout = ntohs(nfuf->hard_timeout);
  892|  3.02k|            update->table_id = nfuf->table_id;
  893|  3.02k|            update->cookie = nfuf->cookie;
  894|  3.02k|            update->priority = ntohs(nfuf->priority);
  895|       |
  896|  3.02k|            if (raw == OFPRAW_ONFST13_FLOW_MONITOR_REPLY) {
  ------------------
  |  Branch (896:17): [True: 0, False: 3.02k]
  ------------------
  897|      0|                uint16_t padded_match_len = 0;
  898|      0|                unsigned int instructions_len;
  899|       |
  900|      0|                error = ofputil_pull_ofp11_match(
  901|      0|                    msg, NULL, NULL, &update->match, &padded_match_len);
  902|      0|                if (error) {
  ------------------
  |  Branch (902:21): [True: 0, False: 0]
  ------------------
  903|      0|                    return error;
  904|      0|                }
  905|       |
  906|      0|                instructions_len = length - sizeof *nfuf - padded_match_len;
  907|      0|                error = ofpacts_pull_openflow_instructions(
  908|      0|                    msg, instructions_len, oh->version, NULL, NULL, ofpacts);
  909|      0|                if (error) {
  ------------------
  |  Branch (909:21): [True: 0, False: 0]
  ------------------
  910|      0|                    return error;
  911|      0|                }
  912|  3.02k|            } else {
  913|  3.02k|                error = nx_pull_match(msg, match_len, &update->match, NULL,
  914|  3.02k|                                      NULL, false, NULL, NULL);
  915|  3.02k|                if (error) {
  ------------------
  |  Branch (915:21): [True: 25, False: 2.99k]
  ------------------
  916|     25|                    return error;
  917|     25|                }
  918|       |
  919|  2.99k|                actions_len = length - sizeof *nfuf - ROUND_UP(match_len, 8);
  ------------------
  |  |  303|  2.99k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  2.99k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  920|  2.99k|                error = ofpacts_pull_openflow_actions(
  921|  2.99k|                    msg, actions_len, oh->version, NULL, NULL, ofpacts);
  922|  2.99k|                if (error) {
  ------------------
  |  Branch (922:21): [True: 20, False: 2.97k]
  ------------------
  923|     20|                    return error;
  924|     20|                }
  925|  2.99k|            }
  926|       |
  927|  2.97k|            update->ofpacts = ofpacts->data;
  928|  2.97k|            update->ofpacts_len = ofpacts->size;
  929|  2.97k|        } else {
  930|    380|            VLOG_WARN_RL(&rl, "NXST_FLOW_MONITOR reply has bad event %"PRIu16,
  ------------------
  |  |  224|    380|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    380|    do {                                                                \
  |  |  |  |  288|    380|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    380|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 380]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    380|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|    380|                         ntohs(nfuh->event));
  932|    380|            return OFPERR_NXBRC_FM_BAD_EVENT;
  933|    380|        }
  934|       |
  935|  3.52k|        update->event = nx_to_ofp_flow_update_event(nx_event);
  936|  3.52k|        return 0;
  937|  7.61k|    }
  938|  32.9k|    case OFPRAW_OFPST14_FLOW_MONITOR_REPLY: {
  ------------------
  |  Branch (938:5): [True: 32.9k, False: 8.00k]
  ------------------
  939|  32.9k|        struct ofp_flow_update_header *ofuh;
  940|  32.9k|        uint16_t padded_match_len = 0;
  941|       |
  942|  32.9k|        if (msg->size < sizeof(struct ofp_flow_update_header)) {
  ------------------
  |  Branch (942:13): [True: 0, False: 32.9k]
  ------------------
  943|      0|            goto bad_len;
  944|      0|        }
  945|       |
  946|  32.9k|        ofuh = msg->data;
  947|  32.9k|        update->event = ntohs(ofuh->event);
  948|  32.9k|        length = ntohs(ofuh->length);
  949|  32.9k|        if (length > msg->size || length % 8) {
  ------------------
  |  Branch (949:13): [True: 7.51k, False: 25.3k]
  |  Branch (949:35): [True: 3.94k, False: 21.4k]
  ------------------
  950|  11.4k|            goto bad_len;
  951|  11.4k|        }
  952|       |
  953|  21.4k|        if (update->event == OFPFME_ABBREV) {
  ------------------
  |  Branch (953:13): [True: 6.40k, False: 15.0k]
  ------------------
  954|  6.40k|            struct ofp_flow_update_abbrev *ofua;
  955|       |
  956|  6.40k|            if (length != sizeof *ofua) {
  ------------------
  |  Branch (956:17): [True: 97, False: 6.30k]
  ------------------
  957|     97|                goto bad_len;
  958|     97|            }
  959|       |
  960|  6.30k|            ofua = ofpbuf_pull(msg, sizeof *ofua);
  961|  6.30k|            update->xid = ofua->xid;
  962|  6.30k|            return 0;
  963|  15.0k|        } else if (update->event == OFPFME_PAUSED
  ------------------
  |  Branch (963:20): [True: 3.91k, False: 11.1k]
  ------------------
  964|  11.1k|                   || update->event == OFPFME_RESUMED) {
  ------------------
  |  Branch (964:23): [True: 6.61k, False: 4.51k]
  ------------------
  965|  10.5k|            struct ofp_flow_update_paused *ofup OVS_UNUSED;
  966|       |
  967|  10.5k|            if (length != sizeof *ofup) {
  ------------------
  |  Branch (967:17): [True: 1.81k, False: 8.71k]
  ------------------
  968|  1.81k|                goto bad_len;
  969|  1.81k|            }
  970|       |
  971|  8.71k|            ofup = ofpbuf_pull(msg, sizeof *ofup);
  972|  8.71k|            return 0;
  973|  10.5k|        } else if (update->event == OFPFME_INITIAL
  ------------------
  |  Branch (973:20): [True: 900, False: 3.61k]
  ------------------
  974|  3.61k|                   || update->event == OFPFME_ADDED
  ------------------
  |  Branch (974:23): [True: 2.64k, False: 971]
  ------------------
  975|    971|                   || update->event == OFPFME_REMOVED
  ------------------
  |  Branch (975:23): [True: 174, False: 797]
  ------------------
  976|  3.80k|                   || update->event == OFPFME_MODIFIED) {
  ------------------
  |  Branch (976:23): [True: 79, False: 718]
  ------------------
  977|  3.80k|            struct ofp_flow_update_full *ofuf;
  978|  3.80k|            unsigned int instructions_len;
  979|       |
  980|  3.80k|            if (length < sizeof *ofuf) {
  ------------------
  |  Branch (980:17): [True: 206, False: 3.59k]
  ------------------
  981|    206|                goto bad_len;
  982|    206|            }
  983|       |
  984|  3.59k|            ofuf = ofpbuf_pull(msg, sizeof *ofuf);
  985|  3.59k|            if (sizeof *ofuf > length) {
  ------------------
  |  Branch (985:17): [True: 0, False: 3.59k]
  ------------------
  986|      0|                goto bad_len;
  987|      0|            }
  988|       |
  989|  3.59k|            update->reason = ofuf->reason;
  990|  3.59k|            update->idle_timeout = ntohs(ofuf->idle_timeout);
  991|  3.59k|            update->hard_timeout = ntohs(ofuf->hard_timeout);
  992|  3.59k|            update->table_id = ofuf->table_id;
  993|  3.59k|            update->cookie = ofuf->cookie;
  994|  3.59k|            update->priority = ntohs(ofuf->priority);
  995|       |
  996|  3.59k|            error = ofputil_pull_ofp11_match(
  997|  3.59k|                msg, NULL, NULL, &update->match, &padded_match_len);
  998|  3.59k|            if (error) {
  ------------------
  |  Branch (998:17): [True: 350, False: 3.24k]
  ------------------
  999|    350|                return error;
 1000|    350|            }
 1001|       |
 1002|  3.24k|            instructions_len = length - sizeof *ofuf - padded_match_len;
 1003|  3.24k|            error = ofpacts_pull_openflow_instructions(
 1004|  3.24k|                msg, instructions_len, oh->version, NULL, NULL, ofpacts);
 1005|  3.24k|            if (error) {
  ------------------
  |  Branch (1005:17): [True: 2.41k, False: 828]
  ------------------
 1006|  2.41k|                return error;
 1007|  2.41k|            }
 1008|       |
 1009|    828|            update->ofpacts = ofpacts->data;
 1010|    828|            update->ofpacts_len = ofpacts->size;
 1011|    828|            return 0;
 1012|  3.24k|        } else {
 1013|    718|            VLOG_WARN_RL(&rl, "NXST_FLOW_MONITOR reply has bad event %"PRIu16,
  ------------------
  |  |  224|    718|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    718|    do {                                                                \
  |  |  |  |  288|    718|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    718|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 718]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    718|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 718]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|    718|                         ntohs(ofuh->event));
 1015|    718|            return OFPERR_NXBRC_FM_BAD_EVENT;
 1016|    718|        }
 1017|  21.4k|    }
 1018|      0|    default:
  ------------------
  |  Branch (1018:5): [True: 0, False: 40.9k]
  ------------------
 1019|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1020|  40.9k|    }
 1021|  17.6k|bad_len:
 1022|  17.6k|    VLOG_WARN_RL(&rl, "%s has %"PRIu32" leftover bytes at end",
  ------------------
  |  |  224|  17.6k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  17.6k|    do {                                                                \
  |  |  |  |  288|  17.6k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  17.6k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 17.6k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  17.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 17.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1023|  17.6k|                 ofpraw_get_name(raw), msg->size);
 1024|  17.6k|    return OFPERR_OFPBRC_BAD_LEN;
 1025|  40.9k|}
ofputil_decode_flow_monitor_cancel:
 1029|     69|{
 1030|     69|    enum ofperr error;
 1031|     69|    enum ofpraw raw;
 1032|       |
 1033|     69|    error = ofpraw_decode(&raw, oh);
 1034|     69|    if (error) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 69]
  ------------------
 1035|      0|        return error;
 1036|      0|    }
 1037|       |
 1038|     69|    switch ((int) raw) {
 1039|      0|    case OFPRAW_ONFT13_FLOW_MONITOR_CANCEL:
  ------------------
  |  Branch (1039:5): [True: 0, False: 69]
  ------------------
 1040|     69|    case OFPRAW_NXT_FLOW_MONITOR_CANCEL: {
  ------------------
  |  Branch (1040:5): [True: 69, False: 0]
  ------------------
 1041|     69|        const struct nx_flow_monitor_cancel *cancel = ofpmsg_body(oh);
 1042|     69|        return ntohl(cancel->id);
 1043|      0|    }
 1044|      0|    default:
  ------------------
  |  Branch (1044:5): [True: 0, False: 69]
  ------------------
 1045|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1046|     69|    }
 1047|     69|}
ofputil_flow_update_format:
 1285|  19.3k|{
 1286|  19.3k|    char reasonbuf[OFP_FLOW_REMOVED_REASON_BUFSIZE];
 1287|       |
 1288|  19.3k|    ds_put_cstr(s, "\n event=");
 1289|  19.3k|    switch (update->event) {
  ------------------
  |  Branch (1289:13): [True: 19.3k, False: 0]
  ------------------
 1290|    702|    case OFPFME_INITIAL:
  ------------------
  |  Branch (1290:5): [True: 702, False: 18.6k]
  ------------------
 1291|    702|        ds_put_cstr(s, "INITIAL");
 1292|    702|        break;
 1293|       |
 1294|  2.05k|    case OFPFME_ADDED:
  ------------------
  |  Branch (1294:5): [True: 2.05k, False: 17.3k]
  ------------------
 1295|  2.05k|        ds_put_cstr(s, "ADDED");
 1296|  2.05k|        break;
 1297|       |
 1298|    277|    case OFPFME_REMOVED:
  ------------------
  |  Branch (1298:5): [True: 277, False: 19.0k]
  ------------------
 1299|    277|        ds_put_format(s, "DELETED reason=%s",
 1300|    277|                      ofp_flow_removed_reason_to_string(update->reason,
 1301|    277|                                                        reasonbuf,
 1302|    277|                                                        sizeof reasonbuf));
 1303|    277|        break;
 1304|       |
 1305|    770|    case OFPFME_MODIFIED:
  ------------------
  |  Branch (1305:5): [True: 770, False: 18.5k]
  ------------------
 1306|    770|        ds_put_cstr(s, "MODIFIED");
 1307|    770|        break;
 1308|       |
 1309|  6.84k|    case OFPFME_ABBREV:
  ------------------
  |  Branch (1309:5): [True: 6.84k, False: 12.5k]
  ------------------
 1310|  6.84k|        ds_put_format(s, "ABBREV xid=0x%"PRIx32, ntohl(update->xid));
 1311|  6.84k|        return;
 1312|       |
 1313|  3.90k|    case OFPFME_PAUSED:
  ------------------
  |  Branch (1313:5): [True: 3.90k, False: 15.4k]
  ------------------
 1314|  3.90k|        ds_put_cstr(s, "PAUSED");
 1315|  3.90k|        return;
 1316|       |
 1317|  4.80k|    case OFPFME_RESUMED:
  ------------------
  |  Branch (1317:5): [True: 4.80k, False: 14.5k]
  ------------------
 1318|  4.80k|        ds_put_cstr(s, "RESUMED");
 1319|  4.80k|        return;
 1320|       |
 1321|  19.3k|    }
 1322|       |
 1323|  3.80k|    ds_put_format(s, " table=");
 1324|  3.80k|    ofputil_format_table(update->table_id, table_map, s);
 1325|  3.80k|    if (update->idle_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  3.80k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (1325:9): [True: 618, False: 3.18k]
  ------------------
 1326|    618|        ds_put_format(s, " idle_timeout=%"PRIu16, update->idle_timeout);
 1327|    618|    }
 1328|  3.80k|    if (update->hard_timeout != OFP_FLOW_PERMANENT) {
  ------------------
  |  |  135|  3.80k|#define OFP_FLOW_PERMANENT 0
  ------------------
  |  Branch (1328:9): [True: 1.46k, False: 2.34k]
  ------------------
 1329|  1.46k|        ds_put_format(s, " hard_timeout=%"PRIu16, update->hard_timeout);
 1330|  1.46k|    }
 1331|  3.80k|    ds_put_format(s, " cookie=%#"PRIx64, ntohll(update->cookie));
 1332|       |
 1333|  3.80k|    ds_put_char(s, ' ');
 1334|  3.80k|    match_format(&update->match, port_map, s, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  3.80k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
 1335|       |
 1336|  3.80k|    if (update->ofpacts_len) {
  ------------------
  |  Branch (1336:9): [True: 752, False: 3.05k]
  ------------------
 1337|    752|        if (s->string[s->length - 1] != ' ') {
  ------------------
  |  Branch (1337:13): [True: 704, False: 48]
  ------------------
 1338|    704|            ds_put_char(s, ' ');
 1339|    704|        }
 1340|    752|        ds_put_cstr(s, "actions=");
 1341|    752|        struct ofpact_format_params fp = {
 1342|    752|            .port_map = port_map,
 1343|    752|            .table_map = table_map,
 1344|    752|            .s = s,
 1345|    752|        };
 1346|    752|        ofpacts_format(update->ofpacts, update->ofpacts_len, &fp);
 1347|    752|    }
 1348|  3.80k|}
ofputil_decode_requestforward:
 1401|  4.16k|{
 1402|  4.16k|    rf->new_buckets = NULL;
 1403|  4.16k|    rf->group_existed = -1;
 1404|       |
 1405|  4.16k|    struct ofpbuf b = ofpbuf_const_initializer(outer, ntohs(outer->length));
 1406|       |
 1407|       |    /* Skip past outer message. */
 1408|  4.16k|    enum ofpraw raw_msg_type = ofpraw_pull_assert(&b);
 1409|  4.16k|    ovs_assert(raw_msg_type == OFPRAW_OFPT14_REQUESTFORWARD ||
  ------------------
  |  |   62|  4.16k|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (1409:16): [True: 4.15k, False: 10]
  ------------------
 1410|     10|               raw_msg_type == OFPRAW_ONFT13_REQUESTFORWARD ||
  ------------------
  |  Branch (1410:16): [True: 0, False: 10]
  ------------------
 1411|     10|               raw_msg_type == OFPRAW_NXT_REQUESTFORWARD);
  ------------------
  |  Branch (1411:16): [True: 10, False: 0]
  ------------------
 1412|       |
 1413|       |    /* Validate inner message. */
 1414|  4.16k|    if (b.size < sizeof(struct ofp_header)) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 4.16k]
  ------------------
 1415|      0|        return OFPERR_OFPBFC_MSG_BAD_LEN;
 1416|      0|    }
 1417|  4.16k|    const struct ofp_header *inner = b.data;
 1418|  4.16k|    unsigned int inner_len = ntohs(inner->length);
 1419|  4.16k|    if (inner_len < sizeof(struct ofp_header) || inner_len > b.size) {
  ------------------
  |  Branch (1419:9): [True: 882, False: 3.28k]
  |  Branch (1419:50): [True: 617, False: 2.66k]
  ------------------
 1420|  1.49k|        return OFPERR_OFPBFC_MSG_BAD_LEN;
 1421|  1.49k|    }
 1422|  2.66k|    if (inner->version != outer->version) {
  ------------------
  |  Branch (1422:9): [True: 276, False: 2.38k]
  ------------------
 1423|    276|        return OFPERR_OFPBRC_BAD_VERSION;
 1424|    276|    }
 1425|       |
 1426|       |    /* Parse inner message. */
 1427|  2.38k|    enum ofptype type;
 1428|  2.38k|    enum ofperr error = ofptype_decode(&type, inner);
 1429|  2.38k|    if (error) {
  ------------------
  |  Branch (1429:9): [True: 76, False: 2.31k]
  ------------------
 1430|     76|        return error;
 1431|     76|    }
 1432|       |
 1433|  2.31k|    rf->xid = inner->xid;
 1434|  2.31k|    if (type == OFPTYPE_GROUP_MOD) {
  ------------------
  |  Branch (1434:9): [True: 1.85k, False: 455]
  ------------------
 1435|  1.85k|        rf->reason = OFPRFR_GROUP_MOD;
 1436|  1.85k|        rf->group_mod = xmalloc(sizeof *rf->group_mod);
 1437|  1.85k|        error = ofputil_decode_group_mod(inner, rf->group_mod);
 1438|  1.85k|        if (error) {
  ------------------
  |  Branch (1438:13): [True: 747, False: 1.11k]
  ------------------
 1439|    747|            free(rf->group_mod);
 1440|    747|            return error;
 1441|    747|        }
 1442|  1.85k|    } else if (type == OFPTYPE_METER_MOD) {
  ------------------
  |  Branch (1442:16): [True: 143, False: 312]
  ------------------
 1443|    143|        rf->reason = OFPRFR_METER_MOD;
 1444|    143|        rf->meter_mod = xmalloc(sizeof *rf->meter_mod);
 1445|    143|        ofpbuf_init(&rf->bands, 64);
 1446|    143|        error = ofputil_decode_meter_mod(inner, rf->meter_mod, &rf->bands);
 1447|    143|        if (error) {
  ------------------
  |  Branch (1447:13): [True: 76, False: 67]
  ------------------
 1448|     76|            free(rf->meter_mod);
 1449|     76|            ofpbuf_uninit(&rf->bands);
 1450|     76|            return error;
 1451|     76|        }
 1452|    312|    } else {
 1453|    312|        return OFPERR_OFPBFC_MSG_UNSUP;
 1454|    312|    }
 1455|       |
 1456|  1.17k|    return 0;
 1457|  2.31k|}
ofputil_format_requestforward:
 1465|  1.17k|{
 1466|  1.17k|    ds_put_cstr(string, " reason=");
 1467|       |
 1468|  1.17k|    switch (rf->reason) {
  ------------------
  |  Branch (1468:13): [True: 1.17k, False: 0]
  ------------------
 1469|  1.11k|    case OFPRFR_GROUP_MOD:
  ------------------
  |  Branch (1469:5): [True: 1.11k, False: 67]
  ------------------
 1470|  1.11k|        ds_put_cstr(string, "group_mod");
 1471|  1.11k|        ofputil_group_mod_format__(string, ofp_version, rf->group_mod,
 1472|  1.11k|                                   port_map, table_map);
 1473|  1.11k|        break;
 1474|       |
 1475|     67|    case OFPRFR_METER_MOD:
  ------------------
  |  Branch (1475:5): [True: 67, False: 1.11k]
  ------------------
 1476|     67|        ds_put_cstr(string, "meter_mod");
 1477|     67|        ofputil_format_meter_mod(string, rf->meter_mod);
 1478|     67|        break;
 1479|       |
 1480|      0|    case OFPRFR_N_REASONS:
  ------------------
  |  Branch (1480:5): [True: 0, False: 1.17k]
  ------------------
 1481|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1482|  1.17k|    }
 1483|  1.17k|}
ofputil_destroy_requestforward:
 1490|  1.17k|{
 1491|  1.17k|    if (!rf) {
  ------------------
  |  Branch (1491:9): [True: 0, False: 1.17k]
  ------------------
 1492|      0|        return;
 1493|      0|    }
 1494|       |
 1495|  1.17k|    switch (rf->reason) {
  ------------------
  |  Branch (1495:13): [True: 1.17k, False: 0]
  ------------------
 1496|  1.11k|    case OFPRFR_GROUP_MOD:
  ------------------
  |  Branch (1496:5): [True: 1.11k, False: 67]
  ------------------
 1497|  1.11k|        ofputil_uninit_group_mod(rf->group_mod);
 1498|  1.11k|        free(rf->group_mod);
 1499|       |        /* 'rf' does not own rf->new_buckets. */
 1500|  1.11k|        break;
 1501|       |
 1502|     67|    case OFPRFR_METER_MOD:
  ------------------
  |  Branch (1502:5): [True: 67, False: 1.11k]
  ------------------
 1503|     67|        ofpbuf_uninit(&rf->bands);
 1504|     67|        free(rf->meter_mod);
 1505|     67|        break;
 1506|       |
 1507|      0|    case OFPRFR_N_REASONS:
  ------------------
  |  Branch (1507:5): [True: 0, False: 1.17k]
  ------------------
 1508|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1509|  1.17k|    }
 1510|  1.17k|}
ofp-monitor.c:nx_to_ofp_flow_monitor_flags:
  334|  1.88k|{
  335|  1.88k|    uint16_t oxm_flags = 0;
  336|       |
  337|  1.88k|    if (flags & NXFMF_INITIAL) {
  ------------------
  |  Branch (337:9): [True: 1.15k, False: 732]
  ------------------
  338|  1.15k|        oxm_flags |= OFPFMF_INITIAL;
  339|  1.15k|    }
  340|  1.88k|    if (flags & NXFMF_ADD) {
  ------------------
  |  Branch (340:9): [True: 1.40k, False: 482]
  ------------------
  341|  1.40k|        oxm_flags |= OFPFMF_ADD;
  342|  1.40k|    }
  343|  1.88k|    if (flags & NXFMF_DELETE) {
  ------------------
  |  Branch (343:9): [True: 663, False: 1.22k]
  ------------------
  344|    663|        oxm_flags |= OFPFMF_REMOVED;
  345|    663|    }
  346|  1.88k|    if (flags & NXFMF_MODIFY) {
  ------------------
  |  Branch (346:9): [True: 1.50k, False: 384]
  ------------------
  347|  1.50k|        oxm_flags |= OFPFMF_MODIFY;
  348|  1.50k|    }
  349|  1.88k|    if (flags & NXFMF_ACTIONS) {
  ------------------
  |  Branch (349:9): [True: 876, False: 1.01k]
  ------------------
  350|    876|        oxm_flags |= OFPFMF_INSTRUCTIONS;
  351|    876|    }
  352|  1.88k|    if (flags & NXFMF_OWN) {
  ------------------
  |  Branch (352:9): [True: 545, False: 1.34k]
  ------------------
  353|    545|        oxm_flags |= OFPFMF_ONLY_OWN;
  354|    545|    }
  355|       |
  356|  1.88k|    return oxm_flags;
  357|  1.88k|}
ofp-monitor.c:ofp_flow_monitor_command_to_string:
  663|    100|{
  664|    100|    switch (command) {
  665|      0|    case OFPFMC_ADD: return "add";
  ------------------
  |  Branch (665:5): [True: 0, False: 100]
  ------------------
  666|      0|    case OFPFMC_MODIFY: return "modify";
  ------------------
  |  Branch (666:5): [True: 0, False: 100]
  ------------------
  667|    100|    case OFPFMC_DELETE: return "delete";
  ------------------
  |  Branch (667:5): [True: 100, False: 0]
  ------------------
  668|      0|    default:
  ------------------
  |  Branch (668:5): [True: 0, False: 100]
  ------------------
  669|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  670|    100|    }
  671|    100|}
ofp-monitor.c:ofp_flow_monitor_flags_to_name:
  645|  15.8k|{
  646|  15.8k|    enum ofp14_flow_monitor_flags fmf = bit;
  647|       |
  648|  15.8k|    switch (fmf) {
  ------------------
  |  Branch (648:13): [True: 15.8k, False: 0]
  ------------------
  649|  2.81k|    case OFPFMF_INITIAL: return "initial";
  ------------------
  |  Branch (649:5): [True: 2.81k, False: 13.0k]
  ------------------
  650|  2.49k|    case OFPFMF_ADD: return "add";
  ------------------
  |  Branch (650:5): [True: 2.49k, False: 13.3k]
  ------------------
  651|  2.41k|    case OFPFMF_REMOVED: return "delete";
  ------------------
  |  Branch (651:5): [True: 2.41k, False: 13.4k]
  ------------------
  652|  3.27k|    case OFPFMF_MODIFY: return "modify";
  ------------------
  |  Branch (652:5): [True: 3.27k, False: 12.5k]
  ------------------
  653|  2.57k|    case OFPFMF_INSTRUCTIONS: return "actions";
  ------------------
  |  Branch (653:5): [True: 2.57k, False: 13.2k]
  ------------------
  654|      0|    case OFPFMF_NO_ABBREV: return "no-abbrev";
  ------------------
  |  Branch (654:5): [True: 0, False: 15.8k]
  ------------------
  655|  2.28k|    case OFPFMF_ONLY_OWN: return "own";
  ------------------
  |  Branch (655:5): [True: 2.28k, False: 13.5k]
  ------------------
  656|  15.8k|    }
  657|       |
  658|      0|    return NULL;
  659|  15.8k|}
ofp-monitor.c:nx_to_ofp_flow_update_event:
  388|  3.52k|{
  389|  3.52k|    switch (event) {
  390|  2.04k|    case NXFME_ADDED:
  ------------------
  |  Branch (390:5): [True: 2.04k, False: 1.47k]
  ------------------
  391|  2.04k|        return OFPFME_ADDED;
  392|    162|    case NXFME_DELETED:
  ------------------
  |  Branch (392:5): [True: 162, False: 3.35k]
  ------------------
  393|    162|        return OFPFME_REMOVED;
  394|    769|    case NXFME_MODIFIED:
  ------------------
  |  Branch (394:5): [True: 769, False: 2.75k]
  ------------------
  395|    769|        return OFPFME_MODIFIED;
  396|    542|    case NXFME_ABBREV:
  ------------------
  |  Branch (396:5): [True: 542, False: 2.97k]
  ------------------
  397|    542|        return OFPFME_ABBREV;
  398|      0|     default:
  ------------------
  |  Branch (398:6): [True: 0, False: 3.52k]
  ------------------
  399|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  400|  3.52k|    }
  401|  3.52k|}

ofphdrs_len:
  368|  10.6k|{
  369|  10.6k|    if (hdrs->type == OFPT_VENDOR) {
  ------------------
  |  |   32|  10.6k|#define OFPT_VENDOR 4
  ------------------
  |  Branch (369:9): [True: 515, False: 10.1k]
  ------------------
  370|    515|        return sizeof(struct ofp_vendor_header);
  371|    515|    }
  372|       |
  373|  10.1k|    switch ((enum ofp_version) hdrs->version) {
  ------------------
  |  Branch (373:13): [True: 9.13k, False: 996]
  ------------------
  374|    682|    case OFP10_VERSION:
  ------------------
  |  Branch (374:5): [True: 682, False: 9.45k]
  ------------------
  375|    682|        if (hdrs->type == OFPT10_STATS_REQUEST ||
  ------------------
  |  |   33|  1.36k|#define OFPT10_STATS_REQUEST 16
  ------------------
  |  Branch (375:13): [True: 637, False: 45]
  ------------------
  376|    663|            hdrs->type == OFPT10_STATS_REPLY) {
  ------------------
  |  |   34|     45|#define OFPT10_STATS_REPLY 17
  ------------------
  |  Branch (376:13): [True: 26, False: 19]
  ------------------
  377|    663|            return (hdrs->stat == OFPST_VENDOR
  ------------------
  |  |   37|    663|#define OFPST_VENDOR 0xffff
  ------------------
  |  Branch (377:21): [True: 30, False: 633]
  ------------------
  378|    663|                    ? sizeof(struct nicira10_stats_msg)
  379|    663|                    : sizeof(struct ofp10_stats_msg));
  380|    663|        }
  381|     19|        break;
  382|       |
  383|    584|    case OFP11_VERSION:
  ------------------
  |  Branch (383:5): [True: 584, False: 9.54k]
  ------------------
  384|  1.64k|    case OFP12_VERSION:
  ------------------
  |  Branch (384:5): [True: 1.06k, False: 9.07k]
  ------------------
  385|  3.73k|    case OFP13_VERSION:
  ------------------
  |  Branch (385:5): [True: 2.08k, False: 8.04k]
  ------------------
  386|  6.45k|    case OFP14_VERSION:
  ------------------
  |  Branch (386:5): [True: 2.72k, False: 7.40k]
  ------------------
  387|  8.45k|    case OFP15_VERSION:
  ------------------
  |  Branch (387:5): [True: 1.99k, False: 8.13k]
  ------------------
  388|  8.45k|        if (hdrs->type == OFPT11_STATS_REQUEST ||
  ------------------
  |  |   35|  16.9k|#define OFPT11_STATS_REQUEST 18
  ------------------
  |  Branch (388:13): [True: 5.45k, False: 2.99k]
  ------------------
  389|  7.03k|            hdrs->type == OFPT11_STATS_REPLY) {
  ------------------
  |  |   36|  2.99k|#define OFPT11_STATS_REPLY 19
  ------------------
  |  Branch (389:13): [True: 1.57k, False: 1.42k]
  ------------------
  390|  7.03k|            return (hdrs->stat == OFPST_VENDOR
  ------------------
  |  |   37|  7.03k|#define OFPST_VENDOR 0xffff
  ------------------
  |  Branch (390:21): [True: 28, False: 7.00k]
  ------------------
  391|  7.03k|                    ? sizeof(struct ofp11_vendor_stats_msg)
  392|  7.03k|                    : sizeof(struct ofp11_stats_msg));
  393|  7.03k|        }
  394|  1.42k|        break;
  395|  10.1k|    }
  396|       |
  397|  2.44k|    return sizeof(struct ofp_header);
  398|  10.1k|}
ofpraw_decode:
  409|  2.40M|{
  410|       |    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
  411|  2.40M|    return ofpraw_pull(raw, &msg);
  412|  2.40M|}
ofpraw_decode_assert:
  422|  18.0k|{
  423|  18.0k|    enum ofpraw raw;
  424|  18.0k|    ovs_assert(!ofpraw_decode(&raw, oh));
  ------------------
  |  |   62|  18.0k|#define ovs_assert ovs_ignore
  ------------------
  425|  18.0k|    return raw;
  426|  18.0k|}
ofpraw_pull:
  485|  3.93M|{
  486|       |    /* Set default outputs. */
  487|  3.93M|    msg->header = msg->data;
  488|  3.93M|    msg->msg = msg->header;
  489|  3.93M|    *rawp = 0;
  490|       |
  491|  3.93M|    struct ofphdrs hdrs;
  492|  3.93M|    enum ofperr error = ofphdrs_decode(&hdrs, msg->data, msg->size);
  493|  3.93M|    if (error) {
  ------------------
  |  Branch (493:9): [True: 53.7k, False: 3.88M]
  ------------------
  494|  53.7k|        return error;
  495|  53.7k|    }
  496|       |
  497|  3.88M|    enum ofpraw raw;
  498|  3.88M|    error = ofpraw_from_ofphdrs(&raw, &hdrs);
  499|  3.88M|    if (error) {
  ------------------
  |  Branch (499:9): [True: 495k, False: 3.38M]
  ------------------
  500|   495k|        return error;
  501|   495k|    }
  502|       |
  503|  3.38M|    const struct raw_info *info = raw_info_get(raw);
  504|  3.38M|    const struct raw_instance *instance = raw_instance_get(info, hdrs.version);
  505|  3.38M|    error = ofpraw_check_length(info, instance, msg->size);
  506|  3.38M|    if (error) {
  ------------------
  |  Branch (506:9): [True: 113k, False: 3.27M]
  ------------------
  507|   113k|        return error;
  508|   113k|    }
  509|       |
  510|  3.27M|    msg->header = ofpbuf_pull(msg, instance->hdrs_len);
  511|  3.27M|    msg->msg = msg->data;
  512|  3.27M|    *rawp = raw;
  513|  3.27M|    return 0;
  514|  3.38M|}
ofpraw_pull_assert:
  524|   673k|{
  525|   673k|    enum ofpraw raw;
  526|   673k|    ovs_assert(!ofpraw_pull(&raw, msg));
  ------------------
  |  |   62|   673k|#define ovs_assert ovs_ignore
  ------------------
  527|   673k|    return raw;
  528|   673k|}
ofpraw_decode_partial:
  543|  12.1k|{
  544|  12.1k|    struct ofphdrs hdrs;
  545|  12.1k|    enum ofperr error;
  546|       |
  547|  12.1k|    error = ofphdrs_decode(&hdrs, oh, length);
  548|  12.1k|    if (!error) {
  ------------------
  |  Branch (548:9): [True: 11.6k, False: 485]
  ------------------
  549|  11.6k|        error = ofpraw_from_ofphdrs(raw, &hdrs);
  550|  11.6k|    }
  551|       |
  552|  12.1k|    if (error) {
  ------------------
  |  Branch (552:9): [True: 7.41k, False: 4.72k]
  ------------------
  553|  7.41k|        *raw = 0;
  554|  7.41k|    }
  555|  12.1k|    return error;
  556|  12.1k|}
ofpraw_get_name:
  782|  1.55M|{
  783|  1.55M|    return raw_info_get(raw)->name;
  784|  1.55M|}
ofptype_decode:
  828|  3.87k|{
  829|  3.87k|    enum ofperr error;
  830|  3.87k|    enum ofpraw raw;
  831|       |
  832|  3.87k|    error = ofpraw_decode(&raw, oh);
  833|  3.87k|    *typep = error ? 0 : ofptype_from_ofpraw(raw);
  ------------------
  |  Branch (833:14): [True: 282, False: 3.59k]
  ------------------
  834|  3.87k|    return error;
  835|  3.87k|}
ofptype_from_ofpraw:
  867|  1.55M|{
  868|  1.55M|    return raw_info_get(raw)->type;
  869|  1.55M|}
ofpmsg_body:
  891|  9.18k|{
  892|  9.18k|    struct ofphdrs hdrs;
  893|       |
  894|       |    ofphdrs_decode_assert(&hdrs, oh, ntohs(oh->length));
  895|  9.18k|    return (const uint8_t *) oh + ofphdrs_len(&hdrs);
  896|  9.18k|}
ofpmsg_is_stat_request:
  901|   101k|{
  902|   101k|    return ofp_is_stat_request(oh->version, oh->type);
  903|   101k|}
ofpmsg_is_stat:
  915|  1.54M|{
  916|  1.54M|    return ofp_is_stat(oh->version, oh->type);
  917|  1.54M|}
ofpmp_flags:
 1049|   125k|{
 1050|       |    return ntohs(*ofpmp_flags__(oh));
 1051|   125k|}
ofp-msgs.c:ofphdrs_decode:
  215|  3.95M|{
  216|  3.95M|    memset(hdrs, 0, sizeof *hdrs);
  217|  3.95M|    if (length < sizeof *oh) {
  ------------------
  |  Branch (217:9): [True: 0, False: 3.95M]
  ------------------
  218|      0|        return OFPERR_OFPBRC_BAD_LEN;
  219|      0|    }
  220|       |
  221|       |    /* Get base message version and type (OFPT_*). */
  222|  3.95M|    hdrs->version = oh->version;
  223|  3.95M|    hdrs->type = oh->type;
  224|       |
  225|  3.95M|    if (hdrs->type == OFPT_VENDOR) {
  ------------------
  |  |   32|  3.95M|#define OFPT_VENDOR 4
  ------------------
  |  Branch (225:9): [True: 177k, False: 3.78M]
  ------------------
  226|       |        /* Get vendor. */
  227|   177k|        const struct ofp_vendor_header *ovh;
  228|       |
  229|   177k|        if (length < sizeof *ovh) {
  ------------------
  |  Branch (229:13): [True: 25.3k, False: 152k]
  ------------------
  230|  25.3k|            return OFPERR_OFPBRC_BAD_LEN;
  231|  25.3k|        }
  232|       |
  233|   152k|        ovh = (const struct ofp_vendor_header *) oh;
  234|   152k|        hdrs->vendor = ntohl(ovh->vendor);
  235|   152k|        if (hdrs->vendor == NX_VENDOR_ID || hdrs->vendor == ONF_VENDOR_ID) {
  ------------------
  |  |  110|   305k|#define NX_VENDOR_ID    0x00002320 /* Nicira. */
  ------------------
                      if (hdrs->vendor == NX_VENDOR_ID || hdrs->vendor == ONF_VENDOR_ID) {
  ------------------
  |  |  111|  9.42k|#define ONF_VENDOR_ID   0x4f4e4600 /* Open Networking Foundation. */
  ------------------
  |  Branch (235:13): [True: 143k, False: 9.42k]
  |  Branch (235:45): [True: 178, False: 9.25k]
  ------------------
  236|   143k|            hdrs->subtype = ntohl(ovh->subtype);
  237|   143k|        } else {
  238|  9.25k|            log_bad_vendor(hdrs->vendor);
  239|  9.25k|            return OFPERR_OFPBRC_BAD_VENDOR;
  240|  9.25k|        }
  241|  3.78M|    } else if (hdrs->version == OFP10_VERSION
  ------------------
  |  Branch (241:16): [True: 646k, False: 3.13M]
  ------------------
  242|   646k|               && (hdrs->type == OFPT10_STATS_REQUEST ||
  ------------------
  |  |   33|  1.29M|#define OFPT10_STATS_REQUEST 16
  ------------------
  |  Branch (242:20): [True: 15.3k, False: 631k]
  ------------------
  243|   631k|                   hdrs->type == OFPT10_STATS_REPLY)) {
  ------------------
  |  |   34|   631k|#define OFPT10_STATS_REPLY 17
  ------------------
  |  Branch (243:20): [True: 101k, False: 529k]
  ------------------
  244|   116k|        const struct ofp10_stats_msg *osm;
  245|       |
  246|       |        /* Get statistic type (OFPST_*). */
  247|   116k|        if (length < sizeof *osm) {
  ------------------
  |  Branch (247:13): [True: 1.68k, False: 115k]
  ------------------
  248|  1.68k|            return OFPERR_OFPBRC_BAD_LEN;
  249|  1.68k|        }
  250|   115k|        osm = (const struct ofp10_stats_msg *) oh;
  251|   115k|        hdrs->stat = ntohs(osm->type);
  252|       |
  253|   115k|        if (hdrs->stat == OFPST_VENDOR) {
  ------------------
  |  |   37|   115k|#define OFPST_VENDOR 0xffff
  ------------------
  |  Branch (253:13): [True: 63.1k, False: 51.8k]
  ------------------
  254|       |            /* Get vendor. */
  255|  63.1k|            const struct ofp10_vendor_stats_msg *ovsm;
  256|       |
  257|  63.1k|            if (length < sizeof *ovsm) {
  ------------------
  |  Branch (257:17): [True: 70, False: 63.1k]
  ------------------
  258|     70|                return OFPERR_OFPBRC_BAD_LEN;
  259|     70|            }
  260|       |
  261|  63.1k|            ovsm = (const struct ofp10_vendor_stats_msg *) oh;
  262|  63.1k|            hdrs->vendor = ntohl(ovsm->vendor);
  263|  63.1k|            if (hdrs->vendor == NX_VENDOR_ID) {
  ------------------
  |  |  110|  63.1k|#define NX_VENDOR_ID    0x00002320 /* Nicira. */
  ------------------
  |  Branch (263:17): [True: 61.9k, False: 1.19k]
  ------------------
  264|       |                /* Get Nicira statistic type (NXST_*). */
  265|  61.9k|                const struct nicira10_stats_msg *nsm;
  266|       |
  267|  61.9k|                if (length < sizeof *nsm) {
  ------------------
  |  Branch (267:21): [True: 68, False: 61.8k]
  ------------------
  268|     68|                    return OFPERR_OFPBRC_BAD_LEN;
  269|     68|                }
  270|  61.8k|                nsm = (const struct nicira10_stats_msg *) oh;
  271|  61.8k|                hdrs->subtype = ntohl(nsm->subtype);
  272|  61.8k|            } else {
  273|  1.19k|                log_bad_vendor(hdrs->vendor);
  274|  1.19k|                return OFPERR_OFPBRC_BAD_VENDOR;
  275|  1.19k|            }
  276|  63.1k|        }
  277|  3.66M|    } else if (hdrs->version != OFP10_VERSION
  ------------------
  |  Branch (277:16): [True: 3.13M, False: 529k]
  ------------------
  278|  3.13M|               && (hdrs->type == OFPT11_STATS_REQUEST ||
  ------------------
  |  |   35|  6.26M|#define OFPT11_STATS_REQUEST 18
  ------------------
  |  Branch (278:20): [True: 43.2k, False: 3.09M]
  ------------------
  279|  3.09M|                   hdrs->type == OFPT11_STATS_REPLY)) {
  ------------------
  |  |   36|  3.09M|#define OFPT11_STATS_REPLY 19
  ------------------
  |  Branch (279:20): [True: 285k, False: 2.80M]
  ------------------
  280|   328k|        const struct ofp11_stats_msg *osm;
  281|       |
  282|       |        /* Get statistic type (OFPST_*). */
  283|   328k|        if (length < sizeof *osm) {
  ------------------
  |  Branch (283:13): [True: 13.3k, False: 315k]
  ------------------
  284|  13.3k|            return OFPERR_OFPBRC_BAD_LEN;
  285|  13.3k|        }
  286|   315k|        osm = (const struct ofp11_stats_msg *) oh;
  287|   315k|        hdrs->stat = ntohs(osm->type);
  288|       |
  289|   315k|        if (hdrs->stat == OFPST_VENDOR) {
  ------------------
  |  |   37|   315k|#define OFPST_VENDOR 0xffff
  ------------------
  |  Branch (289:13): [True: 3.64k, False: 311k]
  ------------------
  290|       |            /* Get vendor. */
  291|  3.64k|            const struct ofp11_vendor_stats_msg *ovsm;
  292|       |
  293|  3.64k|            if (length < sizeof *ovsm) {
  ------------------
  |  Branch (293:17): [True: 3.18k, False: 465]
  ------------------
  294|  3.18k|                return OFPERR_OFPBRC_BAD_LEN;
  295|  3.18k|            }
  296|       |
  297|    465|            ovsm = (const struct ofp11_vendor_stats_msg *) oh;
  298|    465|            hdrs->vendor = ntohl(ovsm->vendor);
  299|    465|            if (hdrs->vendor == NX_VENDOR_ID ||
  ------------------
  |  |  110|    930|#define NX_VENDOR_ID    0x00002320 /* Nicira. */
  ------------------
  |  Branch (299:17): [True: 240, False: 225]
  ------------------
  300|    309|                hdrs->vendor == ONF_VENDOR_ID) {
  ------------------
  |  |  111|    225|#define ONF_VENDOR_ID   0x4f4e4600 /* Open Networking Foundation. */
  ------------------
  |  Branch (300:17): [True: 69, False: 156]
  ------------------
  301|    309|                hdrs->subtype = ntohl(ovsm->subtype);
  302|    309|            } else {
  303|    156|                log_bad_vendor(hdrs->vendor);
  304|    156|                return OFPERR_OFPBRC_BAD_VENDOR;
  305|    156|            }
  306|    465|        }
  307|   315k|    }
  308|       |
  309|  3.90M|    return 0;
  310|  3.95M|}
ofp-msgs.c:log_bad_vendor:
  206|  10.6k|{
  207|  10.6k|    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 1);
  ------------------
  |  |  110|  10.6k|        {                                                                 \
  |  |  111|  10.6k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  42.4k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 10.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  10.6k|            0,                              /* first_dropped */           \
  |  |  113|  10.6k|            0,                              /* last_dropped */            \
  |  |  114|  10.6k|            0,                              /* n_dropped */               \
  |  |  115|  10.6k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  10.6k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  10.6k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  10.6k|        }
  ------------------
  208|       |
  209|  10.6k|    VLOG_WARN_RL(&rl, "OpenFlow message has unknown vendor %#"PRIx32, vendor);
  ------------------
  |  |  224|  10.6k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  10.6k|    do {                                                                \
  |  |  |  |  288|  10.6k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  10.6k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 10.6k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  10.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 10.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|  10.6k|}
ofp-msgs.c:ofpraw_check_length:
  434|  3.38M|{
  435|  3.38M|    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|  3.38M|        {                                                                 \
  |  |  111|  3.38M|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  13.5M|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 3.38M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  3.38M|            0,                              /* first_dropped */           \
  |  |  113|  3.38M|            0,                              /* last_dropped */            \
  |  |  114|  3.38M|            0,                              /* n_dropped */               \
  |  |  115|  3.38M|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  3.38M|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  3.38M|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  3.38M|        }
  ------------------
  436|       |
  437|  3.38M|    unsigned int min_len = instance->hdrs_len + info->min_body;
  438|  3.38M|    switch (info->extra_multiple) {
  439|   114k|    case 0:
  ------------------
  |  Branch (439:5): [True: 114k, False: 3.27M]
  ------------------
  440|   114k|        if (len != min_len) {
  ------------------
  |  Branch (440:13): [True: 45.6k, False: 68.8k]
  ------------------
  441|  45.6k|            VLOG_WARN_RL(&rl, "received %s with incorrect length %u (expected "
  ------------------
  |  |  224|  45.6k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  45.6k|    do {                                                                \
  |  |  |  |  288|  45.6k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  45.6k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 45.6k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  45.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 45.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|  45.6k|                         "length %u)", info->name, len, min_len);
  443|  45.6k|            return OFPERR_OFPBRC_BAD_LEN;
  444|  45.6k|        }
  445|  68.8k|        break;
  446|       |
  447|  2.31M|    case 1:
  ------------------
  |  Branch (447:5): [True: 2.31M, False: 1.07M]
  ------------------
  448|  2.31M|        if (len < min_len) {
  ------------------
  |  Branch (448:13): [True: 46.7k, False: 2.26M]
  ------------------
  449|  46.7k|            VLOG_WARN_RL(&rl, "received %s with incorrect length %u (expected "
  ------------------
  |  |  224|  46.7k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  46.7k|    do {                                                                \
  |  |  |  |  288|  46.7k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  46.7k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 46.7k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  46.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 46.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|  46.7k|                         "length at least %u bytes)",
  451|  46.7k|                         info->name, len, min_len);
  452|  46.7k|            return OFPERR_OFPBRC_BAD_LEN;
  453|  46.7k|        }
  454|  2.26M|        break;
  455|       |
  456|  2.26M|    default:
  ------------------
  |  Branch (456:5): [True: 961k, False: 2.42M]
  ------------------
  457|   961k|        if (len < min_len || (len - min_len) % info->extra_multiple) {
  ------------------
  |  Branch (457:13): [True: 15.1k, False: 946k]
  |  Branch (457:30): [True: 5.82k, False: 940k]
  ------------------
  458|  20.9k|            VLOG_WARN_RL(&rl, "received %s with incorrect length %u (must be "
  ------------------
  |  |  224|  20.9k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  20.9k|    do {                                                                \
  |  |  |  |  288|  20.9k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  20.9k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 20.9k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  20.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 20.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  20.9k|                         "exactly %u bytes or longer by an integer multiple "
  460|  20.9k|                         "of %u bytes)",
  461|  20.9k|                         info->name, len, min_len, info->extra_multiple);
  462|  20.9k|            return OFPERR_OFPBRC_BAD_LEN;
  463|  20.9k|        }
  464|   940k|        break;
  465|  3.38M|    }
  466|       |
  467|  3.27M|    return 0;
  468|  3.38M|}
ofp-msgs.c:ofphdrs_decode_assert:
  315|  9.18k|{
  316|  9.18k|    ovs_assert(!ofphdrs_decode(hdrs, oh, length));
  ------------------
  |  |   62|  9.18k|#define ovs_assert ovs_ignore
  ------------------
  317|  9.18k|}
ofp-msgs.c:ofp_is_stat_request:
  321|  2.14M|{
  322|  2.14M|    switch (version) {
  ------------------
  |  Branch (322:13): [True: 1.63M, False: 510k]
  ------------------
  323|   334k|    case OFP10_VERSION:
  ------------------
  |  Branch (323:5): [True: 334k, False: 1.81M]
  ------------------
  324|   334k|        return type == OFPT10_STATS_REQUEST;
  ------------------
  |  |   33|   334k|#define OFPT10_STATS_REQUEST 16
  ------------------
  325|   138k|    case OFP11_VERSION:
  ------------------
  |  Branch (325:5): [True: 138k, False: 2.00M]
  ------------------
  326|   473k|    case OFP12_VERSION:
  ------------------
  |  Branch (326:5): [True: 334k, False: 1.81M]
  ------------------
  327|   623k|    case OFP13_VERSION:
  ------------------
  |  Branch (327:5): [True: 150k, False: 1.99M]
  ------------------
  328|   914k|    case OFP14_VERSION:
  ------------------
  |  Branch (328:5): [True: 290k, False: 1.85M]
  ------------------
  329|  1.30M|    case OFP15_VERSION:
  ------------------
  |  Branch (329:5): [True: 387k, False: 1.75M]
  ------------------
  330|  1.30M|        return type == OFPT11_STATS_REQUEST;
  ------------------
  |  |   35|  1.30M|#define OFPT11_STATS_REQUEST 18
  ------------------
  331|  2.14M|    }
  332|       |
  333|   510k|    return false;
  334|  2.14M|}
ofp-msgs.c:ofp_is_stat_reply:
  338|  2.02M|{
  339|  2.02M|    switch (version) {
  ------------------
  |  Branch (339:13): [True: 1.51M, False: 510k]
  ------------------
  340|   305k|    case OFP10_VERSION:
  ------------------
  |  Branch (340:5): [True: 305k, False: 1.71M]
  ------------------
  341|   305k|        return type == OFPT10_STATS_REPLY;
  ------------------
  |  |   34|   305k|#define OFPT10_STATS_REPLY 17
  ------------------
  342|   129k|    case OFP11_VERSION:
  ------------------
  |  Branch (342:5): [True: 129k, False: 1.89M]
  ------------------
  343|   459k|    case OFP12_VERSION:
  ------------------
  |  Branch (343:5): [True: 329k, False: 1.69M]
  ------------------
  344|   607k|    case OFP13_VERSION:
  ------------------
  |  Branch (344:5): [True: 148k, False: 1.87M]
  ------------------
  345|   874k|    case OFP14_VERSION:
  ------------------
  |  Branch (345:5): [True: 266k, False: 1.75M]
  ------------------
  346|  1.20M|    case OFP15_VERSION:
  ------------------
  |  Branch (346:5): [True: 331k, False: 1.68M]
  ------------------
  347|  1.20M|        return type == OFPT11_STATS_REPLY;
  ------------------
  |  |   36|  1.20M|#define OFPT11_STATS_REPLY 19
  ------------------
  348|  2.02M|    }
  349|       |
  350|   510k|    return false;
  351|  2.02M|}
ofp-msgs.c:ofp_is_stat:
  355|  2.04M|{
  356|  2.04M|    return (ofp_is_stat_request(version, type) ||
  ------------------
  |  Branch (356:13): [True: 24.7k, False: 2.02M]
  ------------------
  357|  2.02M|            ofp_is_stat_reply(version, type));
  ------------------
  |  Branch (357:13): [True: 114k, False: 1.90M]
  ------------------
  358|  2.04M|}
ofp-msgs.c:ofpmp_flags__:
 1028|   125k|{
 1029|   125k|    switch ((enum ofp_version)oh->version) {
 1030|  27.3k|    case OFP10_VERSION:
  ------------------
  |  Branch (1030:5): [True: 27.3k, False: 97.9k]
  ------------------
 1031|  27.3k|        return &((struct ofp10_stats_msg *) oh)->flags;
 1032|  5.14k|    case OFP11_VERSION:
  ------------------
  |  Branch (1032:5): [True: 5.14k, False: 120k]
  ------------------
 1033|  8.98k|    case OFP12_VERSION:
  ------------------
  |  Branch (1033:5): [True: 3.83k, False: 121k]
  ------------------
 1034|  12.0k|    case OFP13_VERSION:
  ------------------
  |  Branch (1034:5): [True: 3.03k, False: 122k]
  ------------------
 1035|  29.9k|    case OFP14_VERSION:
  ------------------
  |  Branch (1035:5): [True: 17.8k, False: 107k]
  ------------------
 1036|  97.9k|    case OFP15_VERSION:
  ------------------
  |  Branch (1036:5): [True: 68.0k, False: 57.2k]
  ------------------
 1037|  97.9k|        return &((struct ofp11_stats_msg *) oh)->flags;
 1038|      0|    default:
  ------------------
  |  Branch (1038:5): [True: 0, False: 125k]
  ------------------
 1039|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1040|   125k|    }
 1041|   125k|}
ofp-msgs.c:raw_info_get:
 1307|  6.49M|{
 1308|  6.49M|    ofpmsgs_init();
 1309|       |
 1310|  6.49M|    ovs_assert(raw < ARRAY_SIZE(raw_infos));
  ------------------
  |  |   62|  6.49M|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(raw < ARRAY_SIZE(raw_infos));
  ------------------
  |  |  297|  6.49M|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|  6.49M|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  6.49M|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|  6.49M|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.49M|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|  6.49M|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1311|  6.49M|    return &raw_infos[raw];
 1312|  6.49M|}
ofp-msgs.c:ofpmsgs_init:
 1363|  10.3M|{
 1364|  10.3M|    static struct ovsthread_once once = OVSTHREAD_ONCE_INITIALIZER;
  ------------------
  |  |  134|  10.3M|    {                                           \
  |  |  135|  10.3M|        false,                                  \
  |  |  136|  10.3M|        OVS_MUTEX_INITIALIZER,                  \
  |  |  ------------------
  |  |  |  |   45|  10.3M|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  10.3M|                                "<unlocked>" }
  |  |  ------------------
  |  |  137|  10.3M|    }
  ------------------
 1365|  10.3M|    const struct raw_info *info;
 1366|       |
 1367|  10.3M|    if (!ovsthread_once_start(&once)) {
  ------------------
  |  Branch (1367:9): [True: 10.3M, False: 1]
  ------------------
 1368|  10.3M|        return;
 1369|  10.3M|    }
 1370|       |
 1371|      1|    hmap_init(&raw_instance_map);
 1372|    162|    for (info = raw_infos; info < &raw_infos[ARRAY_SIZE(raw_infos)]; info++)
  ------------------
  |  |  297|    162|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|    162|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|    162|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|    162|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|    162|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1372:28): [True: 161, False: 1]
  ------------------
 1373|    161|    {
 1374|    161|        int n_instances = info->max_version - info->min_version + 1;
 1375|    161|        struct raw_instance *inst;
 1376|       |
 1377|    161|        for (inst = info->instances;
 1378|  1.62k|             inst < &info->instances[n_instances];
  ------------------
  |  Branch (1378:14): [True: 1.46k, False: 161]
  ------------------
 1379|  1.46k|             inst++) {
 1380|  1.46k|            inst->hdrs_len = ofphdrs_len(&inst->hdrs);
 1381|  1.46k|            hmap_insert(&raw_instance_map, &inst->hmap_node,
  ------------------
  |  |  101|  1.46k|    hmap_insert_at(HMAP, NODE, HASH, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|  1.46k|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  1.46k|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|  1.46k|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1382|  1.46k|                        ofphdrs_hash(&inst->hdrs));
 1383|  1.46k|        }
 1384|    161|    }
 1385|       |
 1386|      1|    ovsthread_once_done(&once);
 1387|      1|}
ofp-msgs.c:ofphdrs_hash:
  193|  3.89M|{
  194|  3.89M|    BUILD_ASSERT_DECL(sizeof *hdrs % 4 == 0);
  ------------------
  |  |  270|  3.89M|#define BUILD_ASSERT_DECL(EXPR) _Static_assert(EXPR, #EXPR)
  ------------------
  195|  3.89M|    return hash_bytes32((const uint32_t *) hdrs, sizeof *hdrs, 0);
  196|  3.89M|}
ofp-msgs.c:raw_instance_get:
 1316|  3.38M|{
 1317|  3.38M|    ovs_assert(version >= info->min_version && version <= info->max_version);
  ------------------
  |  |   62|  3.38M|#define ovs_assert ovs_ignore
  ------------------
  |  Branch (1317:16): [True: 3.38M, False: 0]
  |  Branch (1317:48): [True: 3.38M, False: 0]
  ------------------
 1318|  3.38M|    return &info->instances[version - info->min_version];
 1319|  3.38M|}
ofp-msgs.c:ofpraw_from_ofphdrs:
 1323|  3.89M|{
 1324|  3.89M|    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 1);
  ------------------
  |  |  110|  3.89M|        {                                                                 \
  |  |  111|  3.89M|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  15.5M|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 3.89M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  3.89M|            0,                              /* first_dropped */           \
  |  |  113|  3.89M|            0,                              /* last_dropped */            \
  |  |  114|  3.89M|            0,                              /* n_dropped */               \
  |  |  115|  3.89M|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  3.89M|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  3.89M|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  3.89M|        }
  ------------------
 1325|       |
 1326|  3.89M|    struct raw_instance *raw_hdrs;
 1327|  3.89M|    uint32_t hash;
 1328|       |
 1329|  3.89M|    ofpmsgs_init();
 1330|       |
 1331|  3.89M|    hash = ofphdrs_hash(hdrs);
 1332|  3.89M|    HMAP_FOR_EACH_WITH_HASH (raw_hdrs, hmap_node, hash, &raw_instance_map) {
  ------------------
  |  |  138|  3.89M|    for (INIT_MULTIVAR(NODE, MEMBER, hmap_first_with_hash(HMAP, HASH),        \
  |  |  ------------------
  |  |  |  |  171|  3.89M|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|  3.89M|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  139|  3.89M|                       struct hmap_node);                                     \
  |  |  140|  3.89M|         CONDITION_MULTIVAR(NODE, MEMBER, ITER_VAR(NODE) != NULL);            \
  |  |  ------------------
  |  |  |  |  185|  3.89M|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 3.39M, False: 502k]
  |  |  |  |  |  Branch (185:6): [True: 3.39M, False: 502k]
  |  |  |  |  ------------------
  |  |  |  |  186|  3.89M|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  3.39M|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|  3.39M|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|  3.39M|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|  3.89M|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |  141|  3.89M|         UPDATE_MULTIVAR(NODE, hmap_next_with_hash(ITER_VAR(NODE))))
  |  |  ------------------
  |  |  |  |  193|    336|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|    336|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|  3.39M|        if (ofphdrs_equal(hdrs, &raw_hdrs->hdrs)) {
  ------------------
  |  Branch (1333:13): [True: 3.39M, False: 336]
  ------------------
 1334|  3.39M|            *raw = raw_hdrs->raw;
 1335|  3.39M|            return 0;
 1336|  3.39M|        }
 1337|  3.39M|    }
 1338|       |
 1339|   502k|    if (!VLOG_DROP_WARN(&rl)) {
  ------------------
  |  |  234|   502k|#define VLOG_DROP_WARN(RL) vlog_should_drop(&this_module, VLL_WARN, RL)
  ------------------
  |  Branch (1339:9): [True: 0, False: 502k]
  ------------------
 1340|      0|        struct ds s;
 1341|       |
 1342|      0|        ds_init(&s);
 1343|      0|        ds_put_format(&s, "version %"PRIu8", type %"PRIu8,
 1344|      0|                      hdrs->version, hdrs->type);
 1345|      0|        if (ofphdrs_is_stat(hdrs)) {
  ------------------
  |  Branch (1345:13): [True: 0, False: 0]
  ------------------
 1346|      0|            ds_put_format(&s, ", stat %"PRIu16, hdrs->stat);
 1347|      0|        }
 1348|      0|        if (hdrs->vendor) {
  ------------------
  |  Branch (1348:13): [True: 0, False: 0]
  ------------------
 1349|      0|            ds_put_format(&s, ", vendor 0x%"PRIx32", subtype %"PRIu32,
 1350|      0|                          hdrs->vendor, hdrs->subtype);
 1351|      0|        }
 1352|      0|        VLOG_WARN("unknown OpenFlow message (%s)", ds_cstr(&s));
  ------------------
  |  |  209|      0|#define VLOG_WARN(...) VLOG(VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  280|      0|    do {                                                \
  |  |  |  |  281|      0|        enum vlog_level level__ = LEVEL;                \
  |  |  |  |  282|      0|        if (this_module.min_level >= level__) {         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (282:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  283|      0|            vlog(&this_module, level__, __VA_ARGS__);   \
  |  |  |  |  284|      0|        }                                               \
  |  |  |  |  285|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (285:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|      0|        ds_destroy(&s);
 1354|      0|    }
 1355|       |
 1356|   502k|    return (hdrs->vendor ? OFPERR_OFPBRC_BAD_SUBTYPE
  ------------------
  |  Branch (1356:13): [True: 6.72k, False: 495k]
  ------------------
 1357|   502k|            : ofphdrs_is_stat(hdrs) ? OFPERR_OFPBRC_BAD_STAT
  ------------------
  |  Branch (1357:15): [True: 14.2k, False: 481k]
  ------------------
 1358|   495k|            : OFPERR_OFPBRC_BAD_TYPE);
 1359|  3.89M|}
ofp-msgs.c:ofphdrs_equal:
  200|  3.39M|{
  201|  3.39M|    return !memcmp(a, b, sizeof *a);
  202|  3.39M|}
ofp-msgs.c:ofphdrs_is_stat:
  362|   495k|{
  363|   495k|    return ofp_is_stat(hdrs->version, hdrs->type);
  364|   495k|}

ofputil_packet_in_format_to_string:
   41|    313|{
   42|    313|    switch (format) {
   43|    242|    case OFPUTIL_PACKET_IN_STD:
  ------------------
  |  Branch (43:5): [True: 242, False: 71]
  ------------------
   44|    242|        return "standard";
   45|     39|    case OFPUTIL_PACKET_IN_NXT:
  ------------------
  |  Branch (45:5): [True: 39, False: 274]
  ------------------
   46|     39|        return "nxt_packet_in";
   47|     32|    case OFPUTIL_PACKET_IN_NXT2:
  ------------------
  |  Branch (47:5): [True: 32, False: 281]
  ------------------
   48|     32|        return "nxt_packet_in2";
   49|      0|    default:
  ------------------
  |  Branch (49:5): [True: 0, False: 313]
  ------------------
   50|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
   51|    313|    }
   52|    313|}
ofputil_decode_set_packet_in_format:
   81|    417|{
   82|    417|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
   83|    417|    ovs_assert(ofpraw_pull_assert(&b) == OFPRAW_NXT_SET_PACKET_IN_FORMAT);
  ------------------
  |  |   62|    417|#define ovs_assert ovs_ignore
  ------------------
   84|    417|    ovs_be32 *spifp = ofpbuf_pull(&b, sizeof *spifp);
   85|    417|    uint32_t spif = ntohl(*spifp);
   86|       |
   87|    417|    switch (spif) {
   88|    242|    case OFPUTIL_PACKET_IN_STD:
  ------------------
  |  Branch (88:5): [True: 242, False: 175]
  ------------------
   89|    281|    case OFPUTIL_PACKET_IN_NXT:
  ------------------
  |  Branch (89:5): [True: 39, False: 378]
  ------------------
   90|    313|    case OFPUTIL_PACKET_IN_NXT2:
  ------------------
  |  Branch (90:5): [True: 32, False: 385]
  ------------------
   91|    313|        *format = spif;
   92|    313|        return 0;
   93|       |
   94|    104|    default:
  ------------------
  |  Branch (94:5): [True: 104, False: 313]
  ------------------
   95|    104|        VLOG_WARN_RL(&rl, "NXT_SET_PACKET_IN_FORMAT message specified invalid "
  ------------------
  |  |  224|    104|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    104|    do {                                                                \
  |  |  |  |  288|    104|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    104|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 104]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    104|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 104]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    104|                     "packet-in format %"PRIu32, spif);
   97|    104|        return OFPERR_OFPBRC_EPERM;
   98|    417|    }
   99|    417|}
ofputil_decode_packet_in:
  233|   107k|{
  234|   107k|    uint32_t buffer_id;
  235|   107k|    size_t total_len;
  236|       |
  237|   107k|    memset(pin, 0, sizeof *pin);
  238|   107k|    pin->cookie = OVS_BE64_MAX;
  ------------------
  |  |   44|   107k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  239|   107k|    if (continuation) {
  ------------------
  |  Branch (239:9): [True: 107k, False: 0]
  ------------------
  240|   107k|        ofpbuf_use_const(continuation, NULL, 0);
  241|   107k|    }
  242|       |
  243|   107k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  244|   107k|    enum ofpraw raw = ofpraw_pull_assert(&b);
  245|   107k|    if (raw == OFPRAW_OFPT13_PACKET_IN || raw == OFPRAW_OFPT12_PACKET_IN) {
  ------------------
  |  Branch (245:9): [True: 1.08k, False: 106k]
  |  Branch (245:43): [True: 65.4k, False: 40.9k]
  ------------------
  246|  66.5k|        const struct ofp12_packet_in *opi = ofpbuf_pull(&b, sizeof *opi);
  247|  66.5k|        const ovs_be64 *cookie = (raw == OFPRAW_OFPT13_PACKET_IN
  ------------------
  |  Branch (247:35): [True: 1.08k, False: 65.4k]
  ------------------
  248|  66.5k|                                  ? ofpbuf_pull(&b, sizeof *cookie)
  249|  66.5k|                                  : NULL);
  250|  66.5k|        enum ofperr error = oxm_pull_match_loose(&b, false, tun_table,
  251|  66.5k|                                                 &pin->flow_metadata);
  252|  66.5k|        pin->flow_metadata.flow.tunnel.metadata.tab = tun_table;
  253|  66.5k|        if (error) {
  ------------------
  |  Branch (253:13): [True: 33.2k, False: 33.2k]
  ------------------
  254|  33.2k|            return error;
  255|  33.2k|        }
  256|       |
  257|  33.2k|        if (!ofpbuf_try_pull(&b, 2)) {
  ------------------
  |  Branch (257:13): [True: 3.86k, False: 29.4k]
  ------------------
  258|  3.86k|            return OFPERR_OFPBRC_BAD_LEN;
  259|  3.86k|        }
  260|       |
  261|  29.4k|        pin->reason = opi->reason;
  262|  29.4k|        pin->table_id = opi->table_id;
  263|  29.4k|        buffer_id = ntohl(opi->buffer_id);
  264|  29.4k|        total_len = ntohs(opi->total_len);
  265|  29.4k|        if (cookie) {
  ------------------
  |  Branch (265:13): [True: 556, False: 28.8k]
  ------------------
  266|    556|            pin->cookie = *cookie;
  267|    556|        }
  268|       |
  269|  29.4k|        pin->packet = b.data;
  270|  29.4k|        pin->packet_len = b.size;
  271|  40.9k|    } else if (raw == OFPRAW_OFPT10_PACKET_IN) {
  ------------------
  |  Branch (271:16): [True: 14.7k, False: 26.1k]
  ------------------
  272|  14.7k|        const struct ofp10_packet_in *opi;
  273|       |
  274|  14.7k|        opi = ofpbuf_pull(&b, offsetof(struct ofp10_packet_in, data));
  275|       |
  276|  14.7k|        pin->packet = CONST_CAST(uint8_t *, opi->data);
  ------------------
  |  |   85|  14.7k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|  14.7k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|  14.7k|     (TYPE) (POINTER))
  ------------------
  277|  14.7k|        pin->packet_len = b.size;
  278|       |
  279|  14.7k|        match_init_catchall(&pin->flow_metadata);
  280|  14.7k|        match_set_in_port(&pin->flow_metadata,
  281|  14.7k|                          u16_to_ofp(ntohs(opi->in_port)));
  282|  14.7k|        pin->reason = opi->reason;
  283|  14.7k|        buffer_id = ntohl(opi->buffer_id);
  284|  14.7k|        total_len = ntohs(opi->total_len);
  285|  26.1k|    } else if (raw == OFPRAW_OFPT11_PACKET_IN) {
  ------------------
  |  Branch (285:16): [True: 301, False: 25.8k]
  ------------------
  286|    301|        const struct ofp11_packet_in *opi;
  287|    301|        ofp_port_t in_port;
  288|    301|        enum ofperr error;
  289|       |
  290|    301|        opi = ofpbuf_pull(&b, sizeof *opi);
  291|       |
  292|    301|        pin->packet = b.data;
  293|    301|        pin->packet_len = b.size;
  294|       |
  295|    301|        buffer_id = ntohl(opi->buffer_id);
  296|    301|        error = ofputil_port_from_ofp11(opi->in_port, &in_port);
  297|    301|        if (error) {
  ------------------
  |  Branch (297:13): [True: 118, False: 183]
  ------------------
  298|    118|            return error;
  299|    118|        }
  300|    183|        match_init_catchall(&pin->flow_metadata);
  301|    183|        match_set_in_port(&pin->flow_metadata, in_port);
  302|    183|        total_len = ntohs(opi->total_len);
  303|    183|        pin->reason = opi->reason;
  304|    183|        pin->table_id = opi->table_id;
  305|  25.8k|    } else if (raw == OFPRAW_NXT_PACKET_IN) {
  ------------------
  |  Branch (305:16): [True: 1.26k, False: 24.6k]
  ------------------
  306|  1.26k|        const struct nx_packet_in *npi;
  307|  1.26k|        int error;
  308|       |
  309|  1.26k|        npi = ofpbuf_pull(&b, sizeof *npi);
  310|  1.26k|        error = nx_pull_match_loose(&b, ntohs(npi->match_len),
  311|  1.26k|                                    &pin->flow_metadata, NULL, NULL, false,
  312|  1.26k|                                    NULL);
  313|  1.26k|        if (error) {
  ------------------
  |  Branch (313:13): [True: 731, False: 530]
  ------------------
  314|    731|            return error;
  315|    731|        }
  316|       |
  317|    530|        if (!ofpbuf_try_pull(&b, 2)) {
  ------------------
  |  Branch (317:13): [True: 82, False: 448]
  ------------------
  318|     82|            return OFPERR_OFPBRC_BAD_LEN;
  319|     82|        }
  320|       |
  321|    448|        pin->reason = npi->reason;
  322|    448|        pin->table_id = npi->table_id;
  323|    448|        pin->cookie = npi->cookie;
  324|       |
  325|    448|        buffer_id = ntohl(npi->buffer_id);
  326|    448|        total_len = ntohs(npi->total_len);
  327|       |
  328|    448|        pin->packet = b.data;
  329|    448|        pin->packet_len = b.size;
  330|  24.6k|    } else if (raw == OFPRAW_NXT_PACKET_IN2 || raw == OFPRAW_NXT_RESUME) {
  ------------------
  |  Branch (330:16): [True: 20.5k, False: 4.08k]
  |  Branch (330:48): [True: 4.08k, False: 0]
  ------------------
  331|  24.6k|        enum ofperr error = decode_nx_packet_in2(oh, loose, tun_table,
  332|  24.6k|                                                 vl_mff_map, pin, &total_len,
  333|  24.6k|                                                 &buffer_id, continuation);
  334|  24.6k|        if (error) {
  ------------------
  |  Branch (334:13): [True: 6.75k, False: 17.8k]
  ------------------
  335|  6.75k|            return error;
  336|  6.75k|        }
  337|  24.6k|    } else {
  338|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  339|      0|    }
  340|       |
  341|  62.6k|    if (total_lenp) {
  ------------------
  |  Branch (341:9): [True: 62.6k, False: 0]
  ------------------
  342|  62.6k|        *total_lenp = total_len;
  343|  62.6k|    }
  344|  62.6k|    if (buffer_idp) {
  ------------------
  |  Branch (344:9): [True: 62.6k, False: 0]
  ------------------
  345|  62.6k|        *buffer_idp = buffer_id;
  346|  62.6k|    }
  347|       |
  348|  62.6k|    return 0;
  349|   107k|}
ofputil_packet_in_reason_to_string:
  710|  82.7k|{
  711|  82.7k|    switch (reason) {
  712|  32.4k|    case OFPR_NO_MATCH:
  ------------------
  |  Branch (712:5): [True: 32.4k, False: 50.3k]
  ------------------
  713|  32.4k|        return "no_match";
  714|  5.28k|    case OFPR_ACTION:
  ------------------
  |  Branch (714:5): [True: 5.28k, False: 77.5k]
  ------------------
  715|  5.28k|        return "action";
  716|  4.59k|    case OFPR_INVALID_TTL:
  ------------------
  |  Branch (716:5): [True: 4.59k, False: 78.1k]
  ------------------
  717|  4.59k|        return "invalid_ttl";
  718|  4.01k|    case OFPR_ACTION_SET:
  ------------------
  |  Branch (718:5): [True: 4.01k, False: 78.7k]
  ------------------
  719|  4.01k|        return "action_set";
  720|  6.74k|    case OFPR_GROUP:
  ------------------
  |  Branch (720:5): [True: 6.74k, False: 76.0k]
  ------------------
  721|  6.74k|        return "group";
  722|  2.57k|    case OFPR_PACKET_OUT:
  ------------------
  |  Branch (722:5): [True: 2.57k, False: 80.2k]
  ------------------
  723|  2.57k|        return "packet_out";
  724|  4.77k|    case OFPR_EXPLICIT_MISS:
  ------------------
  |  Branch (724:5): [True: 4.77k, False: 78.0k]
  ------------------
  725|  6.21k|    case OFPR_IMPLICIT_MISS:
  ------------------
  |  Branch (725:5): [True: 1.43k, False: 81.3k]
  ------------------
  726|  6.21k|        return "";
  727|       |
  728|    182|    case OFPR_N_REASONS:
  ------------------
  |  Branch (728:5): [True: 182, False: 82.6k]
  ------------------
  729|  20.9k|    default:
  ------------------
  |  Branch (729:5): [True: 20.7k, False: 62.0k]
  ------------------
  730|  20.9k|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
  731|  20.9k|        return reasonbuf;
  732|  82.7k|    }
  733|  82.7k|}
ofputil_decode_packet_in_private:
  818|   107k|{
  819|   107k|    memset(pin, 0, sizeof *pin);
  820|       |
  821|   107k|    struct ofpbuf continuation;
  822|   107k|    enum ofperr error;
  823|   107k|    error = ofputil_decode_packet_in(oh, loose, tun_table, vl_mff_map,
  824|   107k|                                     &pin->base, total_len, buffer_id,
  825|   107k|                                     &continuation);
  826|   107k|    if (error) {
  ------------------
  |  Branch (826:9): [True: 44.8k, False: 62.6k]
  ------------------
  827|  44.8k|        return error;
  828|  44.8k|    }
  829|       |
  830|  62.6k|    struct ofpbuf actions, action_set;
  831|  62.6k|    ofpbuf_init(&actions, 0);
  832|  62.6k|    ofpbuf_init(&action_set, 0);
  833|       |
  834|  62.6k|    uint8_t table_id = 0;
  835|  62.6k|    ovs_be64 cookie = 0;
  836|       |
  837|  62.6k|    struct ofpbuf stack;
  838|  62.6k|    ofpbuf_init(&stack, 0);
  839|       |
  840|  89.9k|    while (continuation.size > 0) {
  ------------------
  |  Branch (840:12): [True: 32.5k, False: 57.3k]
  ------------------
  841|  32.5k|        struct ofpbuf payload;
  842|  32.5k|        uint64_t type;
  843|       |
  844|  32.5k|        error = ofpprop_pull(&continuation, &payload, &type);
  845|  32.5k|        if (error) {
  ------------------
  |  Branch (845:13): [True: 2.68k, False: 29.8k]
  ------------------
  846|  2.68k|            break;
  847|  2.68k|        }
  848|       |
  849|  29.8k|        switch (type) {
  850|  3.04k|        case NXCPT_BRIDGE:
  ------------------
  |  Branch (850:9): [True: 3.04k, False: 26.8k]
  ------------------
  851|  3.04k|            error = ofpprop_parse_uuid(&payload, &pin->bridge);
  852|  3.04k|            break;
  853|       |
  854|  2.92k|        case NXCPT_STACK:
  ------------------
  |  Branch (854:9): [True: 2.92k, False: 26.9k]
  ------------------
  855|  2.92k|            error = parse_stack_prop(&payload, &stack);
  856|  2.92k|            break;
  857|       |
  858|    436|        case NXCPT_MIRRORS:
  ------------------
  |  Branch (858:9): [True: 436, False: 29.4k]
  ------------------
  859|    436|            error = ofpprop_parse_u32(&payload, &pin->mirrors);
  860|    436|            break;
  861|       |
  862|  1.63k|        case NXCPT_CONNTRACKED:
  ------------------
  |  Branch (862:9): [True: 1.63k, False: 28.2k]
  ------------------
  863|  1.63k|            pin->conntracked = true;
  864|  1.63k|            break;
  865|       |
  866|    397|        case NXCPT_TABLE_ID:
  ------------------
  |  Branch (866:9): [True: 397, False: 29.4k]
  ------------------
  867|    397|            error = ofpprop_parse_u8(&payload, &table_id);
  868|    397|            break;
  869|       |
  870|    500|        case NXCPT_COOKIE:
  ------------------
  |  Branch (870:9): [True: 500, False: 29.3k]
  ------------------
  871|    500|            error = ofpprop_parse_be64(&payload, &cookie);
  872|    500|            break;
  873|       |
  874|  9.92k|        case NXCPT_ACTIONS: {
  ------------------
  |  Branch (874:9): [True: 9.92k, False: 19.9k]
  ------------------
  875|  9.92k|            struct ofpact_unroll_xlate *unroll
  876|  9.92k|                = ofpact_put_UNROLL_XLATE(&actions);
  877|  9.92k|            unroll->rule_table_id = table_id;
  878|  9.92k|            unroll->rule_cookie = cookie;
  879|  9.92k|            error = parse_actions_property(&payload, oh->version, &actions);
  880|  9.92k|            break;
  881|      0|        }
  882|       |
  883|  7.90k|        case NXCPT_ACTION_SET:
  ------------------
  |  Branch (883:9): [True: 7.90k, False: 21.9k]
  ------------------
  884|  7.90k|            error = parse_actions_property(&payload, oh->version, &action_set);
  885|  7.90k|            break;
  886|       |
  887|    407|        case NXCPT_ODP_PORT: {
  ------------------
  |  Branch (887:9): [True: 407, False: 29.4k]
  ------------------
  888|    407|            uint32_t value;
  889|    407|            error = ofpprop_parse_u32(&payload, &value);
  890|    407|            if (!error) {
  ------------------
  |  Branch (890:17): [True: 303, False: 104]
  ------------------
  891|    303|                pin->odp_port = u32_to_odp(value);
  892|    303|            }
  893|    407|            break;
  894|      0|         }
  895|       |
  896|  2.71k|        default:
  ------------------
  |  Branch (896:9): [True: 2.71k, False: 27.1k]
  ------------------
  897|  2.71k|            error = OFPPROP_UNKNOWN(loose, "continuation", type);
  ------------------
  |  |  144|  2.71k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  898|  2.71k|            break;
  899|  29.8k|        }
  900|  29.8k|        if (error) {
  ------------------
  |  Branch (900:13): [True: 2.62k, False: 27.2k]
  ------------------
  901|  2.62k|            break;
  902|  2.62k|        }
  903|  29.8k|    }
  904|       |
  905|  62.6k|    pin->actions_len = actions.size;
  906|  62.6k|    pin->actions = ofpbuf_steal_data(&actions);
  907|  62.6k|    pin->action_set_len = action_set.size;
  908|  62.6k|    pin->action_set = ofpbuf_steal_data(&action_set);
  909|  62.6k|    pin->stack_size = stack.size;
  910|  62.6k|    pin->stack = ofpbuf_steal_data(&stack);
  911|       |
  912|  62.6k|    if (error) {
  ------------------
  |  Branch (912:9): [True: 5.31k, False: 57.3k]
  ------------------
  913|  5.31k|        ofputil_packet_in_private_destroy(pin);
  914|  5.31k|    }
  915|       |
  916|  62.6k|    return error;
  917|  62.6k|}
ofputil_packet_in_private_format:
  926|  57.3k|{
  927|  57.3k|    char reasonbuf[OFPUTIL_PACKET_IN_REASON_BUFSIZE];
  928|  57.3k|    const struct ofputil_packet_in *public = &pin->base;
  929|       |
  930|  57.3k|    if (public->table_id
  ------------------
  |  Branch (930:9): [True: 17.4k, False: 39.9k]
  ------------------
  931|  39.9k|        || ofputil_table_map_get_name(table_map, public->table_id)) {
  ------------------
  |  Branch (931:12): [True: 0, False: 39.9k]
  ------------------
  932|  17.4k|        ds_put_format(s, " table_id=");
  933|  17.4k|        ofputil_format_table(public->table_id, table_map, s);
  934|  17.4k|    }
  935|       |
  936|  57.3k|    if (public->cookie != OVS_BE64_MAX) {
  ------------------
  |  |   44|  57.3k|#define OVS_BE64_MAX ((OVS_FORCE ovs_be64) 0xffffffffffffffffULL)
  ------------------
  |  Branch (936:9): [True: 1.00k, False: 56.3k]
  ------------------
  937|  1.00k|        ds_put_format(s, " cookie=0x%"PRIx64, ntohll(public->cookie));
  938|  1.00k|    }
  939|       |
  940|  57.3k|    ds_put_format(s, " total_len=%"PRIuSIZE" ", total_len);
  941|       |
  942|  57.3k|    match_format(&public->flow_metadata, port_map, s, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  57.3k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
  943|       |
  944|  57.3k|    ds_put_format(s, " (via %s)",
  945|  57.3k|                  ofputil_packet_in_reason_to_string(public->reason,
  946|  57.3k|                                                     reasonbuf,
  947|  57.3k|                                                     sizeof reasonbuf));
  948|       |
  949|  57.3k|    ds_put_format(s, " data_len=%"PRIuSIZE, public->packet_len);
  ------------------
  |  |  120|  57.3k|#define PRIuSIZE "zu"
  ------------------
  950|  57.3k|    if (buffer_id == UINT32_MAX) {
  ------------------
  |  Branch (950:9): [True: 13.5k, False: 43.7k]
  ------------------
  951|  13.5k|        ds_put_format(s, " (unbuffered)");
  952|  13.5k|        if (total_len != public->packet_len) {
  ------------------
  |  Branch (952:13): [True: 7.64k, False: 5.95k]
  ------------------
  953|  7.64k|            ds_put_format(s, " (***total_len != data_len***)");
  954|  7.64k|        }
  955|  43.7k|    } else {
  956|  43.7k|        ds_put_format(s, " buffer=0x%08"PRIx32, buffer_id);
  957|  43.7k|        if (total_len < public->packet_len) {
  ------------------
  |  Branch (957:13): [True: 1.43k, False: 42.3k]
  ------------------
  958|  1.43k|            ds_put_format(s, " (***total_len < data_len***)");
  959|  1.43k|        }
  960|  43.7k|    }
  961|  57.3k|    ds_put_char(s, '\n');
  962|       |
  963|  57.3k|    if (public->userdata_len) {
  ------------------
  |  Branch (963:9): [True: 901, False: 56.4k]
  ------------------
  964|    901|        ds_put_cstr(s, " userdata=");
  965|    901|        ds_put_hex_with_delimiter(s, pin->base.userdata,
  966|    901|                                  pin->base.userdata_len, ".");
  967|    901|        ds_put_char(s, '\n');
  968|    901|    }
  969|       |
  970|  57.3k|    if (!uuid_is_zero(&pin->bridge)) {
  ------------------
  |  Branch (970:9): [True: 2.87k, False: 54.5k]
  ------------------
  971|  2.87k|        ds_put_format(s, " continuation.bridge="UUID_FMT"\n",
  972|  2.87k|                      UUID_ARGS(&pin->bridge));
  ------------------
  |  |   39|  2.87k|    ((unsigned int) ((UUID)->parts[0])),            \
  |  |   40|  2.87k|    ((unsigned int) ((UUID)->parts[1] >> 16)),      \
  |  |   41|  2.87k|    ((unsigned int) ((UUID)->parts[1] & 0xffff)),   \
  |  |   42|  2.87k|    ((unsigned int) ((UUID)->parts[2] >> 16)),      \
  |  |   43|  2.87k|    ((unsigned int) ((UUID)->parts[2] & 0xffff)),   \
  |  |   44|  2.87k|    ((unsigned int) ((UUID)->parts[3]))
  ------------------
  973|  2.87k|    }
  974|       |
  975|  57.3k|    if (pin->stack_size) {
  ------------------
  |  Branch (975:9): [True: 1.33k, False: 56.0k]
  ------------------
  976|  1.33k|        ds_put_cstr(s, " continuation.stack=(top)");
  977|       |
  978|  1.33k|        struct ofpbuf pin_stack;
  979|  1.33k|        ofpbuf_use_const(&pin_stack, pin->stack, pin->stack_size);
  980|       |
  981|  3.39k|        while (pin_stack.size) {
  ------------------
  |  Branch (981:16): [True: 2.05k, False: 1.33k]
  ------------------
  982|  2.05k|            uint8_t len;
  983|  2.05k|            uint8_t *val = nx_stack_pop(&pin_stack, &len);
  984|  2.05k|            union mf_subvalue value;
  985|       |
  986|  2.05k|            ds_put_char(s, ' ');
  987|  2.05k|            memset(&value, 0, sizeof value - len);
  988|  2.05k|            memcpy(&value.u8[sizeof value - len], val, len);
  989|  2.05k|            mf_subvalue_format(&value, s);
  990|  2.05k|        }
  991|  1.33k|        ds_put_cstr(s, " (bottom)\n");
  992|  1.33k|    }
  993|       |
  994|  57.3k|    if (pin->mirrors) {
  ------------------
  |  Branch (994:9): [True: 111, False: 57.2k]
  ------------------
  995|    111|        ds_put_format(s, " continuation.mirrors=0x%"PRIx32"\n",
  996|    111|                      pin->mirrors);
  997|    111|    }
  998|       |
  999|  57.3k|    if (pin->conntracked) {
  ------------------
  |  Branch (999:9): [True: 536, False: 56.8k]
  ------------------
 1000|    536|        ds_put_cstr(s, " continuation.conntracked=true\n");
 1001|    536|    }
 1002|       |
 1003|  57.3k|    struct ofpact_format_params fp = {
 1004|  57.3k|        .port_map = port_map,
 1005|  57.3k|        .table_map = table_map,
 1006|  57.3k|        .s = s,
 1007|  57.3k|    };
 1008|       |
 1009|  57.3k|    if (pin->actions_len) {
  ------------------
  |  Branch (1009:9): [True: 6.74k, False: 50.6k]
  ------------------
 1010|  6.74k|        ds_put_cstr(s, " continuation.actions=");
 1011|  6.74k|        ofpacts_format(pin->actions, pin->actions_len, &fp);
 1012|  6.74k|        ds_put_char(s, '\n');
 1013|  6.74k|    }
 1014|       |
 1015|  57.3k|    if (pin->action_set_len) {
  ------------------
  |  Branch (1015:9): [True: 5.85k, False: 51.5k]
  ------------------
 1016|  5.85k|        ds_put_cstr(s, " continuation.action_set=");
 1017|  5.85k|        ofpacts_format(pin->action_set, pin->action_set_len, &fp);
 1018|  5.85k|        ds_put_char(s, '\n');
 1019|  5.85k|    }
 1020|       |
 1021|  57.3k|    if (pin->odp_port) {
  ------------------
  |  Branch (1021:9): [True: 297, False: 57.0k]
  ------------------
 1022|    297|        ds_put_format(s, " continuation.odp_port=%"PRIu32, pin->odp_port);
 1023|    297|        ds_put_char(s, '\n');
 1024|    297|    }
 1025|       |
 1026|  57.3k|    if (verbosity > 0) {
  ------------------
  |  Branch (1026:9): [True: 57.3k, False: 0]
  ------------------
 1027|  57.3k|        char *packet = ofp_packet_to_string(
 1028|  57.3k|            public->packet, public->packet_len,
 1029|  57.3k|            public->flow_metadata.flow.packet_type);
 1030|  57.3k|        ds_put_cstr(s, packet);
 1031|  57.3k|        free(packet);
 1032|  57.3k|    }
 1033|  57.3k|    if (verbosity > 2) {
  ------------------
  |  Branch (1033:9): [True: 0, False: 57.3k]
  ------------------
 1034|       |        ds_put_hex_dump(s, public->packet, public->packet_len, 0, false);
 1035|      0|    }
 1036|  57.3k|}
ofputil_packet_in_private_destroy:
 1046|  62.6k|{
 1047|  62.6k|    if (pin) {
  ------------------
  |  Branch (1047:9): [True: 62.6k, False: 0]
  ------------------
 1048|  62.6k|        free(pin->stack);
 1049|  62.6k|        free(pin->actions);
 1050|  62.6k|        free(pin->action_set);
 1051|  62.6k|    }
 1052|  62.6k|}
ofputil_decode_packet_out:
 1070|   184k|{
 1071|   184k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
 1072|   184k|    enum ofpraw raw = ofpraw_pull_assert(&b);
 1073|       |
 1074|   184k|    ofpbuf_clear(ofpacts);
 1075|   184k|    match_init_catchall(&po->flow_metadata);
 1076|   184k|    if (raw == OFPRAW_OFPT15_PACKET_OUT) {
  ------------------
  |  Branch (1076:9): [True: 70.9k, False: 113k]
  ------------------
 1077|  70.9k|        enum ofperr error;
 1078|  70.9k|        const struct ofp15_packet_out *opo = ofpbuf_pull(&b, sizeof *opo);
 1079|       |
 1080|  70.9k|        po->buffer_id = ntohl(opo->buffer_id);
 1081|  70.9k|        error = oxm_pull_match_loose(&b, true, tun_table, &po->flow_metadata);
 1082|  70.9k|        if (error) {
  ------------------
  |  Branch (1082:13): [True: 47.0k, False: 23.8k]
  ------------------
 1083|  47.0k|            return error;
 1084|  47.0k|        }
 1085|       |
 1086|  23.8k|        if (!po->flow_metadata.wc.masks.in_port.ofp_port) {
  ------------------
  |  Branch (1086:13): [True: 22.3k, False: 1.50k]
  ------------------
 1087|  22.3k|            return OFPERR_OFPBRC_BAD_PORT;
 1088|  22.3k|        }
 1089|       |
 1090|  1.50k|        error = ofpacts_pull_openflow_actions(&b, ntohs(opo->actions_len),
 1091|  1.50k|                                              oh->version, NULL, NULL,
 1092|  1.50k|                                              ofpacts);
 1093|  1.50k|        if (error) {
  ------------------
  |  Branch (1093:13): [True: 520, False: 983]
  ------------------
 1094|    520|            return error;
 1095|    520|        }
 1096|   113k|    } else if (raw == OFPRAW_OFPT11_PACKET_OUT) {
  ------------------
  |  Branch (1096:16): [True: 55.6k, False: 57.4k]
  ------------------
 1097|  55.6k|        enum ofperr error;
 1098|  55.6k|        ofp_port_t in_port;
 1099|  55.6k|        const struct ofp11_packet_out *opo = ofpbuf_pull(&b, sizeof *opo);
 1100|       |
 1101|  55.6k|        po->buffer_id = ntohl(opo->buffer_id);
 1102|  55.6k|        error = ofputil_port_from_ofp11(opo->in_port, &in_port);
 1103|  55.6k|        if (error) {
  ------------------
  |  Branch (1103:13): [True: 4.90k, False: 50.7k]
  ------------------
 1104|  4.90k|            return error;
 1105|  4.90k|        }
 1106|  50.7k|        match_set_packet_type(&po->flow_metadata, htonl(PT_ETH));
 1107|  50.7k|        match_set_in_port(&po->flow_metadata, in_port);
 1108|       |
 1109|  50.7k|        error = ofpacts_pull_openflow_actions(&b, ntohs(opo->actions_len),
 1110|  50.7k|                                              oh->version, NULL, NULL,
 1111|  50.7k|                                              ofpacts);
 1112|  50.7k|        if (error) {
  ------------------
  |  Branch (1112:13): [True: 38.3k, False: 12.3k]
  ------------------
 1113|  38.3k|            return error;
 1114|  38.3k|        }
 1115|  57.4k|    } else if (raw == OFPRAW_OFPT10_PACKET_OUT) {
  ------------------
  |  Branch (1115:16): [True: 57.4k, False: 0]
  ------------------
 1116|  57.4k|        enum ofperr error;
 1117|  57.4k|        const struct ofp10_packet_out *opo = ofpbuf_pull(&b, sizeof *opo);
 1118|       |
 1119|  57.4k|        po->buffer_id = ntohl(opo->buffer_id);
 1120|  57.4k|        match_set_packet_type(&po->flow_metadata, htonl(PT_ETH));
 1121|  57.4k|        match_set_in_port(&po->flow_metadata, u16_to_ofp(ntohs(opo->in_port)));
 1122|       |
 1123|  57.4k|        error = ofpacts_pull_openflow_actions(&b, ntohs(opo->actions_len),
 1124|  57.4k|                                              oh->version, NULL, NULL,
 1125|  57.4k|                                              ofpacts);
 1126|  57.4k|        if (error) {
  ------------------
  |  Branch (1126:13): [True: 45.0k, False: 12.3k]
  ------------------
 1127|  45.0k|            return error;
 1128|  45.0k|        }
 1129|  57.4k|    } else {
 1130|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1131|      0|    }
 1132|       |
 1133|  25.7k|    ofp_port_t in_port = po->flow_metadata.flow.in_port.ofp_port;
 1134|  25.7k|    if (ofp_to_u16(in_port) >= ofp_to_u16(OFPP_MAX)
  ------------------
  |  |   33|  25.7k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|  25.7k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1134:9): [True: 4.59k, False: 21.1k]
  ------------------
 1135|  25.7k|        && in_port != OFPP_LOCAL
  ------------------
  |  |   46|  4.59k|#define OFPP_LOCAL      OFP_PORT_C(0xfffe) /* Local openflow "port". */
  |  |  ------------------
  |  |  |  |  157|  30.3k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1135:12): [True: 4.52k, False: 78]
  ------------------
 1136|  25.7k|        && in_port != OFPP_NONE
  ------------------
  |  |   47|  4.52k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  30.2k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1136:12): [True: 4.25k, False: 270]
  ------------------
 1137|  4.25k|        && in_port != OFPP_CONTROLLER) {
  ------------------
  |  |   45|  4.25k|#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
  |  |  ------------------
  |  |  |  |  157|  4.25k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (1137:12): [True: 277, False: 3.97k]
  ------------------
 1138|    277|        VLOG_WARN_RL(&rl, "packet-out has bad input port %#"PRIx32,
  ------------------
  |  |  224|    277|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    277|    do {                                                                \
  |  |  |  |  288|    277|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    277|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 277]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    277|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 277]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|    277|                     po->flow_metadata.flow.in_port.ofp_port);
 1140|    277|        return OFPERR_OFPBRC_BAD_PORT;
 1141|    277|    }
 1142|       |
 1143|  25.4k|    po->ofpacts = ofpacts->data;
 1144|  25.4k|    po->ofpacts_len = ofpacts->size;
 1145|       |
 1146|  25.4k|    if (po->buffer_id == UINT32_MAX) {
  ------------------
  |  Branch (1146:9): [True: 1.25k, False: 24.2k]
  ------------------
 1147|  1.25k|        po->packet = b.data;
 1148|  1.25k|        po->packet_len = b.size;
 1149|  24.2k|    } else {
 1150|  24.2k|        po->packet = NULL;
 1151|  24.2k|        po->packet_len = 0;
 1152|  24.2k|    }
 1153|       |
 1154|  25.4k|    return 0;
 1155|  25.7k|}
ofputil_packet_out_format:
 1243|  25.4k|{
 1244|  25.4k|    ds_put_char(s, ' ');
 1245|  25.4k|    match_format(&po->flow_metadata, port_map, s, OFP_DEFAULT_PRIORITY);
  ------------------
  |  |  138|  25.4k|#define OFP_DEFAULT_PRIORITY 0x8000
  ------------------
 1246|       |
 1247|  25.4k|    ds_put_cstr(s, " actions=");
 1248|  25.4k|    struct ofpact_format_params fp = {
 1249|  25.4k|        .port_map = port_map,
 1250|  25.4k|        .table_map = table_map,
 1251|  25.4k|        .s = s,
 1252|  25.4k|    };
 1253|  25.4k|    ofpacts_format(po->ofpacts, po->ofpacts_len, &fp);
 1254|       |
 1255|  25.4k|    if (po->buffer_id == UINT32_MAX) {
  ------------------
  |  Branch (1255:9): [True: 1.25k, False: 24.2k]
  ------------------
 1256|  1.25k|        ds_put_format(s, " data_len=%"PRIuSIZE, po->packet_len);
  ------------------
  |  |  120|  1.25k|#define PRIuSIZE "zu"
  ------------------
 1257|  1.25k|        if (verbosity > 0 && po->packet_len > 0) {
  ------------------
  |  Branch (1257:13): [True: 1.25k, False: 0]
  |  Branch (1257:30): [True: 1.02k, False: 230]
  ------------------
 1258|  1.02k|            ovs_be32 po_packet_type = po->flow_metadata.flow.packet_type;
 1259|  1.02k|            char *packet = ofp_packet_to_string(po->packet, po->packet_len,
 1260|  1.02k|                                                po_packet_type);
 1261|  1.02k|            ds_put_char(s, '\n');
 1262|  1.02k|            ds_put_cstr(s, packet);
 1263|  1.02k|            free(packet);
 1264|  1.02k|        }
 1265|  1.25k|        if (verbosity > 2) {
  ------------------
  |  Branch (1265:13): [True: 0, False: 1.25k]
  ------------------
 1266|      0|            ds_put_hex_dump(s, po->packet, po->packet_len, 0, false);
 1267|      0|        }
 1268|  24.2k|    } else {
 1269|       |        ds_put_format(s, " buffer=0x%08"PRIx32, po->buffer_id);
 1270|  24.2k|    }
 1271|  25.4k|}
ofp-packet.c:decode_nx_packet_in2:
  110|  24.6k|{
  111|  24.6k|    *total_len = 0;
  112|  24.6k|    *buffer_id = UINT32_MAX;
  113|       |
  114|  24.6k|    struct ofpbuf properties;
  115|  24.6k|    ofpbuf_use_const(&properties, oh, ntohs(oh->length));
  116|  24.6k|    ofpraw_pull_assert(&properties);
  117|       |
  118|  87.2k|    while (properties.size > 0) {
  ------------------
  |  Branch (118:12): [True: 66.9k, False: 20.3k]
  ------------------
  119|  66.9k|        struct ofpbuf payload;
  120|  66.9k|        uint64_t type;
  121|       |
  122|  66.9k|        enum ofperr error = ofpprop_pull(&properties, &payload, &type);
  123|  66.9k|        if (error) {
  ------------------
  |  Branch (123:13): [True: 3.63k, False: 63.2k]
  ------------------
  124|  3.63k|            return error;
  125|  3.63k|        }
  126|       |
  127|  63.2k|        switch (type) {
  128|  21.1k|        case NXPINT_PACKET:
  ------------------
  |  Branch (128:9): [True: 21.1k, False: 42.1k]
  ------------------
  129|  21.1k|            pin->packet = payload.msg;
  130|  21.1k|            pin->packet_len = ofpbuf_msgsize(&payload);
  131|  21.1k|            break;
  132|       |
  133|  10.1k|        case NXPINT_FULL_LEN: {
  ------------------
  |  Branch (133:9): [True: 10.1k, False: 53.1k]
  ------------------
  134|  10.1k|            uint32_t u32;
  135|  10.1k|            error = ofpprop_parse_u32(&payload, &u32);
  136|  10.1k|            if (!error) {
  ------------------
  |  Branch (136:17): [True: 10.1k, False: 69]
  ------------------
  137|  10.1k|                *total_len = u32;
  138|  10.1k|            }
  139|  10.1k|            break;
  140|      0|        }
  141|       |
  142|  1.12k|        case NXPINT_BUFFER_ID:
  ------------------
  |  Branch (142:9): [True: 1.12k, False: 62.1k]
  ------------------
  143|  1.12k|            error = ofpprop_parse_u32(&payload, buffer_id);
  144|  1.12k|            break;
  145|       |
  146|     72|        case NXPINT_TABLE_ID:
  ------------------
  |  Branch (146:9): [True: 72, False: 63.2k]
  ------------------
  147|     72|            error = ofpprop_parse_u8(&payload, &pin->table_id);
  148|     72|            break;
  149|       |
  150|    142|        case NXPINT_COOKIE:
  ------------------
  |  Branch (150:9): [True: 142, False: 63.1k]
  ------------------
  151|    142|            error = ofpprop_parse_be64(&payload, &pin->cookie);
  152|    142|            break;
  153|       |
  154|    342|        case NXPINT_REASON: {
  ------------------
  |  Branch (154:9): [True: 342, False: 62.9k]
  ------------------
  155|    342|            uint8_t reason;
  156|    342|            error = ofpprop_parse_u8(&payload, &reason);
  157|    342|            if (!error) {
  ------------------
  |  Branch (157:17): [True: 104, False: 238]
  ------------------
  158|    104|                pin->reason = reason;
  159|    104|            }
  160|    342|            break;
  161|      0|        }
  162|       |
  163|  5.51k|        case NXPINT_METADATA:
  ------------------
  |  Branch (163:9): [True: 5.51k, False: 57.7k]
  ------------------
  164|  5.51k|            error = oxm_decode_match(payload.msg, ofpbuf_msgsize(&payload),
  165|  5.51k|                                     loose, tun_table, vl_mff_map,
  166|  5.51k|                                     &pin->flow_metadata);
  167|  5.51k|            pin->flow_metadata.flow.tunnel.metadata.tab = tun_table;
  168|  5.51k|            break;
  169|       |
  170|  1.46k|        case NXPINT_USERDATA:
  ------------------
  |  Branch (170:9): [True: 1.46k, False: 61.8k]
  ------------------
  171|  1.46k|            pin->userdata = payload.msg;
  172|  1.46k|            pin->userdata_len = ofpbuf_msgsize(&payload);
  173|  1.46k|            break;
  174|       |
  175|  16.9k|        case NXPINT_CONTINUATION:
  ------------------
  |  Branch (175:9): [True: 16.9k, False: 46.2k]
  ------------------
  176|  16.9k|            if (continuation) {
  ------------------
  |  Branch (176:17): [True: 16.9k, False: 0]
  ------------------
  177|  16.9k|                error = ofpprop_parse_nested(&payload, continuation);
  178|  16.9k|            }
  179|  16.9k|            break;
  180|       |
  181|  6.28k|        default:
  ------------------
  |  Branch (181:9): [True: 6.28k, False: 57.0k]
  ------------------
  182|  6.28k|            error = OFPPROP_UNKNOWN(loose, "NX_PACKET_IN2", type);
  ------------------
  |  |  144|  6.28k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  183|  6.28k|            break;
  184|  63.2k|        }
  185|  63.2k|        if (error) {
  ------------------
  |  Branch (185:13): [True: 676, False: 62.6k]
  ------------------
  186|    676|            return error;
  187|    676|        }
  188|  63.2k|    }
  189|       |
  190|  20.3k|    if (!pin->packet_len) {
  ------------------
  |  Branch (190:9): [True: 2.42k, False: 17.8k]
  ------------------
  191|  2.42k|        VLOG_WARN_RL(&rl, "NXT_PACKET_IN2 lacks packet");
  ------------------
  |  |  224|  2.42k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.42k|    do {                                                                \
  |  |  |  |  288|  2.42k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.42k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.42k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  2.42k|        return OFPERR_OFPBRC_BAD_LEN;
  193|  17.8k|    } else if (!*total_len) {
  ------------------
  |  Branch (193:16): [True: 8.19k, False: 9.70k]
  ------------------
  194|  8.19k|        *total_len = pin->packet_len;
  195|  9.70k|    } else if (*total_len < pin->packet_len) {
  ------------------
  |  Branch (195:16): [True: 18, False: 9.68k]
  ------------------
  196|     18|        VLOG_WARN_RL(&rl, "NXT_PACKET_IN2 claimed full_len < len");
  ------------------
  |  |  224|     18|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     18|    do {                                                                \
  |  |  |  |  288|     18|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     18|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|     18|        return OFPERR_OFPBRC_BAD_LEN;
  198|     18|    }
  199|       |
  200|  17.8k|    return 0;
  201|  20.3k|}
ofp-packet.c:parse_stack_prop:
  776|  2.92k|{
  777|  2.92k|    unsigned int len = ofpbuf_msgsize(property);
  778|  2.92k|    if (len > sizeof(union mf_subvalue)) {
  ------------------
  |  Branch (778:9): [True: 18, False: 2.90k]
  ------------------
  779|     18|        VLOG_WARN_RL(&rl, "NXCPT_STACK property has bad length %u",
  ------------------
  |  |  224|     18|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     18|    do {                                                                \
  |  |  |  |  288|     18|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|     18|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  780|     18|                     len);
  781|     18|        return OFPERR_OFPBPC_BAD_LEN;
  782|     18|    }
  783|  2.90k|    nx_stack_push_bottom(stack, property->msg, len);
  784|  2.90k|    return 0;
  785|  2.92k|}
ofp-packet.c:parse_actions_property:
  790|  17.8k|{
  791|  17.8k|    if (!ofpbuf_try_pull(property, ROUND_UP(ofpbuf_headersize(property), 8))) {
  ------------------
  |  |  303|  17.8k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  17.8k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (791:9): [True: 226, False: 17.5k]
  ------------------
  792|    226|        VLOG_WARN_RL(&rl, "actions property has bad length %"PRIu32,
  ------------------
  |  |  224|    226|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    226|    do {                                                                \
  |  |  |  |  288|    226|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    226|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 226]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    226|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 226]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|    226|                     property->size);
  794|    226|        return OFPERR_OFPBPC_BAD_LEN;
  795|    226|    }
  796|       |
  797|  17.5k|    return ofpacts_pull_openflow_actions(property, property->size,
  798|  17.5k|                                         version, NULL, NULL, ofpacts);
  799|  17.8k|}

ofputil_port_map_get_name:
   53|   168k|{
   54|   168k|    struct namemap_node *node
   55|   168k|        = (map
  ------------------
  |  Branch (55:12): [True: 0, False: 168k]
  ------------------
   56|   168k|           ? namemap_find_by_number(&map->map, ofp_to_u16(ofp_port))
   57|   168k|           : NULL);
   58|   168k|    return node && !node->duplicate ? node->name : NULL;
  ------------------
  |  Branch (58:12): [True: 0, False: 168k]
  |  Branch (58:20): [True: 0, False: 0]
  ------------------
   59|   168k|}
ofputil_port_from_ofp11:
   84|   175k|{
   85|   175k|    uint32_t ofp11_port_h = ntohl(ofp11_port);
   86|       |
   87|   175k|    if (ofp11_port_h < ofp_to_u16(OFPP_MAX)) {
  ------------------
  |  |   33|   175k|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|   175k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (87:9): [True: 118k, False: 56.9k]
  ------------------
   88|   118k|        *ofp10_port = u16_to_ofp(ofp11_port_h);
   89|   118k|        return 0;
   90|   118k|    } else if (ofp11_port_h >= ofp11_to_u32(OFPP11_MAX)) {
  ------------------
  |  |   71|  56.9k|#define OFPP11_MAX    OFP11_PORT_C(0xffffff00)
  |  |  ------------------
  |  |  |  |  159|  56.9k|#define OFP11_PORT_C(X) ((OVS_FORCE ofp11_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (90:16): [True: 34.4k, False: 22.4k]
  ------------------
   91|  34.4k|        *ofp10_port = u16_to_ofp(ofp11_port_h - OFPP11_OFFSET);
  ------------------
  |  |   72|  34.4k|#define OFPP11_OFFSET 0xffff0000    /* OFPP11_MAX - OFPP_MAX */
  ------------------
   92|  34.4k|        return 0;
   93|  34.4k|    } else {
   94|  22.4k|        *ofp10_port = OFPP_NONE;
  ------------------
  |  |   47|  22.4k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  ------------------
  |  |  |  |  157|  22.4k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
   95|       |
   96|  22.4k|        static struct vlog_rate_limit rll = VLOG_RATE_LIMIT_INIT(1, 5);
  ------------------
  |  |  110|  22.4k|        {                                                                 \
  |  |  111|  22.4k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|  89.9k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 22.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  22.4k|            0,                              /* first_dropped */           \
  |  |  113|  22.4k|            0,                              /* last_dropped */            \
  |  |  114|  22.4k|            0,                              /* n_dropped */               \
  |  |  115|  22.4k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  22.4k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  22.4k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  22.4k|        }
  ------------------
   97|  22.4k|        VLOG_WARN_RL(&rll, "port %"PRIu32" is outside the supported "
  ------------------
  |  |  224|  22.4k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  22.4k|    do {                                                                \
  |  |  |  |  288|  22.4k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  22.4k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 22.4k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  22.4k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 22.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  22.4k|                     "range 0 through %d or 0x%"PRIx32" through 0x%"PRIx32,
   99|  22.4k|                     ofp11_port_h, ofp_to_u16(OFPP_MAX) - 1,
  100|  22.4k|                     ofp11_to_u32(OFPP11_MAX), UINT32_MAX);
  101|       |
  102|  22.4k|        return OFPERR_OFPBAC_BAD_OUT_PORT;
  103|  22.4k|    }
  104|   175k|}
ofputil_port_to_ofp11:
  112|  21.4k|{
  113|       |    return htonl(ofp_to_u16(ofp10_port) < ofp_to_u16(OFPP_MAX)
  ------------------
  |  Branch (113:12): [True: 2.46k, False: 18.9k]
  ------------------
  114|  21.4k|                 ? ofp_to_u16(ofp10_port)
  115|  21.4k|                 : ofp_to_u16(ofp10_port) + OFPP11_OFFSET);
  116|  21.4k|}
ofputil_port_get_reserved_name:
  229|   206k|{
  230|   206k|    switch (port) {
  231|      0|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  232|      0|        OFPUTIL_NAMED_PORTS
  ------------------
  |  |  119|  1.65k|        OFPUTIL_NAMED_PORT(IN_PORT)             \
  |  |  ------------------
  |  |  |  |  231|  1.65k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   39|  1.65k|#define OFPP_IN_PORT    OFP_PORT_C(0xfff8) /* Where the packet came in. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.65k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 1.65k, False: 205k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  120|  3.04k|        OFPUTIL_NAMED_PORT(TABLE)               \
  |  |  ------------------
  |  |  |  |  231|  3.04k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|  3.04k|#define OFPP_TABLE      OFP_PORT_C(0xfff9) /* Perform actions in flow table. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.04k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 3.04k, False: 203k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|  3.04k|        OFPUTIL_NAMED_PORT(NORMAL)              \
  |  |  ------------------
  |  |  |  |  231|  2.48k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  2.48k|#define OFPP_NORMAL     OFP_PORT_C(0xfffa) /* Process with normal L2/L3. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.48k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 2.48k, False: 204k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  122|  2.48k|        OFPUTIL_NAMED_PORT(FLOOD)               \
  |  |  ------------------
  |  |  |  |  231|  1.09k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   42|  1.09k|#define OFPP_FLOOD      OFP_PORT_C(0xfffb) /* All ports except input port and
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.09k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 1.09k, False: 205k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  123|  1.09k|        OFPUTIL_NAMED_PORT(ALL)                 \
  |  |  ------------------
  |  |  |  |  231|    530|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|    530|#define OFPP_ALL        OFP_PORT_C(0xfffc) /* All ports except input port. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    530|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 530, False: 206k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  124|  11.8k|        OFPUTIL_NAMED_PORT(CONTROLLER)          \
  |  |  ------------------
  |  |  |  |  231|  11.8k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|  11.8k|#define OFPP_CONTROLLER OFP_PORT_C(0xfffd) /* Send to controller. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  11.8k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 11.8k, False: 194k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  125|  11.8k|        OFPUTIL_NAMED_PORT(LOCAL)               \
  |  |  ------------------
  |  |  |  |  231|    839|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|    839|#define OFPP_LOCAL      OFP_PORT_C(0xfffe) /* Local openflow "port". */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    839|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 839, False: 205k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  126|  16.5k|        OFPUTIL_NAMED_PORT(ANY)                 \
  |  |  ------------------
  |  |  |  |  231|  16.5k|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  16.5k|#define OFPP_ANY OFPP_NONE
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  16.5k|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  157|  16.5k|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 16.5k, False: 190k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  127|  16.5k|        OFPUTIL_NAMED_PORT(UNSET)
  |  |  ------------------
  |  |  |  |  231|    236|#define OFPUTIL_NAMED_PORT(NAME) case OFPP_##NAME: return #NAME;
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    236|#define OFPP_UNSET      OFP_PORT_C(0xfff7) /* For OXM_OF_ACTSET_OUTPUT only. */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    236|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (231:34): [True: 236, False: 206k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|      0|#undef OFPUTIL_NAMED_PORT
  234|       |
  235|   168k|    default:
  ------------------
  |  Branch (235:5): [True: 168k, False: 38.2k]
  ------------------
  236|       |        return NULL;
  237|   206k|    }
  238|   206k|}
ofputil_format_port:
  246|   206k|{
  247|   206k|    const char *reserved_name = ofputil_port_get_reserved_name(port);
  248|   206k|    if (reserved_name) {
  ------------------
  |  Branch (248:9): [True: 38.2k, False: 168k]
  ------------------
  249|  38.2k|        ds_put_cstr(s, reserved_name);
  250|  38.2k|        return;
  251|  38.2k|    }
  252|       |
  253|   168k|    const char *port_name = ofputil_port_map_get_name(port_map, port);
  254|   168k|    if (port_name) {
  ------------------
  |  Branch (254:9): [True: 0, False: 168k]
  ------------------
  255|      0|        namemap_put_name(port_name, s);
  256|      0|        return;
  257|      0|    }
  258|       |
  259|   168k|    ds_put_format(s, "%"PRIu32, port);
  260|   168k|}
ofputil_port_config_format:
  311|  27.5k|{
  312|  27.5k|    ofp_print_bit_names(s, config, ofputil_port_config_to_name, ' ');
  313|  27.5k|    ds_put_char(s, '\n');
  314|  27.5k|}
ofputil_port_state_format:
  341|  25.2k|{
  342|  25.2k|    enum ofputil_port_state stp_state;
  343|       |
  344|       |    /* The STP state is a 2-bit field so it doesn't fit in with the bitmask
  345|       |     * pattern.  We have to special case it.
  346|       |     *
  347|       |     * OVS doesn't support STP, so this field will always be 0 if we are
  348|       |     * talking to OVS, so we'd always print STP_LISTEN in that case.
  349|       |     * Therefore, we don't print anything at all if the value is STP_LISTEN, to
  350|       |     * avoid confusing users. */
  351|  25.2k|    stp_state = state & OFPUTIL_PS_STP_MASK;
  352|  25.2k|    if (stp_state) {
  ------------------
  |  Branch (352:9): [True: 12.8k, False: 12.4k]
  ------------------
  353|  12.8k|        ds_put_cstr(s, (stp_state == OFPUTIL_PS_STP_LEARN ? "STP_LEARN"
  ------------------
  |  Branch (353:25): [True: 3.51k, False: 9.29k]
  ------------------
  354|  12.8k|                        : stp_state == OFPUTIL_PS_STP_FORWARD ? "STP_FORWARD"
  ------------------
  |  Branch (354:27): [True: 2.57k, False: 6.71k]
  ------------------
  355|  9.29k|                        : "STP_BLOCK"));
  356|  12.8k|        state &= ~OFPUTIL_PS_STP_MASK;
  357|  12.8k|        if (state) {
  ------------------
  |  Branch (357:13): [True: 6.55k, False: 6.25k]
  ------------------
  358|  6.55k|            ofp_print_bit_names(s, state, ofputil_port_state_to_name, ' ');
  359|  6.55k|        }
  360|  12.8k|    } else {
  361|  12.4k|        ofp_print_bit_names(s, state, ofputil_port_state_to_name, ' ');
  362|  12.4k|    }
  363|  25.2k|    ds_put_char(s, '\n');
  364|  25.2k|}
ofputil_decode_port_desc_stats_request:
  662|    273|{
  663|    273|    struct ofpbuf b = ofpbuf_const_initializer(request,
  664|    273|                                               ntohs(request->length));
  665|    273|    enum ofpraw raw = ofpraw_pull_assert(&b);
  666|    273|    if (raw == OFPRAW_OFPST10_PORT_DESC_REQUEST) {
  ------------------
  |  Branch (666:9): [True: 70, False: 203]
  ------------------
  667|     70|        *port = OFPP_ANY;
  ------------------
  |  |   80|     70|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|     70|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|     70|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|     70|        return 0;
  669|    203|    } else if (raw == OFPRAW_OFPST15_PORT_DESC_REQUEST) {
  ------------------
  |  Branch (669:16): [True: 203, False: 0]
  ------------------
  670|    203|        ovs_be32 *ofp11_port;
  671|       |
  672|    203|        ofp11_port = ofpbuf_pull(&b, sizeof *ofp11_port);
  673|    203|        return ofputil_port_from_ofp11(*ofp11_port, port);
  674|    203|    } else {
  675|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  676|      0|    }
  677|    273|}
ofputil_pull_phy_port:
  728|  30.6k|{
  729|  30.6k|    memset(pp, 0, sizeof *pp);
  730|       |
  731|  30.6k|    switch (ofp_version) {
  732|  25.9k|    case OFP10_VERSION: {
  ------------------
  |  Branch (732:5): [True: 25.9k, False: 4.75k]
  ------------------
  733|  25.9k|        const struct ofp10_phy_port *opp = ofpbuf_try_pull(b, sizeof *opp);
  734|  25.9k|        return opp ? ofputil_decode_ofp10_phy_port(pp, opp) : EOF;
  ------------------
  |  Branch (734:16): [True: 24.0k, False: 1.86k]
  ------------------
  735|      0|    }
  736|    376|    case OFP11_VERSION:
  ------------------
  |  Branch (736:5): [True: 376, False: 30.2k]
  ------------------
  737|  1.54k|    case OFP12_VERSION:
  ------------------
  |  Branch (737:5): [True: 1.16k, False: 29.5k]
  ------------------
  738|  2.29k|    case OFP13_VERSION: {
  ------------------
  |  Branch (738:5): [True: 755, False: 29.9k]
  ------------------
  739|  2.29k|        const struct ofp11_port *op = ofpbuf_try_pull(b, sizeof *op);
  740|  2.29k|        return op ? ofputil_decode_ofp11_port(pp, op) : EOF;
  ------------------
  |  Branch (740:16): [True: 1.34k, False: 958]
  ------------------
  741|  1.54k|    }
  742|    873|    case OFP14_VERSION:
  ------------------
  |  Branch (742:5): [True: 873, False: 29.7k]
  ------------------
  743|  2.45k|    case OFP15_VERSION:
  ------------------
  |  Branch (743:5): [True: 1.58k, False: 29.0k]
  ------------------
  744|  2.45k|        return b->size ? ofputil_pull_ofp14_port(pp, b) : EOF;
  ------------------
  |  Branch (744:16): [True: 1.36k, False: 1.09k]
  ------------------
  745|      0|    default:
  ------------------
  |  Branch (745:5): [True: 0, False: 30.6k]
  ------------------
  746|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  747|  30.6k|    }
  748|  30.6k|}
ofputil_phy_port_format:
  752|  25.2k|{
  753|  25.2k|    char name[sizeof port->name];
  754|  25.2k|    int j;
  755|       |
  756|  25.2k|    memcpy(name, port->name, sizeof name);
  757|  44.4k|    for (j = 0; j < sizeof name - 1; j++) {
  ------------------
  |  Branch (757:17): [True: 43.7k, False: 762]
  ------------------
  758|  43.7k|        if (!isprint((unsigned char) name[j])) {
  ------------------
  |  Branch (758:13): [True: 24.4k, False: 19.2k]
  ------------------
  759|  24.4k|            break;
  760|  24.4k|        }
  761|  43.7k|    }
  762|  25.2k|    name[j] = '\0';
  763|       |
  764|  25.2k|    ds_put_char(s, ' ');
  765|  25.2k|    ofputil_format_port(port->port_no, NULL, s);
  766|  25.2k|    ds_put_format(s, "(%s): addr:"ETH_ADDR_FMT"\n",
  767|  25.2k|                  name, ETH_ADDR_ARGS(port->hw_addr));
  ------------------
  |  |  371|  25.2k|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|  25.2k|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
  768|       |
  769|  25.2k|    ds_put_cstr(s, "     config:     ");
  770|  25.2k|    ofputil_port_config_format(s, port->config);
  771|       |
  772|  25.2k|    ds_put_cstr(s, "     state:      ");
  773|  25.2k|    ofputil_port_state_format(s, port->state);
  774|       |
  775|  25.2k|    if (port->curr) {
  ------------------
  |  Branch (775:9): [True: 21.1k, False: 4.09k]
  ------------------
  776|  21.1k|        ds_put_format(s, "     current:    ");
  777|  21.1k|        netdev_features_format(s, port->curr);
  778|  21.1k|    }
  779|  25.2k|    if (port->advertised) {
  ------------------
  |  Branch (779:9): [True: 20.5k, False: 4.64k]
  ------------------
  780|  20.5k|        ds_put_format(s, "     advertised: ");
  781|  20.5k|        netdev_features_format(s, port->advertised);
  782|  20.5k|    }
  783|  25.2k|    if (port->supported) {
  ------------------
  |  Branch (783:9): [True: 20.5k, False: 4.66k]
  ------------------
  784|  20.5k|        ds_put_format(s, "     supported:  ");
  785|  20.5k|        netdev_features_format(s, port->supported);
  786|  20.5k|    }
  787|  25.2k|    if (port->peer) {
  ------------------
  |  Branch (787:9): [True: 20.4k, False: 4.74k]
  ------------------
  788|  20.4k|        ds_put_format(s, "     peer:       ");
  789|  20.4k|        netdev_features_format(s, port->peer);
  790|  20.4k|    }
  791|  25.2k|    ds_put_format(s, "     speed: %"PRIu32" Mbps now, "
  792|  25.2k|                  "%"PRIu32" Mbps max\n",
  793|  25.2k|                  port->curr_speed / UINT32_C(1000),
  794|       |                  port->max_speed / UINT32_C(1000));
  795|  25.2k|}
ofputil_phy_ports_format:
  814|  4.80k|{
  815|  4.80k|    struct ofputil_phy_port *ports;
  816|  4.80k|    size_t allocated_ports, n_ports;
  817|  4.80k|    int retval;
  818|  4.80k|    size_t i;
  819|       |
  820|  4.80k|    ports = NULL;
  821|  4.80k|    allocated_ports = 0;
  822|  28.6k|    for (n_ports = 0; ; n_ports++) {
  823|  28.6k|        if (n_ports >= allocated_ports) {
  ------------------
  |  Branch (823:13): [True: 6.31k, False: 22.3k]
  ------------------
  824|  6.31k|            ports = x2nrealloc(ports, &allocated_ports, sizeof *ports);
  825|  6.31k|        }
  826|       |
  827|  28.6k|        retval = ofputil_pull_phy_port(ofp_version, b, &ports[n_ports]);
  828|  28.6k|        if (retval) {
  ------------------
  |  Branch (828:13): [True: 4.80k, False: 23.8k]
  ------------------
  829|  4.80k|            break;
  830|  4.80k|        }
  831|  28.6k|    }
  832|       |
  833|  4.80k|    qsort(ports, n_ports, sizeof *ports, compare_ports);
  834|  28.6k|    for (i = 0; i < n_ports; i++) {
  ------------------
  |  Branch (834:17): [True: 23.8k, False: 4.80k]
  ------------------
  835|  23.8k|        ofputil_phy_port_format(string, &ports[i]);
  836|  23.8k|    }
  837|  4.80k|    free(ports);
  838|       |
  839|  4.80k|    return retval != EOF ? retval : 0;
  ------------------
  |  Branch (839:12): [True: 898, False: 3.91k]
  ------------------
  840|  4.80k|}
ofputil_decode_port_status:
  849|  2.17k|{
  850|  2.17k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  851|  2.17k|    ofpraw_pull_assert(&b);
  852|       |
  853|  2.17k|    const struct ofp_port_status *ops = ofpbuf_pull(&b, sizeof *ops);
  854|  2.17k|    if (ops->reason != OFPPR_ADD &&
  ------------------
  |  Branch (854:9): [True: 1.19k, False: 987]
  ------------------
  855|  1.19k|        ops->reason != OFPPR_DELETE &&
  ------------------
  |  Branch (855:9): [True: 402, False: 788]
  ------------------
  856|    402|        ops->reason != OFPPR_MODIFY) {
  ------------------
  |  Branch (856:9): [True: 201, False: 201]
  ------------------
  857|    201|        return OFPERR_NXBRC_BAD_REASON;
  858|    201|    }
  859|  1.97k|    ps->reason = ops->reason;
  860|       |
  861|  1.97k|    int retval = ofputil_pull_phy_port(oh->version, &b, &ps->desc);
  862|  1.97k|    ovs_assert(retval != EOF);
  ------------------
  |  |   62|  1.97k|#define ovs_assert ovs_ignore
  ------------------
  863|  1.97k|    return retval;
  864|  2.17k|}
ofputil_port_status_format:
  910|  1.33k|{
  911|  1.33k|    if (ps->reason == OFPPR_ADD) {
  ------------------
  |  Branch (911:9): [True: 587, False: 747]
  ------------------
  912|    587|        ds_put_format(s, " ADD:");
  913|    747|    } else if (ps->reason == OFPPR_DELETE) {
  ------------------
  |  Branch (913:16): [True: 722, False: 25]
  ------------------
  914|    722|        ds_put_format(s, " DEL:");
  915|    722|    } else if (ps->reason == OFPPR_MODIFY) {
  ------------------
  |  Branch (915:16): [True: 25, False: 0]
  ------------------
  916|     25|        ds_put_format(s, " MOD:");
  917|     25|    }
  918|       |
  919|  1.33k|    ofputil_phy_port_format(s, &ps->desc);
  920|  1.33k|}
ofputil_decode_port_mod:
 1022|  2.34k|{
 1023|  2.34k|    memset(pm, 0, sizeof *pm);
 1024|       |
 1025|  2.34k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
 1026|  2.34k|    enum ofpraw raw = ofpraw_pull_assert(&b);
 1027|       |
 1028|  2.34k|    enum ofperr error;
 1029|  2.34k|    if (raw == OFPRAW_OFPT10_PORT_MOD) {
  ------------------
  |  Branch (1029:9): [True: 686, False: 1.66k]
  ------------------
 1030|    686|        error = ofputil_decode_ofp10_port_mod(b.data, pm);
 1031|  1.66k|    } else if (raw == OFPRAW_OFPT11_PORT_MOD) {
  ------------------
  |  Branch (1031:16): [True: 316, False: 1.34k]
  ------------------
 1032|    316|        error = ofputil_decode_ofp11_port_mod(b.data, pm);
 1033|  1.34k|    } else if (raw == OFPRAW_OFPT14_PORT_MOD) {
  ------------------
  |  Branch (1033:16): [True: 1.34k, False: 0]
  ------------------
 1034|  1.34k|        error = ofputil_decode_ofp14_port_mod(&b, loose, pm);
 1035|  1.34k|    } else {
 1036|      0|        error = OFPERR_OFPBRC_BAD_TYPE;
 1037|      0|    }
 1038|       |
 1039|  2.34k|    pm->config &= pm->mask;
 1040|  2.34k|    return error;
 1041|  2.34k|}
ofputil_port_mod_format:
 1108|  1.17k|{
 1109|  1.17k|    ds_put_cstr(s, " port: ");
 1110|  1.17k|    ofputil_format_port(pm->port_no, port_map, s);
 1111|  1.17k|    ds_put_format(s, ": addr:"ETH_ADDR_FMT"\n",
 1112|  1.17k|                  ETH_ADDR_ARGS(pm->hw_addr));
  ------------------
  |  |  371|  1.17k|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|  1.17k|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
 1113|       |
 1114|  1.17k|    ds_put_cstr(s, "     config: ");
 1115|  1.17k|    ofputil_port_config_format(s, pm->config);
 1116|       |
 1117|  1.17k|    ds_put_cstr(s, "     mask:   ");
 1118|  1.17k|    ofputil_port_config_format(s, pm->mask);
 1119|       |
 1120|  1.17k|    ds_put_cstr(s, "     advertise: ");
 1121|  1.17k|    if (pm->advertise) {
  ------------------
  |  Branch (1121:9): [True: 1.01k, False: 157]
  ------------------
 1122|  1.01k|        netdev_features_format(s, pm->advertise);
 1123|  1.01k|    } else {
 1124|    157|        ds_put_cstr(s, "UNCHANGED\n");
 1125|    157|    }
 1126|  1.17k|}
ofputil_count_port_stats:
 1606|  11.2k|{
 1607|  11.2k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
 1608|  11.2k|    ofpraw_pull_assert(&b);
 1609|       |
 1610|  20.6k|    for (size_t n = 0; ; n++) {
 1611|  20.6k|        struct ofputil_port_stats ps;
 1612|  20.6k|        if (ofputil_decode_port_stats(&ps, &b)) {
  ------------------
  |  Branch (1612:13): [True: 11.2k, False: 9.34k]
  ------------------
 1613|  11.2k|            return n;
 1614|  11.2k|        }
 1615|  9.34k|        netdev_free_custom_stats_counters(&ps.custom_stats);
 1616|  9.34k|    }
 1617|  11.2k|}
ofputil_decode_port_stats:
 1634|  41.2k|{
 1635|  41.2k|    enum ofperr error;
 1636|  41.2k|    enum ofpraw raw;
 1637|       |
 1638|  41.2k|    memset(&(ps->stats), 0xFF, sizeof (ps->stats));
 1639|  41.2k|    memset(&(ps->custom_stats), 0, sizeof (ps->custom_stats));
 1640|       |
 1641|  41.2k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (1641:14): [True: 29.9k, False: 11.2k]
  ------------------
 1642|  41.2k|             : ofpraw_pull(&raw, msg));
 1643|  41.2k|    if (error) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 41.2k]
  ------------------
 1644|      0|        return error;
 1645|      0|    }
 1646|       |
 1647|  41.2k|    if (!msg->size) {
  ------------------
  |  Branch (1647:9): [True: 9.46k, False: 31.7k]
  ------------------
 1648|  9.46k|        return EOF;
 1649|  31.7k|    } else if (raw == OFPRAW_OFPST14_PORT_REPLY) {
  ------------------
  |  Branch (1649:16): [True: 20.5k, False: 11.2k]
  ------------------
 1650|  20.5k|        return ofputil_pull_ofp14_port_stats(ps, msg);
 1651|  20.5k|    } else if (raw == OFPRAW_OFPST13_PORT_REPLY) {
  ------------------
  |  Branch (1651:16): [True: 776, False: 10.4k]
  ------------------
 1652|    776|        const struct ofp13_port_stats *ps13;
 1653|    776|        ps13 = ofpbuf_try_pull(msg, sizeof *ps13);
 1654|    776|        if (!ps13) {
  ------------------
  |  Branch (1654:13): [True: 0, False: 776]
  ------------------
 1655|      0|            goto bad_len;
 1656|      0|        }
 1657|    776|        return ofputil_port_stats_from_ofp13(ps, ps13);
 1658|  10.4k|    } else if (raw == OFPRAW_OFPST11_PORT_REPLY) {
  ------------------
  |  Branch (1658:16): [True: 446, False: 9.99k]
  ------------------
 1659|    446|        const struct ofp11_port_stats *ps11;
 1660|       |
 1661|    446|        ps11 = ofpbuf_try_pull(msg, sizeof *ps11);
 1662|    446|        if (!ps11) {
  ------------------
  |  Branch (1662:13): [True: 0, False: 446]
  ------------------
 1663|      0|            goto bad_len;
 1664|      0|        }
 1665|    446|        return ofputil_port_stats_from_ofp11(ps, ps11);
 1666|  9.99k|    } else if (raw == OFPRAW_OFPST10_PORT_REPLY) {
  ------------------
  |  Branch (1666:16): [True: 9.99k, False: 0]
  ------------------
 1667|  9.99k|        const struct ofp10_port_stats *ps10;
 1668|       |
 1669|  9.99k|        ps10 = ofpbuf_try_pull(msg, sizeof *ps10);
 1670|  9.99k|        if (!ps10) {
  ------------------
  |  Branch (1670:13): [True: 0, False: 9.99k]
  ------------------
 1671|      0|            goto bad_len;
 1672|      0|        }
 1673|  9.99k|        return ofputil_port_stats_from_ofp10(ps, ps10);
 1674|  9.99k|    } else {
 1675|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1676|      0|    }
 1677|       |
 1678|      0| bad_len:
 1679|      0|    VLOG_WARN_RL(&rl, "OFPST_PORT reply has %"PRIu32" leftover "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|      0|                 "bytes at end", msg->size);
 1681|      0|    return OFPERR_OFPBRC_BAD_LEN;
 1682|  41.2k|}
ofputil_format_port_stats:
 1712|  9.34k|{
 1713|  9.34k|    ds_put_cstr(string, "  port ");
 1714|  9.34k|    if (ofp_to_u16(ps->port_no) < 10) {
  ------------------
  |  Branch (1714:9): [True: 1.16k, False: 8.18k]
  ------------------
 1715|  1.16k|        ds_put_char(string, ' ');
 1716|  1.16k|    }
 1717|  9.34k|    ofputil_format_port(ps->port_no, port_map, string);
 1718|       |
 1719|  9.34k|    ds_put_cstr(string, ": rx ");
 1720|  9.34k|    print_port_stat(string, "pkts=", ps->stats.rx_packets, 1);
 1721|  9.34k|    print_port_stat(string, "bytes=", ps->stats.rx_bytes, 1);
 1722|  9.34k|    print_port_stat(string, "drop=", ps->stats.rx_dropped, 1);
 1723|  9.34k|    print_port_stat(string, "errs=", ps->stats.rx_errors, 1);
 1724|  9.34k|    print_port_stat(string, "frame=", ps->stats.rx_frame_errors, 1);
 1725|  9.34k|    print_port_stat(string, "over=", ps->stats.rx_over_errors, 1);
 1726|  9.34k|    print_port_stat(string, "crc=", ps->stats.rx_crc_errors, 0);
 1727|       |
 1728|  9.34k|    ds_put_cstr(string, "           tx ");
 1729|  9.34k|    print_port_stat(string, "pkts=", ps->stats.tx_packets, 1);
 1730|  9.34k|    print_port_stat(string, "bytes=", ps->stats.tx_bytes, 1);
 1731|  9.34k|    print_port_stat(string, "drop=", ps->stats.tx_dropped, 1);
 1732|  9.34k|    print_port_stat(string, "errs=", ps->stats.tx_errors, 1);
 1733|  9.34k|    print_port_stat(string, "coll=", ps->stats.collisions, 0);
 1734|       |
 1735|  9.34k|    if (ps->duration_sec != UINT32_MAX) {
  ------------------
  |  Branch (1735:9): [True: 3.91k, False: 5.43k]
  ------------------
 1736|  3.91k|        ds_put_cstr(string, "           duration=");
 1737|  3.91k|        ofp_print_duration(string, ps->duration_sec, ps->duration_nsec);
 1738|  3.91k|        ds_put_char(string, '\n');
 1739|  3.91k|    }
 1740|  9.34k|    struct ds string_ext_stats = DS_EMPTY_INITIALIZER;
  ------------------
  |  |   46|  9.34k|#define DS_EMPTY_INITIALIZER { NULL, 0, 0 }
  ------------------
 1741|       |
 1742|  9.34k|    ds_init(&string_ext_stats);
 1743|       |
 1744|  9.34k|    print_port_stat_cond(&string_ext_stats, "1_to_64_packets=",
 1745|  9.34k|                         ps->stats.rx_1_to_64_packets);
 1746|  9.34k|    print_port_stat_cond(&string_ext_stats, "65_to_127_packets=",
 1747|  9.34k|                         ps->stats.rx_65_to_127_packets);
 1748|  9.34k|    print_port_stat_cond(&string_ext_stats, "128_to_255_packets=",
 1749|  9.34k|                         ps->stats.rx_128_to_255_packets);
 1750|  9.34k|    print_port_stat_cond(&string_ext_stats, "256_to_511_packets=",
 1751|  9.34k|                         ps->stats.rx_256_to_511_packets);
 1752|  9.34k|    print_port_stat_cond(&string_ext_stats, "512_to_1023_packets=",
 1753|  9.34k|                         ps->stats.rx_512_to_1023_packets);
 1754|  9.34k|    print_port_stat_cond(&string_ext_stats, "1024_to_1522_packets=",
 1755|  9.34k|                         ps->stats.rx_1024_to_1522_packets);
 1756|  9.34k|    print_port_stat_cond(&string_ext_stats, "1523_to_max_packets=",
 1757|  9.34k|                         ps->stats.rx_1523_to_max_packets);
 1758|  9.34k|    print_port_stat_cond(&string_ext_stats, "broadcast_packets=",
 1759|  9.34k|                         ps->stats.rx_broadcast_packets);
 1760|  9.34k|    print_port_stat_cond(&string_ext_stats, "undersized_errors=",
 1761|  9.34k|                         ps->stats.rx_undersized_errors);
 1762|  9.34k|    print_port_stat_cond(&string_ext_stats, "oversize_errors=",
 1763|  9.34k|                         ps->stats.rx_oversize_errors);
 1764|  9.34k|    print_port_stat_cond(&string_ext_stats, "rx_fragmented_errors=",
 1765|  9.34k|                         ps->stats.rx_fragmented_errors);
 1766|  9.34k|    print_port_stat_cond(&string_ext_stats, "rx_jabber_errors=",
 1767|  9.34k|                         ps->stats.rx_jabber_errors);
 1768|       |
 1769|  9.34k|    if (string_ext_stats.length != 0) {
  ------------------
  |  Branch (1769:9): [True: 0, False: 9.34k]
  ------------------
 1770|       |        /* If at least one statistics counter is reported: */
 1771|      0|        ds_put_cstr(string, "           rx rfc2819 ");
 1772|      0|        ds_put_buffer(string, string_ext_stats.string,
 1773|      0|                      string_ext_stats.length);
 1774|      0|        ds_put_cstr(string, "\n");
 1775|      0|        ds_destroy(&string_ext_stats);
 1776|      0|    }
 1777|       |
 1778|  9.34k|    ds_init(&string_ext_stats);
 1779|       |
 1780|  9.34k|    print_port_stat_cond(&string_ext_stats, "1_to_64_packets=",
 1781|  9.34k|                         ps->stats.tx_1_to_64_packets);
 1782|  9.34k|    print_port_stat_cond(&string_ext_stats, "65_to_127_packets=",
 1783|  9.34k|                         ps->stats.tx_65_to_127_packets);
 1784|  9.34k|    print_port_stat_cond(&string_ext_stats, "128_to_255_packets=",
 1785|  9.34k|                         ps->stats.tx_128_to_255_packets);
 1786|  9.34k|    print_port_stat_cond(&string_ext_stats, "256_to_511_packets=",
 1787|  9.34k|                         ps->stats.tx_256_to_511_packets);
 1788|  9.34k|    print_port_stat_cond(&string_ext_stats, "512_to_1023_packets=",
 1789|  9.34k|                         ps->stats.tx_512_to_1023_packets);
 1790|  9.34k|    print_port_stat_cond(&string_ext_stats, "1024_to_1522_packets=",
 1791|  9.34k|                         ps->stats.tx_1024_to_1522_packets);
 1792|  9.34k|    print_port_stat_cond(&string_ext_stats, "1523_to_max_packets=",
 1793|  9.34k|                         ps->stats.tx_1523_to_max_packets);
 1794|  9.34k|    print_port_stat_cond(&string_ext_stats, "multicast_packets=",
 1795|  9.34k|                         ps->stats.tx_multicast_packets);
 1796|  9.34k|    print_port_stat_cond(&string_ext_stats, "broadcast_packets=",
 1797|  9.34k|                         ps->stats.tx_broadcast_packets);
 1798|       |
 1799|  9.34k|    if (string_ext_stats.length != 0) {
  ------------------
  |  Branch (1799:9): [True: 0, False: 9.34k]
  ------------------
 1800|       |        /* If at least one statistics counter is reported: */
 1801|      0|        ds_put_cstr(string, "           tx rfc2819 ");
 1802|      0|        ds_put_buffer(string, string_ext_stats.string,
 1803|      0|                      string_ext_stats.length);
 1804|      0|        ds_put_cstr(string, "\n");
 1805|      0|        ds_destroy(&string_ext_stats);
 1806|      0|    }
 1807|       |
 1808|  9.34k|    if (ps->custom_stats.size) {
  ------------------
  |  Branch (1808:9): [True: 1.56k, False: 7.77k]
  ------------------
 1809|  1.56k|        ds_put_cstr(string, "           CUSTOM Statistics");
 1810|  16.9k|        for (int i = 0; i < ps->custom_stats.size; i++) {
  ------------------
  |  Branch (1810:25): [True: 15.4k, False: 1.56k]
  ------------------
 1811|       |            /* 3 counters in the row */
 1812|  15.4k|            if (ps->custom_stats.counters[i].name[0]) {
  ------------------
  |  Branch (1812:17): [True: 7.22k, False: 8.18k]
  ------------------
 1813|  7.22k|                if (i % 3 == 0) {
  ------------------
  |  Branch (1813:21): [True: 2.56k, False: 4.66k]
  ------------------
 1814|  2.56k|                    ds_put_cstr(string, "\n");
 1815|  2.56k|                    ds_put_cstr(string, "                      ");
 1816|  4.66k|                } else {
 1817|  4.66k|                    ds_put_char(string, ' ');
 1818|  4.66k|                }
 1819|  7.22k|                ds_put_format(string, "%s=%"PRIu64",",
 1820|  7.22k|                              ps->custom_stats.counters[i].name,
 1821|  7.22k|                              ps->custom_stats.counters[i].value);
 1822|  7.22k|            }
 1823|  15.4k|        }
 1824|  1.56k|        ds_put_cstr(string, "\n");
 1825|  1.56k|    }
 1826|  9.34k|}
ofputil_decode_port_stats_request:
 1835|  1.65k|{
 1836|  1.65k|    switch ((enum ofp_version)request->version) {
 1837|    245|    case OFP15_VERSION:
  ------------------
  |  Branch (1837:5): [True: 245, False: 1.41k]
  ------------------
 1838|    575|    case OFP14_VERSION:
  ------------------
  |  Branch (1838:5): [True: 330, False: 1.32k]
  ------------------
 1839|    795|    case OFP13_VERSION:
  ------------------
  |  Branch (1839:5): [True: 220, False: 1.43k]
  ------------------
 1840|  1.17k|    case OFP12_VERSION:
  ------------------
  |  Branch (1840:5): [True: 381, False: 1.27k]
  ------------------
 1841|  1.64k|    case OFP11_VERSION: {
  ------------------
  |  Branch (1841:5): [True: 464, False: 1.19k]
  ------------------
 1842|  1.64k|        const struct ofp11_port_stats_request *psr11 = ofpmsg_body(request);
 1843|  1.64k|        return ofputil_port_from_ofp11(psr11->port_no, ofp10_port);
 1844|  1.17k|    }
 1845|       |
 1846|     18|    case OFP10_VERSION: {
  ------------------
  |  Branch (1846:5): [True: 18, False: 1.64k]
  ------------------
 1847|     18|        const struct ofp10_port_stats_request *psr10 = ofpmsg_body(request);
 1848|     18|        *ofp10_port = u16_to_ofp(ntohs(psr10->port_no));
 1849|     18|        return 0;
 1850|  1.17k|    }
 1851|       |
 1852|      0|    default:
  ------------------
  |  Branch (1852:5): [True: 0, False: 1.65k]
  ------------------
 1853|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 1854|  1.65k|    }
 1855|  1.65k|}
ofp-port.c:ofputil_port_config_to_name:
  293|  71.5k|{
  294|  71.5k|    enum ofputil_port_config pc = bit;
  295|       |
  296|  71.5k|    switch (pc) {
  ------------------
  |  Branch (296:13): [True: 71.5k, False: 0]
  ------------------
  297|  11.4k|    case OFPUTIL_PC_PORT_DOWN:    return "PORT_DOWN";
  ------------------
  |  Branch (297:5): [True: 11.4k, False: 60.1k]
  ------------------
  298|  10.4k|    case OFPUTIL_PC_NO_STP:       return "NO_STP";
  ------------------
  |  Branch (298:5): [True: 10.4k, False: 61.1k]
  ------------------
  299|  10.5k|    case OFPUTIL_PC_NO_RECV:      return "NO_RECV";
  ------------------
  |  Branch (299:5): [True: 10.5k, False: 61.0k]
  ------------------
  300|  9.76k|    case OFPUTIL_PC_NO_RECV_STP:  return "NO_RECV_STP";
  ------------------
  |  Branch (300:5): [True: 9.76k, False: 61.7k]
  ------------------
  301|  8.87k|    case OFPUTIL_PC_NO_FLOOD:     return "NO_FLOOD";
  ------------------
  |  Branch (301:5): [True: 8.87k, False: 62.6k]
  ------------------
  302|  10.8k|    case OFPUTIL_PC_NO_FWD:       return "NO_FWD";
  ------------------
  |  Branch (302:5): [True: 10.8k, False: 60.6k]
  ------------------
  303|  9.67k|    case OFPUTIL_PC_NO_PACKET_IN: return "NO_PACKET_IN";
  ------------------
  |  Branch (303:5): [True: 9.67k, False: 61.8k]
  ------------------
  304|  71.5k|    }
  305|       |
  306|      0|    return NULL;
  307|  71.5k|}
ofp-port.c:ofputil_port_state_to_name:
  320|  11.0k|{
  321|  11.0k|    enum ofputil_port_state ps = bit;
  322|       |
  323|  11.0k|    switch (ps) {
  ------------------
  |  Branch (323:13): [True: 11.0k, False: 0]
  ------------------
  324|  10.1k|    case OFPUTIL_PS_LINK_DOWN: return "LINK_DOWN";
  ------------------
  |  Branch (324:5): [True: 10.1k, False: 944]
  ------------------
  325|    456|    case OFPUTIL_PS_BLOCKED:   return "BLOCKED";
  ------------------
  |  Branch (325:5): [True: 456, False: 10.5k]
  ------------------
  326|    488|    case OFPUTIL_PS_LIVE:      return "LIVE";
  ------------------
  |  Branch (326:5): [True: 488, False: 10.5k]
  ------------------
  327|       |
  328|      0|    case OFPUTIL_PS_STP_LISTEN:
  ------------------
  |  Branch (328:5): [True: 0, False: 11.0k]
  ------------------
  329|      0|    case OFPUTIL_PS_STP_LEARN:
  ------------------
  |  Branch (329:5): [True: 0, False: 11.0k]
  ------------------
  330|      0|    case OFPUTIL_PS_STP_FORWARD:
  ------------------
  |  Branch (330:5): [True: 0, False: 11.0k]
  ------------------
  331|      0|    case OFPUTIL_PS_STP_BLOCK:
  ------------------
  |  Branch (331:5): [True: 0, False: 11.0k]
  ------------------
  332|       |        /* Handled elsewhere. */
  333|      0|        return NULL;
  334|  11.0k|    }
  335|       |
  336|      0|    return NULL;
  337|  11.0k|}
ofp-port.c:ofputil_decode_ofp10_phy_port:
  429|  24.0k|{
  430|  24.0k|    pp->port_no = u16_to_ofp(ntohs(opp->port_no));
  431|  24.0k|    pp->hw_addr = opp->hw_addr;
  432|  24.0k|    ovs_strlcpy_arrays(pp->name, opp->name);
  ------------------
  |  |  209|  24.0k|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|  24.0k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 24.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|       |
  434|  24.0k|    pp->config = ntohl(opp->config) & OFPPC10_ALL;
  ------------------
  |  |   65|  24.0k|#define OFPPC10_ALL (OFPPC_PORT_DOWN | OFPPC10_NO_STP | OFPPC_NO_RECV | \
  |  |   66|  24.0k|                     OFPPC10_NO_RECV_STP | OFPPC10_NO_FLOOD | OFPPC_NO_FWD | \
  |  |   67|  24.0k|                     OFPPC_NO_PACKET_IN)
  ------------------
  435|  24.0k|    pp->state = ntohl(opp->state) & OFPPS10_ALL;
  ------------------
  |  |   84|  24.0k|#define OFPPS10_ALL (OFPPS_LINK_DOWN | OFPPS10_STP_MASK)
  ------------------
  436|       |
  437|  24.0k|    pp->curr = netdev_port_features_from_ofp10(opp->curr);
  438|  24.0k|    pp->advertised = netdev_port_features_from_ofp10(opp->advertised);
  439|  24.0k|    pp->supported = netdev_port_features_from_ofp10(opp->supported);
  440|  24.0k|    pp->peer = netdev_port_features_from_ofp10(opp->peer);
  441|       |
  442|  24.0k|    pp->curr_speed = netdev_features_to_bps(pp->curr, 0) / 1000;
  443|  24.0k|    pp->max_speed = netdev_features_to_bps(pp->supported, 0) / 1000;
  444|       |
  445|  24.0k|    return 0;
  446|  24.0k|}
ofp-port.c:netdev_port_features_from_ofp10:
  386|  96.9k|{
  387|       |    uint32_t ofp10 = ntohl(ofp10_);
  388|  96.9k|    return (ofp10 & 0x7f) | ((ofp10 & 0xf80) << 4);
  389|  96.9k|}
ofp-port.c:ofputil_decode_ofp11_port:
  451|  1.34k|{
  452|  1.34k|    enum ofperr error;
  453|       |
  454|  1.34k|    error = ofputil_port_from_ofp11(op->port_no, &pp->port_no);
  455|  1.34k|    if (error) {
  ------------------
  |  Branch (455:9): [True: 374, False: 967]
  ------------------
  456|    374|        return error;
  457|    374|    }
  458|    967|    pp->hw_addr = op->hw_addr;
  459|    967|    ovs_strlcpy_arrays(pp->name, op->name);
  ------------------
  |  |  209|    967|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|    967|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 967]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|       |
  461|    967|    pp->config = ntohl(op->config) & OFPPC11_ALL;
  ------------------
  |  |   84|    967|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
  462|    967|    pp->state = ntohl(op->state) & OFPPS11_ALL;
  ------------------
  |  |   92|    967|#define OFPPS11_ALL (OFPPS_LINK_DOWN | OFPPS11_BLOCKED | OFPPS11_LIVE)
  ------------------
  463|       |
  464|    967|    pp->curr = netdev_port_features_from_ofp11(op->curr);
  465|    967|    pp->advertised = netdev_port_features_from_ofp11(op->advertised);
  466|    967|    pp->supported = netdev_port_features_from_ofp11(op->supported);
  467|    967|    pp->peer = netdev_port_features_from_ofp11(op->peer);
  468|       |
  469|    967|    pp->curr_speed = ntohl(op->curr_speed);
  470|    967|    pp->max_speed = ntohl(op->max_speed);
  471|       |
  472|    967|    return 0;
  473|  1.34k|}
ofp-port.c:netdev_port_features_from_ofp11:
  416|  4.26k|{
  417|       |    return ntohl(ofp11) & 0xffff;
  418|  4.26k|}
ofp-port.c:ofputil_pull_ofp14_port:
  531|  1.36k|{
  532|  1.36k|    const struct ofp14_port *op = ofpbuf_try_pull(msg, sizeof *op);
  533|  1.36k|    if (!op) {
  ------------------
  |  Branch (533:9): [True: 71, False: 1.29k]
  ------------------
  534|     71|        return OFPERR_OFPBRC_BAD_LEN;
  535|     71|    }
  536|       |
  537|  1.29k|    size_t len = ntohs(op->length);
  538|  1.29k|    if (len < sizeof *op || len - sizeof *op > msg->size) {
  ------------------
  |  Branch (538:9): [True: 230, False: 1.06k]
  |  Branch (538:29): [True: 257, False: 803]
  ------------------
  539|    487|        return OFPERR_OFPBRC_BAD_LEN;
  540|    487|    }
  541|    803|    len -= sizeof *op;
  542|       |
  543|    803|    enum ofperr error = ofputil_port_from_ofp11(op->port_no, &pp->port_no);
  544|    803|    if (error) {
  ------------------
  |  Branch (544:9): [True: 118, False: 685]
  ------------------
  545|    118|        return error;
  546|    118|    }
  547|    685|    pp->hw_addr = op->hw_addr;
  548|    685|    ovs_strlcpy_arrays(pp->name, op->name);
  ------------------
  |  |  209|    685|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|    685|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 685]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|       |
  550|    685|    pp->config = ntohl(op->config) & OFPPC11_ALL;
  ------------------
  |  |   84|    685|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
  551|    685|    pp->state = ntohl(op->state) & OFPPS11_ALL;
  ------------------
  |  |   92|    685|#define OFPPS11_ALL (OFPPS_LINK_DOWN | OFPPS11_BLOCKED | OFPPS11_LIVE)
  ------------------
  552|       |
  553|    685|    return ofputil_pull_ofp14_port_properties(ofpbuf_pull(msg, len), len, pp);
  554|    803|}
ofp-port.c:ofputil_pull_ofp14_port_properties:
  499|    685|{
  500|    685|    struct ofpbuf properties = ofpbuf_const_initializer(props, len);
  501|  1.41k|    while (properties.size > 0) {
  ------------------
  |  Branch (501:12): [True: 1.21k, False: 195]
  ------------------
  502|  1.21k|        struct ofpbuf payload;
  503|  1.21k|        enum ofperr error;
  504|  1.21k|        uint64_t type;
  505|       |
  506|  1.21k|        error = ofpprop_pull(&properties, &payload, &type);
  507|  1.21k|        if (error) {
  ------------------
  |  Branch (507:13): [True: 148, False: 1.06k]
  ------------------
  508|    148|            return error;
  509|    148|        }
  510|       |
  511|  1.06k|        switch (type) {
  512|    352|        case OFPPDPT14_ETHERNET:
  ------------------
  |  Branch (512:9): [True: 352, False: 716]
  ------------------
  513|    352|            error = parse_ofp14_port_ethernet_property(&payload, pp);
  514|    352|            break;
  515|       |
  516|    716|        default:
  ------------------
  |  Branch (516:9): [True: 716, False: 352]
  ------------------
  517|    716|            error = OFPPROP_UNKNOWN(true, "port", type);
  ------------------
  |  |  144|    716|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  518|    716|            break;
  519|  1.06k|        }
  520|       |
  521|  1.06k|        if (error) {
  ------------------
  |  Branch (521:13): [True: 342, False: 726]
  ------------------
  522|    342|            return error;
  523|    342|        }
  524|  1.06k|    }
  525|       |
  526|    195|    return 0;
  527|    685|}
ofp-port.c:parse_ofp14_port_ethernet_property:
  478|    352|{
  479|    352|    struct ofp14_port_desc_prop_ethernet *eth = payload->data;
  480|       |
  481|    352|    if (payload->size != sizeof *eth) {
  ------------------
  |  Branch (481:9): [True: 342, False: 10]
  ------------------
  482|    342|        return OFPERR_OFPBPC_BAD_LEN;
  483|    342|    }
  484|       |
  485|     10|    pp->curr = netdev_port_features_from_ofp11(eth->curr);
  486|     10|    pp->advertised = netdev_port_features_from_ofp11(eth->advertised);
  487|     10|    pp->supported = netdev_port_features_from_ofp11(eth->supported);
  488|     10|    pp->peer = netdev_port_features_from_ofp11(eth->peer);
  489|       |
  490|     10|    pp->curr_speed = ntohl(eth->curr_speed);
  491|     10|    pp->max_speed = ntohl(eth->max_speed);
  492|       |
  493|     10|    return 0;
  494|    352|}
ofp-port.c:compare_ports:
  800|   161k|{
  801|   161k|    const struct ofputil_phy_port *a = a_;
  802|   161k|    const struct ofputil_phy_port *b = b_;
  803|   161k|    uint16_t ap = ofp_to_u16(a->port_no);
  804|   161k|    uint16_t bp = ofp_to_u16(b->port_no);
  805|       |
  806|   161k|    return ap < bp ? -1 : ap > bp;
  ------------------
  |  Branch (806:12): [True: 36.3k, False: 124k]
  ------------------
  807|   161k|}
ofp-port.c:ofputil_decode_ofp10_port_mod:
  941|    686|{
  942|    686|    pm->port_no = u16_to_ofp(ntohs(opm->port_no));
  943|    686|    pm->hw_addr = opm->hw_addr;
  944|    686|    pm->config = ntohl(opm->config) & OFPPC10_ALL;
  ------------------
  |  |   65|    686|#define OFPPC10_ALL (OFPPC_PORT_DOWN | OFPPC10_NO_STP | OFPPC_NO_RECV | \
  |  |   66|    686|                     OFPPC10_NO_RECV_STP | OFPPC10_NO_FLOOD | OFPPC_NO_FWD | \
  |  |   67|    686|                     OFPPC_NO_PACKET_IN)
  ------------------
  945|    686|    pm->mask = ntohl(opm->mask) & OFPPC10_ALL;
  ------------------
  |  |   65|    686|#define OFPPC10_ALL (OFPPC_PORT_DOWN | OFPPC10_NO_STP | OFPPC_NO_RECV | \
  |  |   66|    686|                     OFPPC10_NO_RECV_STP | OFPPC10_NO_FLOOD | OFPPC_NO_FWD | \
  |  |   67|    686|                     OFPPC_NO_PACKET_IN)
  ------------------
  946|    686|    pm->advertise = netdev_port_features_from_ofp10(opm->advertise);
  947|    686|    return 0;
  948|    686|}
ofp-port.c:ofputil_decode_ofp11_port_mod:
  953|    316|{
  954|    316|    enum ofperr error;
  955|       |
  956|    316|    error = ofputil_port_from_ofp11(opm->port_no, &pm->port_no);
  957|    316|    if (error) {
  ------------------
  |  Branch (957:9): [True: 63, False: 253]
  ------------------
  958|     63|        return error;
  959|     63|    }
  960|       |
  961|    253|    pm->hw_addr = opm->hw_addr;
  962|    253|    pm->config = ntohl(opm->config) & OFPPC11_ALL;
  ------------------
  |  |   84|    253|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
  963|    253|    pm->mask = ntohl(opm->mask) & OFPPC11_ALL;
  ------------------
  |  |   84|    253|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
  964|    253|    pm->advertise = netdev_port_features_from_ofp11(opm->advertise);
  965|       |
  966|    253|    return 0;
  967|    316|}
ofp-port.c:ofputil_decode_ofp14_port_mod:
 1003|  1.34k|{
 1004|  1.34k|    const struct ofp14_port_mod *opm = ofpbuf_pull(b, sizeof *opm);
 1005|  1.34k|    enum ofperr error = ofputil_port_from_ofp11(opm->port_no, &pm->port_no);
 1006|  1.34k|    if (error) {
  ------------------
  |  Branch (1006:9): [True: 585, False: 759]
  ------------------
 1007|    585|        return error;
 1008|    585|    }
 1009|       |
 1010|    759|    pm->hw_addr = opm->hw_addr;
 1011|    759|    pm->config = ntohl(opm->config) & OFPPC11_ALL;
  ------------------
  |  |   84|    759|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
 1012|    759|    pm->mask = ntohl(opm->mask) & OFPPC11_ALL;
  ------------------
  |  |   84|    759|    (OFPPC_PORT_DOWN | OFPPC_NO_RECV | OFPPC_NO_FWD | OFPPC_NO_PACKET_IN)
  ------------------
 1013|       |
 1014|    759|    return ofputil_decode_ofp14_port_mod_properties(b, loose, pm);
 1015|  1.34k|}
ofp-port.c:ofputil_decode_ofp14_port_mod_properties:
  972|    759|{
  973|  1.63k|    while (b->size > 0) {
  ------------------
  |  Branch (973:12): [True: 1.39k, False: 234]
  ------------------
  974|  1.39k|        struct ofpbuf property;
  975|  1.39k|        enum ofperr error;
  976|  1.39k|        uint64_t type;
  977|       |
  978|  1.39k|        error = ofpprop_pull(b, &property, &type);
  979|  1.39k|        if (error) {
  ------------------
  |  Branch (979:13): [True: 459, False: 938]
  ------------------
  980|    459|            return error;
  981|    459|        }
  982|       |
  983|    938|        switch (type) {
  984|    172|        case OFPPMPT14_ETHERNET:
  ------------------
  |  Branch (984:9): [True: 172, False: 766]
  ------------------
  985|    172|            error = parse_port_mod_ethernet_property(&property, pm);
  986|    172|            break;
  987|       |
  988|    766|        default:
  ------------------
  |  Branch (988:9): [True: 766, False: 172]
  ------------------
  989|    766|            error = OFPPROP_UNKNOWN(loose, "port_mod", type);
  ------------------
  |  |  144|    766|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  990|    766|            break;
  991|    938|        }
  992|       |
  993|    938|        if (error) {
  ------------------
  |  Branch (993:13): [True: 66, False: 872]
  ------------------
  994|     66|            return error;
  995|     66|        }
  996|    938|    }
  997|    234|    return 0;
  998|    759|}
ofp-port.c:parse_port_mod_ethernet_property:
  927|    172|{
  928|    172|    ovs_be32 advertise;
  929|    172|    enum ofperr error;
  930|       |
  931|    172|    error = ofpprop_parse_be32(property, &advertise);
  932|    172|    if (!error) {
  ------------------
  |  Branch (932:9): [True: 106, False: 66]
  ------------------
  933|    106|        pm->advertise = netdev_port_features_from_ofp11(advertise);
  934|    106|    }
  935|    172|    return error;
  936|    172|}
ofp-port.c:ofputil_pull_ofp14_port_stats:
 1538|  20.5k|{
 1539|  20.5k|    const struct ofp14_port_stats *ps14 = ofpbuf_try_pull(msg, sizeof *ps14);
 1540|  20.5k|    if (!ps14) {
  ------------------
  |  Branch (1540:9): [True: 2.37k, False: 18.1k]
  ------------------
 1541|  2.37k|        return OFPERR_OFPBRC_BAD_LEN;
 1542|  2.37k|    }
 1543|       |
 1544|  18.1k|    size_t len = ntohs(ps14->length);
 1545|  18.1k|    if (len < sizeof *ps14 || len - sizeof *ps14 > msg->size) {
  ------------------
  |  Branch (1545:9): [True: 1.76k, False: 16.3k]
  |  Branch (1545:31): [True: 858, False: 15.5k]
  ------------------
 1546|  2.61k|        return OFPERR_OFPBRC_BAD_LEN;
 1547|  2.61k|    }
 1548|  15.5k|    len -= sizeof *ps14;
 1549|       |
 1550|  15.5k|    enum ofperr error = ofputil_port_from_ofp11(ps14->port_no, &ops->port_no);
 1551|  15.5k|    if (error) {
  ------------------
  |  Branch (1551:9): [True: 290, False: 15.2k]
  ------------------
 1552|    290|        return error;
 1553|    290|    }
 1554|       |
 1555|  15.2k|    ops->duration_sec = ntohl(ps14->duration_sec);
 1556|  15.2k|    ops->duration_nsec = ntohl(ps14->duration_nsec);
 1557|  15.2k|    ops->stats.rx_packets = ntohll(ps14->rx_packets);
 1558|  15.2k|    ops->stats.tx_packets = ntohll(ps14->tx_packets);
 1559|  15.2k|    ops->stats.rx_bytes = ntohll(ps14->rx_bytes);
 1560|  15.2k|    ops->stats.tx_bytes = ntohll(ps14->tx_bytes);
 1561|  15.2k|    ops->stats.rx_dropped = ntohll(ps14->rx_dropped);
 1562|  15.2k|    ops->stats.tx_dropped = ntohll(ps14->tx_dropped);
 1563|  15.2k|    ops->stats.rx_errors = ntohll(ps14->rx_errors);
 1564|  15.2k|    ops->stats.tx_errors = ntohll(ps14->tx_errors);
 1565|       |
 1566|       |
 1567|  15.2k|    struct ofpbuf properties = ofpbuf_const_initializer(ofpbuf_pull(msg, len),
 1568|  15.2k|                                                        len);
 1569|  20.9k|    while (properties.size > 0) {
  ------------------
  |  Branch (1569:12): [True: 13.3k, False: 7.63k]
  ------------------
 1570|  13.3k|        struct ofpbuf payload;
 1571|  13.3k|        uint64_t type = 0;
 1572|       |
 1573|  13.3k|        error = ofpprop_pull(&properties, &payload, &type);
 1574|  13.3k|        if (error) {
  ------------------
  |  Branch (1574:13): [True: 2.12k, False: 11.2k]
  ------------------
 1575|  2.12k|            netdev_free_custom_stats_counters(&ops->custom_stats);
 1576|  2.12k|            return error;
 1577|  2.12k|        }
 1578|  11.2k|        switch (type) {
 1579|     50|        case OFPPSPT14_ETHERNET:
  ------------------
  |  Branch (1579:9): [True: 50, False: 11.1k]
  ------------------
 1580|     50|            error = parse_ofp14_port_stats_ethernet_property(&payload, ops);
 1581|     50|            break;
 1582|     10|        case OFPPROP_EXP(INTEL_VENDOR_ID, INTEL_PORT_STATS_RFC2819):
  ------------------
  |  |   67|     10|    (((uint64_t) (EXP_ID) << 32) | (EXP_TYPE))
  ------------------
  |  Branch (1582:9): [True: 10, False: 11.1k]
  ------------------
 1583|     10|            error = parse_intel_port_stats_rfc2819_property(&payload, ops);
 1584|     10|            break;
 1585|  8.68k|        case OFPPROP_EXP(INTEL_VENDOR_ID, INTEL_PORT_STATS_CUSTOM):
  ------------------
  |  |   67|  8.68k|    (((uint64_t) (EXP_ID) << 32) | (EXP_TYPE))
  ------------------
  |  Branch (1585:9): [True: 8.68k, False: 2.51k]
  ------------------
 1586|  8.68k|            error = parse_intel_port_custom_property(&payload, ops);
 1587|  8.68k|            break;
 1588|  2.45k|        default:
  ------------------
  |  Branch (1588:9): [True: 2.45k, False: 8.74k]
  ------------------
 1589|  2.45k|            error = OFPPROP_UNKNOWN(true, "port stats", type);
  ------------------
  |  |  144|  2.45k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
 1590|  2.45k|            break;
 1591|  11.2k|        }
 1592|       |
 1593|  11.2k|        if (error) {
  ------------------
  |  Branch (1593:13): [True: 5.47k, False: 5.72k]
  ------------------
 1594|  5.47k|            netdev_free_custom_stats_counters(&ops->custom_stats);
 1595|  5.47k|            return error;
 1596|  5.47k|        }
 1597|  11.2k|    }
 1598|       |
 1599|  7.63k|    return 0;
 1600|  15.2k|}
ofp-port.c:parse_ofp14_port_stats_ethernet_property:
 1434|     50|{
 1435|     50|    const struct ofp14_port_stats_prop_ethernet *eth = payload->data;
 1436|       |
 1437|     50|    if (payload->size != sizeof *eth) {
  ------------------
  |  Branch (1437:9): [True: 42, False: 8]
  ------------------
 1438|     42|        return OFPERR_OFPBPC_BAD_LEN;
 1439|     42|    }
 1440|       |
 1441|      8|    ops->stats.rx_frame_errors = ntohll(eth->rx_frame_err);
 1442|      8|    ops->stats.rx_over_errors = ntohll(eth->rx_over_err);
 1443|      8|    ops->stats.rx_crc_errors = ntohll(eth->rx_crc_err);
 1444|      8|    ops->stats.collisions = ntohll(eth->collisions);
 1445|       |
 1446|      8|    return 0;
 1447|     50|}
ofp-port.c:parse_intel_port_stats_rfc2819_property:
 1452|     10|{
 1453|     10|    const struct intel_port_stats_rfc2819 *rfc2819 = payload->data;
 1454|       |
 1455|     10|    if (payload->size != sizeof *rfc2819) {
  ------------------
  |  Branch (1455:9): [True: 10, False: 0]
  ------------------
 1456|     10|        return OFPERR_OFPBPC_BAD_LEN;
 1457|     10|    }
 1458|      0|    ops->stats.rx_1_to_64_packets = ntohll(rfc2819->rx_1_to_64_packets);
 1459|      0|    ops->stats.rx_65_to_127_packets = ntohll(rfc2819->rx_65_to_127_packets);
 1460|      0|    ops->stats.rx_128_to_255_packets = ntohll(rfc2819->rx_128_to_255_packets);
 1461|      0|    ops->stats.rx_256_to_511_packets = ntohll(rfc2819->rx_256_to_511_packets);
 1462|      0|    ops->stats.rx_512_to_1023_packets =
 1463|      0|        ntohll(rfc2819->rx_512_to_1023_packets);
 1464|      0|    ops->stats.rx_1024_to_1522_packets =
 1465|      0|        ntohll(rfc2819->rx_1024_to_1522_packets);
 1466|      0|    ops->stats.rx_1523_to_max_packets =
 1467|      0|        ntohll(rfc2819->rx_1523_to_max_packets);
 1468|       |
 1469|      0|    ops->stats.tx_1_to_64_packets = ntohll(rfc2819->tx_1_to_64_packets);
 1470|      0|    ops->stats.tx_65_to_127_packets = ntohll(rfc2819->tx_65_to_127_packets);
 1471|      0|    ops->stats.tx_128_to_255_packets = ntohll(rfc2819->tx_128_to_255_packets);
 1472|      0|    ops->stats.tx_256_to_511_packets = ntohll(rfc2819->tx_256_to_511_packets);
 1473|      0|    ops->stats.tx_512_to_1023_packets =
 1474|      0|        ntohll(rfc2819->tx_512_to_1023_packets);
 1475|      0|    ops->stats.tx_1024_to_1522_packets =
 1476|      0|        ntohll(rfc2819->tx_1024_to_1522_packets);
 1477|      0|    ops->stats.tx_1523_to_max_packets =
 1478|      0|        ntohll(rfc2819->tx_1523_to_max_packets);
 1479|       |
 1480|      0|    ops->stats.tx_multicast_packets = ntohll(rfc2819->tx_multicast_packets);
 1481|      0|    ops->stats.rx_broadcast_packets = ntohll(rfc2819->rx_broadcast_packets);
 1482|      0|    ops->stats.tx_broadcast_packets = ntohll(rfc2819->tx_broadcast_packets);
 1483|      0|    ops->stats.rx_undersized_errors = ntohll(rfc2819->rx_undersized_errors);
 1484|       |
 1485|      0|    ops->stats.rx_oversize_errors = ntohll(rfc2819->rx_oversize_errors);
 1486|      0|    ops->stats.rx_fragmented_errors = ntohll(rfc2819->rx_fragmented_errors);
 1487|      0|    ops->stats.rx_jabber_errors = ntohll(rfc2819->rx_jabber_errors);
 1488|       |
 1489|      0|    return 0;
 1490|     10|}
ofp-port.c:parse_intel_port_custom_property:
 1495|  8.68k|{
 1496|  8.68k|    const struct intel_port_custom_stats *custom_stats
 1497|  8.68k|        = ofpbuf_try_pull(payload, sizeof *custom_stats);
 1498|  8.68k|    if (!custom_stats) {
  ------------------
  |  Branch (1498:9): [True: 6, False: 8.68k]
  ------------------
 1499|      6|        return OFPERR_OFPBPC_BAD_LEN;
 1500|      6|    }
 1501|       |
 1502|  8.68k|    ops->custom_stats.size = ntohs(custom_stats->stats_array_size);
 1503|       |
 1504|  8.68k|    netdev_free_custom_stats_counters(&ops->custom_stats);
 1505|  8.68k|    ops->custom_stats.counters = xcalloc(ops->custom_stats.size,
 1506|  8.68k|                                         sizeof *ops->custom_stats.counters);
 1507|       |
 1508|  63.3k|    for (int i = 0; i < ops->custom_stats.size; i++) {
  ------------------
  |  Branch (1508:21): [True: 60.0k, False: 3.26k]
  ------------------
 1509|  60.0k|        struct netdev_custom_counter *c = &ops->custom_stats.counters[i];
 1510|       |
 1511|       |        /* Counter name. */
 1512|  60.0k|        uint8_t *name_len = ofpbuf_try_pull(payload, sizeof *name_len);
 1513|  60.0k|        char *name = name_len ? ofpbuf_try_pull(payload, *name_len) : NULL;
  ------------------
  |  Branch (1513:22): [True: 60.0k, False: 32]
  ------------------
 1514|  60.0k|        if (!name_len || !name) {
  ------------------
  |  Branch (1514:13): [True: 32, False: 60.0k]
  |  Branch (1514:26): [True: 2.20k, False: 57.8k]
  ------------------
 1515|  2.23k|            netdev_free_custom_stats_counters(&ops->custom_stats);
 1516|  2.23k|            return OFPERR_OFPBPC_BAD_LEN;
 1517|  2.23k|        }
 1518|       |
 1519|  57.8k|        size_t len = MIN(*name_len, sizeof c->name - 1);
  ------------------
  |  |   91|  57.8k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 55.4k, False: 2.40k]
  |  |  ------------------
  ------------------
 1520|  57.8k|        memcpy(c->name, name, len);
 1521|  57.8k|        c->name[len] = '\0';
 1522|       |
 1523|       |        /* Counter value. */
 1524|  57.8k|        ovs_be64 *value = ofpbuf_try_pull(payload, sizeof *value);
 1525|  57.8k|        if (!value) {
  ------------------
  |  Branch (1525:13): [True: 3.17k, False: 54.6k]
  ------------------
 1526|  3.17k|            netdev_free_custom_stats_counters(&ops->custom_stats);
 1527|  3.17k|            return OFPERR_OFPBPC_BAD_LEN;
 1528|  3.17k|        }
 1529|  54.6k|        c->value = ntohll(get_unaligned_be64(value));
 1530|  54.6k|    }
 1531|       |
 1532|  3.26k|    return 0;
 1533|  8.68k|}
ofp-port.c:ofputil_port_stats_from_ofp13:
 1422|    776|{
 1423|    776|    enum ofperr error = ofputil_port_stats_from_ofp11(ops, &ps13->ps);
 1424|    776|    if (!error) {
  ------------------
  |  Branch (1424:9): [True: 712, False: 64]
  ------------------
 1425|    712|        ops->duration_sec = ntohl(ps13->duration_sec);
 1426|       |        ops->duration_nsec = ntohl(ps13->duration_nsec);
 1427|    712|    }
 1428|    776|    return error;
 1429|    776|}
ofp-port.c:ofputil_port_stats_from_ofp11:
 1394|  1.22k|{
 1395|  1.22k|    enum ofperr error;
 1396|       |
 1397|  1.22k|    error = ofputil_port_from_ofp11(ps11->port_no, &ops->port_no);
 1398|  1.22k|    if (error) {
  ------------------
  |  Branch (1398:9): [True: 160, False: 1.06k]
  ------------------
 1399|    160|        return error;
 1400|    160|    }
 1401|       |
 1402|  1.06k|    ops->stats.rx_packets = ntohll(ps11->rx_packets);
 1403|  1.06k|    ops->stats.tx_packets = ntohll(ps11->tx_packets);
 1404|  1.06k|    ops->stats.rx_bytes = ntohll(ps11->rx_bytes);
 1405|  1.06k|    ops->stats.tx_bytes = ntohll(ps11->tx_bytes);
 1406|  1.06k|    ops->stats.rx_dropped = ntohll(ps11->rx_dropped);
 1407|  1.06k|    ops->stats.tx_dropped = ntohll(ps11->tx_dropped);
 1408|  1.06k|    ops->stats.rx_errors = ntohll(ps11->rx_errors);
 1409|  1.06k|    ops->stats.tx_errors = ntohll(ps11->tx_errors);
 1410|  1.06k|    ops->stats.rx_frame_errors = ntohll(ps11->rx_frame_err);
 1411|  1.06k|    ops->stats.rx_over_errors = ntohll(ps11->rx_over_err);
 1412|  1.06k|    ops->stats.rx_crc_errors = ntohll(ps11->rx_crc_err);
 1413|  1.06k|    ops->stats.collisions = ntohll(ps11->collisions);
 1414|  1.06k|    ops->duration_sec = ops->duration_nsec = UINT32_MAX;
 1415|       |
 1416|  1.06k|    return 0;
 1417|  1.22k|}
ofp-port.c:ofputil_port_stats_from_ofp10:
 1370|  9.99k|{
 1371|       |
 1372|  9.99k|    ops->port_no = u16_to_ofp(ntohs(ps10->port_no));
 1373|  9.99k|    ops->stats.rx_packets = ntohll(get_32aligned_be64(&ps10->rx_packets));
 1374|  9.99k|    ops->stats.tx_packets = ntohll(get_32aligned_be64(&ps10->tx_packets));
 1375|  9.99k|    ops->stats.rx_bytes = ntohll(get_32aligned_be64(&ps10->rx_bytes));
 1376|  9.99k|    ops->stats.tx_bytes = ntohll(get_32aligned_be64(&ps10->tx_bytes));
 1377|  9.99k|    ops->stats.rx_dropped = ntohll(get_32aligned_be64(&ps10->rx_dropped));
 1378|  9.99k|    ops->stats.tx_dropped = ntohll(get_32aligned_be64(&ps10->tx_dropped));
 1379|  9.99k|    ops->stats.rx_errors = ntohll(get_32aligned_be64(&ps10->rx_errors));
 1380|  9.99k|    ops->stats.tx_errors = ntohll(get_32aligned_be64(&ps10->tx_errors));
 1381|  9.99k|    ops->stats.rx_frame_errors =
 1382|  9.99k|        ntohll(get_32aligned_be64(&ps10->rx_frame_err));
 1383|  9.99k|    ops->stats.rx_over_errors = ntohll(get_32aligned_be64(&ps10->rx_over_err));
 1384|  9.99k|    ops->stats.rx_crc_errors = ntohll(get_32aligned_be64(&ps10->rx_crc_err));
 1385|  9.99k|    ops->stats.collisions = ntohll(get_32aligned_be64(&ps10->collisions));
 1386|  9.99k|    ops->duration_sec = ops->duration_nsec = UINT32_MAX;
 1387|       |
 1388|  9.99k|    return 0;
 1389|  9.99k|}
ofp-port.c:print_port_stat:
 1686|   112k|{
 1687|   112k|    ds_put_cstr(string, leader);
 1688|   112k|    if (stat != UINT64_MAX) {
  ------------------
  |  Branch (1688:9): [True: 68.0k, False: 44.0k]
  ------------------
 1689|  68.0k|        ds_put_format(string, "%"PRIu64, stat);
 1690|  68.0k|    } else {
 1691|  44.0k|        ds_put_char(string, '?');
 1692|  44.0k|    }
 1693|   112k|    if (more) {
  ------------------
  |  Branch (1693:9): [True: 93.4k, False: 18.6k]
  ------------------
 1694|  93.4k|        ds_put_cstr(string, ", ");
 1695|  93.4k|    } else {
 1696|  18.6k|        ds_put_cstr(string, "\n");
 1697|  18.6k|    }
 1698|   112k|}
ofp-port.c:print_port_stat_cond:
 1702|   196k|{
 1703|   196k|    if (stat != UINT64_MAX) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 196k]
  ------------------
 1704|      0|        ds_put_format(string, "%s%"PRIu64", ", leader, stat);
 1705|      0|    }
 1706|   196k|}

ofp_packet_to_string:
   74|  58.3k|{
   75|  58.3k|    struct ds ds = DS_EMPTY_INITIALIZER;
  ------------------
  |  |   46|  58.3k|#define DS_EMPTY_INITIALIZER { NULL, 0, 0 }
  ------------------
   76|  58.3k|    struct dp_packet buf;
   77|  58.3k|    struct flow flow;
   78|  58.3k|    size_t l4_size;
   79|       |
   80|  58.3k|    dp_packet_use_const(&buf, data, len);
   81|  58.3k|    buf.packet_type = packet_type;
   82|  58.3k|    flow_extract(&buf, &flow);
   83|  58.3k|    flow_format(&ds, &flow, NULL);
   84|       |
   85|  58.3k|    l4_size = dp_packet_l4_size(&buf);
   86|       |
   87|  58.3k|    if (flow.nw_proto == IPPROTO_TCP && l4_size >= TCP_HEADER_LEN) {
  ------------------
  |  |  908|  4.11k|#define TCP_HEADER_LEN 20
  ------------------
  |  Branch (87:9): [True: 4.11k, False: 54.2k]
  |  Branch (87:41): [True: 4.03k, False: 88]
  ------------------
   88|  4.03k|        struct tcp_header *th = dp_packet_l4(&buf);
   89|  4.03k|        ds_put_format(&ds, " tcp_csum:%"PRIx16, ntohs(th->tcp_csum));
   90|  54.3k|    } else if (flow.nw_proto == IPPROTO_UDP && l4_size >= UDP_HEADER_LEN) {
  ------------------
  |  |  870|  1.31k|#define UDP_HEADER_LEN 8
  ------------------
  |  Branch (90:16): [True: 1.31k, False: 53.0k]
  |  Branch (90:48): [True: 1.24k, False: 67]
  ------------------
   91|  1.24k|        struct udp_header *uh = dp_packet_l4(&buf);
   92|  1.24k|        ds_put_format(&ds, " udp_csum:%"PRIx16, ntohs(uh->udp_csum));
   93|  53.1k|    } else if (flow.nw_proto == IPPROTO_SCTP && l4_size >= SCTP_HEADER_LEN) {
  ------------------
  |  |  850|    424|#define SCTP_HEADER_LEN 12
  ------------------
  |  Branch (93:16): [True: 424, False: 52.6k]
  |  Branch (93:49): [True: 225, False: 199]
  ------------------
   94|    225|        struct sctp_header *sh = dp_packet_l4(&buf);
   95|    225|        ds_put_format(&ds, " sctp_csum:%"PRIx32,
   96|    225|                      ntohl(get_16aligned_be32(&sh->sctp_csum)));
   97|  52.8k|    } else if (flow.nw_proto == IPPROTO_ICMP && l4_size >= ICMP_HEADER_LEN) {
  ------------------
  |  |  770|    985|#define ICMP_HEADER_LEN 8
  ------------------
  |  Branch (97:16): [True: 985, False: 51.9k]
  |  Branch (97:49): [True: 881, False: 104]
  ------------------
   98|    881|        struct icmp_header *icmph = dp_packet_l4(&buf);
   99|    881|        ds_put_format(&ds, " icmp_csum:%"PRIx16,
  100|    881|                      ntohs(icmph->icmp_csum));
  101|  52.0k|    } else if (flow.nw_proto == IPPROTO_ICMPV6 && l4_size >= ICMP6_HEADER_LEN) {
  ------------------
  |  | 1019|    701|#define ICMP6_HEADER_LEN 4
  ------------------
  |  Branch (101:16): [True: 701, False: 51.3k]
  |  Branch (101:51): [True: 649, False: 52]
  ------------------
  102|    649|        struct icmp6_header *icmp6h = dp_packet_l4(&buf);
  103|    649|        ds_put_format(&ds, " icmp6_csum:%"PRIx16,
  104|    649|                      ntohs(icmp6h->icmp6_cksum));
  105|    649|    }
  106|       |
  107|  58.3k|    ds_put_char(&ds, '\n');
  108|       |
  109|  58.3k|    return ds_cstr(&ds);
  110|  58.3k|}
ofp_print_bit_names:
  161|   144k|{
  162|   144k|    int n = 0;
  163|   144k|    int i;
  164|       |
  165|   144k|    if (!bits) {
  ------------------
  |  Branch (165:9): [True: 18.8k, False: 125k]
  ------------------
  166|  18.8k|        ds_put_cstr(string, "0");
  167|  18.8k|        return;
  168|  18.8k|    }
  169|       |
  170|  4.14M|    for (i = 0; i < 32; i++) {
  ------------------
  |  Branch (170:17): [True: 4.01M, False: 125k]
  ------------------
  171|  4.01M|        uint32_t bit = UINT32_C(1) << i;
  172|       |
  173|  4.01M|        if (bits & bit) {
  ------------------
  |  Branch (173:13): [True: 592k, False: 3.42M]
  ------------------
  174|   592k|            const char *name = bit_to_name(bit);
  175|   592k|            if (name) {
  ------------------
  |  Branch (175:17): [True: 574k, False: 18.0k]
  ------------------
  176|   574k|                if (n++) {
  ------------------
  |  Branch (176:21): [True: 450k, False: 124k]
  ------------------
  177|   450k|                    ds_put_char(string, separator);
  178|   450k|                }
  179|   574k|                ds_put_cstr(string, name);
  180|   574k|                bits &= ~bit;
  181|   574k|            }
  182|   592k|        }
  183|  4.01M|    }
  184|       |
  185|   125k|    if (bits) {
  ------------------
  |  Branch (185:9): [True: 2.82k, False: 122k]
  ------------------
  186|  2.82k|        if (n) {
  ------------------
  |  Branch (186:13): [True: 1.43k, False: 1.38k]
  ------------------
  187|  1.43k|            ds_put_char(string, separator);
  188|  1.43k|        }
  189|       |        ds_put_format(string, "0x%"PRIx32, bits);
  190|  2.82k|    }
  191|   125k|}
ofp_print_duration:
  253|  17.5k|{
  254|  17.5k|    ds_put_format(string, "%u", sec);
  255|       |
  256|       |    /* If there are no fractional seconds, don't print any decimals.
  257|       |     *
  258|       |     * If the fractional seconds can be expressed exactly as milliseconds,
  259|       |     * print 3 decimals.  Open vSwitch provides millisecond precision for most
  260|       |     * time measurements, so printing 3 decimals every time makes it easier to
  261|       |     * spot real changes in flow dumps that refresh themselves quickly.
  262|       |     *
  263|       |     * If the fractional seconds are more precise than milliseconds, print the
  264|       |     * number of decimals needed to express them exactly.
  265|       |     */
  266|  17.5k|    if (nsec > 0) {
  ------------------
  |  Branch (266:9): [True: 14.9k, False: 2.67k]
  ------------------
  267|  14.9k|        unsigned int msec = nsec / 1000000;
  268|  14.9k|        if (msec * 1000000 == nsec) {
  ------------------
  |  Branch (268:13): [True: 247, False: 14.6k]
  ------------------
  269|    247|            ds_put_format(string, ".%03u", msec);
  270|  14.6k|        } else {
  271|  14.6k|            ds_put_format(string, ".%09u", nsec);
  272|  21.0k|            while (string->string[string->length - 1] == '0') {
  ------------------
  |  Branch (272:20): [True: 6.34k, False: 14.6k]
  ------------------
  273|  6.34k|                string->length--;
  274|  6.34k|            }
  275|  14.6k|        }
  276|  14.9k|    }
  277|  17.5k|    ds_put_char(string, 's');
  278|  17.5k|}
ofp_print_version:
  792|  1.55M|{
  793|  1.55M|    switch (oh->version) {
  794|   305k|    case OFP10_VERSION:
  ------------------
  |  Branch (794:5): [True: 305k, False: 1.24M]
  ------------------
  795|   305k|        break;
  796|   128k|    case OFP11_VERSION:
  ------------------
  |  Branch (796:5): [True: 128k, False: 1.42M]
  ------------------
  797|   128k|        ds_put_cstr(string, " (OF1.1)");
  798|   128k|        break;
  799|   323k|    case OFP12_VERSION:
  ------------------
  |  Branch (799:5): [True: 323k, False: 1.23M]
  ------------------
  800|   323k|        ds_put_cstr(string, " (OF1.2)");
  801|   323k|        break;
  802|   141k|    case OFP13_VERSION:
  ------------------
  |  Branch (802:5): [True: 141k, False: 1.41M]
  ------------------
  803|   141k|        ds_put_cstr(string, " (OF1.3)");
  804|   141k|        break;
  805|   256k|    case OFP14_VERSION:
  ------------------
  |  Branch (805:5): [True: 256k, False: 1.29M]
  ------------------
  806|   256k|        ds_put_cstr(string, " (OF1.4)");
  807|   256k|        break;
  808|   324k|    case OFP15_VERSION:
  ------------------
  |  Branch (808:5): [True: 324k, False: 1.22M]
  ------------------
  809|   324k|        ds_put_cstr(string, " (OF1.5)");
  810|   324k|        break;
  811|  73.9k|    default:
  ------------------
  |  Branch (811:5): [True: 73.9k, False: 1.48M]
  ------------------
  812|  73.9k|        ds_put_format(string, " (OF 0x%02"PRIx8")", oh->version);
  813|  73.9k|        break;
  814|  1.55M|    }
  815|  1.55M|    ds_put_format(string, " (xid=0x%"PRIx32"):", ntohl(oh->xid));
  816|  1.55M|}
ofp_to_string:
 1229|  2.71M|{
 1230|  2.71M|    struct ds string = DS_EMPTY_INITIALIZER;
  ------------------
  |  |   46|  2.71M|#define DS_EMPTY_INITIALIZER { NULL, 0, 0 }
  ------------------
 1231|  2.71M|    const struct ofp_header *oh = oh_;
 1232|       |
 1233|  2.71M|    if (!len) {
  ------------------
  |  Branch (1233:9): [True: 410k, False: 2.30M]
  ------------------
 1234|   410k|        ds_put_cstr(&string, "OpenFlow message is empty\n");
 1235|  2.30M|    } else if (len < sizeof(struct ofp_header)) {
  ------------------
  |  Branch (1235:16): [True: 75.2k, False: 2.22M]
  ------------------
 1236|  75.2k|        ds_put_format(&string, "OpenFlow packet too short (only %"PRIuSIZE" bytes):\n",
 1237|  75.2k|                      len);
 1238|  2.22M|    } else if (ntohs(oh->length) > len) {
  ------------------
  |  Branch (1238:16): [True: 12.1k, False: 2.21M]
  ------------------
 1239|  12.1k|        enum ofperr error;
 1240|  12.1k|        enum ofpraw raw;
 1241|       |
 1242|  12.1k|        error = ofpraw_decode_partial(&raw, oh, len);
 1243|  12.1k|        if (!error) {
  ------------------
  |  Branch (1243:13): [True: 4.72k, False: 7.41k]
  ------------------
 1244|  4.72k|            ofp_header_to_string__(oh, raw, &string);
 1245|  4.72k|            ds_put_char(&string, '\n');
 1246|  4.72k|        }
 1247|       |
 1248|  12.1k|        ds_put_format(&string,
 1249|  12.1k|                      "(***truncated to %"PRIuSIZE" bytes from %"PRIu16"***)\n",
 1250|  12.1k|                      len, ntohs(oh->length));
 1251|  2.21M|    } else if (ntohs(oh->length) < len) {
  ------------------
  |  Branch (1251:16): [True: 1.83k, False: 2.21M]
  ------------------
 1252|  1.83k|        ds_put_format(&string,
 1253|  1.83k|                      "(***only uses %"PRIu16" bytes out of %"PRIuSIZE"***)\n",
 1254|  1.83k|                      ntohs(oh->length), len);
 1255|  2.21M|    } else {
 1256|  2.21M|        enum ofperr error;
 1257|  2.21M|        enum ofpraw raw;
 1258|       |
 1259|  2.21M|        error = ofpraw_decode(&raw, oh);
 1260|  2.21M|        if (!error) {
  ------------------
  |  Branch (1260:13): [True: 1.54M, False: 662k]
  ------------------
 1261|  1.54M|            ofp_header_to_string__(oh, raw, &string);
 1262|  1.54M|            size_t header_len = string.length;
 1263|       |
 1264|  1.54M|            error = ofp_to_string__(oh, port_map, table_map,
 1265|  1.54M|                                    raw, &string, verbosity);
 1266|  1.54M|            if (error) {
  ------------------
  |  Branch (1266:17): [True: 729k, False: 819k]
  ------------------
 1267|   729k|                if (string.length > header_len) {
  ------------------
  |  Branch (1267:21): [True: 77.8k, False: 652k]
  ------------------
 1268|  77.8k|                    ds_chomp(&string, ' ');
 1269|  77.8k|                    add_newline(&string);
 1270|   652k|                } else {
 1271|   652k|                    ds_put_char(&string, ' ');
 1272|   652k|                }
 1273|   729k|                ofp_print_error(&string, error);
 1274|   819k|            } else {
 1275|   819k|                ds_chomp(&string, ' ');
 1276|   819k|            }
 1277|  1.54M|        } else {
 1278|   662k|            ofp_print_error(&string, error);
 1279|   662k|        }
 1280|       |
 1281|  2.21M|        if (verbosity >= 5 || error) {
  ------------------
  |  Branch (1281:13): [True: 0, False: 2.21M]
  |  Branch (1281:31): [True: 1.39M, False: 819k]
  ------------------
 1282|  1.39M|            add_newline(&string);
 1283|  1.39M|            ds_put_hex_dump(&string, oh, len, 0, true);
 1284|  1.39M|        }
 1285|       |
 1286|  2.21M|        add_newline(&string);
 1287|  2.21M|        return ds_steal_cstr(&string);
 1288|  2.21M|    }
 1289|   500k|    ds_put_hex_dump(&string, oh, len, 0, true);
 1290|   500k|    return ds_steal_cstr(&string);
 1291|  2.71M|}
ofp_print:
 1307|  2.21M|{
 1308|  2.21M|    print_and_free(stream, ofp_to_string(oh, len, port_map, table_map,
 1309|  2.21M|                                         verbosity));
 1310|  2.21M|}
ofp-print.c:ofp_header_to_string__:
  821|  1.55M|{
  822|  1.55M|    ds_put_cstr(string, ofpraw_get_name(raw));
  823|  1.55M|    ofp_print_version(oh, string);
  824|  1.55M|}
ofp-print.c:ofp_to_string__:
  975|  1.54M|{
  976|  1.54M|    if (ofpmsg_is_stat(oh)) {
  ------------------
  |  Branch (976:9): [True: 125k, False: 1.42M]
  ------------------
  977|   125k|        ofp_print_stats(string, oh);
  978|   125k|    }
  979|       |
  980|  1.54M|    const void *msg = oh;
  981|  1.54M|    enum ofptype type = ofptype_from_ofpraw(raw);
  982|  1.54M|    switch (type) {
  ------------------
  |  Branch (982:13): [True: 1.54M, False: 0]
  ------------------
  983|    850|    case OFPTYPE_GROUP_STATS_REQUEST:
  ------------------
  |  Branch (983:5): [True: 850, False: 1.54M]
  ------------------
  984|    850|        return ofputil_group_stats_request_format(string, oh);
  985|       |
  986|  2.24k|    case OFPTYPE_GROUP_STATS_REPLY:
  ------------------
  |  Branch (986:5): [True: 2.24k, False: 1.54M]
  ------------------
  987|  2.24k|        return ofputil_group_stats_format(string, oh);
  988|       |
  989|    690|    case OFPTYPE_GROUP_DESC_STATS_REQUEST:
  ------------------
  |  Branch (989:5): [True: 690, False: 1.54M]
  ------------------
  990|    690|        return ofputil_group_desc_request_format(string, oh);
  991|       |
  992|  6.52k|    case OFPTYPE_GROUP_DESC_STATS_REPLY:
  ------------------
  |  Branch (992:5): [True: 6.52k, False: 1.54M]
  ------------------
  993|  6.52k|        return ofputil_group_desc_format(string, oh, port_map, table_map);
  994|       |
  995|     40|    case OFPTYPE_GROUP_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (995:5): [True: 40, False: 1.54M]
  ------------------
  996|     40|        break;
  997|       |
  998|  1.11k|    case OFPTYPE_GROUP_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (998:5): [True: 1.11k, False: 1.54M]
  ------------------
  999|  1.11k|        return ofputil_group_features_format(string, oh);
 1000|       |
 1001|  34.9k|    case OFPTYPE_GROUP_MOD:
  ------------------
  |  Branch (1001:5): [True: 34.9k, False: 1.51M]
  ------------------
 1002|  34.9k|        return ofputil_group_mod_format(string, oh, port_map, table_map);
 1003|       |
 1004|    937|    case OFPTYPE_TABLE_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (1004:5): [True: 937, False: 1.54M]
  ------------------
 1005|  8.70k|    case OFPTYPE_TABLE_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (1005:5): [True: 7.76k, False: 1.54M]
  ------------------
 1006|  8.70k|        return ofp_print_table_features_reply(string, oh);
 1007|       |
 1008|    258|    case OFPTYPE_TABLE_DESC_REQUEST:
  ------------------
  |  Branch (1008:5): [True: 258, False: 1.54M]
  ------------------
 1009|  4.55k|    case OFPTYPE_TABLE_DESC_REPLY:
  ------------------
  |  Branch (1009:5): [True: 4.29k, False: 1.54M]
  ------------------
 1010|  4.55k|        return ofp_print_table_desc_reply(string, oh, table_map);
 1011|       |
 1012|  42.1k|    case OFPTYPE_HELLO:
  ------------------
  |  Branch (1012:5): [True: 42.1k, False: 1.50M]
  ------------------
 1013|  42.1k|        return ofp_print_hello(string, oh);
 1014|       |
 1015|   812k|    case OFPTYPE_ERROR:
  ------------------
  |  Branch (1015:5): [True: 812k, False: 737k]
  ------------------
 1016|   812k|        return ofp_print_error_msg(string, oh, port_map, table_map);
 1017|       |
 1018|  4.74k|    case OFPTYPE_ECHO_REQUEST:
  ------------------
  |  Branch (1018:5): [True: 4.74k, False: 1.54M]
  ------------------
 1019|  13.2k|    case OFPTYPE_ECHO_REPLY:
  ------------------
  |  Branch (1019:5): [True: 8.51k, False: 1.54M]
  ------------------
 1020|  13.2k|        return ofp_print_echo(string, oh, verbosity);
 1021|       |
 1022|    175|    case OFPTYPE_FEATURES_REQUEST:
  ------------------
  |  Branch (1022:5): [True: 175, False: 1.54M]
  ------------------
 1023|    175|        break;
 1024|       |
 1025|  3.40k|    case OFPTYPE_FEATURES_REPLY:
  ------------------
  |  Branch (1025:5): [True: 3.40k, False: 1.54M]
  ------------------
 1026|  3.40k|        return ofp_print_switch_features(string, oh);
 1027|       |
 1028|  1.52k|    case OFPTYPE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (1028:5): [True: 1.52k, False: 1.54M]
  ------------------
 1029|  1.52k|        break;
 1030|       |
 1031|  2.56k|    case OFPTYPE_GET_CONFIG_REPLY:
  ------------------
  |  Branch (1031:5): [True: 2.56k, False: 1.54M]
  ------------------
 1032|  2.56k|        return ofp_print_get_config_reply(string, oh);
 1033|       |
 1034|  1.86k|    case OFPTYPE_SET_CONFIG:
  ------------------
  |  Branch (1034:5): [True: 1.86k, False: 1.54M]
  ------------------
 1035|  1.86k|        return ofp_print_set_config(string, oh);
 1036|       |
 1037|   103k|    case OFPTYPE_PACKET_IN:
  ------------------
  |  Branch (1037:5): [True: 103k, False: 1.44M]
  ------------------
 1038|   103k|        return ofp_print_packet_in(string, oh, port_map, table_map, verbosity);
 1039|       |
 1040|  9.53k|    case OFPTYPE_FLOW_REMOVED:
  ------------------
  |  Branch (1040:5): [True: 9.53k, False: 1.54M]
  ------------------
 1041|  9.53k|        return ofp_print_flow_removed(string, oh, port_map, table_map);
 1042|       |
 1043|  2.17k|    case OFPTYPE_PORT_STATUS:
  ------------------
  |  Branch (1043:5): [True: 2.17k, False: 1.54M]
  ------------------
 1044|  2.17k|        return ofp_print_port_status(string, oh);
 1045|       |
 1046|   184k|    case OFPTYPE_PACKET_OUT:
  ------------------
  |  Branch (1046:5): [True: 184k, False: 1.36M]
  ------------------
 1047|   184k|        return ofp_print_packet_out(string, oh, port_map, table_map,
 1048|   184k|                                    verbosity);
 1049|       |
 1050|   108k|    case OFPTYPE_FLOW_MOD:
  ------------------
  |  Branch (1050:5): [True: 108k, False: 1.44M]
  ------------------
 1051|   108k|        return ofputil_flow_mod_format(string, oh, port_map, table_map,
 1052|   108k|                                       verbosity);
 1053|       |
 1054|  2.34k|    case OFPTYPE_PORT_MOD:
  ------------------
  |  Branch (1054:5): [True: 2.34k, False: 1.54M]
  ------------------
 1055|  2.34k|        return ofp_print_port_mod(string, oh, port_map);
 1056|       |
 1057|  8.53k|    case OFPTYPE_TABLE_MOD:
  ------------------
  |  Branch (1057:5): [True: 8.53k, False: 1.54M]
  ------------------
 1058|  8.53k|        return ofp_print_table_mod(string, oh, table_map);
 1059|       |
 1060|  4.29k|    case OFPTYPE_METER_MOD:
  ------------------
  |  Branch (1060:5): [True: 4.29k, False: 1.54M]
  ------------------
 1061|  4.29k|        return ofp_print_meter_mod(string, oh);
 1062|       |
 1063|  2.09k|    case OFPTYPE_BARRIER_REQUEST:
  ------------------
  |  Branch (1063:5): [True: 2.09k, False: 1.54M]
  ------------------
 1064|  2.10k|    case OFPTYPE_BARRIER_REPLY:
  ------------------
  |  Branch (1064:5): [True: 14, False: 1.54M]
  ------------------
 1065|  2.10k|        break;
 1066|       |
 1067|  1.43k|    case OFPTYPE_QUEUE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (1067:5): [True: 1.43k, False: 1.54M]
  ------------------
 1068|  1.43k|        return ofputil_queue_get_config_request_format(string, oh, port_map);
 1069|       |
 1070|  13.9k|    case OFPTYPE_QUEUE_GET_CONFIG_REPLY:
  ------------------
  |  Branch (1070:5): [True: 13.9k, False: 1.53M]
  ------------------
 1071|  13.9k|        return ofputil_queue_get_config_reply_format(string, oh, port_map);
 1072|       |
 1073|  3.61k|    case OFPTYPE_ROLE_REQUEST:
  ------------------
  |  Branch (1073:5): [True: 3.61k, False: 1.54M]
  ------------------
 1074|  9.97k|    case OFPTYPE_ROLE_REPLY:
  ------------------
  |  Branch (1074:5): [True: 6.36k, False: 1.54M]
  ------------------
 1075|  9.97k|        return ofp_print_role_message(string, oh);
 1076|  2.95k|    case OFPTYPE_ROLE_STATUS:
  ------------------
  |  Branch (1076:5): [True: 2.95k, False: 1.54M]
  ------------------
 1077|  2.95k|        return ofp_print_role_status_message(string, oh);
 1078|       |
 1079|  4.16k|    case OFPTYPE_REQUESTFORWARD:
  ------------------
  |  Branch (1079:5): [True: 4.16k, False: 1.54M]
  ------------------
 1080|  4.16k|        return ofp_print_requestforward(string, oh, port_map, table_map);
 1081|       |
 1082|  1.29k|    case OFPTYPE_TABLE_STATUS:
  ------------------
  |  Branch (1082:5): [True: 1.29k, False: 1.54M]
  ------------------
 1083|  1.29k|        return ofp_print_table_status_message(string, oh, table_map);
 1084|       |
 1085|  1.10k|    case OFPTYPE_METER_STATS_REQUEST:
  ------------------
  |  Branch (1085:5): [True: 1.10k, False: 1.54M]
  ------------------
 1086|  1.76k|    case OFPTYPE_METER_CONFIG_STATS_REQUEST:
  ------------------
  |  Branch (1086:5): [True: 660, False: 1.54M]
  ------------------
 1087|  1.76k|        return ofp_print_meter_stats_request(string, oh);
 1088|       |
 1089|  1.54k|    case OFPTYPE_METER_STATS_REPLY:
  ------------------
  |  Branch (1089:5): [True: 1.54k, False: 1.54M]
  ------------------
 1090|  1.54k|        return ofp_print_meter_stats_reply(string, oh);
 1091|       |
 1092|  1.84k|    case OFPTYPE_METER_CONFIG_STATS_REPLY:
  ------------------
  |  Branch (1092:5): [True: 1.84k, False: 1.54M]
  ------------------
 1093|  1.84k|        return ofp_print_meter_config_reply(string, oh);
 1094|       |
 1095|    367|    case OFPTYPE_METER_FEATURES_STATS_REPLY:
  ------------------
  |  Branch (1095:5): [True: 367, False: 1.54M]
  ------------------
 1096|    367|        return ofp_print_meter_features_reply(string, oh);
 1097|       |
 1098|    165|    case OFPTYPE_DESC_STATS_REQUEST:
  ------------------
  |  Branch (1098:5): [True: 165, False: 1.54M]
  ------------------
 1099|    166|    case OFPTYPE_METER_FEATURES_STATS_REQUEST:
  ------------------
  |  Branch (1099:5): [True: 1, False: 1.54M]
  ------------------
 1100|    166|        break;
 1101|       |
 1102|  1.16k|    case OFPTYPE_FLOW_STATS_REQUEST:
  ------------------
  |  Branch (1102:5): [True: 1.16k, False: 1.54M]
  ------------------
 1103|  5.06k|    case OFPTYPE_AGGREGATE_STATS_REQUEST:
  ------------------
  |  Branch (1103:5): [True: 3.90k, False: 1.54M]
  ------------------
 1104|  5.06k|        return ofp_print_flow_stats_request(string, oh, port_map, table_map);
 1105|       |
 1106|     24|    case OFPTYPE_TABLE_STATS_REQUEST:
  ------------------
  |  Branch (1106:5): [True: 24, False: 1.54M]
  ------------------
 1107|     24|        break;
 1108|       |
 1109|  1.65k|    case OFPTYPE_PORT_STATS_REQUEST:
  ------------------
  |  Branch (1109:5): [True: 1.65k, False: 1.54M]
  ------------------
 1110|  1.65k|        return ofp_print_ofpst_port_request(string, oh, port_map);
 1111|       |
 1112|  1.73k|    case OFPTYPE_QUEUE_STATS_REQUEST:
  ------------------
  |  Branch (1112:5): [True: 1.73k, False: 1.54M]
  ------------------
 1113|  1.73k|        return ofputil_queue_stats_request_format(string, oh, port_map);
 1114|       |
 1115|     21|    case OFPTYPE_DESC_STATS_REPLY:
  ------------------
  |  Branch (1115:5): [True: 21, False: 1.54M]
  ------------------
 1116|     21|        return ofp_print_ofpst_desc_reply(string, oh);
 1117|       |
 1118|  16.4k|    case OFPTYPE_FLOW_STATS_REPLY:
  ------------------
  |  Branch (1118:5): [True: 16.4k, False: 1.53M]
  ------------------
 1119|  16.4k|        return ofp_print_flow_stats_reply(string, oh, port_map, table_map);
 1120|       |
 1121|  6.37k|    case OFPTYPE_QUEUE_STATS_REPLY:
  ------------------
  |  Branch (1121:5): [True: 6.37k, False: 1.54M]
  ------------------
 1122|  6.37k|        return ofputil_queue_stats_reply_format(string, oh, port_map,
 1123|  6.37k|                                                verbosity);
 1124|       |
 1125|  11.2k|    case OFPTYPE_PORT_STATS_REPLY:
  ------------------
  |  Branch (1125:5): [True: 11.2k, False: 1.53M]
  ------------------
 1126|  11.2k|        return ofp_print_ofpst_port_reply(string, oh, port_map, verbosity);
 1127|       |
 1128|  5.73k|    case OFPTYPE_TABLE_STATS_REPLY:
  ------------------
  |  Branch (1128:5): [True: 5.73k, False: 1.54M]
  ------------------
 1129|  5.73k|        return ofp_print_table_stats_reply(string, oh);
 1130|       |
 1131|  2.98k|    case OFPTYPE_AGGREGATE_STATS_REPLY:
  ------------------
  |  Branch (1131:5): [True: 2.98k, False: 1.54M]
  ------------------
 1132|  2.98k|        return ofp_print_aggregate_stats_reply(string, oh);
 1133|       |
 1134|    273|    case OFPTYPE_PORT_DESC_STATS_REQUEST:
  ------------------
  |  Branch (1134:5): [True: 273, False: 1.54M]
  ------------------
 1135|    273|        return ofp_print_ofpst_port_desc_request(string, oh, port_map);
 1136|       |
 1137|  1.40k|    case OFPTYPE_PORT_DESC_STATS_REPLY:
  ------------------
  |  Branch (1137:5): [True: 1.40k, False: 1.54M]
  ------------------
 1138|  1.40k|        return ofp_print_ofpst_port_desc_reply(string, oh);
 1139|       |
 1140|    197|    case OFPTYPE_FLOW_MOD_TABLE_ID:
  ------------------
  |  Branch (1140:5): [True: 197, False: 1.54M]
  ------------------
 1141|    197|        return ofp_print_nxt_flow_mod_table_id(string, oh);
 1142|       |
 1143|    473|    case OFPTYPE_SET_FLOW_FORMAT:
  ------------------
  |  Branch (1143:5): [True: 473, False: 1.54M]
  ------------------
 1144|    473|        return ofp_print_nxt_set_flow_format(string, oh);
 1145|       |
 1146|    417|    case OFPTYPE_SET_PACKET_IN_FORMAT:
  ------------------
  |  Branch (1146:5): [True: 417, False: 1.54M]
  ------------------
 1147|    417|        return ofp_print_nxt_set_packet_in_format(string, oh);
 1148|       |
 1149|      0|    case OFPTYPE_FLOW_AGE:
  ------------------
  |  Branch (1149:5): [True: 0, False: 1.54M]
  ------------------
 1150|      0|        break;
 1151|       |
 1152|     18|    case OFPTYPE_SET_CONTROLLER_ID:
  ------------------
  |  Branch (1152:5): [True: 18, False: 1.54M]
  ------------------
 1153|     18|        return ofp_print_nxt_set_controller_id(string, ofpmsg_body(oh));
 1154|       |
 1155|  22.5k|    case OFPTYPE_GET_ASYNC_REPLY:
  ------------------
  |  Branch (1155:5): [True: 22.5k, False: 1.52M]
  ------------------
 1156|  27.6k|    case OFPTYPE_SET_ASYNC_CONFIG:
  ------------------
  |  Branch (1156:5): [True: 5.10k, False: 1.54M]
  ------------------
 1157|  27.6k|        return ofp_print_set_async_config(string, oh, type);
 1158|      1|    case OFPTYPE_GET_ASYNC_REQUEST:
  ------------------
  |  Branch (1158:5): [True: 1, False: 1.54M]
  ------------------
 1159|      1|        break;
 1160|     69|    case OFPTYPE_FLOW_MONITOR_CANCEL:
  ------------------
  |  Branch (1160:5): [True: 69, False: 1.54M]
  ------------------
 1161|     69|        return ofp_print_nxt_flow_monitor_cancel(string, msg);
 1162|       |
 1163|      0|    case OFPTYPE_FLOW_MONITOR_PAUSED:
  ------------------
  |  Branch (1163:5): [True: 0, False: 1.54M]
  ------------------
 1164|      0|    case OFPTYPE_FLOW_MONITOR_RESUMED:
  ------------------
  |  Branch (1164:5): [True: 0, False: 1.54M]
  ------------------
 1165|      0|        break;
 1166|       |
 1167|  4.39k|    case OFPTYPE_FLOW_MONITOR_STATS_REQUEST:
  ------------------
  |  Branch (1167:5): [True: 4.39k, False: 1.54M]
  ------------------
 1168|  4.39k|        return ofp_print_flow_monitor_request(string, msg, port_map,
 1169|  4.39k|                                              table_map);
 1170|       |
 1171|  26.7k|    case OFPTYPE_FLOW_MONITOR_STATS_REPLY:
  ------------------
  |  Branch (1171:5): [True: 26.7k, False: 1.52M]
  ------------------
 1172|  26.7k|        return ofp_print_flow_monitor_reply(string, msg, port_map,
 1173|  26.7k|                                            table_map);
 1174|       |
 1175|  4.67k|    case OFPTYPE_BUNDLE_CONTROL:
  ------------------
  |  Branch (1175:5): [True: 4.67k, False: 1.54M]
  ------------------
 1176|  4.67k|        return ofp_print_bundle_ctrl(string, msg);
 1177|       |
 1178|  3.09k|    case OFPTYPE_BUNDLE_ADD_MESSAGE:
  ------------------
  |  Branch (1178:5): [True: 3.09k, False: 1.54M]
  ------------------
 1179|  3.09k|        return ofp_print_bundle_add(string, msg, port_map, table_map,
 1180|  3.09k|                                    verbosity);
 1181|       |
 1182|  2.39k|    case OFPTYPE_NXT_TLV_TABLE_MOD:
  ------------------
  |  Branch (1182:5): [True: 2.39k, False: 1.54M]
  ------------------
 1183|  2.39k|        return ofp_print_tlv_table_mod(string, msg);
 1184|       |
 1185|      0|    case OFPTYPE_NXT_TLV_TABLE_REQUEST:
  ------------------
  |  Branch (1185:5): [True: 0, False: 1.54M]
  ------------------
 1186|      0|        break;
 1187|       |
 1188|  2.98k|    case OFPTYPE_NXT_TLV_TABLE_REPLY:
  ------------------
  |  Branch (1188:5): [True: 2.98k, False: 1.54M]
  ------------------
 1189|  2.98k|        return ofp_print_tlv_table_reply(string, msg);
 1190|       |
 1191|  4.08k|    case OFPTYPE_NXT_RESUME:
  ------------------
  |  Branch (1191:5): [True: 4.08k, False: 1.54M]
  ------------------
 1192|  4.08k|        return ofp_print_packet_in(string, msg, port_map, table_map,
 1193|  4.08k|                                   verbosity);
 1194|      0|    case OFPTYPE_IPFIX_BRIDGE_STATS_REQUEST:
  ------------------
  |  Branch (1194:5): [True: 0, False: 1.54M]
  ------------------
 1195|      0|        break;
 1196|    878|    case OFPTYPE_IPFIX_BRIDGE_STATS_REPLY:
  ------------------
  |  Branch (1196:5): [True: 878, False: 1.54M]
  ------------------
 1197|    878|        return ofp_print_nxst_ipfix_bridge_reply(string, oh);
 1198|      0|    case OFPTYPE_IPFIX_FLOW_STATS_REQUEST:
  ------------------
  |  Branch (1198:5): [True: 0, False: 1.54M]
  ------------------
 1199|      0|        break;
 1200|  2.89k|    case OFPTYPE_IPFIX_FLOW_STATS_REPLY:
  ------------------
  |  Branch (1200:5): [True: 2.89k, False: 1.54M]
  ------------------
 1201|  2.89k|        return ofp_print_nxst_ipfix_flow_reply(string, oh);
 1202|       |
 1203|     66|    case OFPTYPE_CT_FLUSH_ZONE:
  ------------------
  |  Branch (1203:5): [True: 66, False: 1.54M]
  ------------------
 1204|     66|        return ofp_print_nxt_ct_flush_zone(string, ofpmsg_body(oh));
 1205|  14.8k|    case OFPTYPE_CT_FLUSH:
  ------------------
  |  Branch (1205:5): [True: 14.8k, False: 1.53M]
  ------------------
 1206|  14.8k|        return ofp_print_nxt_ct_flush(string, oh);
 1207|  1.54M|    }
 1208|       |
 1209|  4.03k|    return 0;
 1210|  1.54M|}
ofp-print.c:ofp_print_stats:
  629|   125k|{
  630|   125k|    uint16_t flags = ofpmp_flags(oh);
  631|       |
  632|   125k|    if (flags) {
  ------------------
  |  Branch (632:9): [True: 101k, False: 23.7k]
  ------------------
  633|   101k|        ds_put_cstr(string, " flags=");
  634|   101k|        if ((!ofpmsg_is_stat_request(oh) || oh->version >= OFP13_VERSION)
  ------------------
  |  Branch (634:14): [True: 84.0k, False: 17.4k]
  |  Branch (634:45): [True: 11.2k, False: 6.19k]
  ------------------
  635|  95.3k|            && (flags & OFPSF_REPLY_MORE)) {
  ------------------
  |  Branch (635:16): [True: 36.0k, False: 59.3k]
  ------------------
  636|  36.0k|            ds_put_cstr(string, "[more]");
  637|  36.0k|            flags &= ~OFPSF_REPLY_MORE;
  638|  36.0k|        }
  639|   101k|        if (flags) {
  ------------------
  |  Branch (639:13): [True: 100k, False: 1.55k]
  ------------------
  640|   100k|            ds_put_format(string, "[***unknown flags 0x%04"PRIx16"***]",
  641|   100k|                          flags);
  642|   100k|        }
  643|   101k|    }
  644|   125k|}
ofp-print.c:ofp_print_table_features_reply:
  231|  8.70k|{
  232|  8.70k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  233|       |
  234|  8.70k|    struct ofputil_table_features prev;
  235|  8.70k|    int first_ditto = -1, last_ditto = -1;
  236|  10.9k|    for (int i = 0; ; i++) {
  237|  10.9k|        struct ofputil_table_features tf;
  238|  10.9k|        struct ofpbuf raw_properties;
  239|  10.9k|        int retval = ofputil_decode_table_features(&b, &tf, &raw_properties);
  240|  10.9k|        if (retval) {
  ------------------
  |  Branch (240:13): [True: 8.70k, False: 2.26k]
  ------------------
  241|  8.70k|            ofputil_table_features_format_finish(s, first_ditto, last_ditto);
  242|  8.70k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (242:20): [True: 8.37k, False: 327]
  ------------------
  243|  8.70k|        }
  244|       |
  245|  2.26k|        ofputil_table_features_format(s, &tf, i ? &prev : NULL, NULL, NULL,
  ------------------
  |  Branch (245:47): [True: 1.67k, False: 589]
  ------------------
  246|  2.26k|                                      &first_ditto, &last_ditto);
  247|  2.26k|        prev = tf;
  248|  2.26k|    }
  249|  8.70k|}
ofp-print.c:ofp_print_table_desc_reply:
  829|  4.55k|{
  830|  4.55k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  831|  6.62k|    for (;;) {
  832|  6.62k|        struct ofputil_table_desc td;
  833|  6.62k|        int retval;
  834|       |
  835|  6.62k|        retval = ofputil_decode_table_desc(&b, &td, oh->version);
  836|  6.62k|        if (retval) {
  ------------------
  |  Branch (836:13): [True: 4.55k, False: 2.07k]
  ------------------
  837|  4.55k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (837:20): [True: 3.62k, False: 932]
  ------------------
  838|  4.55k|        }
  839|  2.07k|        ofputil_table_desc_format(s, &td, table_map);
  840|  2.07k|    }
  841|  4.55k|}
ofp-print.c:ofp_print_hello:
  421|  42.1k|{
  422|  42.1k|    ofputil_hello_format(string, oh);
  423|  42.1k|    return 0;
  424|  42.1k|}
ofp-print.c:ofp_print_error_msg:
  430|   812k|{
  431|   812k|    struct ofpbuf payload;
  432|   812k|    enum ofperr error = ofperr_decode_msg(oh, &payload);
  433|   812k|    if (!error) {
  ------------------
  |  Branch (433:9): [True: 295k, False: 516k]
  ------------------
  434|   295k|        return OFPERR_OFPBRC_BAD_LEN;
  435|   295k|    }
  436|   516k|    ofperr_msg_format(string, error, &payload, port_map, table_map);
  437|   516k|    ofpbuf_uninit(&payload);
  438|       |
  439|   516k|    return 0;
  440|   812k|}
ofp-print.c:ofp_print_echo:
  648|  13.2k|{
  649|  13.2k|    size_t len = ntohs(oh->length);
  650|       |
  651|  13.2k|    ds_put_format(string, " %"PRIuSIZE" bytes of payload\n", len - sizeof *oh);
  652|  13.2k|    if (verbosity > 1) {
  ------------------
  |  Branch (652:9): [True: 12.8k, False: 380]
  ------------------
  653|  12.8k|        ds_put_hex_dump(string, oh + 1, len - sizeof *oh, 0, true);
  654|  12.8k|    }
  655|       |
  656|  13.2k|    return 0;
  657|  13.2k|}
ofp-print.c:ofp_print_switch_features:
  195|  3.40k|{
  196|  3.40k|    struct ofputil_switch_features features;
  197|  3.40k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  198|  3.40k|    enum ofperr error = ofputil_pull_switch_features(&b, &features);
  199|  3.40k|    if (!error) {
  ------------------
  |  Branch (199:9): [True: 3.40k, False: 0]
  ------------------
  200|  3.40k|        ofputil_switch_features_format(string, &features);
  201|  3.40k|        error = ofputil_phy_ports_format(string, oh->version, &b);
  202|  3.40k|    }
  203|  3.40k|    return error;
  204|  3.40k|}
ofp-print.c:ofp_print_get_config_reply:
  222|  2.56k|{
  223|  2.56k|    struct ofputil_switch_config config;
  224|  2.56k|    ofputil_decode_get_config_reply(oh, &config);
  225|  2.56k|    ofputil_switch_config_format(string, &config);
  226|  2.56k|    return 0;
  227|  2.56k|}
ofp-print.c:ofp_print_set_config:
  208|  1.86k|{
  209|  1.86k|    struct ofputil_switch_config config;
  210|  1.86k|    enum ofperr error;
  211|       |
  212|  1.86k|    error = ofputil_decode_set_config(oh, &config);
  213|  1.86k|    if (error) {
  ------------------
  |  Branch (213:9): [True: 1.15k, False: 701]
  ------------------
  214|  1.15k|        return error;
  215|  1.15k|    }
  216|    701|    ofputil_switch_config_format(string, &config);
  217|    701|    return 0;
  218|  1.86k|}
ofp-print.c:ofp_print_packet_in:
  124|   107k|{
  125|   107k|    struct ofputil_packet_in_private pin;
  126|   107k|    uint32_t buffer_id;
  127|   107k|    size_t total_len;
  128|   107k|    enum ofperr error = ofputil_decode_packet_in_private(oh, true, NULL, NULL,
  129|   107k|                                                         &pin, &total_len,
  130|   107k|                                                         &buffer_id);
  131|   107k|    if (!error) {
  ------------------
  |  Branch (131:9): [True: 57.3k, False: 50.1k]
  ------------------
  132|  57.3k|        ofputil_packet_in_private_format(string, &pin, total_len, buffer_id,
  133|  57.3k|                                         port_map, table_map, verbosity);
  134|  57.3k|        ofputil_packet_in_private_destroy(&pin);
  135|  57.3k|    }
  136|   107k|    return error;
  137|   107k|}
ofp-print.c:ofp_print_flow_removed:
  284|  9.53k|{
  285|  9.53k|    struct ofputil_flow_removed fr;
  286|  9.53k|    enum ofperr error = ofputil_decode_flow_removed(&fr, oh);
  287|  9.53k|    if (!error) {
  ------------------
  |  Branch (287:9): [True: 3.43k, False: 6.10k]
  ------------------
  288|  3.43k|        ofputil_flow_removed_format(string, &fr, port_map, table_map);
  289|  3.43k|    }
  290|  9.53k|    return error;
  291|  9.53k|}
ofp-print.c:ofp_print_port_status:
  444|  2.17k|{
  445|  2.17k|    struct ofputil_port_status ps;
  446|  2.17k|    enum ofperr error = ofputil_decode_port_status(oh, &ps);
  447|  2.17k|    if (!error) {
  ------------------
  |  Branch (447:9): [True: 1.33k, False: 843]
  ------------------
  448|  1.33k|        ofputil_port_status_format(string, &ps);
  449|  1.33k|    }
  450|  2.17k|    return error;
  451|  2.17k|}
ofp-print.c:ofp_print_packet_out:
  143|   184k|{
  144|   184k|    struct ofputil_packet_out po;
  145|   184k|    struct ofpbuf ofpacts;
  146|   184k|    enum ofperr error;
  147|       |
  148|   184k|    ofpbuf_init(&ofpacts, 64);
  149|   184k|    error = ofputil_decode_packet_out(&po, oh, NULL, &ofpacts);
  150|   184k|    if (!error) {
  ------------------
  |  Branch (150:9): [True: 25.4k, False: 158k]
  ------------------
  151|  25.4k|        ofputil_packet_out_format(string, &po, port_map, table_map, verbosity);
  152|  25.4k|    }
  153|   184k|    ofpbuf_uninit(&ofpacts);
  154|   184k|    return error;
  155|   184k|}
ofp-print.c:ofp_print_port_mod:
  296|  2.34k|{
  297|  2.34k|    struct ofputil_port_mod pm;
  298|  2.34k|    enum ofperr error = ofputil_decode_port_mod(oh, &pm, true);
  299|  2.34k|    if (!error) {
  ------------------
  |  Branch (299:9): [True: 1.17k, False: 1.17k]
  ------------------
  300|  1.17k|        ofputil_port_mod_format(string, &pm, port_map);
  301|  1.17k|    }
  302|  2.34k|    return error;
  303|  2.34k|}
ofp-print.c:ofp_print_table_mod:
  308|  8.53k|{
  309|  8.53k|    struct ofputil_table_mod tm;
  310|  8.53k|    enum ofperr error = ofputil_decode_table_mod(oh, &tm);
  311|  8.53k|    if (!error) {
  ------------------
  |  Branch (311:9): [True: 2.65k, False: 5.87k]
  ------------------
  312|  2.65k|        ofputil_table_mod_format(string, &tm, table_map);
  313|  2.65k|    }
  314|  8.53k|    return error;
  315|  8.53k|}
ofp-print.c:ofp_print_meter_mod:
  331|  4.29k|{
  332|  4.29k|    struct ofputil_meter_mod mm;
  333|  4.29k|    struct ofpbuf bands;
  334|       |
  335|  4.29k|    ofpbuf_init(&bands, 64);
  336|  4.29k|    enum ofperr error = ofputil_decode_meter_mod(oh, &mm, &bands);
  337|  4.29k|    if (!error) {
  ------------------
  |  Branch (337:9): [True: 1.71k, False: 2.58k]
  ------------------
  338|  1.71k|        ofputil_format_meter_mod(s, &mm);
  339|  1.71k|    }
  340|  4.29k|    ofpbuf_uninit(&bands);
  341|       |
  342|  4.29k|    return error;
  343|  4.29k|}
ofp-print.c:ofp_print_role_message:
  661|  9.97k|{
  662|  9.97k|    struct ofputil_role_request rr;
  663|  9.97k|    enum ofperr error = ofputil_decode_role_message(oh, &rr);
  664|  9.97k|    if (!error) {
  ------------------
  |  Branch (664:9): [True: 7.74k, False: 2.23k]
  ------------------
  665|  7.74k|        ofputil_format_role_message(string, &rr);
  666|  7.74k|    }
  667|  9.97k|    return error;
  668|  9.97k|}
ofp-print.c:ofp_print_role_status_message:
  672|  2.95k|{
  673|  2.95k|    struct ofputil_role_status rs;
  674|  2.95k|    enum ofperr error = ofputil_decode_role_status(oh, &rs);
  675|  2.95k|    if (!error) {
  ------------------
  |  Branch (675:9): [True: 2.13k, False: 821]
  ------------------
  676|  2.13k|        ofputil_format_role_status(string, &rs);
  677|  2.13k|    }
  678|  2.95k|    return error;
  679|  2.95k|}
ofp-print.c:ofp_print_requestforward:
  901|  4.16k|{
  902|  4.16k|    struct ofputil_requestforward rf;
  903|  4.16k|    enum ofperr error = ofputil_decode_requestforward(oh, &rf);
  904|  4.16k|    if (!error) {
  ------------------
  |  Branch (904:9): [True: 1.17k, False: 2.98k]
  ------------------
  905|  1.17k|        ofputil_format_requestforward(string, oh->version,
  906|  1.17k|                                      &rf, port_map, table_map);
  907|  1.17k|        ofputil_destroy_requestforward(&rf);
  908|  1.17k|    }
  909|  4.16k|    return error;
  910|  4.16k|}
ofp-print.c:ofp_print_table_status_message:
  320|  1.29k|{
  321|  1.29k|    struct ofputil_table_status ts;
  322|  1.29k|    enum ofperr error = ofputil_decode_table_status(oh, &ts);
  323|  1.29k|    if (!error) {
  ------------------
  |  Branch (323:9): [True: 407, False: 887]
  ------------------
  324|    407|        ofputil_format_table_status(string, &ts, table_map);
  325|    407|    }
  326|  1.29k|    return error;
  327|  1.29k|}
ofp-print.c:ofp_print_meter_stats_request:
  347|  1.76k|{
  348|  1.76k|    uint32_t meter_id;
  349|       |
  350|  1.76k|    ofputil_decode_meter_request(oh, &meter_id);
  351|  1.76k|    ds_put_char(s, ' ');
  352|       |
  353|  1.76k|    ofputil_format_meter_id(s, meter_id, '=');
  354|       |
  355|  1.76k|    return 0;
  356|  1.76k|}
ofp-print.c:ofp_print_meter_stats_reply:
  392|  1.54k|{
  393|  1.54k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  394|  1.54k|    struct ofpbuf bands;
  395|  1.54k|    int retval;
  396|       |
  397|  1.54k|    ofpbuf_init(&bands, 64);
  398|  2.85k|    for (;;) {
  399|  2.85k|        struct ofputil_meter_stats ms;
  400|       |
  401|  2.85k|        retval = ofputil_decode_meter_stats(&b, &ms, &bands);
  402|  2.85k|        if (retval) {
  ------------------
  |  Branch (402:13): [True: 1.54k, False: 1.30k]
  ------------------
  403|  1.54k|            break;
  404|  1.54k|        }
  405|  1.30k|        ds_put_char(s, '\n');
  406|  1.30k|        ofputil_format_meter_stats(s, &ms);
  407|  1.30k|    }
  408|  1.54k|    ofpbuf_uninit(&bands);
  409|       |
  410|  1.54k|    return retval != EOF ? retval : 0;
  ------------------
  |  Branch (410:12): [True: 1.14k, False: 402]
  ------------------
  411|  1.54k|}
ofp-print.c:ofp_print_meter_config_reply:
  369|  1.84k|{
  370|  1.84k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  371|  1.84k|    struct ofpbuf bands;
  372|  1.84k|    int retval;
  373|       |
  374|  1.84k|    ofpbuf_init(&bands, 64);
  375|  3.10k|    for (;;) {
  376|  3.10k|        struct ofputil_meter_config mc;
  377|       |
  378|  3.10k|        retval = ofputil_decode_meter_config(&b, &mc, &bands);
  379|  3.10k|        if (retval) {
  ------------------
  |  Branch (379:13): [True: 1.84k, False: 1.25k]
  ------------------
  380|  1.84k|            break;
  381|  1.84k|        }
  382|  1.25k|        ds_put_char(s, '\n');
  383|  1.25k|        ofputil_format_meter_config(s, &mc);
  384|  1.25k|    }
  385|  1.84k|    ofpbuf_uninit(&bands);
  386|       |
  387|  1.84k|    return retval != EOF ? retval : 0;
  ------------------
  |  Branch (387:12): [True: 951, False: 895]
  ------------------
  388|  1.84k|}
ofp-print.c:ofp_print_meter_features_reply:
  360|    367|{
  361|    367|    struct ofputil_meter_features mf;
  362|    367|    ofputil_decode_meter_features(oh, &mf);
  363|    367|    ofputil_format_meter_features(s, &mf);
  364|    367|    return 0;
  365|    367|}
ofp-print.c:ofp_print_flow_stats_request:
  477|  5.06k|{
  478|  5.06k|    struct ofputil_flow_stats_request fsr;
  479|  5.06k|    enum ofperr error = ofputil_decode_flow_stats_request(&fsr, oh, NULL,
  480|  5.06k|                                                          NULL);
  481|  5.06k|    if (!error) {
  ------------------
  |  Branch (481:9): [True: 2.40k, False: 2.66k]
  ------------------
  482|  2.40k|        ofputil_flow_stats_request_format(string, &fsr, port_map, table_map);
  483|  2.40k|    }
  484|  5.06k|    return error;
  485|  5.06k|}
ofp-print.c:ofp_print_ofpst_port_request:
  528|  1.65k|{
  529|  1.65k|    ofp_port_t ofp10_port;
  530|  1.65k|    enum ofperr error;
  531|       |
  532|  1.65k|    error = ofputil_decode_port_stats_request(oh, &ofp10_port);
  533|  1.65k|    if (error) {
  ------------------
  |  Branch (533:9): [True: 748, False: 910]
  ------------------
  534|    748|        return error;
  535|    748|    }
  536|       |
  537|    910|    ds_put_cstr(string, " port_no=");
  538|    910|    ofputil_format_port(ofp10_port, port_map, string);
  539|       |
  540|    910|    return 0;
  541|  1.65k|}
ofp-print.c:ofp_print_ofpst_desc_reply:
  455|     21|{
  456|     21|    const struct ofp_desc_stats *ods = ofpmsg_body(oh);
  457|       |
  458|     21|    ds_put_char(string, '\n');
  459|     21|    ds_put_format(string, "Manufacturer: %.*s\n",
  460|     21|            (int) sizeof ods->mfr_desc, ods->mfr_desc);
  461|     21|    ds_put_format(string, "Hardware: %.*s\n",
  462|     21|            (int) sizeof ods->hw_desc, ods->hw_desc);
  463|     21|    ds_put_format(string, "Software: %.*s\n",
  464|     21|            (int) sizeof ods->sw_desc, ods->sw_desc);
  465|     21|    ds_put_format(string, "Serial Num: %.*s\n",
  466|     21|            (int) sizeof ods->serial_num, ods->serial_num);
  467|     21|    ds_put_format(string, "DP Description: %.*s\n",
  468|     21|            (int) sizeof ods->dp_desc, ods->dp_desc);
  469|       |
  470|     21|    return 0;
  471|     21|}
ofp-print.c:ofp_print_flow_stats_reply:
  491|  16.4k|{
  492|  16.4k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  493|  16.4k|    struct ofpbuf ofpacts;
  494|  16.4k|    int retval;
  495|       |
  496|  16.4k|    ofpbuf_init(&ofpacts, 64);
  497|  22.4k|    for (;;) {
  498|  22.4k|        struct ofputil_flow_stats fs;
  499|       |
  500|  22.4k|        retval = ofputil_decode_flow_stats_reply(&fs, &b, true, &ofpacts);
  501|  22.4k|        if (retval) {
  ------------------
  |  Branch (501:13): [True: 16.4k, False: 6.06k]
  ------------------
  502|  16.4k|            break;
  503|  16.4k|        }
  504|  6.06k|        ds_put_cstr(string, "\n ");
  505|  6.06k|        ofputil_flow_stats_format(string, &fs, port_map, table_map, true);
  506|  6.06k|     }
  507|  16.4k|    ofpbuf_uninit(&ofpacts);
  508|       |
  509|  16.4k|    return retval != EOF ? retval : 0;
  ------------------
  |  Branch (509:12): [True: 14.6k, False: 1.73k]
  ------------------
  510|  16.4k|}
ofp-print.c:ofp_print_ofpst_port_reply:
  547|  11.2k|{
  548|  11.2k|    ds_put_format(string, " %"PRIuSIZE" ports\n",
  549|  11.2k|                  ofputil_count_port_stats(oh));
  550|  11.2k|    if (verbosity < 1) {
  ------------------
  |  Branch (550:9): [True: 0, False: 11.2k]
  ------------------
  551|      0|        return 0;
  552|      0|    }
  553|       |
  554|  11.2k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  555|  20.6k|    for (;;) {
  556|  20.6k|        struct ofputil_port_stats ps;
  557|  20.6k|        int retval;
  558|       |
  559|  20.6k|        retval = ofputil_decode_port_stats(&ps, &b);
  560|  20.6k|        if (retval) {
  ------------------
  |  Branch (560:13): [True: 11.2k, False: 9.34k]
  ------------------
  561|  11.2k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (561:20): [True: 6.52k, False: 4.73k]
  ------------------
  562|  11.2k|        }
  563|  9.34k|        ofputil_format_port_stats(string, &ps, port_map);
  564|  9.34k|        netdev_free_custom_stats_counters(&ps.custom_stats);
  565|  9.34k|    }
  566|  11.2k|}
ofp-print.c:ofp_print_table_stats_reply:
  570|  5.73k|{
  571|  5.73k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  572|  5.73k|    ofpraw_pull_assert(&b);
  573|       |
  574|  5.73k|    struct ofputil_table_features prev_features;
  575|  5.73k|    struct ofputil_table_stats prev_stats;
  576|  5.73k|    int first_ditto = -1, last_ditto = -1;
  577|  44.0k|    for (int i = 0;; i++) {
  578|  44.0k|        struct ofputil_table_features features;
  579|  44.0k|        struct ofputil_table_stats stats;
  580|  44.0k|        int retval;
  581|       |
  582|  44.0k|        retval = ofputil_decode_table_stats_reply(&b, &stats, &features);
  583|  44.0k|        if (retval) {
  ------------------
  |  Branch (583:13): [True: 5.73k, False: 38.2k]
  ------------------
  584|  5.73k|            ofputil_table_features_format_finish(string,
  585|  5.73k|                                                 first_ditto, last_ditto);
  586|  5.73k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (586:20): [True: 0, False: 5.73k]
  ------------------
  587|  5.73k|        }
  588|       |
  589|  38.2k|        ofputil_table_features_format(string,
  590|  38.2k|                                      &features, i ? &prev_features : NULL,
  ------------------
  |  Branch (590:50): [True: 32.6k, False: 5.65k]
  ------------------
  591|  38.2k|                                      &stats, i ? &prev_stats : NULL,
  ------------------
  |  Branch (591:47): [True: 32.6k, False: 5.65k]
  ------------------
  592|  38.2k|                                      &first_ditto, &last_ditto);
  593|  38.2k|        prev_features = features;
  594|  38.2k|        prev_stats = stats;
  595|  38.2k|    }
  596|  5.73k|}
ofp-print.c:ofp_print_aggregate_stats_reply:
  514|  2.98k|{
  515|  2.98k|    struct ofputil_aggregate_stats as;
  516|  2.98k|    enum ofperr error;
  517|       |
  518|  2.98k|    error = ofputil_decode_aggregate_stats_reply(&as, oh);
  519|  2.98k|    if (!error) {
  ------------------
  |  Branch (519:9): [True: 196, False: 2.79k]
  ------------------
  520|    196|        ofputil_aggregate_stats_format(string, &as);
  521|    196|    }
  522|  2.98k|    return error;
  523|  2.98k|}
ofp-print.c:ofp_print_ofpst_port_desc_request:
  602|    273|{
  603|    273|    enum ofperr error;
  604|    273|    ofp_port_t port;
  605|       |
  606|    273|    error = ofputil_decode_port_desc_stats_request(oh, &port);
  607|    273|    if (error) {
  ------------------
  |  Branch (607:9): [True: 105, False: 168]
  ------------------
  608|    105|        return error;
  609|    105|    }
  610|       |
  611|    168|    ds_put_cstr(string, " port=");
  612|    168|    ofputil_format_port(port, port_map, string);
  613|       |
  614|    168|    return 0;
  615|    273|}
ofp-print.c:ofp_print_ofpst_port_desc_reply:
  620|  1.40k|{
  621|       |    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  622|  1.40k|    ofpraw_pull_assert(&b);
  623|  1.40k|    ds_put_char(string, '\n');
  624|  1.40k|    return ofputil_phy_ports_format(string, oh->version, &b);
  625|  1.40k|}
ofp-print.c:ofp_print_nxt_flow_mod_table_id:
  683|    197|{
  684|    197|    bool enable = ofputil_decode_nx_flow_mod_table_id(oh);
  685|    197|    ds_put_format(string, " %s", enable ? "enable" : "disable");
  ------------------
  |  Branch (685:34): [True: 182, False: 15]
  ------------------
  686|    197|    return 0;
  687|    197|}
ofp-print.c:ofp_print_nxt_set_flow_format:
  691|    473|{
  692|    473|    enum ofputil_protocol p = ofputil_decode_nx_set_flow_format(oh);
  693|    473|    ds_put_format(string, " format=%s",
  694|    473|                  p == OFPUTIL_P_OF10_STD ? "openflow10"
  ------------------
  |  Branch (694:19): [True: 67, False: 406]
  ------------------
  695|    473|                  : p == OFPUTIL_P_OF10_NXM ? "nxm"
  ------------------
  |  Branch (695:21): [True: 210, False: 196]
  ------------------
  696|    406|                  : "(unknown)");
  697|    473|    return 0;
  698|    473|}
ofp-print.c:ofp_print_nxt_set_packet_in_format:
  703|    417|{
  704|    417|    enum ofputil_packet_in_format format;
  705|    417|    enum ofperr error = ofputil_decode_set_packet_in_format(oh, &format);
  706|    417|    if (!error) {
  ------------------
  |  Branch (706:9): [True: 313, False: 104]
  ------------------
  707|    313|        ds_put_format(string, " format=%s",
  708|    313|                      ofputil_packet_in_format_to_string(format));
  709|    313|    }
  710|    417|    return error;
  711|    417|}
ofp-print.c:ofp_print_nxt_set_controller_id:
  733|     18|{
  734|     18|    ds_put_format(string, " id=%"PRIu16, ntohs(nci->controller_id));
  735|     18|    return 0;
  736|     18|}
ofp-print.c:ofp_print_set_async_config:
  716|  27.6k|{
  717|  27.6k|    struct ofputil_async_cfg basis = OFPUTIL_ASYNC_CFG_INIT;
  ------------------
  |  |   75|  27.6k|#define OFPUTIL_ASYNC_CFG_INIT (struct ofputil_async_cfg) { .primary[0] = 0 }
  ------------------
  718|  27.6k|    struct ofputil_async_cfg ac;
  719|       |
  720|  27.6k|    bool is_reply = ofptype == OFPTYPE_GET_ASYNC_REPLY;
  721|  27.6k|    enum ofperr error = ofputil_decode_set_async_config(oh, is_reply,
  722|  27.6k|                                                        &basis, &ac);
  723|  27.6k|    if (error) {
  ------------------
  |  Branch (723:9): [True: 9.54k, False: 18.1k]
  ------------------
  724|  9.54k|        return error;
  725|  9.54k|    }
  726|  18.1k|    ofputil_format_set_async_config(string, &ac);
  727|  18.1k|    return 0;
  728|  27.6k|}
ofp-print.c:ofp_print_nxt_flow_monitor_cancel:
  741|     69|{
  742|       |    ds_put_format(string, " id=%"PRIu32,
  743|     69|                  ofputil_decode_flow_monitor_cancel(oh));
  744|     69|    return 0;
  745|     69|}
ofp-print.c:ofp_print_flow_monitor_request:
  752|  4.39k|{
  753|  4.39k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  754|  8.29k|    for (;;) {
  755|  8.29k|        struct ofputil_flow_monitor_request request;
  756|  8.29k|        int retval;
  757|       |
  758|  8.29k|        retval = ofputil_decode_flow_monitor_request(&request, &b);
  759|  8.29k|        if (retval) {
  ------------------
  |  Branch (759:13): [True: 4.39k, False: 3.89k]
  ------------------
  760|  4.39k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (760:20): [True: 2.17k, False: 2.22k]
  ------------------
  761|  4.39k|        }
  762|       |
  763|  3.89k|        ofputil_flow_monitor_request_format(string, &request,
  764|  3.89k|                                            port_map, table_map);
  765|  3.89k|    }
  766|  4.39k|}
ofp-print.c:ofp_print_flow_monitor_reply:
  773|  26.7k|{
  774|  26.7k|    uint64_t ofpacts_stub[1024 / 8];
  775|  26.7k|    struct ofpbuf ofpacts = OFPBUF_STUB_INITIALIZER(ofpacts_stub);
  ------------------
  |  |   78|  26.7k|#define OFPBUF_STUB_INITIALIZER(STUB) {         \
  |  |   79|  26.7k|        .base = (STUB),                         \
  |  |   80|  26.7k|        .data = (STUB),                         \
  |  |   81|  26.7k|        .size = 0,                              \
  |  |   82|  26.7k|        .allocated = sizeof (STUB),             \
  |  |   83|  26.7k|        .header = NULL,                         \
  |  |   84|  26.7k|        .msg = NULL,                            \
  |  |   85|  26.7k|        .list_node = OVS_LIST_POISON,           \
  |  |   86|  26.7k|        .source = OFPBUF_STUB,                  \
  |  |   87|  26.7k|    }
  ------------------
  776|  26.7k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  777|       |
  778|  46.1k|    for (;;) {
  779|  46.1k|        struct ofputil_flow_update update;
  780|  46.1k|        int retval = ofputil_decode_flow_update(&update, &b, &ofpacts);
  781|  46.1k|        if (retval) {
  ------------------
  |  Branch (781:13): [True: 26.7k, False: 19.3k]
  ------------------
  782|  26.7k|            ofpbuf_uninit(&ofpacts);
  783|  26.7k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (783:20): [True: 21.5k, False: 5.19k]
  ------------------
  784|  26.7k|        }
  785|  19.3k|        ofputil_flow_update_format(string, &update, port_map, table_map);
  786|  19.3k|    }
  787|  26.7k|}
ofp-print.c:ofp_print_bundle_ctrl:
  845|  4.67k|{
  846|  4.67k|    int error;
  847|  4.67k|    struct ofputil_bundle_ctrl_msg bctrl;
  848|       |
  849|  4.67k|    error = ofputil_decode_bundle_ctrl(oh, &bctrl);
  850|  4.67k|    if (error) {
  ------------------
  |  Branch (850:9): [True: 0, False: 4.67k]
  ------------------
  851|      0|        return error;
  852|      0|    }
  853|  4.67k|    ofputil_format_bundle_ctrl_request(s, &bctrl);
  854|  4.67k|    return 0;
  855|  4.67k|}
ofp-print.c:ofp_print_bundle_add:
  862|  3.09k|{
  863|  3.09k|    struct ofputil_bundle_add_msg badd;
  864|  3.09k|    int error = ofputil_decode_bundle_add(oh, &badd, NULL);
  865|  3.09k|    if (!error) {
  ------------------
  |  Branch (865:9): [True: 1.20k, False: 1.88k]
  ------------------
  866|  1.20k|        ofputil_format_bundle_add(s, &badd, port_map, table_map, verbosity);
  867|  1.20k|    }
  868|  3.09k|    return error;
  869|  3.09k|}
ofp-print.c:ofp_print_tlv_table_mod:
  873|  2.39k|{
  874|  2.39k|    struct ofputil_tlv_table_mod ttm;
  875|  2.39k|    int error = ofputil_decode_tlv_table_mod(oh, &ttm);
  876|  2.39k|    if (!error) {
  ------------------
  |  Branch (876:9): [True: 1.03k, False: 1.36k]
  ------------------
  877|  1.03k|        ofputil_format_tlv_table_mod(s, &ttm);
  878|  1.03k|        ofputil_uninit_tlv_table(&ttm.mappings);
  879|  1.03k|    }
  880|  2.39k|    return error;
  881|  2.39k|}
ofp-print.c:ofp_print_tlv_table_reply:
  885|  2.98k|{
  886|  2.98k|    struct ofputil_tlv_table_reply ttr;
  887|  2.98k|    int error = ofputil_decode_tlv_table_reply(oh, &ttr);
  888|  2.98k|    if (!error) {
  ------------------
  |  Branch (888:9): [True: 826, False: 2.15k]
  ------------------
  889|    826|        ofputil_format_tlv_table_reply(s, &ttr);
  890|    826|        ofputil_uninit_tlv_table(&ttr.mappings);
  891|    826|    }
  892|  2.98k|    return error;
  893|  2.98k|}
ofp-print.c:ofp_print_nxst_ipfix_bridge_reply:
  914|    878|{
  915|    878|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  916|  1.75k|    for (;;) {
  917|  1.75k|        struct ofputil_ipfix_stats is;
  918|  1.75k|        int retval;
  919|       |
  920|  1.75k|        retval = ofputil_pull_ipfix_stats(&is, &b);
  921|  1.75k|        if (retval) {
  ------------------
  |  Branch (921:13): [True: 878, False: 878]
  ------------------
  922|    878|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (922:20): [True: 0, False: 878]
  ------------------
  923|    878|        }
  924|    878|        ofputil_format_ipfix_stats_bridge(string, &is);
  925|    878|    }
  926|    878|}
ofp-print.c:ofp_print_nxst_ipfix_flow_reply:
  930|  2.89k|{
  931|  2.89k|    ds_put_format(string, " %"PRIuSIZE" ids\n", ofputil_count_ipfix_stats(oh));
  932|       |
  933|  2.89k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  934|  15.7k|    for (;;) {
  935|  15.7k|        struct ofputil_ipfix_stats is;
  936|  15.7k|        int retval;
  937|       |
  938|  15.7k|        retval = ofputil_pull_ipfix_stats(&is, &b);
  939|  15.7k|        if (retval) {
  ------------------
  |  Branch (939:13): [True: 2.89k, False: 12.9k]
  ------------------
  940|  2.89k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (940:20): [True: 0, False: 2.89k]
  ------------------
  941|  2.89k|        }
  942|  12.9k|        ofputil_format_ipfix_stats_flow(string, &is);
  943|  12.9k|    }
  944|  2.89k|}
ofp-print.c:ofp_print_nxt_ct_flush_zone:
  948|     66|{
  949|     66|    ds_put_format(string, " zone_id=%"PRIu16, ntohs(nzi->zone_id));
  950|     66|    return 0;
  951|     66|}
ofp-print.c:ofp_print_nxt_ct_flush:
  955|  14.8k|{
  956|  14.8k|    uint16_t zone_id = 0;
  957|  14.8k|    struct ofp_ct_match match = {0};
  958|       |
  959|  14.8k|    enum ofperr error = ofp_ct_match_decode(&match, NULL, &zone_id, oh);
  960|  14.8k|    if (error) {
  ------------------
  |  Branch (960:9): [True: 9.50k, False: 5.30k]
  ------------------
  961|  9.50k|        return error;
  962|  9.50k|    }
  963|       |
  964|  5.30k|    ds_put_format(string, " zone=%"PRIu16" ", zone_id);
  965|  5.30k|    ofp_ct_match_format(string, &match);
  966|       |
  967|  5.30k|    return 0;
  968|  14.8k|}
ofp-print.c:add_newline:
 1214|  3.68M|{
 1215|  3.68M|    if (s->length && s->string[s->length - 1] != '\n') {
  ------------------
  |  Branch (1215:9): [True: 3.68M, False: 0]
  |  Branch (1215:22): [True: 213k, False: 3.46M]
  ------------------
 1216|   213k|        ds_put_char(s, '\n');
 1217|   213k|    }
 1218|  3.68M|}
ofp-print.c:ofp_print_error:
  415|  1.39M|{
  416|  1.39M|    ds_put_format(string, "***decode error: %s***\n", ofperr_get_name(error));
  417|  1.39M|}
ofp-print.c:print_and_free:
 1295|  2.21M|{
 1296|  2.21M|    fputs(string, stream);
 1297|  2.21M|    free(string);
 1298|  2.21M|}

ofpprop_pull__:
   75|   235k|{
   76|   235k|    struct ofp_prop_header *oph;
   77|   235k|    unsigned int padded_len;
   78|   235k|    unsigned int len;
   79|       |
   80|   235k|    if (msg->size < sizeof *oph) {
  ------------------
  |  Branch (80:9): [True: 206, False: 235k]
  ------------------
   81|    206|        return OFPERR_OFPBPC_BAD_LEN;
   82|    206|    }
   83|       |
   84|   235k|    oph = msg->data;
   85|   235k|    len = ntohs(oph->len);
   86|   235k|    padded_len = ROUND_UP(len, alignment);
  ------------------
  |  |  303|   235k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|   235k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
   87|   235k|    if (len < sizeof *oph || padded_len > msg->size) {
  ------------------
  |  Branch (87:9): [True: 6.33k, False: 229k]
  |  Branch (87:30): [True: 20.8k, False: 208k]
  ------------------
   88|  27.2k|        return OFPERR_OFPBPC_BAD_LEN;
   89|  27.2k|    }
   90|       |
   91|   208k|    uint16_t type = ntohs(oph->type);
   92|   208k|    if (type < min_exp) {
  ------------------
  |  Branch (92:9): [True: 189k, False: 19.0k]
  ------------------
   93|   189k|        *typep = type;
   94|   189k|    } else {
   95|  19.0k|        struct ofp_prop_experimenter *ope = msg->data;
   96|  19.0k|        if (len < sizeof *ope) {
  ------------------
  |  Branch (96:13): [True: 295, False: 18.8k]
  ------------------
   97|    295|            return OFPERR_OFPBPC_BAD_LEN;
   98|    295|        }
   99|       |
  100|  18.8k|        if (!ope->experimenter) {
  ------------------
  |  Branch (100:13): [True: 135, False: 18.6k]
  ------------------
  101|       |            /* Reject experimenter 0 because it yields ambiguity with standard
  102|       |             * property types. */
  103|    135|            return OFPERR_OFPBPC_BAD_EXPERIMENTER;
  104|    135|        }
  105|       |
  106|  18.6k|        *typep = OFPPROP_EXP(ntohl(ope->experimenter), ntohl(ope->exp_type));
  ------------------
  |  |   67|  18.6k|    (((uint64_t) (EXP_ID) << 32) | (EXP_TYPE))
  ------------------
  107|  18.6k|    }
  108|       |
  109|   207k|    if (property) {
  ------------------
  |  Branch (109:9): [True: 204k, False: 3.43k]
  ------------------
  110|   204k|        ofpbuf_use_const(property, msg->data, len);
  111|   204k|        property->header = property->data;
  112|   204k|        property->msg = ((uint8_t *) property->data
  113|   204k|                         + (type < min_exp
  ------------------
  |  Branch (113:29): [True: 185k, False: 18.6k]
  ------------------
  114|   204k|                            ? sizeof(struct ofp_prop_header)
  115|   204k|                            : sizeof(struct ofp_prop_experimenter)));
  116|   204k|    }
  117|   207k|    ofpbuf_pull(msg, padded_len);
  118|   207k|    return 0;
  119|   208k|}
ofpprop_pull:
  136|   204k|{
  137|   204k|    return ofpprop_pull__(msg, property, 8, 0xffff, typep);
  138|   204k|}
ofpprop_parse_be16:
  145|  3.39k|{
  146|       |    /* OpenFlow uses 8-byte properties for 16-bit values, which doesn't really
  147|       |     * make sense.  Be forgiving by allowing any size payload as long as it's
  148|       |     * at least big enough.  */
  149|  3.39k|    ovs_be16 *p = property->msg;
  150|  3.39k|    if (ofpbuf_msgsize(property) < sizeof *p) {
  ------------------
  |  Branch (150:9): [True: 215, False: 3.18k]
  ------------------
  151|    215|        return OFPERR_OFPBPC_BAD_LEN;
  152|    215|    }
  153|  3.18k|    *value = *p;
  154|  3.18k|    return 0;
  155|  3.39k|}
ofpprop_parse_be32:
  162|  13.7k|{
  163|  13.7k|    ovs_be32 *p = property->msg;
  164|  13.7k|    if (ofpbuf_msgsize(property) != sizeof *p) {
  ------------------
  |  Branch (164:9): [True: 181, False: 13.6k]
  ------------------
  165|    181|        return OFPERR_OFPBPC_BAD_LEN;
  166|    181|    }
  167|  13.6k|    *value = *p;
  168|  13.6k|    return 0;
  169|  13.7k|}
ofpprop_parse_be64:
  176|    642|{
  177|    642|    ovs_be64 *p;
  178|    642|    size_t be64_offset = ROUND_UP(ofpbuf_headersize(property), 8);
  ------------------
  |  |  303|    642|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|    642|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  179|    642|    if (property->size != be64_offset + sizeof *p) {
  ------------------
  |  Branch (179:9): [True: 333, False: 309]
  ------------------
  180|    333|        return OFPERR_OFPBPC_BAD_LEN;
  181|    333|    }
  182|       |
  183|    309|    p = ALIGNED_CAST(ovs_be64 *, (char *) property->data + be64_offset);
  ------------------
  |  |  434|    309|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
  184|    309|    *value = *p;
  185|    309|    return 0;
  186|    642|}
ofpprop_parse_be128:
  193|    820|{
  194|    820|    ovs_32aligned_be128 *p = property->msg;
  195|       |
  196|    820|    if (ofpbuf_msgsize(property) != sizeof *p) {
  ------------------
  |  Branch (196:9): [True: 45, False: 775]
  ------------------
  197|     45|        return OFPERR_OFPBPC_BAD_LEN;
  198|     45|    }
  199|    775|    *value = get_32aligned_be128(p);
  200|    775|    return 0;
  201|    820|}
ofpprop_parse_u8:
  208|  2.29k|{
  209|       |    /* OpenFlow 1.5 and earlier don't have any 8-bit properties, but it uses
  210|       |     * 8-byte properties for 16-bit values, which doesn't really make sense.
  211|       |     * Be forgiving by allowing any size payload as long as it's at least big
  212|       |     * enough. */
  213|  2.29k|    uint8_t *p = property->msg;
  214|  2.29k|    if (ofpbuf_msgsize(property) < sizeof *p) {
  ------------------
  |  Branch (214:9): [True: 476, False: 1.81k]
  ------------------
  215|    476|        return OFPERR_OFPBPC_BAD_LEN;
  216|    476|    }
  217|  1.81k|    *value = *p;
  218|  1.81k|    return 0;
  219|  2.29k|}
ofpprop_parse_u16:
  226|  6.37k|{
  227|       |    /* OpenFlow uses 8-byte properties for 16-bit values, which doesn't really
  228|       |     * make sense.  Be forgiving by allowing any size payload as long as it's
  229|       |     * at least big enough.  */
  230|  6.37k|    ovs_be16 *p = property->msg;
  231|  6.37k|    if (ofpbuf_msgsize(property) < sizeof *p) {
  ------------------
  |  Branch (231:9): [True: 67, False: 6.30k]
  ------------------
  232|     67|        return OFPERR_OFPBPC_BAD_LEN;
  233|     67|    }
  234|  6.30k|    *value = ntohs(*p);
  235|  6.30k|    return 0;
  236|  6.37k|}
ofpprop_parse_u32:
  243|  15.1k|{
  244|  15.1k|    ovs_be32 *p = property->msg;
  245|  15.1k|    if (ofpbuf_msgsize(property) != sizeof *p) {
  ------------------
  |  Branch (245:9): [True: 192, False: 14.9k]
  ------------------
  246|    192|        return OFPERR_OFPBPC_BAD_LEN;
  247|    192|    }
  248|  14.9k|    *value = ntohl(*p);
  249|  14.9k|    return 0;
  250|  15.1k|}
ofpprop_parse_u128:
  274|    820|{
  275|    820|    enum ofperr error = ofpprop_parse_be128(property, (ovs_be128 *) value);
  276|       |
  277|    820|    if (!error) {
  ------------------
  |  Branch (277:9): [True: 775, False: 45]
  ------------------
  278|    775|        *value = ntoh128(*(ovs_be128 *) value);
  279|    775|    }
  280|       |
  281|    820|    return error;
  282|    820|}
ofpprop_parse_uuid:
  289|  3.04k|{
  290|  3.04k|    struct uuid *p = property->msg;
  291|  3.04k|    if (ofpbuf_msgsize(property) != sizeof *p) {
  ------------------
  |  Branch (291:9): [True: 175, False: 2.87k]
  ------------------
  292|    175|        return OFPERR_OFPBPC_BAD_LEN;
  293|    175|    }
  294|  2.87k|    *uuid = *p;
  295|  2.87k|    return 0;
  296|  3.04k|}
ofpprop_parse_nested:
  308|  27.0k|{
  309|  27.0k|    size_t nested_offset = ROUND_UP(ofpbuf_headersize(property), 8);
  ------------------
  |  |  303|  27.0k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  27.0k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  310|  27.0k|    if (property->size < nested_offset) {
  ------------------
  |  Branch (310:9): [True: 239, False: 26.8k]
  ------------------
  311|    239|        return OFPERR_OFPBPC_BAD_LEN;
  312|    239|    }
  313|       |
  314|  26.8k|    ofpbuf_use_const(nested, property->data, property->size);
  315|  26.8k|    ofpbuf_pull(nested, nested_offset);
  316|  26.8k|    return 0;
  317|  27.0k|}
ofpprop_unknown:
  528|  30.9k|{
  529|  30.9k|    bool is_experimenter = ofpprop_is_experimenter(type);
  530|       |
  531|  30.9k|    static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 5);
  ------------------
  |  |  110|  30.9k|        {                                                                 \
  |  |  111|  30.9k|            TOKEN_BUCKET_INIT(RATE, OVS_SAT_MUL(BURST, VLOG_MSG_TOKENS)), \
  |  |  ------------------
  |  |  |  |   37|   123k|#define TOKEN_BUCKET_INIT(RATE, BURST) { RATE, BURST, 0, LLONG_MIN }
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (37:48): [True: 0, Folded]
  |  |  |  |  |  Branch (37:48): [Folded, False: 30.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  112|  30.9k|            0,                              /* first_dropped */           \
  |  |  113|  30.9k|            0,                              /* last_dropped */            \
  |  |  114|  30.9k|            0,                              /* n_dropped */               \
  |  |  115|  30.9k|            OVS_MUTEX_INITIALIZER           /* mutex */                   \
  |  |  ------------------
  |  |  |  |   45|  30.9k|#define OVS_MUTEX_INITIALIZER { PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, \
  |  |  |  |   46|  30.9k|                                "<unlocked>" }
  |  |  ------------------
  |  |  116|  30.9k|        }
  ------------------
  532|  30.9k|    enum vlog_level level = loose ? VLL_DBG : VLL_WARN;
  ------------------
  |  Branch (532:29): [True: 26.2k, False: 4.69k]
  ------------------
  533|  30.9k|    if (!is_experimenter) {
  ------------------
  |  Branch (533:9): [True: 27.8k, False: 3.09k]
  ------------------
  534|  27.8k|        vlog_rate_limit(module, level, &rl, "unknown %s property type %"PRId64,
  535|  27.8k|                        msg, type);
  536|  27.8k|    } else {
  537|  3.09k|        vlog_rate_limit(module, level, &rl,
  538|  3.09k|                        "unknown %s property type for exp_id 0x%"PRIx32", "
  539|  3.09k|                        "exp_type %"PRId32, msg,
  540|  3.09k|                        ofpprop_type_to_exp_id(type),
  541|  3.09k|                        ofpprop_type_to_exp_type(type));
  542|  3.09k|    }
  543|       |
  544|       |    /* There's an error OFPBPC_BAD_EXPERIMENTER that we could use for
  545|       |     * experimenter IDs that we don't know at all, but that seems like a
  546|       |     * difficult distinction and OFPERR_OFPBPC_BAD_EXP_TYPE communicates the
  547|       |     * problem quite well. */
  548|  30.9k|    return (loose ? 0
  ------------------
  |  Branch (548:13): [True: 26.2k, False: 4.69k]
  ------------------
  549|  30.9k|            : is_experimenter ? OFPERR_OFPBPC_BAD_EXP_TYPE
  ------------------
  |  Branch (549:15): [True: 1.04k, False: 3.65k]
  ------------------
  550|  4.69k|            : OFPERR_OFPBPC_BAD_TYPE);
  551|  30.9k|}
ofp-prop.c:ofpprop_type_to_exp_id:
   45|  3.09k|{
   46|  3.09k|    return type >> 32;
   47|  3.09k|}
ofp-prop.c:ofpprop_type_to_exp_type:
   51|  3.09k|{
   52|       |    return type & UINT32_MAX;
   53|  3.09k|}

ofputil_protocols_from_ofp_version:
   65|   108k|{
   66|   108k|    switch (version) {
   67|  66.7k|    case OFP10_VERSION:
  ------------------
  |  Branch (67:5): [True: 66.7k, False: 41.5k]
  ------------------
   68|  66.7k|        return OFPUTIL_P_OF10_STD_ANY | OFPUTIL_P_OF10_NXM_ANY;
  ------------------
  |  |   58|  66.7k|#define OFPUTIL_P_OF10_STD_ANY (OFPUTIL_P_OF10_STD | OFPUTIL_P_OF10_STD_TID)
  ------------------
                      return OFPUTIL_P_OF10_STD_ANY | OFPUTIL_P_OF10_NXM_ANY;
  ------------------
  |  |   59|  66.7k|#define OFPUTIL_P_OF10_NXM_ANY (OFPUTIL_P_OF10_NXM | OFPUTIL_P_OF10_NXM_TID)
  ------------------
   69|  6.31k|    case OFP11_VERSION:
  ------------------
  |  Branch (69:5): [True: 6.31k, False: 102k]
  ------------------
   70|  6.31k|        return OFPUTIL_P_OF11_STD;
   71|  1.80k|    case OFP12_VERSION:
  ------------------
  |  Branch (71:5): [True: 1.80k, False: 106k]
  ------------------
   72|  1.80k|        return OFPUTIL_P_OF12_OXM;
   73|    630|    case OFP13_VERSION:
  ------------------
  |  Branch (73:5): [True: 630, False: 107k]
  ------------------
   74|    630|        return OFPUTIL_P_OF13_OXM;
   75|  32.4k|    case OFP14_VERSION:
  ------------------
  |  Branch (75:5): [True: 32.4k, False: 75.8k]
  ------------------
   76|  32.4k|        return OFPUTIL_P_OF14_OXM;
   77|    310|    case OFP15_VERSION:
  ------------------
  |  Branch (77:5): [True: 310, False: 108k]
  ------------------
   78|    310|        return OFPUTIL_P_OF15_OXM;
   79|      0|    default:
  ------------------
  |  Branch (79:5): [True: 0, False: 108k]
  ------------------
   80|      0|        return 0;
   81|   108k|    }
   82|   108k|}
ofputil_protocol_from_ofp_version:
   91|   108k|{
   92|   108k|    return rightmost_1bit(ofputil_protocols_from_ofp_version(version));
   93|   108k|}
ofputil_protocol_set_tid:
  173|   108k|{
  174|   108k|    switch (protocol) {
  175|  66.7k|    case OFPUTIL_P_OF10_STD:
  ------------------
  |  Branch (175:5): [True: 66.7k, False: 41.5k]
  ------------------
  176|  66.7k|    case OFPUTIL_P_OF10_STD_TID:
  ------------------
  |  Branch (176:5): [True: 0, False: 108k]
  ------------------
  177|  66.7k|        return enable ? OFPUTIL_P_OF10_STD_TID : OFPUTIL_P_OF10_STD;
  ------------------
  |  Branch (177:16): [True: 66.7k, False: 0]
  ------------------
  178|       |
  179|      0|    case OFPUTIL_P_OF10_NXM:
  ------------------
  |  Branch (179:5): [True: 0, False: 108k]
  ------------------
  180|      0|    case OFPUTIL_P_OF10_NXM_TID:
  ------------------
  |  Branch (180:5): [True: 0, False: 108k]
  ------------------
  181|      0|        return enable ? OFPUTIL_P_OF10_NXM_TID : OFPUTIL_P_OF10_NXM;
  ------------------
  |  Branch (181:16): [True: 0, False: 0]
  ------------------
  182|       |
  183|  6.31k|    case OFPUTIL_P_OF11_STD:
  ------------------
  |  Branch (183:5): [True: 6.31k, False: 102k]
  ------------------
  184|  6.31k|        return OFPUTIL_P_OF11_STD;
  185|       |
  186|  1.80k|    case OFPUTIL_P_OF12_OXM:
  ------------------
  |  Branch (186:5): [True: 1.80k, False: 106k]
  ------------------
  187|  1.80k|        return OFPUTIL_P_OF12_OXM;
  188|       |
  189|    630|    case OFPUTIL_P_OF13_OXM:
  ------------------
  |  Branch (189:5): [True: 630, False: 107k]
  ------------------
  190|    630|        return OFPUTIL_P_OF13_OXM;
  191|       |
  192|  32.4k|    case OFPUTIL_P_OF14_OXM:
  ------------------
  |  Branch (192:5): [True: 32.4k, False: 75.8k]
  ------------------
  193|  32.4k|        return OFPUTIL_P_OF14_OXM;
  194|       |
  195|    310|    case OFPUTIL_P_OF15_OXM:
  ------------------
  |  Branch (195:5): [True: 310, False: 108k]
  ------------------
  196|    310|        return OFPUTIL_P_OF15_OXM;
  197|       |
  198|      0|    default:
  ------------------
  |  Branch (198:5): [True: 0, False: 108k]
  ------------------
  199|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  200|   108k|    }
  201|   108k|}
ofputil_format_version:
  508|   778k|{
  509|   778k|    ds_put_format(msg, "0x%02x", version);
  510|   778k|}
ofputil_format_version_bitmap:
  534|  42.1k|{
  535|  42.1k|    ofputil_format_version_bitmap__(msg, bitmap, ofputil_format_version);
  536|  42.1k|}
ofputil_decode_nx_set_flow_format:
  635|    473|{
  636|    473|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  637|    473|    ovs_assert(ofpraw_pull_assert(&b) == OFPRAW_NXT_SET_FLOW_FORMAT);
  ------------------
  |  |   62|    473|#define ovs_assert ovs_ignore
  ------------------
  638|       |
  639|    473|    ovs_be32 *flow_formatp = ofpbuf_pull(&b, sizeof *flow_formatp);
  640|    473|    uint32_t flow_format = ntohl(*flow_formatp);
  641|    473|    switch (flow_format) {
  642|     67|    case NXFF_OPENFLOW10:
  ------------------
  |  Branch (642:5): [True: 67, False: 406]
  ------------------
  643|     67|        return OFPUTIL_P_OF10_STD;
  644|       |
  645|    210|    case NXFF_NXM:
  ------------------
  |  Branch (645:5): [True: 210, False: 263]
  ------------------
  646|    210|        return OFPUTIL_P_OF10_NXM;
  647|       |
  648|    196|    default:
  ------------------
  |  Branch (648:5): [True: 196, False: 277]
  ------------------
  649|    196|        VLOG_WARN_RL(&rl, "NXT_SET_FLOW_FORMAT message specified invalid "
  ------------------
  |  |  224|    196|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    196|    do {                                                                \
  |  |  |  |  288|    196|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    196|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 196]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    196|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 196]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  650|    196|                     "flow format %"PRIu32, flow_format);
  651|    196|        return 0;
  652|    473|    }
  653|    473|}
ofputil_decode_nx_flow_mod_table_id:
  712|    197|{
  713|    197|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  714|    197|    ovs_assert(ofpraw_pull_assert(&b) == OFPRAW_NXT_FLOW_MOD_TABLE_ID);
  ------------------
  |  |   62|    197|#define ovs_assert ovs_ignore
  ------------------
  715|    197|    uint8_t *enable = ofpbuf_pull(&b, 8);
  716|    197|    return *enable != 0;
  717|    197|}
ofp-protocol.c:ofputil_format_version_bitmap__:
  522|  42.1k|{
  523|   820k|    while (bitmap) {
  ------------------
  |  Branch (523:12): [True: 778k, False: 42.1k]
  ------------------
  524|   778k|        format_version(msg, raw_ctz(bitmap));
  525|   778k|        bitmap = zero_rightmost_1bit(bitmap);
  526|   778k|        if (bitmap) {
  ------------------
  |  Branch (526:13): [True: 736k, False: 42.1k]
  ------------------
  527|   736k|            ds_put_cstr(msg, ", ");
  528|   736k|        }
  529|   778k|    }
  530|  42.1k|}

ofputil_decode_queue_get_config_request:
   90|  1.43k|{
   91|  1.43k|    const struct ofp10_queue_get_config_request *qgcr10;
   92|  1.43k|    const struct ofp11_queue_get_config_request *qgcr11;
   93|  1.43k|    const struct ofp14_queue_desc_request *qdr14;
   94|  1.43k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
   95|  1.43k|    enum ofpraw raw = ofpraw_pull_assert(&b);
   96|       |
   97|  1.43k|    switch ((int) raw) {
   98|    373|    case OFPRAW_OFPT10_QUEUE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (98:5): [True: 373, False: 1.06k]
  ------------------
   99|    373|        qgcr10 = b.data;
  100|    373|        *port = u16_to_ofp(ntohs(qgcr10->port));
  101|    373|        *queue = OFPQ_ALL;
  ------------------
  |  |  416|    373|#define OFPQ_ALL      0xffffffff
  ------------------
  102|    373|        break;
  103|       |
  104|    887|    case OFPRAW_OFPT11_QUEUE_GET_CONFIG_REQUEST:
  ------------------
  |  Branch (104:5): [True: 887, False: 548]
  ------------------
  105|    887|        qgcr11 = b.data;
  106|    887|        *queue = OFPQ_ALL;
  ------------------
  |  |  416|    887|#define OFPQ_ALL      0xffffffff
  ------------------
  107|    887|        enum ofperr error = ofputil_port_from_ofp11(qgcr11->port, port);
  108|    887|        if (error || *port == OFPP_ANY) {
  ------------------
  |  |   80|    644|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|    644|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|    644|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (108:13): [True: 243, False: 644]
  |  Branch (108:22): [True: 199, False: 445]
  ------------------
  109|    442|            return error;
  110|    442|        }
  111|    445|        break;
  112|       |
  113|    445|    case OFPRAW_OFPST14_QUEUE_DESC_REQUEST:
  ------------------
  |  Branch (113:5): [True: 175, False: 1.26k]
  ------------------
  114|    175|        qdr14 = b.data;
  115|    175|        *queue = ntohl(qdr14->queue);
  116|    175|        return ofputil_port_from_ofp11(qdr14->port, port);
  117|       |
  118|      0|    default:
  ------------------
  |  Branch (118:5): [True: 0, False: 1.43k]
  ------------------
  119|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  120|  1.43k|    }
  121|       |
  122|    818|    return (ofp_to_u16(*port) < ofp_to_u16(OFPP_MAX)
  ------------------
  |  |   33|    818|#define OFPP_MAX        OFP_PORT_C(0xff00) /* Max # of switch ports. */
  |  |  ------------------
  |  |  |  |  157|    818|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (122:13): [True: 496, False: 322]
  ------------------
  123|    818|            ? 0
  124|    818|            : OFPERR_OFPQOFC_BAD_PORT);
  125|  1.43k|}
ofputil_queue_get_config_request_format:
  131|  1.43k|{
  132|  1.43k|    enum ofperr error;
  133|  1.43k|    ofp_port_t port;
  134|  1.43k|    uint32_t queue;
  135|       |
  136|  1.43k|    error = ofputil_decode_queue_get_config_request(oh, &port, &queue);
  137|  1.43k|    if (error) {
  ------------------
  |  Branch (137:9): [True: 641, False: 794]
  ------------------
  138|    641|        return error;
  139|    641|    }
  140|       |
  141|    794|    ds_put_cstr(string, " port=");
  142|    794|    ofputil_format_port(port, port_map, string);
  143|       |
  144|    794|    if (queue != OFPQ_ALL) {
  ------------------
  |  |  416|    794|#define OFPQ_ALL      0xffffffff
  ------------------
  |  Branch (144:9): [True: 99, False: 695]
  ------------------
  145|     99|        ds_put_cstr(string, " queue=");
  146|     99|        ofp_print_queue_name(string, queue);
  147|     99|    }
  148|       |
  149|    794|    return 0;
  150|  1.43k|}
ofputil_pull_queue_get_config_reply:
  430|  31.9k|{
  431|  31.9k|    enum ofpraw raw;
  432|  31.9k|    if (!msg->header) {
  ------------------
  |  Branch (432:9): [True: 13.9k, False: 18.0k]
  ------------------
  433|       |        /* Pull OpenFlow header. */
  434|  13.9k|        raw = ofpraw_pull_assert(msg);
  435|       |
  436|       |        /* Pull protocol-specific ofp_queue_get_config_reply header (OF1.4
  437|       |         * doesn't have one at all). */
  438|  13.9k|        if (raw == OFPRAW_OFPT10_QUEUE_GET_CONFIG_REPLY) {
  ------------------
  |  Branch (438:13): [True: 2.73k, False: 11.2k]
  ------------------
  439|  2.73k|            ofpbuf_pull(msg, sizeof(struct ofp10_queue_get_config_reply));
  440|  11.2k|        } else if (raw == OFPRAW_OFPT11_QUEUE_GET_CONFIG_REPLY) {
  ------------------
  |  Branch (440:20): [True: 4.35k, False: 6.84k]
  ------------------
  441|  4.35k|            ofpbuf_pull(msg, sizeof(struct ofp11_queue_get_config_reply));
  442|  6.84k|        } else {
  443|  6.84k|            ovs_assert(raw == OFPRAW_OFPST14_QUEUE_DESC_REPLY);
  ------------------
  |  |   62|  6.84k|#define ovs_assert ovs_ignore
  ------------------
  444|  6.84k|        }
  445|  18.0k|    } else {
  446|  18.0k|        raw = ofpraw_decode_assert(msg->header);
  447|  18.0k|    }
  448|       |
  449|  31.9k|    queue->min_rate = UINT16_MAX;
  450|  31.9k|    queue->max_rate = UINT16_MAX;
  451|       |
  452|  31.9k|    if (!msg->size) {
  ------------------
  |  Branch (452:9): [True: 2.34k, False: 29.5k]
  ------------------
  453|  2.34k|        return EOF;
  454|  29.5k|    } else if (raw == OFPRAW_OFPST14_QUEUE_DESC_REPLY) {
  ------------------
  |  Branch (454:16): [True: 9.17k, False: 20.4k]
  ------------------
  455|  9.17k|        return ofputil_pull_queue_get_config_reply14(msg, queue);
  456|  20.4k|    } else {
  457|  20.4k|        return ofputil_pull_queue_get_config_reply10(msg, queue);
  458|  20.4k|    }
  459|  31.9k|}
ofputil_queue_get_config_reply_format:
  493|  13.9k|{
  494|  13.9k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  495|       |
  496|  13.9k|    struct ofputil_queue_config *queues = NULL;
  497|  13.9k|    size_t allocated_queues = 0;
  498|  13.9k|    size_t n = 0;
  499|       |
  500|  13.9k|    int retval = 0;
  501|  31.9k|    for (;;) {
  502|  31.9k|        if (n >= allocated_queues) {
  ------------------
  |  Branch (502:13): [True: 28.3k, False: 3.60k]
  ------------------
  503|  28.3k|            queues = x2nrealloc(queues, &allocated_queues, sizeof *queues);
  504|  28.3k|        }
  505|  31.9k|        retval = ofputil_pull_queue_get_config_reply(&b, &queues[n]);
  506|  31.9k|        if (retval) {
  ------------------
  |  Branch (506:13): [True: 13.9k, False: 18.0k]
  ------------------
  507|  13.9k|            break;
  508|  13.9k|        }
  509|  18.0k|        n++;
  510|  18.0k|    }
  511|       |
  512|  13.9k|    qsort(queues, n, sizeof *queues, compare_queues);
  513|       |
  514|  13.9k|    ds_put_char(string, ' ');
  515|       |
  516|  13.9k|    ofp_port_t port = 0;
  517|  31.9k|    for (const struct ofputil_queue_config *q = queues; q < &queues[n]; q++) {
  ------------------
  |  Branch (517:57): [True: 18.0k, False: 13.9k]
  ------------------
  518|  18.0k|        if (q->port != port) {
  ------------------
  |  Branch (518:13): [True: 6.50k, False: 11.4k]
  ------------------
  519|  6.50k|            port = q->port;
  520|       |
  521|  6.50k|            ds_put_cstr(string, "port=");
  522|  6.50k|            ofputil_format_port(port, port_map, string);
  523|  6.50k|            ds_put_char(string, '\n');
  524|  6.50k|        }
  525|       |
  526|  18.0k|        ds_put_format(string, "queue %"PRIu32":", q->queue);
  527|  18.0k|        print_queue_rate(string, "min_rate", q->min_rate);
  528|  18.0k|        print_queue_rate(string, "max_rate", q->max_rate);
  529|  18.0k|        ds_put_char(string, '\n');
  530|  18.0k|    }
  531|       |
  532|  13.9k|    ds_chomp(string, ' ');
  533|  13.9k|    free(queues);
  534|       |
  535|  13.9k|    return retval != EOF ? retval : 0;
  ------------------
  |  Branch (535:12): [True: 11.5k, False: 2.34k]
  ------------------
  536|  13.9k|}
ofputil_decode_queue_stats_request:
  543|  1.73k|{
  544|  1.73k|    switch ((enum ofp_version)request->version) {
  545|    162|    case OFP15_VERSION:
  ------------------
  |  Branch (545:5): [True: 162, False: 1.56k]
  ------------------
  546|    693|    case OFP14_VERSION:
  ------------------
  |  Branch (546:5): [True: 531, False: 1.19k]
  ------------------
  547|    996|    case OFP13_VERSION:
  ------------------
  |  Branch (547:5): [True: 303, False: 1.42k]
  ------------------
  548|  1.06k|    case OFP12_VERSION:
  ------------------
  |  Branch (548:5): [True: 66, False: 1.66k]
  ------------------
  549|  1.13k|    case OFP11_VERSION: {
  ------------------
  |  Branch (549:5): [True: 68, False: 1.66k]
  ------------------
  550|  1.13k|        const struct ofp11_queue_stats_request *qsr11 = ofpmsg_body(request);
  551|  1.13k|        oqsr->queue_id = ntohl(qsr11->queue_id);
  552|  1.13k|        return ofputil_port_from_ofp11(qsr11->port_no, &oqsr->port_no);
  553|  1.06k|    }
  554|       |
  555|    600|    case OFP10_VERSION: {
  ------------------
  |  Branch (555:5): [True: 600, False: 1.13k]
  ------------------
  556|    600|        const struct ofp10_queue_stats_request *qsr10 = ofpmsg_body(request);
  557|    600|        oqsr->queue_id = ntohl(qsr10->queue_id);
  558|    600|        oqsr->port_no = u16_to_ofp(ntohs(qsr10->port_no));
  559|       |        /* OF 1.0 uses OFPP_ALL for OFPP_ANY */
  560|    600|        if (oqsr->port_no == OFPP_ALL) {
  ------------------
  |  |   44|    600|#define OFPP_ALL        OFP_PORT_C(0xfffc) /* All ports except input port. */
  |  |  ------------------
  |  |  |  |  157|    600|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  ------------------
  ------------------
  |  Branch (560:13): [True: 213, False: 387]
  ------------------
  561|    213|            oqsr->port_no = OFPP_ANY;
  ------------------
  |  |   80|    213|#define OFPP_ANY OFPP_NONE
  |  |  ------------------
  |  |  |  |   47|    213|#define OFPP_NONE       OFP_PORT_C(0xffff) /* Not associated with any port. */
  |  |  |  |  ------------------
  |  |  |  |  |  |  157|    213|#define OFP_PORT_C(X) ((OVS_FORCE ofp_port_t) (X))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  562|    213|        }
  563|    600|        return 0;
  564|  1.06k|    }
  565|       |
  566|      0|    default:
  ------------------
  |  Branch (566:5): [True: 0, False: 1.73k]
  ------------------
  567|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  568|  1.73k|    }
  569|  1.73k|}
ofputil_queue_stats_request_format:
  615|  1.73k|{
  616|  1.73k|    struct ofputil_queue_stats_request oqsr;
  617|  1.73k|    enum ofperr error;
  618|       |
  619|  1.73k|    error = ofputil_decode_queue_stats_request(oh, &oqsr);
  620|  1.73k|    if (error) {
  ------------------
  |  Branch (620:9): [True: 485, False: 1.24k]
  ------------------
  621|    485|        return error;
  622|    485|    }
  623|       |
  624|  1.24k|    ds_put_cstr(string, " port=");
  625|  1.24k|    ofputil_format_port(oqsr.port_no, port_map, string);
  626|       |
  627|  1.24k|    ds_put_cstr(string, " queue=");
  628|  1.24k|    ofp_print_queue_name(string, oqsr.queue_id);
  629|       |
  630|  1.24k|    return 0;
  631|  1.73k|}
ofputil_count_queue_stats:
  637|  6.37k|{
  638|  6.37k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  639|  6.37k|    ofpraw_pull_assert(&b);
  640|       |
  641|  14.9k|    for (size_t n = 0; ; n++) {
  642|  14.9k|        struct ofputil_queue_stats qs;
  643|  14.9k|        if (ofputil_decode_queue_stats(&qs, &b)) {
  ------------------
  |  Branch (643:13): [True: 6.37k, False: 8.62k]
  ------------------
  644|  6.37k|            return n;
  645|  6.37k|        }
  646|  14.9k|    }
  647|  6.37k|}
ofputil_decode_queue_stats:
  731|  29.9k|{
  732|  29.9k|    enum ofperr error;
  733|  29.9k|    enum ofpraw raw;
  734|       |
  735|  29.9k|    error = (msg->header ? ofpraw_decode(&raw, msg->header)
  ------------------
  |  Branch (735:14): [True: 23.6k, False: 6.37k]
  ------------------
  736|  29.9k|             : ofpraw_pull(&raw, msg));
  737|  29.9k|    if (error) {
  ------------------
  |  Branch (737:9): [True: 0, False: 29.9k]
  ------------------
  738|      0|        return error;
  739|      0|    }
  740|       |
  741|  29.9k|    if (!msg->size) {
  ------------------
  |  Branch (741:9): [True: 3.11k, False: 26.8k]
  ------------------
  742|  3.11k|        return EOF;
  743|  26.8k|    } else if (raw == OFPRAW_OFPST14_QUEUE_REPLY) {
  ------------------
  |  Branch (743:16): [True: 10.6k, False: 16.2k]
  ------------------
  744|  10.6k|        return ofputil_pull_ofp14_queue_stats(qs, msg);
  745|  16.2k|    } else if (raw == OFPRAW_OFPST13_QUEUE_REPLY) {
  ------------------
  |  Branch (745:16): [True: 1.82k, False: 14.4k]
  ------------------
  746|  1.82k|        const struct ofp13_queue_stats *qs13;
  747|       |
  748|  1.82k|        qs13 = ofpbuf_try_pull(msg, sizeof *qs13);
  749|  1.82k|        if (!qs13) {
  ------------------
  |  Branch (749:13): [True: 0, False: 1.82k]
  ------------------
  750|      0|            goto bad_len;
  751|      0|        }
  752|  1.82k|        return ofputil_queue_stats_from_ofp13(qs, qs13);
  753|  14.4k|    } else if (raw == OFPRAW_OFPST11_QUEUE_REPLY) {
  ------------------
  |  Branch (753:16): [True: 2.11k, False: 12.2k]
  ------------------
  754|  2.11k|        const struct ofp11_queue_stats *qs11;
  755|       |
  756|  2.11k|        qs11 = ofpbuf_try_pull(msg, sizeof *qs11);
  757|  2.11k|        if (!qs11) {
  ------------------
  |  Branch (757:13): [True: 0, False: 2.11k]
  ------------------
  758|      0|            goto bad_len;
  759|      0|        }
  760|  2.11k|        return ofputil_queue_stats_from_ofp11(qs, qs11);
  761|  12.2k|    } else if (raw == OFPRAW_OFPST10_QUEUE_REPLY) {
  ------------------
  |  Branch (761:16): [True: 12.2k, False: 0]
  ------------------
  762|  12.2k|        const struct ofp10_queue_stats *qs10;
  763|       |
  764|  12.2k|        qs10 = ofpbuf_try_pull(msg, sizeof *qs10);
  765|  12.2k|        if (!qs10) {
  ------------------
  |  Branch (765:13): [True: 0, False: 12.2k]
  ------------------
  766|      0|            goto bad_len;
  767|      0|        }
  768|  12.2k|        return ofputil_queue_stats_from_ofp10(qs, qs10);
  769|  12.2k|    } else {
  770|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  771|      0|    }
  772|       |
  773|      0| bad_len:
  774|      0|    VLOG_WARN_RL(&rl, "OFPST_QUEUE reply has %"PRIu32" leftover "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  775|      0|                 "bytes at end", msg->size);
  776|      0|    return OFPERR_OFPBRC_BAD_LEN;
  777|  29.9k|}
ofputil_queue_stats_reply_format:
  885|  6.37k|{
  886|  6.37k|    ds_put_format(string, " %"PRIuSIZE" queues\n",
  887|  6.37k|                  ofputil_count_queue_stats(oh));
  888|  6.37k|    if (verbosity < 1) {
  ------------------
  |  Branch (888:9): [True: 0, False: 6.37k]
  ------------------
  889|      0|        return 0;
  890|      0|    }
  891|       |
  892|  6.37k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  893|  14.9k|    for (;;) {
  894|  14.9k|        struct ofputil_queue_stats qs;
  895|  14.9k|        int retval;
  896|       |
  897|  14.9k|        retval = ofputil_decode_queue_stats(&qs, &b);
  898|  14.9k|        if (retval) {
  ------------------
  |  Branch (898:13): [True: 6.37k, False: 8.62k]
  ------------------
  899|  6.37k|            return retval != EOF ? retval : 0;
  ------------------
  |  Branch (899:20): [True: 4.81k, False: 1.55k]
  ------------------
  900|  6.37k|        }
  901|       |
  902|  8.62k|        ds_put_cstr(string, "  port ");
  903|  8.62k|        ofputil_format_port(qs.port_no, port_map, string);
  904|  8.62k|        ds_put_cstr(string, " queue ");
  905|  8.62k|        ofp_print_queue_name(string, qs.queue_id);
  906|  8.62k|        ds_put_cstr(string, ": ");
  907|       |
  908|  8.62k|        print_queue_stat(string, "bytes=", qs.tx_bytes, 1);
  909|  8.62k|        print_queue_stat(string, "pkts=", qs.tx_packets, 1);
  910|  8.62k|        print_queue_stat(string, "errors=", qs.tx_errors, 1);
  911|       |
  912|  8.62k|        ds_put_cstr(string, "duration=");
  913|  8.62k|        if (qs.duration_sec != UINT32_MAX) {
  ------------------
  |  Branch (913:13): [True: 1.66k, False: 6.95k]
  ------------------
  914|  1.66k|            ofp_print_duration(string, qs.duration_sec, qs.duration_nsec);
  915|  6.95k|        } else {
  916|  6.95k|            ds_put_char(string, '?');
  917|  6.95k|        }
  918|  8.62k|        ds_put_char(string, '\n');
  919|  8.62k|    }
  920|  6.37k|}
ofp-queue.c:ofp_print_queue_name:
   35|  9.96k|{
   36|  9.96k|    if (queue_id == OFPQ_ALL) {
  ------------------
  |  |  416|  9.96k|#define OFPQ_ALL      0xffffffff
  ------------------
  |  Branch (36:9): [True: 2.87k, False: 7.09k]
  ------------------
   37|  2.87k|        ds_put_cstr(string, "ALL");
   38|  7.09k|    } else {
   39|       |        ds_put_format(string, "%"PRIu32, queue_id);
   40|  7.09k|    }
   41|  9.96k|}
ofp-queue.c:ofputil_pull_queue_get_config_reply14:
  369|  9.17k|{
  370|  9.17k|    struct ofp14_queue_desc *oqd14 = ofpbuf_try_pull(msg, sizeof *oqd14);
  371|  9.17k|    if (!oqd14) {
  ------------------
  |  Branch (371:9): [True: 316, False: 8.86k]
  ------------------
  372|    316|        return OFPERR_OFPBRC_BAD_LEN;
  373|    316|    }
  374|  8.86k|    enum ofperr error = ofputil_port_from_ofp11(oqd14->port_no, &queue->port);
  375|  8.86k|    if (error) {
  ------------------
  |  Branch (375:9): [True: 2.65k, False: 6.20k]
  ------------------
  376|  2.65k|        return error;
  377|  2.65k|    }
  378|  6.20k|    queue->queue = ntohl(oqd14->queue_id);
  379|       |
  380|       |    /* Length check. */
  381|  6.20k|    unsigned int len = ntohs(oqd14->len);
  382|  6.20k|    if (len < sizeof *oqd14 || len > msg->size + sizeof *oqd14 || len % 8) {
  ------------------
  |  Branch (382:9): [True: 157, False: 6.05k]
  |  Branch (382:32): [True: 494, False: 5.55k]
  |  Branch (382:67): [True: 1.29k, False: 4.25k]
  ------------------
  383|  1.95k|        return OFPERR_OFPBRC_BAD_LEN;
  384|  1.95k|    }
  385|  4.25k|    len -= sizeof *oqd14;
  386|       |
  387|  4.25k|    struct ofpbuf properties = ofpbuf_const_initializer(ofpbuf_pull(msg, len),
  388|  4.25k|                                                        len);
  389|  14.6k|    while (properties.size > 0) {
  ------------------
  |  Branch (389:12): [True: 11.7k, False: 2.88k]
  ------------------
  390|  11.7k|        struct ofpbuf payload;
  391|  11.7k|        uint64_t type;
  392|       |
  393|  11.7k|        error = ofpprop_pull(&properties, &payload, &type);
  394|  11.7k|        if (error) {
  ------------------
  |  Branch (394:13): [True: 1.31k, False: 10.4k]
  ------------------
  395|  1.31k|            return error;
  396|  1.31k|        }
  397|       |
  398|  10.4k|        switch (type) {
  399|  3.91k|        case OFPQDPT14_MIN_RATE:
  ------------------
  |  Branch (399:9): [True: 3.91k, False: 6.54k]
  ------------------
  400|  3.91k|            error = ofpprop_parse_u16(&payload, &queue->min_rate);
  401|  3.91k|            break;
  402|       |
  403|    680|        case OFPQDPT14_MAX_RATE:
  ------------------
  |  Branch (403:9): [True: 680, False: 9.78k]
  ------------------
  404|    680|            error = ofpprop_parse_u16(&payload, &queue->max_rate);
  405|    680|            break;
  406|       |
  407|  5.86k|        default:
  ------------------
  |  Branch (407:9): [True: 5.86k, False: 4.59k]
  ------------------
  408|  5.86k|            error = OFPPROP_UNKNOWN(true, "queue desc", type);
  ------------------
  |  |  144|  5.86k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  409|  5.86k|            break;
  410|  10.4k|        }
  411|       |
  412|  10.4k|        if (error) {
  ------------------
  |  Branch (412:13): [True: 60, False: 10.4k]
  ------------------
  413|     60|            return error;
  414|     60|        }
  415|  10.4k|    }
  416|       |
  417|  2.88k|    return 0;
  418|  4.25k|}
ofp-queue.c:ofputil_pull_queue_get_config_reply10:
  283|  20.4k|{
  284|  20.4k|    const struct ofp_header *oh = msg->header;
  285|  20.4k|    unsigned int opq_len;       /* Length of protocol-specific queue header. */
  286|  20.4k|    unsigned int len;           /* Total length of queue + properties. */
  287|       |
  288|       |    /* Obtain the port number from the message header. */
  289|  20.4k|    if (oh->version == OFP10_VERSION) {
  ------------------
  |  Branch (289:9): [True: 4.67k, False: 15.7k]
  ------------------
  290|  4.67k|        const struct ofp10_queue_get_config_reply *oqgcr10 = msg->msg;
  291|  4.67k|        queue->port = u16_to_ofp(ntohs(oqgcr10->port));
  292|  15.7k|    } else {
  293|  15.7k|        const struct ofp11_queue_get_config_reply *oqgcr11 = msg->msg;
  294|  15.7k|        enum ofperr error = ofputil_port_from_ofp11(oqgcr11->port,
  295|  15.7k|                                                    &queue->port);
  296|  15.7k|        if (error) {
  ------------------
  |  Branch (296:13): [True: 458, False: 15.2k]
  ------------------
  297|    458|            return error;
  298|    458|        }
  299|  15.7k|    }
  300|       |
  301|       |    /* Pull off the queue header and get the queue number and length. */
  302|  19.9k|    if (oh->version < OFP12_VERSION) {
  ------------------
  |  Branch (302:9): [True: 19.1k, False: 786]
  ------------------
  303|  19.1k|        const struct ofp10_packet_queue *opq10;
  304|  19.1k|        opq10 = ofpbuf_try_pull(msg, sizeof *opq10);
  305|  19.1k|        if (!opq10) {
  ------------------
  |  Branch (305:13): [True: 0, False: 19.1k]
  ------------------
  306|      0|            return OFPERR_OFPBRC_BAD_LEN;
  307|      0|        }
  308|  19.1k|        queue->queue = ntohl(opq10->queue_id);
  309|  19.1k|        len = ntohs(opq10->len);
  310|  19.1k|        opq_len = sizeof *opq10;
  311|  19.1k|    } else {
  312|    786|        const struct ofp12_packet_queue *opq12;
  313|    786|        opq12 = ofpbuf_try_pull(msg, sizeof *opq12);
  314|    786|        if (!opq12) {
  ------------------
  |  Branch (314:13): [True: 412, False: 374]
  ------------------
  315|    412|            return OFPERR_OFPBRC_BAD_LEN;
  316|    412|        }
  317|    374|        queue->queue = ntohl(opq12->queue_id);
  318|    374|        len = ntohs(opq12->len);
  319|    374|        opq_len = sizeof *opq12;
  320|    374|    }
  321|       |
  322|       |    /* Length check. */
  323|  19.5k|    if (len < opq_len || len > msg->size + opq_len || len % 8) {
  ------------------
  |  Branch (323:9): [True: 576, False: 18.9k]
  |  Branch (323:26): [True: 752, False: 18.2k]
  |  Branch (323:55): [True: 98, False: 18.1k]
  ------------------
  324|  1.42k|        return OFPERR_OFPBRC_BAD_LEN;
  325|  1.42k|    }
  326|  18.1k|    len -= opq_len;
  327|       |
  328|       |    /* Pull properties.  The format of these properties differs from used in
  329|       |     * OF1.4+ so we can't use the common property functions. */
  330|  23.8k|    while (len > 0) {
  ------------------
  |  Branch (330:12): [True: 8.69k, False: 15.1k]
  ------------------
  331|  8.69k|        const struct ofp10_queue_prop_header *hdr;
  332|  8.69k|        unsigned int property;
  333|  8.69k|        unsigned int prop_len;
  334|  8.69k|        enum ofperr error = 0;
  335|       |
  336|  8.69k|        hdr = ofpbuf_at_assert(msg, 0, sizeof *hdr);
  337|  8.69k|        prop_len = ntohs(hdr->len);
  338|  8.69k|        if (prop_len < sizeof *hdr || prop_len > len || prop_len % 8) {
  ------------------
  |  Branch (338:13): [True: 118, False: 8.57k]
  |  Branch (338:39): [True: 1.01k, False: 7.56k]
  |  Branch (338:57): [True: 1.52k, False: 6.04k]
  ------------------
  339|  2.65k|            return OFPERR_OFPBRC_BAD_LEN;
  340|  2.65k|        }
  341|       |
  342|  6.04k|        property = ntohs(hdr->property);
  343|  6.04k|        switch (property) {
  344|     54|        case OFPQT10_MIN_RATE:
  ------------------
  |  Branch (344:9): [True: 54, False: 5.98k]
  ------------------
  345|     54|            error = parse_ofp10_queue_rate(hdr, &queue->min_rate);
  346|     54|            break;
  347|       |
  348|  1.43k|        case OFPQT11_MAX_RATE:
  ------------------
  |  Branch (348:9): [True: 1.43k, False: 4.61k]
  ------------------
  349|  1.43k|            error = parse_ofp10_queue_rate(hdr, &queue->max_rate);
  350|  1.43k|            break;
  351|       |
  352|  4.55k|        default:
  ------------------
  |  Branch (352:9): [True: 4.55k, False: 1.48k]
  ------------------
  353|  4.55k|            VLOG_INFO_RL(&rl, "unknown queue property %u", property);
  ------------------
  |  |  225|  4.55k|#define VLOG_INFO_RL(RL, ...) VLOG_RL(RL, VLL_INFO, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  4.55k|    do {                                                                \
  |  |  |  |  288|  4.55k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  4.55k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 4.55k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  4.55k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 4.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|  4.55k|            break;
  355|  6.04k|        }
  356|  6.04k|        if (error) {
  ------------------
  |  Branch (356:13): [True: 356, False: 5.68k]
  ------------------
  357|    356|            return error;
  358|    356|        }
  359|       |
  360|  5.68k|        ofpbuf_pull(msg, prop_len);
  361|  5.68k|        len -= prop_len;
  362|  5.68k|    }
  363|  15.1k|    return 0;
  364|  18.1k|}
ofp-queue.c:parse_ofp10_queue_rate:
  268|  1.48k|{
  269|  1.48k|    const struct ofp10_queue_prop_rate *oqpr;
  270|       |
  271|  1.48k|    if (hdr->len == htons(sizeof *oqpr)) {
  ------------------
  |  Branch (271:9): [True: 1.12k, False: 356]
  ------------------
  272|  1.12k|        oqpr = (const struct ofp10_queue_prop_rate *) hdr;
  273|  1.12k|        *rate = ntohs(oqpr->rate);
  274|  1.12k|        return 0;
  275|  1.12k|    } else {
  276|    356|        return OFPERR_OFPBRC_BAD_LEN;
  277|    356|    }
  278|  1.48k|}
ofp-queue.c:compare_queues:
  474|  14.5k|{
  475|  14.5k|    const struct ofputil_queue_config *a = a_;
  476|  14.5k|    const struct ofputil_queue_config *b = b_;
  477|       |
  478|  14.5k|    uint16_t ap = ofp_to_u16(a->port);
  479|  14.5k|    uint16_t bp = ofp_to_u16(b->port);
  480|  14.5k|    if (ap != bp) {
  ------------------
  |  Branch (480:9): [True: 291, False: 14.2k]
  ------------------
  481|    291|        return ap < bp ? -1 : 1;
  ------------------
  |  Branch (481:16): [True: 96, False: 195]
  ------------------
  482|    291|    }
  483|       |
  484|  14.2k|    uint32_t aq = a->queue;
  485|  14.2k|    uint32_t bq = b->queue;
  486|  14.2k|    return aq < bq ? -1 : aq > bq;
  ------------------
  |  Branch (486:12): [True: 3.89k, False: 10.3k]
  ------------------
  487|  14.5k|}
ofp-queue.c:print_queue_rate:
  463|  36.0k|{
  464|  36.0k|    if (rate <= 1000) {
  ------------------
  |  Branch (464:9): [True: 3.32k, False: 32.6k]
  ------------------
  465|  3.32k|        ds_put_format(string, " %s:%u.%u%%", name, rate / 10, rate % 10);
  466|  32.6k|    } else if (rate < UINT16_MAX) {
  ------------------
  |  Branch (466:16): [True: 219, False: 32.4k]
  ------------------
  467|    219|        ds_put_format(string, " %s:(disabled)", name);
  468|    219|    }
  469|  36.0k|}
ofp-queue.c:ofputil_pull_ofp14_queue_stats:
  699|  10.6k|{
  700|  10.6k|    const struct ofp14_queue_stats *qs14;
  701|  10.6k|    size_t len;
  702|       |
  703|  10.6k|    qs14 = ofpbuf_try_pull(msg, sizeof *qs14);
  704|  10.6k|    if (!qs14) {
  ------------------
  |  Branch (704:9): [True: 226, False: 10.4k]
  ------------------
  705|    226|        return OFPERR_OFPBRC_BAD_LEN;
  706|    226|    }
  707|       |
  708|  10.4k|    len = ntohs(qs14->length);
  709|  10.4k|    if (len < sizeof *qs14 || len - sizeof *qs14 > msg->size) {
  ------------------
  |  Branch (709:9): [True: 678, False: 9.74k]
  |  Branch (709:31): [True: 1.39k, False: 8.35k]
  ------------------
  710|  2.06k|        return OFPERR_OFPBRC_BAD_LEN;
  711|  2.06k|    }
  712|  8.35k|    ofpbuf_pull(msg, len - sizeof *qs14);
  713|       |
  714|       |    /* No properties yet defined, so ignore them for now. */
  715|       |
  716|  8.35k|    return ofputil_queue_stats_from_ofp13(oqs, &qs14->qs);
  717|  10.4k|}
ofp-queue.c:ofputil_queue_stats_from_ofp13:
  686|  10.1k|{
  687|  10.1k|    enum ofperr error = ofputil_queue_stats_from_ofp11(oqs, &qs13->qs);
  688|  10.1k|    if (!error) {
  ------------------
  |  Branch (688:9): [True: 3.40k, False: 6.77k]
  ------------------
  689|  3.40k|        oqs->duration_sec = ntohl(qs13->duration_sec);
  690|  3.40k|        oqs->duration_nsec = ntohl(qs13->duration_nsec);
  691|  3.40k|    }
  692|       |
  693|  10.1k|    return error;
  694|  10.1k|}
ofp-queue.c:ofputil_queue_stats_from_ofp11:
  666|  12.2k|{
  667|  12.2k|    enum ofperr error;
  668|       |
  669|  12.2k|    error = ofputil_port_from_ofp11(qs11->port_no, &oqs->port_no);
  670|  12.2k|    if (error) {
  ------------------
  |  Branch (670:9): [True: 7.34k, False: 4.94k]
  ------------------
  671|  7.34k|        return error;
  672|  7.34k|    }
  673|       |
  674|  4.94k|    oqs->queue_id = ntohl(qs11->queue_id);
  675|  4.94k|    oqs->tx_bytes = ntohll(qs11->tx_bytes);
  676|  4.94k|    oqs->tx_packets = ntohll(qs11->tx_packets);
  677|  4.94k|    oqs->tx_errors = ntohll(qs11->tx_errors);
  678|  4.94k|    oqs->duration_sec = oqs->duration_nsec = UINT32_MAX;
  679|       |
  680|  4.94k|    return 0;
  681|  12.2k|}
ofp-queue.c:ofputil_queue_stats_from_ofp10:
  652|  12.2k|{
  653|  12.2k|    oqs->port_no = u16_to_ofp(ntohs(qs10->port_no));
  654|  12.2k|    oqs->queue_id = ntohl(qs10->queue_id);
  655|  12.2k|    oqs->tx_bytes = ntohll(get_32aligned_be64(&qs10->tx_bytes));
  656|  12.2k|    oqs->tx_packets = ntohll(get_32aligned_be64(&qs10->tx_packets));
  657|  12.2k|    oqs->tx_errors = ntohll(get_32aligned_be64(&qs10->tx_errors));
  658|  12.2k|    oqs->duration_sec = oqs->duration_nsec = UINT32_MAX;
  659|       |
  660|  12.2k|    return 0;
  661|  12.2k|}
ofp-queue.c:print_queue_stat:
  866|  25.8k|{
  867|  25.8k|    ds_put_cstr(string, leader);
  868|  25.8k|    if (stat != UINT64_MAX) {
  ------------------
  |  Branch (868:9): [True: 19.7k, False: 6.13k]
  ------------------
  869|  19.7k|        ds_put_format(string, "%"PRIu64, stat);
  870|  19.7k|    } else {
  871|  6.13k|        ds_put_char(string, '?');
  872|  6.13k|    }
  873|  25.8k|    if (more) {
  ------------------
  |  Branch (873:9): [True: 25.8k, False: 0]
  ------------------
  874|  25.8k|        ds_put_cstr(string, ", ");
  875|  25.8k|    } else {
  876|      0|        ds_put_cstr(string, "\n");
  877|      0|    }
  878|  25.8k|}

ofputil_pull_switch_features:
   71|  3.40k|{
   72|  3.40k|    const struct ofp_header *oh = b->data;
   73|  3.40k|    enum ofpraw raw = ofpraw_pull_assert(b);
   74|  3.40k|    const struct ofp_switch_features *osf = ofpbuf_pull(b, sizeof *osf);
   75|  3.40k|    features->datapath_id = ntohll(osf->datapath_id);
   76|  3.40k|    features->n_buffers = ntohl(osf->n_buffers);
   77|  3.40k|    features->n_tables = osf->n_tables;
   78|  3.40k|    features->auxiliary_id = 0;
   79|       |
   80|  3.40k|    features->capabilities = ntohl(osf->capabilities) &
   81|  3.40k|        ofputil_capabilities_mask(oh->version);
   82|       |
   83|  3.40k|    if (raw == OFPRAW_OFPT10_FEATURES_REPLY) {
  ------------------
  |  Branch (83:9): [True: 1.69k, False: 1.71k]
  ------------------
   84|  1.69k|        if (osf->capabilities & htonl(OFPC10_STP)) {
  ------------------
  |  Branch (84:13): [True: 570, False: 1.12k]
  ------------------
   85|    570|            features->capabilities |= OFPUTIL_C_STP;
   86|    570|        }
   87|  1.69k|        features->ofpacts = ofpact_bitmap_from_openflow(osf->actions,
   88|  1.69k|                                                        OFP10_VERSION);
   89|  1.71k|    } else if (raw == OFPRAW_OFPT11_FEATURES_REPLY
  ------------------
  |  Branch (89:16): [True: 245, False: 1.46k]
  ------------------
   90|  1.71k|               || raw == OFPRAW_OFPT13_FEATURES_REPLY) {
  ------------------
  |  Branch (90:19): [True: 1.46k, False: 0]
  ------------------
   91|  1.71k|        if (osf->capabilities & htonl(OFPC11_GROUP_STATS)) {
  ------------------
  |  Branch (91:13): [True: 1.01k, False: 699]
  ------------------
   92|  1.01k|            features->capabilities |= OFPUTIL_C_GROUP_STATS;
   93|  1.01k|        }
   94|  1.71k|        features->ofpacts = 0;
   95|  1.71k|        if (raw == OFPRAW_OFPT13_FEATURES_REPLY) {
  ------------------
  |  Branch (95:13): [True: 1.46k, False: 245]
  ------------------
   96|  1.46k|            features->auxiliary_id = osf->auxiliary_id;
   97|  1.46k|        }
   98|  1.71k|    } else {
   99|      0|        return OFPERR_OFPBRC_BAD_VERSION;
  100|      0|    }
  101|       |
  102|  3.40k|    return 0;
  103|  3.40k|}
ofputil_switch_features_format:
  255|  3.40k|{
  256|  3.40k|    ds_put_format(s, " dpid:%016"PRIx64"\n", features->datapath_id);
  257|       |
  258|  3.40k|    ds_put_format(s, "n_tables:%"PRIu8", n_buffers:%"PRIu32,
  259|  3.40k|                  features->n_tables, features->n_buffers);
  260|  3.40k|    if (features->auxiliary_id) {
  ------------------
  |  Branch (260:9): [True: 943, False: 2.46k]
  ------------------
  261|    943|        ds_put_format(s, ", auxiliary_id:%"PRIu8, features->auxiliary_id);
  262|    943|    }
  263|  3.40k|    ds_put_char(s, '\n');
  264|       |
  265|  3.40k|    ds_put_cstr(s, "capabilities: ");
  266|  3.40k|    ofp_print_bit_names(s, features->capabilities,
  267|  3.40k|                        ofputil_capabilities_to_name, ' ');
  268|  3.40k|    ds_put_char(s, '\n');
  269|       |
  270|  3.40k|    if (features->ofpacts) {
  ------------------
  |  Branch (270:9): [True: 1.66k, False: 1.74k]
  ------------------
  271|  1.66k|        ds_put_cstr(s, "actions: ");
  272|  1.66k|        ofpact_bitmap_format(features->ofpacts, s);
  273|  1.66k|        ds_put_char(s, '\n');
  274|  1.66k|    }
  275|  3.40k|}
ofputil_frag_handling_to_string:
  279|  3.26k|{
  280|  3.26k|    switch (frag) {
  ------------------
  |  Branch (280:13): [True: 3.26k, False: 0]
  ------------------
  281|  1.98k|    case OFPUTIL_FRAG_NORMAL:   return "normal";
  ------------------
  |  Branch (281:5): [True: 1.98k, False: 1.28k]
  ------------------
  282|     64|    case OFPUTIL_FRAG_DROP:     return "drop";
  ------------------
  |  Branch (282:5): [True: 64, False: 3.20k]
  ------------------
  283|  1.06k|    case OFPUTIL_FRAG_REASM:    return "reassemble";
  ------------------
  |  Branch (283:5): [True: 1.06k, False: 2.19k]
  ------------------
  284|    151|    case OFPUTIL_FRAG_NX_MATCH: return "nx-match";
  ------------------
  |  Branch (284:5): [True: 151, False: 3.11k]
  ------------------
  285|  3.26k|    }
  286|       |
  287|      0|    OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  288|  3.26k|}
ofputil_decode_get_config_reply:
  339|  2.56k|{
  340|  2.56k|    ofputil_decode_switch_config(oh, config);
  341|  2.56k|}
ofputil_decode_set_config:
  346|  1.86k|{
  347|  1.86k|    return (ofputil_decode_switch_config(oh, config)
  ------------------
  |  Branch (347:13): [True: 701, False: 1.15k]
  ------------------
  348|  1.86k|            ? 0
  349|  1.86k|            : OFPERR_OFPSCFC_BAD_FLAGS);
  350|  1.86k|}
ofputil_switch_config_format:
  386|  3.26k|{
  387|  3.26k|    ds_put_format(s, " frags=%s",
  388|  3.26k|                  ofputil_frag_handling_to_string(config->frag));
  389|       |
  390|  3.26k|    if (config->invalid_ttl_to_controller > 0) {
  ------------------
  |  Branch (390:9): [True: 1.21k, False: 2.05k]
  ------------------
  391|  1.21k|        ds_put_format(s, " invalid_ttl_to_controller");
  392|  1.21k|    }
  393|       |
  394|  3.26k|    ds_put_format(s, " miss_send_len=%"PRIu16"\n", config->miss_send_len);
  395|  3.26k|}
ofp-switch.c:ofputil_capabilities_mask:
   44|  3.40k|{
   45|       |    /* Handle capabilities whose bit is unique for all OpenFlow versions */
   46|  3.40k|    switch (ofp_version) {
   47|  1.69k|    case OFP10_VERSION:
  ------------------
  |  Branch (47:5): [True: 1.69k, False: 1.71k]
  ------------------
   48|  1.77k|    case OFP11_VERSION:
  ------------------
  |  Branch (48:5): [True: 85, False: 3.31k]
  ------------------
   49|  1.77k|        return OFPC_COMMON | OFPC_ARP_MATCH_IP;
  ------------------
  |  |   30|  1.77k|#define OFPC_COMMON (OFPC_FLOW_STATS | OFPC_TABLE_STATS | OFPC_PORT_STATS | \
  |  |   31|  1.77k|                     OFPC_IP_REASM | OFPC_QUEUE_STATS)
  ------------------
   50|    160|    case OFP12_VERSION:
  ------------------
  |  Branch (50:5): [True: 160, False: 3.24k]
  ------------------
   51|    676|    case OFP13_VERSION:
  ------------------
  |  Branch (51:5): [True: 516, False: 2.88k]
  ------------------
   52|    676|        return OFPC_COMMON | OFPC12_PORT_BLOCKED;
  ------------------
  |  |   30|    676|#define OFPC_COMMON (OFPC_FLOW_STATS | OFPC_TABLE_STATS | OFPC_PORT_STATS | \
  |  |   31|    676|                     OFPC_IP_REASM | OFPC_QUEUE_STATS)
  ------------------
   53|     77|    case OFP14_VERSION:
  ------------------
  |  Branch (53:5): [True: 77, False: 3.32k]
  ------------------
   54|    949|    case OFP15_VERSION:
  ------------------
  |  Branch (54:5): [True: 872, False: 2.53k]
  ------------------
   55|    949|        return OFPC_COMMON | OFPC12_PORT_BLOCKED | OFPC14_BUNDLES
  ------------------
  |  |   30|    949|#define OFPC_COMMON (OFPC_FLOW_STATS | OFPC_TABLE_STATS | OFPC_PORT_STATS | \
  |  |   31|    949|                     OFPC_IP_REASM | OFPC_QUEUE_STATS)
  ------------------
   56|    949|            | OFPC14_FLOW_MONITORING;
   57|      0|    default:
  ------------------
  |  Branch (57:5): [True: 0, False: 3.40k]
  ------------------
   58|       |        /* Caller needs to check osf->header.version itself */
   59|      0|        return 0;
   60|  3.40k|    }
   61|  3.40k|}
ofp-switch.c:ofputil_capabilities_to_name:
  232|  9.75k|{
  233|  9.75k|    enum ofputil_capabilities capabilities = bit;
  234|       |
  235|  9.75k|    switch (capabilities) {
  ------------------
  |  Branch (235:13): [True: 9.75k, False: 0]
  ------------------
  236|  1.92k|    case OFPUTIL_C_FLOW_STATS:   return "FLOW_STATS";
  ------------------
  |  Branch (236:5): [True: 1.92k, False: 7.82k]
  ------------------
  237|  1.06k|    case OFPUTIL_C_TABLE_STATS:  return "TABLE_STATS";
  ------------------
  |  Branch (237:5): [True: 1.06k, False: 8.69k]
  ------------------
  238|  1.27k|    case OFPUTIL_C_PORT_STATS:   return "PORT_STATS";
  ------------------
  |  Branch (238:5): [True: 1.27k, False: 8.48k]
  ------------------
  239|  1.89k|    case OFPUTIL_C_IP_REASM:     return "IP_REASM";
  ------------------
  |  Branch (239:5): [True: 1.89k, False: 7.85k]
  ------------------
  240|    807|    case OFPUTIL_C_QUEUE_STATS:  return "QUEUE_STATS";
  ------------------
  |  Branch (240:5): [True: 807, False: 8.94k]
  ------------------
  241|    468|    case OFPUTIL_C_ARP_MATCH_IP: return "ARP_MATCH_IP";
  ------------------
  |  Branch (241:5): [True: 468, False: 9.28k]
  ------------------
  242|    570|    case OFPUTIL_C_STP:          return "STP";
  ------------------
  |  Branch (242:5): [True: 570, False: 9.18k]
  ------------------
  243|  1.01k|    case OFPUTIL_C_GROUP_STATS:  return "GROUP_STATS";
  ------------------
  |  Branch (243:5): [True: 1.01k, False: 8.74k]
  ------------------
  244|    334|    case OFPUTIL_C_PORT_BLOCKED: return "PORT_BLOCKED";
  ------------------
  |  Branch (244:5): [True: 334, False: 9.42k]
  ------------------
  245|    304|    case OFPUTIL_C_BUNDLES:      return "BUNDLES";
  ------------------
  |  Branch (245:5): [True: 304, False: 9.45k]
  ------------------
  246|     99|    case OFPUTIL_C_FLOW_MONITORING: return "FLOW_MONITORING";
  ------------------
  |  Branch (246:5): [True: 99, False: 9.65k]
  ------------------
  247|  9.75k|    }
  248|       |
  249|      0|    return NULL;
  250|  9.75k|}
ofp-switch.c:ofputil_decode_switch_config:
  316|  4.42k|{
  317|  4.42k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
  318|  4.42k|    ofpraw_pull_assert(&b);
  319|       |
  320|  4.42k|    const struct ofp_switch_config *osc = ofpbuf_pull(&b, sizeof *osc);
  321|  4.42k|    config->frag = ntohs(osc->flags) & OFPC_FRAG_MASK;
  322|  4.42k|    config->miss_send_len = ntohs(osc->miss_send_len);
  323|       |
  324|  4.42k|    ovs_be16 valid_mask = htons(OFPC_FRAG_MASK);
  325|  4.42k|    if (oh->version < OFP13_VERSION) {
  ------------------
  |  Branch (325:9): [True: 2.27k, False: 2.15k]
  ------------------
  326|  2.27k|        const ovs_be16 ttl_bit = htons(OFPC_INVALID_TTL_TO_CONTROLLER);
  327|  2.27k|        valid_mask |= ttl_bit;
  328|  2.27k|        config->invalid_ttl_to_controller = (osc->flags & ttl_bit) != 0;
  329|  2.27k|    } else {
  330|  2.15k|        config->invalid_ttl_to_controller = -1;
  331|  2.15k|    }
  332|       |
  333|  4.42k|    return !(osc->flags & ~valid_mask);
  334|  4.42k|}

ofputil_table_miss_to_string:
   46|  20.4k|{
   47|  20.4k|    switch (miss) {
   48|      0|    case OFPUTIL_TABLE_MISS_DEFAULT: return "default";
  ------------------
  |  Branch (48:5): [True: 0, False: 20.4k]
  ------------------
   49|  15.4k|    case OFPUTIL_TABLE_MISS_CONTROLLER: return "controller";
  ------------------
  |  Branch (49:5): [True: 15.4k, False: 5.01k]
  ------------------
   50|  3.24k|    case OFPUTIL_TABLE_MISS_CONTINUE: return "continue";
  ------------------
  |  Branch (50:5): [True: 3.24k, False: 17.2k]
  ------------------
   51|  1.76k|    case OFPUTIL_TABLE_MISS_DROP: return "drop";
  ------------------
  |  Branch (51:5): [True: 1.76k, False: 18.6k]
  ------------------
   52|      0|    default: return "***error***";
  ------------------
  |  Branch (52:5): [True: 0, False: 20.4k]
  ------------------
   53|  20.4k|    }
   54|  20.4k|}
ofputil_table_eviction_to_string:
   58|  3.64k|{
   59|  3.64k|    switch (eviction) {
   60|      0|    case OFPUTIL_TABLE_EVICTION_DEFAULT: return "default";
  ------------------
  |  Branch (60:5): [True: 0, False: 3.64k]
  ------------------
   61|    991|    case OFPUTIL_TABLE_EVICTION_ON: return "on";
  ------------------
  |  Branch (61:5): [True: 991, False: 2.65k]
  ------------------
   62|  2.54k|    case OFPUTIL_TABLE_EVICTION_OFF: return "off";
  ------------------
  |  Branch (62:5): [True: 2.54k, False: 1.10k]
  ------------------
   63|    113|    default: return "***error***";
  ------------------
  |  Branch (63:5): [True: 113, False: 3.53k]
  ------------------
   64|  3.64k|    }
   65|  3.64k|}
ofputil_table_vacancy_to_string:
   69|  3.64k|{
   70|  3.64k|    switch (vacancy) {
   71|      0|    case OFPUTIL_TABLE_VACANCY_DEFAULT: return "default";
  ------------------
  |  Branch (71:5): [True: 0, False: 3.64k]
  ------------------
   72|  1.57k|    case OFPUTIL_TABLE_VACANCY_ON: return "on";
  ------------------
  |  Branch (72:5): [True: 1.57k, False: 2.07k]
  ------------------
   73|  2.07k|    case OFPUTIL_TABLE_VACANCY_OFF: return "off";
  ------------------
  |  Branch (73:5): [True: 2.07k, False: 1.57k]
  ------------------
   74|      0|    default: return "***error***";
  ------------------
  |  Branch (74:5): [True: 0, False: 3.64k]
  ------------------
   75|  3.64k|    }
   76|  3.64k|}
ofputil_table_map_get_name:
  123|   157k|{
  124|   157k|    struct namemap_node *node
  125|   157k|        = map ? namemap_find_by_number(&map->map, table_id) : NULL;
  ------------------
  |  Branch (125:11): [True: 0, False: 157k]
  ------------------
  126|   157k|    return node && !node->duplicate ? node->name : NULL;
  ------------------
  |  Branch (126:12): [True: 0, False: 157k]
  |  Branch (126:20): [True: 0, False: 0]
  ------------------
  127|   157k|}
ofputil_format_table:
  201|  91.5k|{
  202|  91.5k|    const char *table_name = ofputil_table_map_get_name(table_map, table);
  203|  91.5k|    if (table_name) {
  ------------------
  |  Branch (203:9): [True: 0, False: 91.5k]
  ------------------
  204|      0|        namemap_put_name(table_name, s);
  205|  91.5k|    } else {
  206|       |        ds_put_format(s, "%"PRIu8, table);
  207|  91.5k|    }
  208|  91.5k|}
ofputil_decode_table_features:
  375|  10.9k|{
  376|  10.9k|    bool loose = raw_properties != NULL;
  377|       |
  378|  10.9k|    memset(tf, 0, sizeof *tf);
  379|       |
  380|  10.9k|    if (!msg->header) {
  ------------------
  |  Branch (380:9): [True: 8.70k, False: 2.26k]
  ------------------
  381|  8.70k|        ofpraw_pull_assert(msg);
  382|  8.70k|    }
  383|       |
  384|  10.9k|    if (!msg->size) {
  ------------------
  |  Branch (384:9): [True: 327, False: 10.6k]
  ------------------
  385|    327|        return EOF;
  386|    327|    }
  387|       |
  388|  10.6k|    const struct ofp_header *oh = msg->header;
  389|  10.6k|    struct ofp13_table_features *otf = msg->data;
  390|  10.6k|    if (msg->size < sizeof *otf) {
  ------------------
  |  Branch (390:9): [True: 1.10k, False: 9.53k]
  ------------------
  391|  1.10k|        return OFPERR_OFPBPC_BAD_LEN;
  392|  1.10k|    }
  393|       |
  394|  9.53k|    unsigned int len = ntohs(otf->length);
  395|  9.53k|    if (len < sizeof *otf || len % 8 || len > msg->size) {
  ------------------
  |  Branch (395:9): [True: 212, False: 9.32k]
  |  Branch (395:30): [True: 149, False: 9.17k]
  |  Branch (395:41): [True: 56, False: 9.11k]
  ------------------
  396|    417|        return OFPERR_OFPBPC_BAD_LEN;
  397|    417|    }
  398|       |
  399|  9.11k|    if (oh->version >= OFP15_VERSION) {
  ------------------
  |  Branch (399:9): [True: 7.80k, False: 1.31k]
  ------------------
  400|  7.80k|        if (!ofp15_table_features_command_is_valid(otf->command)) {
  ------------------
  |  Branch (400:13): [True: 184, False: 7.61k]
  ------------------
  401|    184|            return OFPERR_OFPTFFC_BAD_COMMAND;
  402|    184|        }
  403|  7.61k|        tf->command = otf->command;
  404|  7.61k|    } else {
  405|  1.31k|        tf->command = OFPTFC15_REPLACE;
  406|  1.31k|    }
  407|       |
  408|  8.93k|    tf->table_id = otf->table_id;
  409|  8.93k|    if (tf->table_id == OFPTT_ALL) {
  ------------------
  |  Branch (409:9): [True: 34, False: 8.89k]
  ------------------
  410|     34|        return OFPERR_OFPTFFC_BAD_TABLE;
  411|     34|    }
  412|       |
  413|  8.89k|    ovs_strlcpy_arrays(tf->name, otf->name);
  ------------------
  |  |  209|  8.89k|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|  8.89k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 8.89k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|  8.89k|    tf->metadata_match = otf->metadata_match;
  415|  8.89k|    tf->metadata_write = otf->metadata_write;
  416|  8.89k|    tf->miss_config = OFPUTIL_TABLE_MISS_DEFAULT;
  417|  8.89k|    if (oh->version >= OFP14_VERSION) {
  ------------------
  |  Branch (417:9): [True: 8.80k, False: 88]
  ------------------
  418|  8.80k|        uint32_t caps = ntohl(otf->capabilities);
  419|  8.80k|        tf->supports_eviction = (caps & OFPTC14_EVICTION) != 0;
  420|  8.80k|        tf->supports_vacancy_events = (caps & OFPTC14_VACANCY_EVENTS) != 0;
  421|  8.80k|    } else {
  422|     88|        tf->supports_eviction = -1;
  423|     88|        tf->supports_vacancy_events = -1;
  424|     88|    }
  425|  8.89k|    tf->max_entries = ntohl(otf->max_entries);
  426|       |
  427|  8.89k|    struct ofpbuf properties = ofpbuf_const_initializer(ofpbuf_pull(msg, len),
  428|  8.89k|                                                        len);
  429|  8.89k|    ofpbuf_pull(&properties, sizeof *otf);
  430|  8.89k|    tf->any_properties = properties.size > 0;
  431|  8.89k|    if (raw_properties) {
  ------------------
  |  Branch (431:9): [True: 8.89k, False: 0]
  ------------------
  432|  8.89k|        *raw_properties = properties;
  433|  8.89k|    }
  434|  8.89k|    uint32_t seen = 0;
  435|  22.0k|    while (properties.size > 0) {
  ------------------
  |  Branch (435:12): [True: 18.4k, False: 3.60k]
  ------------------
  436|  18.4k|        struct ofpbuf payload;
  437|  18.4k|        enum ofperr error;
  438|  18.4k|        uint64_t type;
  439|       |
  440|  18.4k|        error = pull_table_feature_property(&properties, &payload, &type);
  441|  18.4k|        if (error) {
  ------------------
  |  Branch (441:13): [True: 1.71k, False: 16.7k]
  ------------------
  442|  1.71k|            return error;
  443|  1.71k|        }
  444|       |
  445|  16.7k|        if (type < 32) {
  ------------------
  |  Branch (445:13): [True: 13.9k, False: 2.77k]
  ------------------
  446|  13.9k|            uint32_t bit = 1u << type;
  447|  13.9k|            if (seen & bit) {
  ------------------
  |  Branch (447:17): [True: 94, False: 13.8k]
  ------------------
  448|     94|                return OFPERR_OFPTFFC_BAD_FEATURES;
  449|     94|            }
  450|  13.8k|            seen |= bit;
  451|  13.8k|        }
  452|       |
  453|  16.6k|        switch ((enum ofp13_table_feature_prop_type) type) {
  454|    419|        case OFPTFPT13_INSTRUCTIONS:
  ------------------
  |  Branch (454:9): [True: 419, False: 16.2k]
  ------------------
  455|    419|            error = parse_instruction_ids(&payload, loose,
  456|    419|                                          &tf->nonmiss.instructions);
  457|    419|            break;
  458|  1.10k|        case OFPTFPT13_INSTRUCTIONS_MISS:
  ------------------
  |  Branch (458:9): [True: 1.10k, False: 15.5k]
  ------------------
  459|  1.10k|            error = parse_instruction_ids(&payload, loose,
  460|  1.10k|                                          &tf->miss.instructions);
  461|  1.10k|            break;
  462|       |
  463|  1.36k|        case OFPTFPT13_NEXT_TABLES:
  ------------------
  |  Branch (463:9): [True: 1.36k, False: 15.2k]
  ------------------
  464|  1.36k|            error = parse_table_features_next_table(&payload,
  465|  1.36k|                                                    tf->nonmiss.next);
  466|  1.36k|            break;
  467|    552|        case OFPTFPT13_NEXT_TABLES_MISS:
  ------------------
  |  Branch (467:9): [True: 552, False: 16.1k]
  ------------------
  468|    552|            error = parse_table_features_next_table(&payload, tf->miss.next);
  469|    552|            break;
  470|       |
  471|     24|        case OFPTFPT13_WRITE_ACTIONS:
  ------------------
  |  Branch (471:9): [True: 24, False: 16.6k]
  ------------------
  472|     24|            error = parse_action_bitmap(&payload, oh->version,
  473|     24|                                        &tf->nonmiss.write.ofpacts);
  474|     24|            break;
  475|     29|        case OFPTFPT13_WRITE_ACTIONS_MISS:
  ------------------
  |  Branch (475:9): [True: 29, False: 16.6k]
  ------------------
  476|     29|            error = parse_action_bitmap(&payload, oh->version,
  477|     29|                                        &tf->miss.write.ofpacts);
  478|     29|            break;
  479|       |
  480|  2.60k|        case OFPTFPT13_APPLY_ACTIONS:
  ------------------
  |  Branch (480:9): [True: 2.60k, False: 14.0k]
  ------------------
  481|  2.60k|            error = parse_action_bitmap(&payload, oh->version,
  482|  2.60k|                                        &tf->nonmiss.apply.ofpacts);
  483|  2.60k|            break;
  484|    762|        case OFPTFPT13_APPLY_ACTIONS_MISS:
  ------------------
  |  Branch (484:9): [True: 762, False: 15.8k]
  ------------------
  485|    762|            error = parse_action_bitmap(&payload, oh->version,
  486|    762|                                        &tf->miss.apply.ofpacts);
  487|    762|            break;
  488|       |
  489|    552|        case OFPTFPT13_MATCH:
  ------------------
  |  Branch (489:9): [True: 552, False: 16.1k]
  ------------------
  490|    552|            error = parse_oxms(&payload, loose, &tf->match, &tf->mask);
  491|    552|            break;
  492|  1.12k|        case OFPTFPT13_WILDCARDS:
  ------------------
  |  Branch (492:9): [True: 1.12k, False: 15.5k]
  ------------------
  493|  1.12k|            error = parse_oxms(&payload, loose, &tf->wildcard, NULL);
  494|  1.12k|            break;
  495|       |
  496|  1.39k|        case OFPTFPT13_WRITE_SETFIELD:
  ------------------
  |  Branch (496:9): [True: 1.39k, False: 15.2k]
  ------------------
  497|  1.39k|            error = parse_oxms(&payload, loose,
  498|  1.39k|                               &tf->nonmiss.write.set_fields, NULL);
  499|  1.39k|            break;
  500|  1.77k|        case OFPTFPT13_WRITE_SETFIELD_MISS:
  ------------------
  |  Branch (500:9): [True: 1.77k, False: 14.8k]
  ------------------
  501|  1.77k|            error = parse_oxms(&payload, loose,
  502|  1.77k|                               &tf->miss.write.set_fields, NULL);
  503|  1.77k|            break;
  504|    146|        case OFPTFPT13_APPLY_SETFIELD:
  ------------------
  |  Branch (504:9): [True: 146, False: 16.5k]
  ------------------
  505|    146|            error = parse_oxms(&payload, loose,
  506|    146|                               &tf->nonmiss.apply.set_fields, NULL);
  507|    146|            break;
  508|  2.01k|        case OFPTFPT13_APPLY_SETFIELD_MISS:
  ------------------
  |  Branch (508:9): [True: 2.01k, False: 14.6k]
  ------------------
  509|  2.01k|            error = parse_oxms(&payload, loose,
  510|  2.01k|                               &tf->miss.apply.set_fields, NULL);
  511|  2.01k|            break;
  512|       |
  513|      0|        case OFPTFPT13_EXPERIMENTER:
  ------------------
  |  Branch (513:9): [True: 0, False: 16.6k]
  ------------------
  514|      0|        case OFPTFPT13_EXPERIMENTER_MISS:
  ------------------
  |  Branch (514:9): [True: 0, False: 16.6k]
  ------------------
  515|  2.79k|        default:
  ------------------
  |  Branch (515:9): [True: 2.79k, False: 13.8k]
  ------------------
  516|  2.79k|            error = OFPPROP_UNKNOWN(loose, "table features", type);
  ------------------
  |  |  144|  2.79k|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  517|  2.79k|            break;
  518|  16.6k|        }
  519|  16.6k|        if (error) {
  ------------------
  |  Branch (519:13): [True: 3.48k, False: 13.1k]
  ------------------
  520|  3.48k|            return error;
  521|  3.48k|        }
  522|  16.6k|    }
  523|       |
  524|       |    /* OpenFlow 1.3 and 1.4 always require all of the required properties.
  525|       |     * OpenFlow 1.5 requires all of them if any property is present. */
  526|  3.60k|    unsigned int missing = (seen & OFPTFPT13_REQUIRED) ^ OFPTFPT13_REQUIRED;
  ------------------
  |  |  276|  3.60k|#define OFPTFPT13_REQUIRED ((1u << OFPTFPT13_INSTRUCTIONS) |    \
  |  |  277|  3.60k|                            (1u << OFPTFPT13_NEXT_TABLES) |     \
  |  |  278|  3.60k|                            (1u << OFPTFPT13_WRITE_ACTIONS) |   \
  |  |  279|  3.60k|                            (1u << OFPTFPT13_APPLY_ACTIONS) |   \
  |  |  280|  3.60k|                            (1u << OFPTFPT13_MATCH) |           \
  |  |  281|  3.60k|                            (1u << OFPTFPT13_WILDCARDS) |       \
  |  |  282|  3.60k|                            (1u << OFPTFPT13_WRITE_SETFIELD) |  \
  |  |  283|  3.60k|                            (1u << OFPTFPT13_APPLY_SETFIELD))
  ------------------
                  unsigned int missing = (seen & OFPTFPT13_REQUIRED) ^ OFPTFPT13_REQUIRED;
  ------------------
  |  |  276|  3.60k|#define OFPTFPT13_REQUIRED ((1u << OFPTFPT13_INSTRUCTIONS) |    \
  |  |  277|  3.60k|                            (1u << OFPTFPT13_NEXT_TABLES) |     \
  |  |  278|  3.60k|                            (1u << OFPTFPT13_WRITE_ACTIONS) |   \
  |  |  279|  3.60k|                            (1u << OFPTFPT13_APPLY_ACTIONS) |   \
  |  |  280|  3.60k|                            (1u << OFPTFPT13_MATCH) |           \
  |  |  281|  3.60k|                            (1u << OFPTFPT13_WILDCARDS) |       \
  |  |  282|  3.60k|                            (1u << OFPTFPT13_WRITE_SETFIELD) |  \
  |  |  283|  3.60k|                            (1u << OFPTFPT13_APPLY_SETFIELD))
  ------------------
  527|  3.60k|    if (missing && (tf->any_properties || oh->version < OFP15_VERSION)) {
  ------------------
  |  Branch (527:9): [True: 3.60k, False: 0]
  |  Branch (527:21): [True: 904, False: 2.69k]
  |  Branch (527:43): [True: 437, False: 2.26k]
  ------------------
  528|  1.34k|        VLOG_WARN_RL(&rl,
  ------------------
  |  |  224|  1.34k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.34k|    do {                                                                \
  |  |  |  |  288|  1.34k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.34k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.34k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  1.34k|                     "table features message missing %u required "
  530|  1.34k|                     "properties, including property %d",
  531|  1.34k|                     count_1bits(missing), rightmost_1bit_idx(missing));
  532|  1.34k|        return OFPERR_OFPTFFC_BAD_FEATURES;
  533|  1.34k|    }
  534|       |
  535|       |    /* Copy nonmiss to miss when appropriate. */
  536|  2.26k|    if (tf->any_properties) {
  ------------------
  |  Branch (536:9): [True: 0, False: 2.26k]
  ------------------
  537|      0|        if (!(seen & (1u << OFPTFPT13_INSTRUCTIONS_MISS))) {
  ------------------
  |  Branch (537:13): [True: 0, False: 0]
  ------------------
  538|      0|            tf->miss.instructions = tf->nonmiss.instructions;
  539|      0|        }
  540|      0|        if (!(seen & (1u << OFPTFPT13_NEXT_TABLES_MISS))) {
  ------------------
  |  Branch (540:13): [True: 0, False: 0]
  ------------------
  541|      0|            memcpy(tf->miss.next, tf->nonmiss.next, sizeof tf->miss.next);
  542|      0|        }
  543|      0|        if (!(seen & (1u << OFPTFPT13_WRITE_ACTIONS_MISS))) {
  ------------------
  |  Branch (543:13): [True: 0, False: 0]
  ------------------
  544|      0|            tf->miss.write.ofpacts = tf->nonmiss.write.ofpacts;
  545|      0|        }
  546|      0|        if (!(seen & (1u << OFPTFPT13_APPLY_ACTIONS_MISS))) {
  ------------------
  |  Branch (546:13): [True: 0, False: 0]
  ------------------
  547|      0|            tf->miss.apply.ofpacts = tf->nonmiss.apply.ofpacts;
  548|      0|        }
  549|      0|        if (!(seen & (1u << OFPTFPT13_WRITE_SETFIELD_MISS))) {
  ------------------
  |  Branch (549:13): [True: 0, False: 0]
  ------------------
  550|      0|            tf->miss.write.set_fields = tf->nonmiss.write.set_fields;
  551|      0|        }
  552|      0|        if (!(seen & (1u << OFPTFPT13_APPLY_SETFIELD_MISS))) {
  ------------------
  |  Branch (552:13): [True: 0, False: 0]
  ------------------
  553|      0|            tf->miss.apply.set_fields = tf->nonmiss.apply.set_fields;
  554|      0|        }
  555|      0|    }
  556|       |
  557|       |    /* Fix inconsistencies:
  558|       |     *
  559|       |     *     - Turn on 'match' bits that are set in 'mask', because maskable
  560|       |     *       fields are matchable.
  561|       |     *
  562|       |     *     - Turn on 'wildcard' bits that are set in 'mask', because a field
  563|       |     *       that is arbitrarily maskable can be wildcarded entirely.
  564|       |     *
  565|       |     *     - Turn off 'wildcard' bits that are not in 'match', because a field
  566|       |     *       must be matchable for it to be meaningfully wildcarded. */
  567|  2.26k|    bitmap_or(tf->match.bm, tf->mask.bm, MFF_N_IDS);
  568|  2.26k|    bitmap_or(tf->wildcard.bm, tf->mask.bm, MFF_N_IDS);
  569|  2.26k|    bitmap_and(tf->wildcard.bm, tf->match.bm, MFF_N_IDS);
  570|       |
  571|  2.26k|    return 0;
  572|  3.60k|}
ofputil_decode_table_desc:
  729|  7.41k|{
  730|  7.41k|    memset(td, 0, sizeof *td);
  731|       |
  732|  7.41k|    if (!msg->header) {
  ------------------
  |  Branch (732:9): [True: 4.55k, False: 2.85k]
  ------------------
  733|  4.55k|        ofpraw_pull_assert(msg);
  734|  4.55k|    }
  735|       |
  736|  7.41k|    if (!msg->size) {
  ------------------
  |  Branch (736:9): [True: 1.03k, False: 6.38k]
  ------------------
  737|  1.03k|        return EOF;
  738|  1.03k|    }
  739|       |
  740|  6.38k|    struct ofp14_table_desc *otd = ofpbuf_try_pull(msg, sizeof *otd);
  741|  6.38k|    if (!otd) {
  ------------------
  |  Branch (741:9): [True: 0, False: 6.38k]
  ------------------
  742|      0|        VLOG_WARN_RL(&rl, "OFP14_TABLE_DESC reply has %"PRIu32" "
  ------------------
  |  |  224|      0|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|      0|    do {                                                                \
  |  |  |  |  288|      0|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|      0|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  743|      0|                     "leftover bytes at end", msg->size);
  744|      0|        return OFPERR_OFPBRC_BAD_LEN;
  745|      0|    }
  746|       |
  747|  6.38k|    td->table_id = otd->table_id;
  748|  6.38k|    size_t length = ntohs(otd->length);
  749|  6.38k|    if (length < sizeof *otd || length - sizeof *otd > msg->size) {
  ------------------
  |  Branch (749:9): [True: 1.02k, False: 5.35k]
  |  Branch (749:33): [True: 959, False: 4.39k]
  ------------------
  750|  1.98k|        VLOG_WARN_RL(&rl, "OFP14_TABLE_DESC reply claims invalid "
  ------------------
  |  |  224|  1.98k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.98k|    do {                                                                \
  |  |  |  |  288|  1.98k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  1.98k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.98k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.98k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.98k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  751|  1.98k|                     "length %"PRIuSIZE, length);
  752|  1.98k|        return OFPERR_OFPBRC_BAD_LEN;
  753|  1.98k|    }
  754|  4.39k|    length -= sizeof *otd;
  755|       |
  756|  4.39k|    td->eviction = ofputil_decode_table_eviction(otd->config, version);
  757|  4.39k|    td->vacancy = ofputil_decode_table_vacancy(otd->config, version);
  758|  4.39k|    td->eviction_flags = UINT32_MAX;
  759|       |
  760|  4.39k|    struct ofpbuf properties = ofpbuf_const_initializer(
  761|  4.39k|        ofpbuf_pull(msg, length), length);
  762|  5.36k|    while (properties.size > 0) {
  ------------------
  |  Branch (762:12): [True: 2.88k, False: 2.47k]
  ------------------
  763|  2.88k|        struct ofpbuf payload;
  764|  2.88k|        enum ofperr error;
  765|  2.88k|        uint64_t type;
  766|       |
  767|  2.88k|        error = ofpprop_pull(&properties, &payload, &type);
  768|  2.88k|        if (error) {
  ------------------
  |  Branch (768:13): [True: 514, False: 2.37k]
  ------------------
  769|    514|            return error;
  770|    514|        }
  771|       |
  772|  2.37k|        switch (type) {
  773|    452|        case OFPTMPT14_EVICTION:
  ------------------
  |  Branch (773:9): [True: 452, False: 1.92k]
  ------------------
  774|    452|            error = ofpprop_parse_u32(&payload, &td->eviction_flags);
  775|    452|            break;
  776|       |
  777|  1.46k|        case OFPTMPT14_VACANCY:
  ------------------
  |  Branch (777:9): [True: 1.46k, False: 909]
  ------------------
  778|  1.46k|            error = parse_table_desc_vacancy_property(&payload, td);
  779|  1.46k|            break;
  780|       |
  781|    457|        default:
  ------------------
  |  Branch (781:9): [True: 457, False: 1.91k]
  ------------------
  782|    457|            error = OFPPROP_UNKNOWN(true, "table_desc", type);
  ------------------
  |  |  144|    457|    ofpprop_unknown(&this_module, LOOSE, MSG, TYPE)
  ------------------
  783|    457|            break;
  784|  2.37k|        }
  785|       |
  786|  2.37k|        if (error) {
  ------------------
  |  Branch (786:13): [True: 1.40k, False: 972]
  ------------------
  787|  1.40k|            return error;
  788|  1.40k|        }
  789|  2.37k|    }
  790|       |
  791|  2.47k|    return 0;
  792|  4.39k|}
ofputil_table_desc_format:
  875|  2.47k|{
  876|  2.47k|    ds_put_format(s, "\n  table ");
  877|  2.47k|    ofputil_format_table(td->table_id, table_map, s);
  878|  2.47k|    ds_put_cstr(s, ":\n");
  879|  2.47k|    ds_put_format(s, "   eviction=%s eviction_flags=",
  880|  2.47k|                  ofputil_table_eviction_to_string(td->eviction));
  881|  2.47k|    ofputil_put_eviction_flags(s, td->eviction_flags);
  882|  2.47k|    ds_put_char(s, '\n');
  883|  2.47k|    ds_put_format(s, "   vacancy=%s",
  884|  2.47k|                  ofputil_table_vacancy_to_string(td->vacancy));
  885|  2.47k|    if (td->vacancy == OFPUTIL_TABLE_VACANCY_ON) {
  ------------------
  |  Branch (885:9): [True: 1.17k, False: 1.30k]
  ------------------
  886|  1.17k|        ds_put_format(s, " vacancy_down=%"PRIu8"%%",
  887|  1.17k|                      td->table_vacancy.vacancy_down);
  888|  1.17k|        ds_put_format(s, " vacancy_up=%"PRIu8"%%",
  889|  1.17k|                      td->table_vacancy.vacancy_up);
  890|  1.17k|        ds_put_format(s, " vacancy=%"PRIu8"%%",
  891|  1.17k|                      td->table_vacancy.vacancy);
  892|  1.17k|    }
  893|  2.47k|    ds_put_char(s, '\n');
  894|  2.47k|}
ofputil_decode_table_mod:
 1055|  8.53k|{
 1056|  8.53k|    memset(pm, 0, sizeof *pm);
 1057|  8.53k|    pm->miss = OFPUTIL_TABLE_MISS_DEFAULT;
 1058|  8.53k|    pm->eviction = OFPUTIL_TABLE_EVICTION_DEFAULT;
 1059|  8.53k|    pm->eviction_flags = UINT32_MAX;
 1060|  8.53k|    pm->vacancy = OFPUTIL_TABLE_VACANCY_DEFAULT;
 1061|       |
 1062|  8.53k|    struct ofpbuf b = ofpbuf_const_initializer(oh, ntohs(oh->length));
 1063|  8.53k|    enum ofpraw raw = ofpraw_pull_assert(&b);
 1064|  8.53k|    if (raw == OFPRAW_OFPT11_TABLE_MOD) {
  ------------------
  |  Branch (1064:9): [True: 1.49k, False: 7.04k]
  ------------------
 1065|  1.49k|        const struct ofp11_table_mod *otm = b.data;
 1066|       |
 1067|  1.49k|        pm->table_id = otm->table_id;
 1068|  1.49k|        pm->miss = ofputil_decode_table_miss(otm->config, oh->version);
 1069|  7.04k|    } else if (raw == OFPRAW_OFPT14_TABLE_MOD) {
  ------------------
  |  Branch (1069:16): [True: 7.04k, False: 0]
  ------------------
 1070|  7.04k|        const struct ofp14_table_mod *otm = ofpbuf_pull(&b, sizeof *otm);
 1071|       |
 1072|  7.04k|        pm->table_id = otm->table_id;
 1073|  7.04k|        pm->miss = ofputil_decode_table_miss(otm->config, oh->version);
 1074|  7.04k|        pm->eviction = ofputil_decode_table_eviction(otm->config, oh->version);
 1075|  7.04k|        pm->vacancy = ofputil_decode_table_vacancy(otm->config, oh->version);
 1076|  7.19k|        while (b.size > 0) {
  ------------------
  |  Branch (1076:16): [True: 6.03k, False: 1.16k]
  ------------------
 1077|  6.03k|            struct ofpbuf property;
 1078|  6.03k|            enum ofperr error;
 1079|  6.03k|            uint64_t type;
 1080|       |
 1081|  6.03k|            error = ofpprop_pull(&b, &property, &type);
 1082|  6.03k|            if (error) {
  ------------------
  |  Branch (1082:17): [True: 1.01k, False: 5.01k]
  ------------------
 1083|  1.01k|                return error;
 1084|  1.01k|            }
 1085|       |
 1086|  5.01k|            switch (type) {
 1087|    119|            case OFPTMPT14_EVICTION:
  ------------------
  |  Branch (1087:13): [True: 119, False: 4.89k]
  ------------------
 1088|    119|                error = ofpprop_parse_u32(&property, &pm->eviction);
 1089|    119|                break;
 1090|       |
 1091|  4.11k|            case OFPTMPT14_VACANCY:
  ------------------
  |  Branch (1091:13): [True: 4.11k, False: 907]
  ------------------
 1092|  4.11k|                error = parse_table_mod_vacancy_property(&property, pm);
 1093|  4.11k|                break;
 1094|       |
 1095|    788|            default:
  ------------------
  |  Branch (1095:13): [True: 788, False: 4.23k]
  ------------------
 1096|    788|                error = OFPERR_OFPBRC_BAD_TYPE;
 1097|    788|                break;
 1098|  5.01k|            }
 1099|       |
 1100|  5.01k|            if (error) {
  ------------------
  |  Branch (1100:17): [True: 4.86k, False: 156]
  ------------------
 1101|  4.86k|                return error;
 1102|  4.86k|            }
 1103|  5.01k|        }
 1104|  7.04k|    } else {
 1105|      0|        return OFPERR_OFPBRC_BAD_TYPE;
 1106|      0|    }
 1107|       |
 1108|  2.65k|    return 0;
 1109|  8.53k|}
ofputil_table_mod_format:
 1171|  2.65k|{
 1172|  2.65k|    if (tm->table_id == 0xff) {
  ------------------
  |  Branch (1172:9): [True: 1.03k, False: 1.62k]
  ------------------
 1173|  1.03k|        ds_put_cstr(s, " table_id: ALL_TABLES");
 1174|  1.62k|    } else {
 1175|  1.62k|        ds_put_format(s, " table_id=");
 1176|  1.62k|        ofputil_format_table(tm->table_id, table_map, s);
 1177|  1.62k|    }
 1178|       |
 1179|  2.65k|    if (tm->miss != OFPUTIL_TABLE_MISS_DEFAULT) {
  ------------------
  |  Branch (1179:9): [True: 1.41k, False: 1.24k]
  ------------------
 1180|  1.41k|        ds_put_format(s, ", flow_miss_config=%s",
 1181|  1.41k|                      ofputil_table_miss_to_string(tm->miss));
 1182|  1.41k|    }
 1183|  2.65k|    if (tm->eviction != OFPUTIL_TABLE_EVICTION_DEFAULT) {
  ------------------
  |  Branch (1183:9): [True: 1.16k, False: 1.49k]
  ------------------
 1184|  1.16k|        ds_put_format(s, ", eviction=%s",
 1185|  1.16k|                      ofputil_table_eviction_to_string(tm->eviction));
 1186|  1.16k|    }
 1187|  2.65k|    if (tm->eviction_flags != UINT32_MAX) {
  ------------------
  |  Branch (1187:9): [True: 0, False: 2.65k]
  ------------------
 1188|      0|        ds_put_cstr(s, "eviction_flags=");
 1189|      0|        ofputil_put_eviction_flags(s, tm->eviction_flags);
 1190|      0|    }
 1191|  2.65k|    if (tm->vacancy != OFPUTIL_TABLE_VACANCY_DEFAULT) {
  ------------------
  |  Branch (1191:9): [True: 1.16k, False: 1.49k]
  ------------------
 1192|  1.16k|        ds_put_format(s, ", vacancy=%s",
 1193|  1.16k|                      ofputil_table_vacancy_to_string(tm->vacancy));
 1194|  1.16k|        if (tm->vacancy == OFPUTIL_TABLE_VACANCY_ON) {
  ------------------
  |  Branch (1194:13): [True: 404, False: 764]
  ------------------
 1195|    404|            ds_put_format(s, " vacancy:%"PRIu8""
 1196|    404|                          ",%"PRIu8"", tm->table_vacancy.vacancy_down,
 1197|    404|                          tm->table_vacancy.vacancy_up);
 1198|    404|        }
 1199|  1.16k|    }
 1200|  2.65k|}
ofputil_table_features_format:
 1707|  40.5k|{
 1708|  40.5k|    if (!prev_features && features->command != OFPTFC15_REPLACE) {
  ------------------
  |  Branch (1708:9): [True: 6.24k, False: 34.2k]
  |  Branch (1708:27): [True: 230, False: 6.01k]
  ------------------
 1709|    230|        ds_put_format(s, "\n  command: %s",
 1710|    230|                      ofp15_table_features_command_to_string(
 1711|    230|                          features->command));
 1712|    230|    }
 1713|       |
 1714|  40.5k|    int table = features->table_id;
 1715|  40.5k|    int prev_table = prev_features ? prev_features->table_id : 0;
  ------------------
  |  Branch (1715:22): [True: 34.2k, False: 6.24k]
  ------------------
 1716|       |
 1717|  40.5k|    bool same_stats = !stats || (prev_stats
  ------------------
  |  Branch (1717:23): [True: 2.26k, False: 38.2k]
  |  Branch (1717:34): [True: 32.6k, False: 5.65k]
  ------------------
 1718|  32.6k|                                 && table_stats_equal(stats, prev_stats));
  ------------------
  |  Branch (1718:37): [True: 6.27k, False: 26.3k]
  ------------------
 1719|  40.5k|    bool same_features = prev_features && table_features_equal(features,
  ------------------
  |  Branch (1719:26): [True: 34.2k, False: 6.24k]
  |  Branch (1719:43): [True: 10.5k, False: 23.6k]
  ------------------
 1720|  34.2k|                                                               prev_features);
 1721|  40.5k|    if (same_stats && same_features && !features->name[0]) {
  ------------------
  |  Branch (1721:9): [True: 8.53k, False: 32.0k]
  |  Branch (1721:23): [True: 4.06k, False: 4.46k]
  |  Branch (1721:40): [True: 2.94k, False: 1.12k]
  ------------------
 1722|  2.94k|        if (*first_ditto < 0) {
  ------------------
  |  Branch (1722:13): [True: 1.31k, False: 1.63k]
  ------------------
 1723|  1.31k|            *first_ditto = table;
 1724|  1.31k|        }
 1725|  2.94k|        *last_ditto = table;
 1726|  2.94k|        return;
 1727|  2.94k|    }
 1728|  37.5k|    ofputil_table_features_format_finish(s, *first_ditto, *last_ditto);
 1729|  37.5k|    *first_ditto = -1;
 1730|       |
 1731|  37.5k|    ds_put_format(s, "\n  table %d", table);
 1732|  37.5k|    if (features->name[0]) {
  ------------------
  |  Branch (1732:9): [True: 21.7k, False: 15.8k]
  ------------------
 1733|  21.7k|        ds_put_format(s, " (\"%s\")", features->name);
 1734|  21.7k|    }
 1735|  37.5k|    ds_put_char(s, ':');
 1736|       |
 1737|  37.5k|    if (same_stats && same_features) {
  ------------------
  |  Branch (1737:9): [True: 5.59k, False: 32.0k]
  |  Branch (1737:23): [True: 1.12k, False: 4.46k]
  ------------------
 1738|  1.12k|        ds_put_cstr(s, " ditto");
 1739|  1.12k|        return;
 1740|  1.12k|    }
 1741|  36.4k|    ds_put_char(s, '\n');
 1742|  36.4k|    if (stats) {
  ------------------
  |  Branch (1742:9): [True: 34.6k, False: 1.85k]
  ------------------
 1743|  34.6k|        ds_put_format(s, "    active=%"PRIu32", ", stats->active_count);
 1744|  34.6k|        ds_put_format(s, "lookup=%"PRIu64", ", stats->lookup_count);
 1745|  34.6k|        ds_put_format(s, "matched=%"PRIu64"\n", stats->matched_count);
 1746|  34.6k|    }
 1747|  36.4k|    if (same_features) {
  ------------------
  |  Branch (1747:9): [True: 6.52k, False: 29.9k]
  ------------------
 1748|  6.52k|        if (!table_features_empty(features)) {
  ------------------
  |  Branch (1748:13): [True: 2.53k, False: 3.99k]
  ------------------
 1749|  2.53k|            ds_put_cstr(s, "    (same features)\n");
 1750|  2.53k|        }
 1751|  6.52k|        return;
 1752|  6.52k|    }
 1753|  29.9k|    if (features->metadata_match || features->metadata_write) {
  ------------------
  |  Branch (1753:9): [True: 11.8k, False: 18.1k]
  |  Branch (1753:37): [True: 1.31k, False: 16.7k]
  ------------------
 1754|  13.1k|        ds_put_format(s, "    metadata: match=%#"PRIx64" write=%#"PRIx64"\n",
 1755|  13.1k|                      ntohll(features->metadata_match),
 1756|  13.1k|                      ntohll(features->metadata_write));
 1757|  13.1k|    }
 1758|       |
 1759|  29.9k|    if (features->miss_config != OFPUTIL_TABLE_MISS_DEFAULT) {
  ------------------
  |  Branch (1759:9): [True: 19.0k, False: 10.9k]
  ------------------
 1760|  19.0k|        ds_put_format(s, "    config=%s\n",
 1761|  19.0k|                      ofputil_table_miss_to_string(features->miss_config));
 1762|  19.0k|    }
 1763|       |
 1764|  29.9k|    if (features->supports_eviction >= 0) {
  ------------------
  |  Branch (1764:9): [True: 1.85k, False: 28.0k]
  ------------------
 1765|  1.85k|        ds_put_format(s, "    eviction: %ssupported\n",
 1766|  1.85k|                      features->supports_eviction ? "" : "not ");
  ------------------
  |  Branch (1766:23): [True: 454, False: 1.40k]
  ------------------
 1767|       |
 1768|  1.85k|    }
 1769|  29.9k|    if (features->supports_vacancy_events >= 0) {
  ------------------
  |  Branch (1769:9): [True: 1.85k, False: 28.0k]
  ------------------
 1770|  1.85k|        ds_put_format(s, "    vacancy events: %ssupported\n",
 1771|  1.85k|                      features->supports_vacancy_events ? "" : "not ");
  ------------------
  |  Branch (1771:23): [True: 1.50k, False: 353]
  ------------------
 1772|       |
 1773|  1.85k|    }
 1774|       |
 1775|  29.9k|    if (features->max_entries) {
  ------------------
  |  Branch (1775:9): [True: 25.8k, False: 4.08k]
  ------------------
 1776|  25.8k|        ds_put_format(s, "    max_entries=%"PRIu32"\n", features->max_entries);
 1777|  25.8k|    }
 1778|       |
 1779|  29.9k|    const struct ofputil_table_instruction_features *prev_nonmiss
 1780|  29.9k|        = prev_features ? &prev_features->nonmiss : NULL;
  ------------------
  |  Branch (1780:11): [True: 23.6k, False: 6.24k]
  ------------------
 1781|  29.9k|    const struct ofputil_table_instruction_features *prev_miss
 1782|  29.9k|        = prev_features ? &prev_features->miss : NULL;
  ------------------
  |  Branch (1782:11): [True: 23.6k, False: 6.24k]
  ------------------
 1783|  29.9k|    if (prev_features
  ------------------
  |  Branch (1783:9): [True: 23.6k, False: 6.24k]
  ------------------
 1784|  23.6k|        && table_instruction_features_equal(&features->nonmiss, table,
  ------------------
  |  Branch (1784:12): [True: 9.79k, False: 13.9k]
  ------------------
 1785|  23.6k|                                            prev_nonmiss, prev_table)
 1786|  9.79k|        && table_instruction_features_equal(&features->miss, table,
  ------------------
  |  Branch (1786:12): [True: 9.79k, False: 0]
  ------------------
 1787|  9.79k|                                            prev_miss, prev_table)) {
 1788|  9.79k|        if (!table_instruction_features_empty(&features->nonmiss)) {
  ------------------
  |  Branch (1788:13): [True: 2.00k, False: 7.78k]
  ------------------
 1789|  2.00k|            ds_put_cstr(s, "    (same instructions)\n");
 1790|  2.00k|        }
 1791|  20.1k|    } else if (!table_instruction_features_equal(&features->nonmiss, table,
  ------------------
  |  Branch (1791:16): [True: 0, False: 20.1k]
  ------------------
 1792|  20.1k|                                                 &features->miss, table)) {
 1793|      0|        ds_put_cstr(s, "    instructions (other than table miss):\n");
 1794|      0|        print_table_instruction_features(s, &features->nonmiss, prev_nonmiss);
 1795|      0|        ds_put_cstr(s, "    instructions (table miss):\n");
 1796|      0|        print_table_instruction_features(s, &features->miss, prev_miss);
 1797|  20.1k|    } else if (!table_instruction_features_empty(&features->nonmiss)) {
  ------------------
  |  Branch (1797:16): [True: 16.5k, False: 3.56k]
  ------------------
 1798|  16.5k|        ds_put_cstr(s, "    instructions (table miss and others):\n");
 1799|  16.5k|        print_table_instruction_features(s, &features->nonmiss, prev_nonmiss);
 1800|  16.5k|    }
 1801|       |
 1802|  29.9k|    if (!bitmap_is_all_zeros(features->match.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (1802:9): [True: 26.2k, False: 3.72k]
  ------------------
 1803|  26.2k|        if (prev_features
  ------------------
  |  Branch (1803:13): [True: 21.4k, False: 4.81k]
  ------------------
 1804|  21.4k|            && bitmap_equal(features->match.bm, prev_features->match.bm,
  ------------------
  |  Branch (1804:16): [True: 4.22k, False: 17.1k]
  ------------------
 1805|  21.4k|                            MFF_N_IDS)) {
 1806|  4.22k|            ds_put_cstr(s, "    (same matching)\n");
 1807|  21.9k|        } else {
 1808|  21.9k|            ds_put_cstr(s, "    matching:\n");
 1809|       |
 1810|  21.9k|            print_matches(s, features, true, true, "arbitrary mask");
 1811|  21.9k|            print_matches(s, features, false, true, "exact match or wildcard");
 1812|  21.9k|            print_matches(s, features, false, false, "must exact match");
 1813|  21.9k|        }
 1814|  26.2k|    }
 1815|  29.9k|}
ofputil_table_features_format_finish:
 1820|  52.0k|{
 1821|  52.0k|    if (first_ditto < 0) {
  ------------------
  |  Branch (1821:9): [True: 50.7k, False: 1.31k]
  ------------------
 1822|  50.7k|        return;
 1823|  50.7k|    }
 1824|       |
 1825|  1.31k|    ds_put_char(s, '\n');
 1826|  1.31k|    if (first_ditto == last_ditto) {
  ------------------
  |  Branch (1826:9): [True: 1.19k, False: 119]
  ------------------
 1827|  1.19k|        ds_put_format(s, "  table %d: ditto\n", first_ditto);
 1828|  1.19k|    } else {
 1829|    119|        ds_put_format(s, "  tables %d...%d: ditto\n", first_ditto, last_ditto);
 1830|    119|    }
 1831|  1.31k|}
ofputil_decode_table_stats_reply:
 2256|  44.0k|{
 2257|  44.0k|    const struct ofp_header *oh;
 2258|       |
 2259|  44.0k|    if (!msg->header) {
  ------------------
  |  Branch (2259:9): [True: 0, False: 44.0k]
  ------------------
 2260|      0|        ofpraw_pull_assert(msg);
 2261|      0|    }
 2262|  44.0k|    oh = msg->header;
 2263|       |
 2264|  44.0k|    if (!msg->size) {
  ------------------
  |  Branch (2264:9): [True: 5.73k, False: 38.2k]
  ------------------
 2265|  5.73k|        return EOF;
 2266|  5.73k|    }
 2267|       |
 2268|  38.2k|    memset(stats, 0, sizeof *stats);
 2269|  38.2k|    memset(features, 0, sizeof *features);
 2270|  38.2k|    features->supports_eviction = -1;
 2271|  38.2k|    features->supports_vacancy_events = -1;
 2272|       |
 2273|  38.2k|    switch ((enum ofp_version) oh->version) {
 2274|  12.2k|    case OFP10_VERSION:
  ------------------
  |  Branch (2274:5): [True: 12.2k, False: 26.0k]
  ------------------
 2275|  12.2k|        return ofputil_decode_ofp10_table_stats(msg, stats, features);
 2276|       |
 2277|  7.88k|    case OFP11_VERSION:
  ------------------
  |  Branch (2277:5): [True: 7.88k, False: 30.3k]
  ------------------
 2278|  7.88k|        return ofputil_decode_ofp11_table_stats(msg, stats, features);
 2279|       |
 2280|  12.2k|    case OFP12_VERSION:
  ------------------
  |  Branch (2280:5): [True: 12.2k, False: 25.9k]
  ------------------
 2281|  12.2k|        return ofputil_decode_ofp12_table_stats(msg, stats, features);
 2282|       |
 2283|  2.70k|    case OFP13_VERSION:
  ------------------
  |  Branch (2283:5): [True: 2.70k, False: 35.5k]
  ------------------
 2284|  3.38k|    case OFP14_VERSION:
  ------------------
  |  Branch (2284:5): [True: 681, False: 37.5k]
  ------------------
 2285|  5.88k|    case OFP15_VERSION:
  ------------------
  |  Branch (2285:5): [True: 2.50k, False: 35.7k]
  ------------------
 2286|  5.88k|        return ofputil_decode_ofp13_table_stats(msg, stats, features);
 2287|       |
 2288|      0|    default:
  ------------------
  |  Branch (2288:5): [True: 0, False: 38.2k]
  ------------------
 2289|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
 2290|  38.2k|    }
 2291|  38.2k|}
ofp_table_reason_to_string:
 2299|    376|{
 2300|    376|    switch (reason) {
 2301|    197|    case OFPTR_VACANCY_DOWN:
  ------------------
  |  Branch (2301:5): [True: 197, False: 179]
  ------------------
 2302|    197|        return "vacancy_down";
 2303|       |
 2304|    179|    case OFPTR_VACANCY_UP:
  ------------------
  |  Branch (2304:5): [True: 179, False: 197]
  ------------------
 2305|    179|        return "vacancy_up";
 2306|       |
 2307|      0|    default:
  ------------------
  |  Branch (2307:5): [True: 0, False: 376]
  ------------------
 2308|      0|        snprintf(reasonbuf, bufsize, "%d", (int) reason);
 2309|      0|        return reasonbuf;
 2310|    376|    }
 2311|    376|}
ofputil_decode_table_status:
 2373|  1.29k|{
 2374|  1.29k|    const struct ofp14_table_status *ots;
 2375|  1.29k|    struct ofpbuf b;
 2376|  1.29k|    enum ofperr error;
 2377|  1.29k|    enum ofpraw raw;
 2378|       |
 2379|  1.29k|    ofpbuf_use_const(&b, oh, ntohs(oh->length));
 2380|  1.29k|    raw = ofpraw_pull_assert(&b);
 2381|  1.29k|    ots = ofpbuf_pull(&b, sizeof *ots);
 2382|       |
 2383|  1.29k|    if (raw == OFPRAW_OFPT14_TABLE_STATUS) {
  ------------------
  |  Branch (2383:9): [True: 1.29k, False: 0]
  ------------------
 2384|  1.29k|        if (ots->reason != OFPTR_VACANCY_DOWN
  ------------------
  |  Branch (2384:13): [True: 1.14k, False: 153]
  ------------------
 2385|  1.14k|            && ots->reason != OFPTR_VACANCY_UP) {
  ------------------
  |  Branch (2385:16): [True: 507, False: 634]
  ------------------
 2386|    507|            return OFPERR_OFPBPC_BAD_VALUE;
 2387|    507|        }
 2388|    787|        ts->reason = ots->reason;
 2389|       |
 2390|    787|        error = ofputil_decode_table_desc(&b, &ts->desc, oh->version);
 2391|    787|        return error;
 2392|  1.29k|    } else {
 2393|      0|        return OFPERR_OFPBRC_BAD_VERSION;
 2394|      0|    }
 2395|  1.29k|}
ofputil_format_table_status:
 2401|    407|{
 2402|    407|    if (ts->reason == OFPTR_VACANCY_DOWN) {
  ------------------
  |  Branch (2402:9): [True: 67, False: 340]
  ------------------
 2403|     67|        ds_put_format(string, " reason=VACANCY_DOWN");
 2404|    340|    } else if (ts->reason == OFPTR_VACANCY_UP) {
  ------------------
  |  Branch (2404:16): [True: 340, False: 0]
  ------------------
 2405|    340|        ds_put_format(string, " reason=VACANCY_UP");
 2406|    340|    }
 2407|       |
 2408|    407|    ds_put_format(string, "\ntable_desc:-");
 2409|    407|    ofputil_table_desc_format(string, &ts->desc, table_map);
 2410|    407|}
ofp-table.c:ofp15_table_features_command_is_valid:
   80|  7.80k|{
   81|  7.80k|    switch (cmd) {
   82|  4.51k|    case OFPTFC15_REPLACE:
  ------------------
  |  Branch (82:5): [True: 4.51k, False: 3.28k]
  ------------------
   83|  4.63k|    case OFPTFC15_MODIFY:
  ------------------
  |  Branch (83:5): [True: 120, False: 7.68k]
  ------------------
   84|  7.52k|    case OFPTFC15_ENABLE:
  ------------------
  |  Branch (84:5): [True: 2.88k, False: 4.91k]
  ------------------
   85|  7.61k|    case OFPTFC15_DISABLE:
  ------------------
  |  Branch (85:5): [True: 96, False: 7.70k]
  ------------------
   86|  7.61k|        return true;
   87|       |
   88|    184|    default:
  ------------------
  |  Branch (88:5): [True: 184, False: 7.61k]
  ------------------
   89|       |        return false;
   90|  7.80k|    }
   91|  7.80k|}
ofp-table.c:pull_table_feature_property:
  235|  18.4k|{
  236|  18.4k|    enum ofperr error;
  237|       |
  238|  18.4k|    error = ofpprop_pull(msg, payload, typep);
  239|  18.4k|    if (payload && !error) {
  ------------------
  |  Branch (239:9): [True: 18.4k, False: 0]
  |  Branch (239:20): [True: 16.7k, False: 1.71k]
  ------------------
  240|  16.7k|        ofpbuf_pull(payload, (char *)payload->msg - (char *)payload->header);
  241|  16.7k|    }
  242|  18.4k|    return error;
  243|  18.4k|}
ofp-table.c:parse_instruction_ids:
  270|  1.51k|{
  271|  1.51k|    *insts = 0;
  272|  2.24k|    while (payload->size > 0) {
  ------------------
  |  Branch (272:12): [True: 1.66k, False: 582]
  ------------------
  273|  1.66k|        enum ovs_instruction_type inst;
  274|  1.66k|        enum ofperr error;
  275|  1.66k|        uint64_t ofpit;
  276|       |
  277|       |        /* OF1.3 and OF1.4 aren't clear about padding in the instruction IDs.
  278|       |         * It seems clear that they aren't padded to 8 bytes, though, because
  279|       |         * both standards say that "non-experimenter instructions are 4 bytes"
  280|       |         * and do not mention any padding before the first instruction ID.
  281|       |         * (There wouldn't be any point in padding to 8 bytes if the IDs were
  282|       |         * aligned on an odd 4-byte boundary.)
  283|       |         *
  284|       |         * Anyway, we just assume they're all glommed together on byte
  285|       |         * boundaries. */
  286|  1.66k|        error = ofpprop_pull__(payload, NULL, 1, 0x10000, &ofpit);
  287|  1.66k|        if (error) {
  ------------------
  |  Branch (287:13): [True: 937, False: 728]
  ------------------
  288|    937|            return error;
  289|    937|        }
  290|       |
  291|    728|        error = ovs_instruction_type_from_inst_type(&inst, ofpit);
  292|    728|        if (!error) {
  ------------------
  |  Branch (292:13): [True: 574, False: 154]
  ------------------
  293|    574|            *insts |= 1u << inst;
  294|    574|        } else if (!loose) {
  ------------------
  |  Branch (294:20): [True: 0, False: 154]
  ------------------
  295|      0|            return error;
  296|      0|        }
  297|    728|    }
  298|    582|    return 0;
  299|  1.51k|}
ofp-table.c:parse_table_features_next_table:
  304|  1.91k|{
  305|  1.91k|    size_t i;
  306|       |
  307|  1.91k|    memset(next_tables, 0, bitmap_n_bytes(255));
  308|  10.0k|    for (i = 0; i < payload->size; i++) {
  ------------------
  |  Branch (308:17): [True: 8.25k, False: 1.82k]
  ------------------
  309|  8.25k|        uint8_t id = ((const uint8_t *) payload->data)[i];
  310|  8.25k|        if (id >= 255) {
  ------------------
  |  Branch (310:13): [True: 89, False: 8.16k]
  ------------------
  311|     89|            return OFPERR_OFPBPC_BAD_VALUE;
  312|     89|        }
  313|  8.16k|        bitmap_set1(next_tables, id);
  314|  8.16k|    }
  315|  1.82k|    return 0;
  316|  1.91k|}
ofp-table.c:parse_action_bitmap:
  248|  3.42k|{
  249|  3.42k|    uint32_t types = 0;
  250|       |
  251|  6.12k|    while (payload->size > 0) {
  ------------------
  |  Branch (251:12): [True: 3.47k, False: 2.65k]
  ------------------
  252|  3.47k|        enum ofperr error;
  253|  3.47k|        uint64_t type;
  254|       |
  255|  3.47k|        error = ofpprop_pull__(payload, NULL, 1, 0x10000, &type);
  256|  3.47k|        if (error) {
  ------------------
  |  Branch (256:13): [True: 766, False: 2.70k]
  ------------------
  257|    766|            return error;
  258|    766|        }
  259|  2.70k|        if (type < CHAR_BIT * sizeof types) {
  ------------------
  |  Branch (259:13): [True: 2.53k, False: 171]
  ------------------
  260|  2.53k|            types |= 1u << type;
  261|  2.53k|        }
  262|  2.70k|    }
  263|       |
  264|  2.65k|    *ofpacts = ofpact_bitmap_from_openflow(htonl(types), ofp_version);
  265|  2.65k|    return 0;
  266|  3.42k|}
ofp-table.c:parse_oxms:
  321|  7.00k|{
  322|  7.00k|    struct mf_bitmap exact = MF_BITMAP_INITIALIZER;
  ------------------
  |  | 2053|  7.00k|#define MF_BITMAP_INITIALIZER { { [0] = 0 } }
  ------------------
  323|  7.00k|    struct mf_bitmap masked = MF_BITMAP_INITIALIZER;
  ------------------
  |  | 2053|  7.00k|#define MF_BITMAP_INITIALIZER { { [0] = 0 } }
  ------------------
  324|       |
  325|  71.3k|    while (payload->size > 0) {
  ------------------
  |  Branch (325:12): [True: 64.6k, False: 6.65k]
  ------------------
  326|  64.6k|        const struct mf_field *field;
  327|  64.6k|        enum ofperr error;
  328|  64.6k|        bool hasmask;
  329|       |
  330|  64.6k|        error = nx_pull_header(payload, NULL, &field, &hasmask);
  331|  64.6k|        if (!error) {
  ------------------
  |  Branch (331:13): [True: 1.73k, False: 62.9k]
  ------------------
  332|  1.73k|            bitmap_set1(hasmask ? masked.bm : exact.bm, field->id);
  ------------------
  |  Branch (332:25): [True: 1.46k, False: 271]
  ------------------
  333|  62.9k|        } else if (error != OFPERR_OFPBMC_BAD_FIELD || !loose) {
  ------------------
  |  Branch (333:20): [True: 349, False: 62.5k]
  |  Branch (333:56): [True: 0, False: 62.5k]
  ------------------
  334|    349|            return error;
  335|    349|        }
  336|  64.6k|    }
  337|  6.65k|    if (exactp) {
  ------------------
  |  Branch (337:9): [True: 6.65k, False: 0]
  ------------------
  338|  6.65k|        *exactp = exact;
  339|  6.65k|    } else if (!bitmap_is_all_zeros(exact.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (339:16): [True: 0, False: 0]
  ------------------
  340|      0|        return OFPERR_OFPBMC_BAD_MASK;
  341|      0|    }
  342|  6.65k|    if (maskedp) {
  ------------------
  |  Branch (342:9): [True: 541, False: 6.11k]
  ------------------
  343|    541|        *maskedp = masked;
  344|  6.11k|    } else if (!bitmap_is_all_zeros(masked.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (344:16): [True: 1.34k, False: 4.76k]
  ------------------
  345|  1.34k|        return OFPERR_OFPBMC_BAD_MASK;
  346|  1.34k|    }
  347|  5.30k|    return 0;
  348|  6.65k|}
ofp-table.c:parse_table_desc_vacancy_property:
  708|  1.46k|{
  709|  1.46k|    struct ofp14_table_mod_prop_vacancy *otv = property->data;
  710|       |
  711|  1.46k|    if (property->size != sizeof *otv) {
  ------------------
  |  Branch (711:9): [True: 1.40k, False: 63]
  ------------------
  712|  1.40k|        return OFPERR_OFPBPC_BAD_LEN;
  713|  1.40k|    }
  714|       |
  715|     63|    td->table_vacancy.vacancy_down = otv->vacancy_down;
  716|     63|    td->table_vacancy.vacancy_up = otv->vacancy_up;
  717|     63|    td->table_vacancy.vacancy = otv->vacancy;
  718|     63|    return 0;
  719|  1.46k|}
ofp-table.c:ofputil_put_eviction_flags:
  863|  2.47k|{
  864|  2.47k|    if (eviction_flags != UINT32_MAX) {
  ------------------
  |  Branch (864:9): [True: 311, False: 2.16k]
  ------------------
  865|    311|        ofp_print_bit_names(string, eviction_flags,
  866|    311|                            ofputil_eviction_flag_to_string, '|');
  867|  2.16k|    } else {
  868|  2.16k|        ds_put_cstr(string, "(default)");
  869|  2.16k|    }
  870|  2.47k|}
ofp-table.c:ofputil_eviction_flag_to_string:
  847|  8.14k|{
  848|  8.14k|    enum ofp14_table_mod_prop_eviction_flag eviction_flag = bit;
  849|       |
  850|  8.14k|    switch (eviction_flag) {
  ------------------
  |  Branch (850:13): [True: 778, False: 7.36k]
  ------------------
  851|    254|    case OFPTMPEF14_OTHER:      return "OTHER";
  ------------------
  |  Branch (851:5): [True: 254, False: 7.88k]
  ------------------
  852|    255|    case OFPTMPEF14_IMPORTANCE: return "IMPORTANCE";
  ------------------
  |  Branch (852:5): [True: 255, False: 7.88k]
  ------------------
  853|    269|    case OFPTMPEF14_LIFETIME:   return "LIFETIME";
  ------------------
  |  Branch (853:5): [True: 269, False: 7.87k]
  ------------------
  854|  8.14k|    }
  855|       |
  856|  7.36k|    return NULL;
  857|  8.14k|}
ofp-table.c:ofputil_decode_table_vacancy:
  941|  11.4k|{
  942|  11.4k|    return (version < OFP14_VERSION ? OFPUTIL_TABLE_VACANCY_DEFAULT
  ------------------
  |  Branch (942:13): [True: 0, False: 11.4k]
  ------------------
  943|  11.4k|            : config & htonl(OFPTC14_VACANCY_EVENTS) ? OFPUTIL_TABLE_VACANCY_ON
  ------------------
  |  Branch (943:15): [True: 3.95k, False: 7.48k]
  ------------------
  944|  11.4k|            : OFPUTIL_TABLE_VACANCY_OFF);
  945|  11.4k|}
ofp-table.c:ofputil_decode_table_eviction:
  956|  11.4k|{
  957|  11.4k|    return (version < OFP14_VERSION ? OFPUTIL_TABLE_EVICTION_DEFAULT
  ------------------
  |  Branch (957:13): [True: 0, False: 11.4k]
  ------------------
  958|  11.4k|            : config & htonl(OFPTC14_EVICTION) ? OFPUTIL_TABLE_EVICTION_ON
  ------------------
  |  Branch (958:15): [True: 3.13k, False: 8.30k]
  ------------------
  959|  11.4k|            : OFPUTIL_TABLE_EVICTION_OFF);
  960|  11.4k|}
ofp-table.c:ofputil_decode_table_miss:
 1027|  28.7k|{
 1028|  28.7k|    uint32_t config = ntohl(config_);
 1029|       |
 1030|  28.7k|    if (version == OFP11_VERSION || version == OFP12_VERSION) {
  ------------------
  |  Branch (1030:9): [True: 8.85k, False: 19.8k]
  |  Branch (1030:37): [True: 12.7k, False: 7.12k]
  ------------------
 1031|  21.5k|        switch (config & OFPTC11_TABLE_MISS_MASK) {
 1032|  12.8k|        case OFPTC11_TABLE_MISS_CONTROLLER:
  ------------------
  |  Branch (1032:9): [True: 12.8k, False: 8.71k]
  ------------------
 1033|  12.8k|            return OFPUTIL_TABLE_MISS_CONTROLLER;
 1034|       |
 1035|  3.45k|        case OFPTC11_TABLE_MISS_CONTINUE:
  ------------------
  |  Branch (1035:9): [True: 3.45k, False: 18.1k]
  ------------------
 1036|  3.45k|            return OFPUTIL_TABLE_MISS_CONTINUE;
 1037|       |
 1038|  2.03k|        case OFPTC11_TABLE_MISS_DROP:
  ------------------
  |  Branch (1038:9): [True: 2.03k, False: 19.5k]
  ------------------
 1039|  2.03k|            return OFPUTIL_TABLE_MISS_DROP;
 1040|       |
 1041|  3.22k|        default:
  ------------------
  |  Branch (1041:9): [True: 3.22k, False: 18.3k]
  ------------------
 1042|  3.22k|            VLOG_WARN_RL(&rl, "bad table miss config %d", config);
  ------------------
  |  |  224|  3.22k|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  3.22k|    do {                                                                \
  |  |  |  |  288|  3.22k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  3.22k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 3.22k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  3.22k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 3.22k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1043|  3.22k|            return OFPUTIL_TABLE_MISS_CONTROLLER;
 1044|  21.5k|        }
 1045|  21.5k|    } else {
 1046|  7.12k|        return OFPUTIL_TABLE_MISS_DEFAULT;
 1047|  7.12k|    }
 1048|  28.7k|}
ofp-table.c:parse_table_mod_vacancy_property:
  904|  4.11k|{
  905|  4.11k|    struct ofp14_table_mod_prop_vacancy *otv = property->data;
  906|       |
  907|  4.11k|    if (property->size != sizeof *otv) {
  ------------------
  |  Branch (907:9): [True: 918, False: 3.19k]
  ------------------
  908|    918|        return OFPERR_OFPBPC_BAD_LEN;
  909|    918|    }
  910|  3.19k|    tm->table_vacancy.vacancy_down = otv->vacancy_down;
  911|  3.19k|    tm->table_vacancy.vacancy_up = otv->vacancy_up;
  912|  3.19k|    if (tm->table_vacancy.vacancy_down > tm->table_vacancy.vacancy_up) {
  ------------------
  |  Branch (912:9): [True: 1.84k, False: 1.34k]
  ------------------
  913|  1.84k|        OFPPROP_LOG(&rl, false,
  ------------------
  |  |  139|  1.84k|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.84k|    do {                                                                \
  |  |  |  |  288|  3.69k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 1.84k]
  |  |  |  |  ------------------
  |  |  |  |  289|  1.84k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.84k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.84k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|  1.84k|                    "Value of vacancy_down is greater than vacancy_up");
  915|  1.84k|        return OFPERR_OFPBPC_BAD_VALUE;
  916|  1.84k|    }
  917|  1.34k|    if (tm->table_vacancy.vacancy_down > 100 ||
  ------------------
  |  Branch (917:9): [True: 654, False: 691]
  ------------------
  918|  1.21k|        tm->table_vacancy.vacancy_up > 100) {
  ------------------
  |  Branch (918:9): [True: 558, False: 133]
  ------------------
  919|  1.21k|        OFPPROP_LOG(&rl, false, "Vacancy threshold percentage "
  ------------------
  |  |  139|  1.21k|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  1.21k|    do {                                                                \
  |  |  |  |  288|  2.42k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |  289|  1.21k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 1.21k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  1.21k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 1.21k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|  1.21k|                    "should not be greater than 100");
  921|  1.21k|        return OFPERR_OFPBPC_BAD_VALUE;
  922|  1.21k|    }
  923|    133|    tm->table_vacancy.vacancy = otv->vacancy;
  924|    133|    if (tm->table_vacancy.vacancy) {
  ------------------
  |  Branch (924:9): [True: 95, False: 38]
  ------------------
  925|     95|        OFPPROP_LOG(&rl, false,
  ------------------
  |  |  139|     95|    VLOG_RL(RL, (LOOSE) ? VLL_DBG : VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|     95|    do {                                                                \
  |  |  |  |  288|    190|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (288:35): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  |  |  289|     95|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 95]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|     95|                    "Vacancy value should be zero for table-mod messages");
  927|     95|        return OFPERR_OFPBPC_BAD_VALUE;
  928|     95|    }
  929|     38|    return 0;
  930|    133|}
ofp-table.c:ofp15_table_features_command_to_string:
   95|    230|{
   96|    230|    switch (cmd) {
   97|      0|    case OFPTFC15_REPLACE: return "replace";
  ------------------
  |  Branch (97:5): [True: 0, False: 230]
  ------------------
   98|     56|    case OFPTFC15_MODIFY: return "modify";
  ------------------
  |  Branch (98:5): [True: 56, False: 174]
  ------------------
   99|     78|    case OFPTFC15_ENABLE: return "enable";
  ------------------
  |  Branch (99:5): [True: 78, False: 152]
  ------------------
  100|     96|    case OFPTFC15_DISABLE: return "disable";
  ------------------
  |  Branch (100:5): [True: 96, False: 134]
  ------------------
  101|      0|    default: return "***bad command***";
  ------------------
  |  Branch (101:5): [True: 0, False: 230]
  ------------------
  102|    230|    }
  103|    230|}
ofp-table.c:table_stats_equal:
 1693|  32.6k|{
 1694|  32.6k|    return (a->active_count == b->active_count
  ------------------
  |  Branch (1694:13): [True: 11.8k, False: 20.7k]
  ------------------
 1695|  11.8k|            && a->lookup_count == b->lookup_count
  ------------------
  |  Branch (1695:16): [True: 8.20k, False: 3.62k]
  ------------------
 1696|  8.20k|            && a->matched_count == b->matched_count);
  ------------------
  |  Branch (1696:16): [True: 6.27k, False: 1.92k]
  ------------------
 1697|  32.6k|}
ofp-table.c:table_features_equal:
 1662|  34.2k|{
 1663|  34.2k|    return (a->metadata_match == b->metadata_match
  ------------------
  |  Branch (1663:13): [True: 27.0k, False: 7.26k]
  ------------------
 1664|  27.0k|            && a->metadata_write == b->metadata_write
  ------------------
  |  Branch (1664:16): [True: 25.1k, False: 1.90k]
  ------------------
 1665|  25.1k|            && a->miss_config == b->miss_config
  ------------------
  |  Branch (1665:16): [True: 22.8k, False: 2.24k]
  ------------------
 1666|  22.8k|            && a->supports_eviction == b->supports_eviction
  ------------------
  |  Branch (1666:16): [True: 22.7k, False: 112]
  ------------------
 1667|  22.7k|            && a->supports_vacancy_events == b->supports_vacancy_events
  ------------------
  |  Branch (1667:16): [True: 22.6k, False: 99]
  ------------------
 1668|  22.6k|            && a->max_entries == b->max_entries
  ------------------
  |  Branch (1668:16): [True: 13.5k, False: 9.16k]
  ------------------
 1669|  13.5k|            && table_instruction_features_equal(&a->nonmiss, a->table_id,
  ------------------
  |  Branch (1669:16): [True: 11.5k, False: 1.92k]
  ------------------
 1670|  13.5k|                                                &b->nonmiss, b->table_id)
 1671|  11.5k|            && table_instruction_features_equal(&a->miss, a->table_id,
  ------------------
  |  Branch (1671:16): [True: 11.5k, False: 0]
  ------------------
 1672|  11.5k|                                                &b->miss, b->table_id)
 1673|  11.5k|            && bitmap_equal(a->match.bm, b->match.bm, MFF_N_IDS));
  ------------------
  |  Branch (1673:16): [True: 10.5k, False: 987]
  ------------------
 1674|  34.2k|}
ofp-table.c:table_features_empty:
 1678|  6.52k|{
 1679|  6.52k|    return (!tf->metadata_match
  ------------------
  |  Branch (1679:13): [True: 6.25k, False: 270]
  ------------------
 1680|  6.25k|            && !tf->metadata_write
  ------------------
  |  Branch (1680:16): [True: 6.15k, False: 103]
  ------------------
 1681|  6.15k|            && tf->miss_config == OFPUTIL_TABLE_MISS_DEFAULT
  ------------------
  |  Branch (1681:16): [True: 5.83k, False: 321]
  ------------------
 1682|  5.83k|            && tf->supports_eviction < 0
  ------------------
  |  Branch (1682:16): [True: 5.83k, False: 0]
  ------------------
 1683|  5.83k|            && tf->supports_vacancy_events < 0
  ------------------
  |  Branch (1683:16): [True: 5.83k, False: 0]
  ------------------
 1684|  5.83k|            && !tf->max_entries
  ------------------
  |  Branch (1684:16): [True: 4.39k, False: 1.44k]
  ------------------
 1685|  4.39k|            && table_instruction_features_empty(&tf->nonmiss)
  ------------------
  |  Branch (1685:16): [True: 4.39k, False: 0]
  ------------------
 1686|  4.39k|            && table_instruction_features_empty(&tf->miss)
  ------------------
  |  Branch (1686:16): [True: 4.39k, False: 0]
  ------------------
 1687|  4.39k|            && bitmap_is_all_zeros(tf->match.bm, MFF_N_IDS));
  ------------------
  |  Branch (1687:16): [True: 3.99k, False: 397]
  ------------------
 1688|  6.52k|}
ofp-table.c:table_instruction_features_equal:
 1641|  78.7k|{
 1642|  78.7k|    return (table_instruction_features_next_equal(a->next, a_table_id,
  ------------------
  |  Branch (1642:13): [True: 78.7k, False: 0]
  ------------------
 1643|  78.7k|                                                  b->next, b_table_id)
 1644|  78.7k|            && a->instructions == b->instructions
  ------------------
  |  Branch (1644:16): [True: 69.9k, False: 8.75k]
  ------------------
 1645|  69.9k|            && table_action_features_equal(&a->write, &b->write)
  ------------------
  |  Branch (1645:16): [True: 64.8k, False: 5.10k]
  ------------------
 1646|  64.8k|            && table_action_features_equal(&a->apply, &b->apply));
  ------------------
  |  Branch (1646:16): [True: 62.9k, False: 1.96k]
  ------------------
 1647|  78.7k|}
ofp-table.c:table_instruction_features_next_equal:
 1615|  79.4k|{
 1616|  79.4k|    if (b_table_id == a_table_id + 1
  ------------------
  |  Branch (1616:9): [True: 1.56k, False: 77.9k]
  ------------------
 1617|  1.56k|        && bitmap_is_set(a, b_table_id)
  ------------------
  |  Branch (1617:12): [True: 0, False: 1.56k]
  ------------------
 1618|      0|        && !bitmap_is_set(b, b_table_id)) {
  ------------------
  |  Branch (1618:12): [True: 0, False: 0]
  ------------------
 1619|      0|        for (size_t i = 0; i < BITMAP_N_LONGS(255); i++) {
  ------------------
  |  |  424|      0|#define BITMAP_N_LONGS(N_BITS) DIV_ROUND_UP(N_BITS, BITMAP_ULONG_BITS)
  |  |  ------------------
  |  |  |  |  300|      0|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (1619:28): [True: 0, False: 0]
  ------------------
 1620|      0|            unsigned long diff = a[i] ^ b[i];
 1621|      0|            if (i == b_table_id / BITMAP_ULONG_BITS) {
  ------------------
  |  |  423|      0|#define BITMAP_ULONG_BITS (sizeof(unsigned long) * CHAR_BIT)
  ------------------
  |  Branch (1621:17): [True: 0, False: 0]
  ------------------
 1622|      0|                diff &= ~bitmap_bit__(b_table_id);
 1623|      0|            }
 1624|      0|            if (diff) {
  ------------------
  |  Branch (1624:17): [True: 0, False: 0]
  ------------------
 1625|      0|                return false;
 1626|      0|            }
 1627|      0|        }
 1628|      0|        return true;
 1629|  79.4k|    } else if (a_table_id == b_table_id + 1) {
  ------------------
  |  Branch (1629:16): [True: 763, False: 78.7k]
  ------------------
 1630|    763|        return table_instruction_features_next_equal(b, b_table_id,
 1631|    763|                                                     a, a_table_id);
 1632|  78.7k|    } else {
 1633|  78.7k|        return bitmap_equal(a, b, 255);
 1634|  78.7k|    }
 1635|  79.4k|}
ofp-table.c:table_action_features_equal:
 1511|   167k|{
 1512|   167k|    return (a->ofpacts == b->ofpacts
  ------------------
  |  Branch (1512:13): [True: 146k, False: 21.2k]
  ------------------
 1513|   146k|            && bitmap_equal(a->set_fields.bm, b->set_fields.bm, MFF_N_IDS));
  ------------------
  |  Branch (1513:16): [True: 138k, False: 8.08k]
  ------------------
 1514|   167k|}
ofp-table.c:table_instruction_features_empty:
 1652|  38.7k|{
 1653|  38.7k|    return (bitmap_is_all_zeros(tif->next, 255)
  ------------------
  |  Branch (1653:13): [True: 38.7k, False: 0]
  ------------------
 1654|  38.7k|            && !tif->instructions
  ------------------
  |  Branch (1654:16): [True: 27.3k, False: 11.3k]
  ------------------
 1655|  27.3k|            && table_action_features_empty(&tif->write)
  ------------------
  |  Branch (1655:16): [True: 21.6k, False: 5.73k]
  ------------------
 1656|  21.6k|            && table_action_features_empty(&tif->apply));
  ------------------
  |  Branch (1656:16): [True: 20.1k, False: 1.53k]
  ------------------
 1657|  38.7k|}
ofp-table.c:table_action_features_empty:
 1518|  49.0k|{
 1519|  49.0k|    return !taf->ofpacts && bitmap_is_all_zeros(taf->set_fields.bm, MFF_N_IDS);
  ------------------
  |  Branch (1519:12): [True: 43.1k, False: 5.90k]
  |  Branch (1519:29): [True: 41.8k, False: 1.35k]
  ------------------
 1520|  49.0k|}
ofp-table.c:print_table_instruction_features:
 1527|  16.5k|{
 1528|  16.5k|    int start, end;
 1529|       |
 1530|  16.5k|    if (!bitmap_is_all_zeros(tif->next, 255)) {
  ------------------
  |  Branch (1530:9): [True: 0, False: 16.5k]
  ------------------
 1531|      0|        ds_put_cstr(s, "      next tables: ");
 1532|      0|        for (start = bitmap_scan(tif->next, 1, 0, 255); start < 255;
  ------------------
  |  Branch (1532:57): [True: 0, False: 0]
  ------------------
 1533|      0|             start = bitmap_scan(tif->next, 1, end, 255)) {
 1534|      0|            end = bitmap_scan(tif->next, 0, start + 1, 255);
 1535|      0|            if (end == start + 1) {
  ------------------
  |  Branch (1535:17): [True: 0, False: 0]
  ------------------
 1536|      0|                ds_put_format(s, "%d,", start);
 1537|      0|            } else {
 1538|      0|                ds_put_format(s, "%d-%d,", start, end - 1);
 1539|      0|            }
 1540|      0|        }
 1541|      0|        ds_chomp(s, ',');
 1542|      0|        if (ds_last(s) == ' ') {
  ------------------
  |  Branch (1542:13): [True: 0, False: 0]
  ------------------
 1543|      0|            ds_put_cstr(s, "none");
 1544|      0|        }
 1545|      0|        ds_put_char(s, '\n');
 1546|      0|    }
 1547|       |
 1548|  16.5k|    if (tif->instructions) {
  ------------------
  |  Branch (1548:9): [True: 10.2k, False: 6.35k]
  ------------------
 1549|  10.2k|        if (prev_tif && tif->instructions == prev_tif->instructions) {
  ------------------
  |  Branch (1549:13): [True: 8.58k, False: 1.64k]
  |  Branch (1549:25): [True: 2.56k, False: 6.02k]
  ------------------
 1550|  2.56k|            ds_put_cstr(s, "      (same instructions)\n");
 1551|  7.66k|        } else {
 1552|  7.66k|            ds_put_cstr(s, "      instructions: ");
 1553|  7.66k|            int i;
 1554|       |
 1555|   253k|            for (i = 0; i < 32; i++) {
  ------------------
  |  Branch (1555:25): [True: 245k, False: 7.66k]
  ------------------
 1556|   245k|                if (tif->instructions & (1u << i)) {
  ------------------
  |  Branch (1556:21): [True: 21.6k, False: 223k]
  ------------------
 1557|  21.6k|                    const char *name = ovs_instruction_name_from_type(i);
 1558|  21.6k|                    if (name) {
  ------------------
  |  Branch (1558:25): [True: 21.6k, False: 0]
  ------------------
 1559|  21.6k|                        ds_put_cstr(s, name);
 1560|  21.6k|                    } else {
 1561|      0|                        ds_put_format(s, "%d", i);
 1562|      0|                    }
 1563|  21.6k|                    ds_put_char(s, ' ');
 1564|  21.6k|                }
 1565|   245k|            }
 1566|  7.66k|            ds_chomp(s, ' ');
 1567|  7.66k|            ds_put_char(s, '\n');
 1568|  7.66k|        }
 1569|  10.2k|    }
 1570|       |
 1571|  16.5k|    if (prev_tif
  ------------------
  |  Branch (1571:9): [True: 13.5k, False: 3.00k]
  ------------------
 1572|  13.5k|        && table_action_features_equal(&tif->write, &prev_tif->write)
  ------------------
  |  Branch (1572:12): [True: 3.03k, False: 10.5k]
  ------------------
 1573|  3.03k|        && table_action_features_equal(&tif->apply, &prev_tif->apply)
  ------------------
  |  Branch (1573:12): [True: 961, False: 2.07k]
  ------------------
 1574|    961|        && !bitmap_is_all_zeros(tif->write.set_fields.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (1574:12): [True: 442, False: 519]
  ------------------
 1575|    442|        ds_put_cstr(s, "      (same actions)\n");
 1576|  16.1k|    } else if (!table_action_features_equal(&tif->write, &tif->apply)) {
  ------------------
  |  Branch (1576:16): [True: 9.58k, False: 6.55k]
  ------------------
 1577|  9.58k|        ds_put_cstr(s, "      Write-Actions features:\n");
 1578|  9.58k|        print_table_action_features(s, &tif->write);
 1579|  9.58k|        ds_put_cstr(s, "      Apply-Actions features:\n");
 1580|  9.58k|        print_table_action_features(s, &tif->apply);
 1581|  9.58k|    } else if (tif->write.ofpacts
  ------------------
  |  Branch (1581:16): [True: 6.15k, False: 405]
  ------------------
 1582|  6.23k|               || !bitmap_is_all_zeros(tif->write.set_fields.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (1582:19): [True: 82, False: 323]
  ------------------
 1583|  6.23k|        ds_put_cstr(s, "      Write-Actions and Apply-Actions features:\n");
 1584|  6.23k|        print_table_action_features(s, &tif->write);
 1585|  6.23k|    }
 1586|  16.5k|}
ofp-table.c:print_table_action_features:
 1494|  25.4k|{
 1495|  25.4k|    if (taf->ofpacts) {
  ------------------
  |  Branch (1495:9): [True: 19.9k, False: 5.48k]
  ------------------
 1496|  19.9k|        ds_put_cstr(s, "        actions: ");
 1497|  19.9k|        ofpact_bitmap_format(taf->ofpacts, s);
 1498|  19.9k|        ds_put_char(s, '\n');
 1499|  19.9k|    }
 1500|       |
 1501|  25.4k|    if (!bitmap_is_all_zeros(taf->set_fields.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (1501:9): [True: 16.0k, False: 9.35k]
  ------------------
 1502|  16.0k|        ds_put_cstr(s, "        supported on Set-Field:");
 1503|  16.0k|        print_mf_bitmap(s, &taf->set_fields);
 1504|  16.0k|        ds_put_char(s, '\n');
 1505|  16.0k|    }
 1506|  25.4k|}
ofp-table.c:print_mf_bitmap:
 1476|  45.6k|{
 1477|  45.6k|    const char *ids[MFF_N_IDS];
 1478|  45.6k|    size_t n = 0;
 1479|       |
 1480|  45.6k|    int i;
 1481|   345k|    BITMAP_FOR_EACH_1 (i, MFF_N_IDS, mfb->bm) {
  ------------------
  |  |  281|  45.6k|    BITMAP_FOR_EACH_1_RANGE(IDX, 0, SIZE, BITMAP)
  |  |  ------------------
  |  |  |  |  278|   390k|    for ((IDX) = bitmap_scan(BITMAP, true, BEGIN, END); (IDX) < (END);   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (278:57): [True: 345k, False: 45.6k]
  |  |  |  |  ------------------
  |  |  |  |  279|   345k|         (IDX) = bitmap_scan(BITMAP, true, (IDX) + 1, END))
  |  |  ------------------
  ------------------
 1482|   345k|        ids[n++] = mf_from_id(i)->name;
 1483|   345k|    }
 1484|       |
 1485|  45.6k|    if (n > 0) {
  ------------------
  |  Branch (1485:9): [True: 45.6k, False: 0]
  ------------------
 1486|  45.6k|        ds_put_char(s, ' ');
 1487|  45.6k|        print_names(s, ids, n, 0);
 1488|  45.6k|    }
 1489|  45.6k|}
ofp-table.c:print_names:
 1439|   135k|{
 1440|   135k|    int group = 0;
 1441|   571k|    while (n > 0) {
  ------------------
  |  Branch (1441:12): [True: 435k, False: 135k]
  ------------------
 1442|   435k|        if (group++) {
  ------------------
  |  Branch (1442:13): [True: 299k, False: 135k]
  ------------------
 1443|   299k|            ds_put_char(s, prefix_len ? ',' : ' ');
  ------------------
  |  Branch (1443:28): [True: 112k, False: 187k]
  ------------------
 1444|   299k|        }
 1445|       |
 1446|       |        /* Count the prefix and suffix runs at the beginning of 'ids'.  As of
 1447|       |         * this writing we don't have any sequentially numbered fields whose
 1448|       |         * names contain "_", so we should only have one or the other at a
 1449|       |         * time.  However, if we end up with something like "a_0 a_1 a_2"
 1450|       |         * someday, we want to render it as a_0...a_2, not as a_{0...2}, so
 1451|       |         * given equal suffix and prefix runs, prefer the suffix. */
 1452|   435k|        size_t extra_prefix_len;
 1453|   435k|        size_t prefix_run = count_common_prefix_run(ids, n, prefix_len,
 1454|   435k|                                                    &extra_prefix_len);
 1455|   435k|        size_t suffix_run = count_sequential_suffix_run(ids, n);
 1456|   435k|        size_t run = MAX(prefix_run, suffix_run);
  ------------------
  |  |   95|   435k|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 90.2k, False: 345k]
  |  |  ------------------
  ------------------
 1457|   435k|        if (suffix_run >= prefix_run) {
  ------------------
  |  Branch (1457:13): [True: 345k, False: 90.2k]
  ------------------
 1458|   345k|            ds_put_format(s, "%s", ids[0] + prefix_len);
 1459|   345k|            if (run > 1) {
  ------------------
  |  Branch (1459:17): [True: 0, False: 345k]
  ------------------
 1460|      0|                ds_put_format(s, "...%s", ids[run - 1] + prefix_len);
 1461|      0|            }
 1462|   345k|        } else {
 1463|  90.2k|            ds_put_format(s, "%.*s{", (int) extra_prefix_len,
 1464|  90.2k|                          ids[0] + prefix_len);
 1465|  90.2k|            print_names(s, ids, run, prefix_len + extra_prefix_len);
 1466|  90.2k|            ds_put_char(s, '}');
 1467|  90.2k|        }
 1468|       |
 1469|   435k|        ids += run;
 1470|   435k|        n -= run;
 1471|   435k|    }
 1472|   135k|}
ofp-table.c:count_common_prefix_run:
 1400|   435k|{
 1401|   435k|    *extra_prefix_lenp = 0;
 1402|   435k|    if (n < 2) {
  ------------------
  |  Branch (1402:9): [True: 119k, False: 315k]
  ------------------
 1403|   119k|        return n;
 1404|   119k|    }
 1405|       |
 1406|   315k|    size_t extra_prefix_len = count_common_prefix(ids[0] + prefix_len,
 1407|   315k|                                                  ids[1] + prefix_len);
 1408|   315k|    if (!extra_prefix_len) {
  ------------------
  |  Branch (1408:9): [True: 225k, False: 90.2k]
  ------------------
 1409|   225k|        return 1;
 1410|   225k|    }
 1411|       |
 1412|  90.2k|    size_t i = 2;
 1413|   112k|    while (i < n) {
  ------------------
  |  Branch (1413:12): [True: 96.3k, False: 16.0k]
  ------------------
 1414|  96.3k|        size_t next = count_common_prefix(ids[0] + prefix_len,
 1415|  96.3k|                                          ids[i] + prefix_len);
 1416|  96.3k|        if (!next) {
  ------------------
  |  Branch (1416:13): [True: 74.2k, False: 22.1k]
  ------------------
 1417|  74.2k|            break;
 1418|  74.2k|        } else if (next < extra_prefix_len) {
  ------------------
  |  Branch (1418:20): [True: 0, False: 22.1k]
  ------------------
 1419|      0|            extra_prefix_len = next;
 1420|      0|        }
 1421|  22.1k|        i++;
 1422|  22.1k|    }
 1423|  90.2k|    *extra_prefix_lenp = extra_prefix_len;
 1424|  90.2k|    return i;
 1425|   315k|}
ofp-table.c:count_common_prefix:
 1378|   411k|{
 1379|   411k|    size_t retval = 0;
 1380|   920k|    for (size_t i = 0; ; i++) {
 1381|   920k|        if (a[i] != b[i] || !a[i]) {
  ------------------
  |  Branch (1381:13): [True: 411k, False: 508k]
  |  Branch (1381:29): [True: 0, False: 508k]
  ------------------
 1382|   411k|            return retval;
 1383|   508k|        } else if (a[i] == '_') {
  ------------------
  |  Branch (1383:20): [True: 112k, False: 395k]
  ------------------
 1384|   112k|            retval = i + 1;
 1385|   112k|        }
 1386|   920k|    }
 1387|   411k|}
ofp-table.c:count_sequential_suffix_run:
 1365|   435k|{
 1366|   435k|    for (size_t i = 1; ; i++) {
 1367|   435k|        if (i >= n || !are_names_sequential(ids[i - 1], ids[i])) {
  ------------------
  |  Branch (1367:13): [True: 119k, False: 315k]
  |  Branch (1367:23): [True: 315k, False: 0]
  ------------------
 1368|       |            /* "x0...x1" is worse than "x0 x1", so suppress it. */
 1369|   435k|            return i == 2 ? 1 : i;
  ------------------
  |  Branch (1369:20): [True: 0, False: 435k]
  ------------------
 1370|   435k|        }
 1371|   435k|    }
 1372|   435k|}
ofp-table.c:are_names_sequential:
 1345|   315k|{
 1346|       |    /* Skip common prefix. */
 1347|  1.18M|    for (; *a == *b; a++, b++) {
  ------------------
  |  Branch (1347:12): [True: 872k, False: 315k]
  ------------------
 1348|   872k|        if (!*a) {
  ------------------
  |  Branch (1348:13): [True: 0, False: 872k]
  ------------------
 1349|       |            /* 'a' and 'b' are the same.  Weird, but not sequential. */
 1350|      0|            return false;
 1351|      0|        }
 1352|   872k|    }
 1353|       |
 1354|   315k|    return (is_all_digits(a)
  ------------------
  |  Branch (1354:13): [True: 0, False: 315k]
  ------------------
 1355|      0|            && is_all_digits(b)
  ------------------
  |  Branch (1355:16): [True: 0, False: 0]
  ------------------
 1356|      0|            && strlen(a) < 10
  ------------------
  |  Branch (1356:16): [True: 0, False: 0]
  ------------------
 1357|      0|            && strlen(b) < 10
  ------------------
  |  Branch (1357:16): [True: 0, False: 0]
  ------------------
 1358|      0|            && atoi(a) + 1 == atoi(b));
  ------------------
  |  Branch (1358:16): [True: 0, False: 0]
  ------------------
 1359|   315k|}
ofp-table.c:is_all_digits:
 1337|   315k|{
 1338|   315k|    return s[0] && s[strspn(s, "0123456789")] == '\0';
  ------------------
  |  Branch (1338:12): [True: 315k, False: 0]
  |  Branch (1338:20): [True: 0, False: 315k]
  ------------------
 1339|   315k|}
ofp-table.c:print_matches:
 1591|  65.9k|{
 1592|  65.9k|    const struct mf_bitmap m = mask ? f->mask : mf_bitmap_not(f->mask);
  ------------------
  |  Branch (1592:32): [True: 21.9k, False: 43.9k]
  ------------------
 1593|  65.9k|    const struct mf_bitmap w = wc ? f->wildcard : mf_bitmap_not(f->wildcard);
  ------------------
  |  Branch (1593:32): [True: 43.9k, False: 21.9k]
  ------------------
 1594|  65.9k|    const struct mf_bitmap bm = mf_bitmap_and(f->match, mf_bitmap_and(m, w));
 1595|       |
 1596|  65.9k|    if (!bitmap_is_all_zeros(bm.bm, MFF_N_IDS)) {
  ------------------
  |  Branch (1596:9): [True: 29.5k, False: 36.3k]
  ------------------
 1597|  29.5k|        ds_put_format(s, "      %s:", title);
 1598|  29.5k|        print_mf_bitmap(s, &bm);
 1599|  29.5k|        ds_put_char(s, '\n');
 1600|  29.5k|    }
 1601|  65.9k|}
ofp-table.c:ofputil_decode_ofp10_table_stats:
 2128|  12.2k|{
 2129|  12.2k|    struct ofp10_table_stats *ots;
 2130|       |
 2131|  12.2k|    ots = ofpbuf_try_pull(msg, sizeof *ots);
 2132|  12.2k|    if (!ots) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 12.2k]
  ------------------
 2133|      0|        return OFPERR_OFPBRC_BAD_LEN;
 2134|      0|    }
 2135|       |
 2136|  12.2k|    features->table_id = ots->table_id;
 2137|  12.2k|    ovs_strlcpy_arrays(features->name, ots->name);
  ------------------
  |  |  209|  12.2k|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|  12.2k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|  12.2k|    features->max_entries = ntohl(ots->max_entries);
 2139|  12.2k|    features->match = features->wildcard = mf_bitmap_from_of10(ots->wildcards);
 2140|       |
 2141|  12.2k|    stats->table_id = ots->table_id;
 2142|  12.2k|    stats->active_count = ntohl(ots->active_count);
 2143|  12.2k|    stats->lookup_count = ntohll(get_32aligned_be64(&ots->lookup_count));
 2144|  12.2k|    stats->matched_count = ntohll(get_32aligned_be64(&ots->matched_count));
 2145|       |
 2146|  12.2k|    return 0;
 2147|  12.2k|}
ofp-table.c:mf_bitmap_from_of10:
 1927|  12.2k|{
 1928|  12.2k|    struct mf_bitmap fields = MF_BITMAP_INITIALIZER;
  ------------------
  |  | 2053|  12.2k|#define MF_BITMAP_INITIALIZER { { [0] = 0 } }
  ------------------
 1929|  12.2k|    const struct ofp10_wc_map *p;
 1930|  12.2k|    uint32_t wc10 = ntohl(wc10_);
 1931|       |
 1932|   158k|    for (p = ofp10_wc_map; p < &ofp10_wc_map[ARRAY_SIZE(ofp10_wc_map)]; p++) {
  ------------------
  |  |  297|   158k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|   158k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|   158k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|   158k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|   158k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1932:28): [True: 146k, False: 12.2k]
  ------------------
 1933|   146k|        if (wc10 & p->wc10) {
  ------------------
  |  Branch (1933:13): [True: 56.8k, False: 89.7k]
  ------------------
 1934|  56.8k|            bitmap_set1(fields.bm, p->mf);
 1935|  56.8k|        }
 1936|   146k|    }
 1937|  12.2k|    return fields;
 1938|  12.2k|}
ofp-table.c:ofputil_decode_ofp11_table_stats:
 2153|  7.88k|{
 2154|  7.88k|    struct ofp11_table_stats *ots;
 2155|       |
 2156|  7.88k|    ots = ofpbuf_try_pull(msg, sizeof *ots);
 2157|  7.88k|    if (!ots) {
  ------------------
  |  Branch (2157:9): [True: 0, False: 7.88k]
  ------------------
 2158|      0|        return OFPERR_OFPBRC_BAD_LEN;
 2159|      0|    }
 2160|       |
 2161|  7.88k|    features->table_id = ots->table_id;
 2162|  7.88k|    ovs_strlcpy_arrays(features->name, ots->name);
  ------------------
  |  |  209|  7.88k|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|  7.88k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 7.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|  7.88k|    features->max_entries = ntohl(ots->max_entries);
 2164|  7.88k|    features->nonmiss.instructions = ovsinst_bitmap_from_openflow(
 2165|  7.88k|        ots->instructions, OFP11_VERSION);
 2166|  7.88k|    features->nonmiss.write.ofpacts = ofpact_bitmap_from_openflow(
 2167|  7.88k|        ots->write_actions, OFP11_VERSION);
 2168|  7.88k|    features->nonmiss.apply.ofpacts = ofpact_bitmap_from_openflow(
 2169|  7.88k|        ots->write_actions, OFP11_VERSION);
 2170|  7.88k|    features->miss = features->nonmiss;
 2171|  7.88k|    features->miss_config = ofputil_decode_table_miss(ots->config,
 2172|  7.88k|                                                      OFP11_VERSION);
 2173|  7.88k|    features->match = mf_bitmap_from_of11(ots->match);
 2174|  7.88k|    features->wildcard = mf_bitmap_from_of11(ots->wildcards);
 2175|  7.88k|    bitmap_or(features->match.bm, features->wildcard.bm, MFF_N_IDS);
 2176|       |
 2177|  7.88k|    stats->table_id = ots->table_id;
 2178|  7.88k|    stats->active_count = ntohl(ots->active_count);
 2179|  7.88k|    stats->lookup_count = ntohll(ots->lookup_count);
 2180|  7.88k|    stats->matched_count = ntohll(ots->matched_count);
 2181|       |
 2182|  7.88k|    return 0;
 2183|  7.88k|}
ofp-table.c:mf_bitmap_from_of11:
 1998|  15.7k|{
 1999|  15.7k|    struct mf_bitmap fields = MF_BITMAP_INITIALIZER;
  ------------------
  |  | 2053|  15.7k|#define MF_BITMAP_INITIALIZER { { [0] = 0 } }
  ------------------
 2000|  15.7k|    const struct ofp11_wc_map *p;
 2001|  15.7k|    uint32_t wc11 = ntohl(wc11_);
 2002|       |
 2003|   252k|    for (p = ofp11_wc_map; p < &ofp11_wc_map[ARRAY_SIZE(ofp11_wc_map)]; p++) {
  ------------------
  |  |  297|   252k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|   252k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|   252k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|   252k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   252k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|   252k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2003:28): [True: 236k, False: 15.7k]
  ------------------
 2004|   236k|        if (wc11 & p->wc11) {
  ------------------
  |  Branch (2004:13): [True: 84.7k, False: 151k]
  ------------------
 2005|  84.7k|            bitmap_set1(fields.bm, p->mf);
 2006|  84.7k|        }
 2007|   236k|    }
 2008|  15.7k|    return fields;
 2009|  15.7k|}
ofp-table.c:ofputil_decode_ofp12_table_stats:
 2189|  12.2k|{
 2190|  12.2k|    struct ofp12_table_stats *ots;
 2191|       |
 2192|  12.2k|    ots = ofpbuf_try_pull(msg, sizeof *ots);
 2193|  12.2k|    if (!ots) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 12.2k]
  ------------------
 2194|      0|        return OFPERR_OFPBRC_BAD_LEN;
 2195|      0|    }
 2196|       |
 2197|  12.2k|    features->table_id = ots->table_id;
 2198|  12.2k|    ovs_strlcpy_arrays(features->name, ots->name);
  ------------------
  |  |  209|  12.2k|    ovs_strlcpy(DST, SRC, MIN(ARRAY_SIZE(DST), ARRAY_SIZE(SRC)))
  |  |  ------------------
  |  |  |  |   91|  12.2k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (91:20): [Folded, False: 12.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2199|  12.2k|    features->metadata_match = ots->metadata_match;
 2200|  12.2k|    features->metadata_write = ots->metadata_write;
 2201|  12.2k|    features->miss_config = ofputil_decode_table_miss(ots->config,
 2202|  12.2k|                                                      OFP12_VERSION);
 2203|  12.2k|    features->max_entries = ntohl(ots->max_entries);
 2204|       |
 2205|  12.2k|    features->nonmiss.instructions = ovsinst_bitmap_from_openflow(
 2206|  12.2k|        ots->instructions, OFP12_VERSION);
 2207|  12.2k|    features->nonmiss.write.ofpacts = ofpact_bitmap_from_openflow(
 2208|  12.2k|        ots->write_actions, OFP12_VERSION);
 2209|  12.2k|    features->nonmiss.apply.ofpacts = ofpact_bitmap_from_openflow(
 2210|  12.2k|        ots->apply_actions, OFP12_VERSION);
 2211|  12.2k|    features->nonmiss.write.set_fields = oxm_bitmap_to_mf_bitmap(
 2212|  12.2k|        ots->write_setfields, OFP12_VERSION);
 2213|  12.2k|    features->nonmiss.apply.set_fields = oxm_bitmap_to_mf_bitmap(
 2214|  12.2k|        ots->apply_setfields, OFP12_VERSION);
 2215|  12.2k|    features->miss = features->nonmiss;
 2216|       |
 2217|  12.2k|    features->match = oxm_bitmap_to_mf_bitmap(ots->match, OFP12_VERSION);
 2218|  12.2k|    features->wildcard = oxm_bitmap_to_mf_bitmap(ots->wildcards,
 2219|  12.2k|                                                 OFP12_VERSION);
 2220|  12.2k|    bitmap_or(features->match.bm, features->wildcard.bm, MFF_N_IDS);
 2221|       |
 2222|  12.2k|    stats->table_id = ots->table_id;
 2223|  12.2k|    stats->active_count = ntohl(ots->active_count);
 2224|  12.2k|    stats->lookup_count = ntohll(ots->lookup_count);
 2225|  12.2k|    stats->matched_count = ntohll(ots->matched_count);
 2226|       |
 2227|  12.2k|    return 0;
 2228|  12.2k|}
ofp-table.c:ofputil_decode_ofp13_table_stats:
 2234|  5.88k|{
 2235|  5.88k|    struct ofp13_table_stats *ots;
 2236|       |
 2237|  5.88k|    ots = ofpbuf_try_pull(msg, sizeof *ots);
 2238|  5.88k|    if (!ots) {
  ------------------
  |  Branch (2238:9): [True: 0, False: 5.88k]
  ------------------
 2239|      0|        return OFPERR_OFPBRC_BAD_LEN;
 2240|      0|    }
 2241|       |
 2242|  5.88k|    features->table_id = ots->table_id;
 2243|       |
 2244|  5.88k|    stats->table_id = ots->table_id;
 2245|  5.88k|    stats->active_count = ntohl(ots->active_count);
 2246|  5.88k|    stats->lookup_count = ntohll(ots->lookup_count);
 2247|  5.88k|    stats->matched_count = ntohll(ots->matched_count);
 2248|       |
 2249|  5.88k|    return 0;
 2250|  5.88k|}

ofputil_decode_hello:
  112|  42.1k|{
  113|  42.1k|    struct ofpbuf msg = ofpbuf_const_initializer(oh, ntohs(oh->length));
  114|  42.1k|    ofpbuf_pull(&msg, sizeof *oh);
  115|       |
  116|  42.1k|    *allowed_versions = version_bitmap_from_version(oh->version);
  117|       |
  118|  42.1k|    bool ok = true;
  119|  52.5k|    while (msg.size) {
  ------------------
  |  Branch (119:12): [True: 39.6k, False: 12.8k]
  ------------------
  120|  39.6k|        const struct ofp_hello_elem_header *oheh;
  121|  39.6k|        unsigned int len;
  122|       |
  123|  39.6k|        if (msg.size < sizeof *oheh) {
  ------------------
  |  Branch (123:13): [True: 1.39k, False: 38.2k]
  ------------------
  124|  1.39k|            return false;
  125|  1.39k|        }
  126|       |
  127|  38.2k|        oheh = msg.data;
  128|  38.2k|        len = ntohs(oheh->length);
  129|  38.2k|        if (len < sizeof *oheh || !ofpbuf_try_pull(&msg, ROUND_UP(len, 8))) {
  ------------------
  |  |  303|  31.9k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  31.9k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  |  Branch (129:13): [True: 6.28k, False: 31.9k]
  |  Branch (129:35): [True: 21.6k, False: 10.3k]
  ------------------
  130|  27.8k|            return false;
  131|  27.8k|        }
  132|       |
  133|  10.3k|        if (oheh->type != htons(OFPHET_VERSIONBITMAP)
  ------------------
  |  Branch (133:13): [True: 9.37k, False: 1.00k]
  ------------------
  134|  9.95k|            || !ofputil_decode_hello_bitmap(oheh, allowed_versions)) {
  ------------------
  |  Branch (134:16): [True: 585, False: 417]
  ------------------
  135|  9.95k|            ok = false;
  136|  9.95k|        }
  137|  10.3k|    }
  138|       |
  139|  12.8k|    return ok;
  140|  42.1k|}
ofputil_hello_format:
  179|  42.1k|{
  180|  42.1k|    uint32_t allowed_versions;
  181|  42.1k|    bool ok;
  182|       |
  183|  42.1k|    ok = ofputil_decode_hello(oh, &allowed_versions);
  184|       |
  185|  42.1k|    ds_put_cstr(string, "\n version bitmap: ");
  186|  42.1k|    ofputil_format_version_bitmap(string, allowed_versions);
  187|       |
  188|  42.1k|    if (!ok) {
  ------------------
  |  Branch (188:9): [True: 29.5k, False: 12.5k]
  ------------------
  189|  29.5k|        ds_put_cstr(string, "\n unknown data in hello:\n");
  190|  29.5k|        ds_put_hex_dump(string, oh, ntohs(oh->length), 0, true);
  191|  29.5k|    }
  192|  42.1k|}
ofp-util.c:version_bitmap_from_version:
   99|  42.1k|{
  100|  42.1k|    return ((ofp_version < 32 ? 1u << ofp_version : 0) - 1) << 1;
  ------------------
  |  Branch (100:14): [True: 24.6k, False: 17.4k]
  ------------------
  101|  42.1k|}
ofp-util.c:ofputil_decode_hello_bitmap:
   64|  1.00k|{
   65|  1.00k|    uint16_t bitmap_len = ntohs(oheh->length) - sizeof *oheh;
   66|  1.00k|    const ovs_be32 *bitmap = ALIGNED_CAST(const ovs_be32 *, oheh + 1);
  ------------------
  |  |  434|  1.00k|#define ALIGNED_CAST(TYPE, ATTR) ((TYPE) (void *) (ATTR))
  ------------------
   67|  1.00k|    uint32_t allowed_versions;
   68|       |
   69|  1.00k|    if (!bitmap_len || bitmap_len % sizeof *bitmap) {
  ------------------
  |  Branch (69:9): [True: 80, False: 922]
  |  Branch (69:24): [True: 127, False: 795]
  ------------------
   70|    207|        return false;
   71|    207|    }
   72|       |
   73|       |    /* Only use the first 32-bit element of the bitmap as that is all the
   74|       |     * current implementation supports.  Subsequent elements are ignored which
   75|       |     * should have no effect on session negotiation until Open vSwitch supports
   76|       |     * wire-protocol versions greater than 31.
   77|       |     */
   78|    795|    allowed_versions = ntohl(bitmap[0]);
   79|       |
   80|    795|    if (allowed_versions & 1) {
  ------------------
  |  Branch (80:9): [True: 447, False: 348]
  ------------------
   81|       |        /* There's no OpenFlow version 0. */
   82|    447|        VLOG_WARN_RL(&bad_ofmsg_rl, "peer claims to support invalid OpenFlow "
  ------------------
  |  |  224|    447|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    447|    do {                                                                \
  |  |  |  |  288|    447|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    447|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 447]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    447|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 447]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|    447|                     "version 0x00");
   84|    447|        allowed_versions &= ~1u;
   85|    447|    }
   86|       |
   87|    795|    if (!allowed_versions) {
  ------------------
  |  Branch (87:9): [True: 378, False: 417]
  ------------------
   88|    378|        VLOG_WARN_RL(&bad_ofmsg_rl, "peer does not support any OpenFlow "
  ------------------
  |  |  224|    378|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    378|    do {                                                                \
  |  |  |  |  288|    378|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    378|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 378]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    378|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 378]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|    378|                     "version (between 0x01 and 0x1f)");
   90|    378|        return false;
   91|    378|    }
   92|       |
   93|    417|    *allowed_versionsp = allowed_versions;
   94|       |    return true;
   95|    795|}

ofpbuf_use_const:
  114|   404k|{
  115|   404k|    ofpbuf_use__(b, CONST_CAST(void *, data), size, size, OFPBUF_STACK);
  ------------------
  |  |   85|   404k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   404k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   404k|     (TYPE) (POINTER))
  ------------------
  116|   404k|}
ofpbuf_use_data:
  132|   103k|{
  133|   103k|    ofpbuf_use__(b, CONST_CAST(void *, data), size, size, OFPBUF_STUB);
  ------------------
  |  |   85|   103k|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|   103k|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|   103k|     (TYPE) (POINTER))
  ------------------
  134|   103k|}
ofpbuf_init:
  140|  1.18M|{
  141|  1.18M|    ofpbuf_use(b, size ? xmalloc(size) : NULL, size);
  ------------------
  |  Branch (141:19): [True: 526k, False: 655k]
  ------------------
  142|  1.18M|}
ofpbuf_uninit:
  147|  1.14M|{
  148|  1.14M|    if (b) {
  ------------------
  |  Branch (148:9): [True: 1.14M, False: 0]
  ------------------
  149|  1.14M|        if (b->source == OFPBUF_MALLOC) {
  ------------------
  |  Branch (149:13): [True: 978k, False: 168k]
  ------------------
  150|   978k|            free(b->base);
  151|   978k|        }
  152|  1.14M|    }
  153|  1.14M|}
ofpbuf_prealloc_tailroom:
  306|   598k|{
  307|   598k|    if (size > ofpbuf_tailroom(b)) {
  ------------------
  |  Branch (307:9): [True: 101k, False: 496k]
  ------------------
  308|   101k|        ofpbuf_resize__(b, ofpbuf_headroom(b), MAX(size, 64));
  ------------------
  |  |   95|   101k|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 13.8k, False: 87.9k]
  |  |  ------------------
  ------------------
  309|   101k|    }
  310|   598k|}
ofpbuf_prealloc_headroom:
  317|   117k|{
  318|   117k|    if (size > ofpbuf_headroom(b)) {
  ------------------
  |  Branch (318:9): [True: 100k, False: 16.5k]
  ------------------
  319|   100k|        ofpbuf_resize__(b, MAX(size, 64), ofpbuf_tailroom(b));
  ------------------
  |  |   95|   100k|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 1.19k, False: 99.6k]
  |  |  ------------------
  ------------------
  320|   100k|    }
  321|   117k|}
ofpbuf_trim:
  336|   516k|{
  337|   516k|    if (b->source == OFPBUF_MALLOC
  ------------------
  |  Branch (337:9): [True: 516k, False: 0]
  ------------------
  338|   516k|        && (ofpbuf_headroom(b) || ofpbuf_tailroom(b))) {
  ------------------
  |  Branch (338:13): [True: 97.4k, False: 419k]
  |  Branch (338:35): [True: 1.21k, False: 418k]
  ------------------
  339|  98.6k|        ofpbuf_resize__(b, 0, 0);
  340|  98.6k|    }
  341|   516k|}
ofpbuf_padto:
  368|  76.2k|{
  369|  76.2k|    if (b->size < length) {
  ------------------
  |  Branch (369:9): [True: 16.0k, False: 60.2k]
  ------------------
  370|  16.0k|        ofpbuf_put_zeros(b, length - b->size);
  371|  16.0k|    }
  372|  76.2k|}
ofpbuf_put_uninit:
  401|   598k|{
  402|   598k|    void *p;
  403|   598k|    ofpbuf_prealloc_tailroom(b, size);
  404|   598k|    p = ofpbuf_tail(b);
  405|   598k|    b->size += size;
  406|   598k|    return p;
  407|   598k|}
ofpbuf_put_zeros:
  414|   122k|{
  415|   122k|    void *dst = ofpbuf_put_uninit(b, size);
  416|   122k|    nullable_memset(dst, 0, size);
  417|   122k|    return dst;
  418|   122k|}
ofpbuf_put:
  425|   172k|{
  426|   172k|    if (!size) {
  ------------------
  |  Branch (426:9): [True: 24.3k, False: 148k]
  ------------------
  427|  24.3k|        return ofpbuf_tail(b);
  428|  24.3k|    }
  429|       |
  430|   148k|    void *dst = ofpbuf_put_uninit(b, size);
  431|   148k|    memcpy(dst, p, size);
  432|   148k|    return dst;
  433|   172k|}
ofpbuf_push_uninit:
  481|   543k|{
  482|   543k|    if (!size) {
  ------------------
  |  Branch (482:9): [True: 425k, False: 117k]
  ------------------
  483|   425k|        return b->data;
  484|   425k|    }
  485|       |
  486|   117k|    ofpbuf_prealloc_headroom(b, size);
  487|   117k|    b->data = (char*)b->data - size;
  488|   117k|    b->size += size;
  489|   117k|    return b->data;
  490|   543k|}
ofpbuf_push:
  508|   522k|{
  509|   522k|    void *dst = ofpbuf_push_uninit(b, size);
  510|   522k|    memcpy(dst, p, size);
  511|   522k|    return dst;
  512|   522k|}
ofpbuf_steal_data:
  537|   203k|{
  538|   203k|    void *p;
  539|       |
  540|   203k|    if (b->source == OFPBUF_MALLOC && b->data == b->base) {
  ------------------
  |  Branch (540:9): [True: 203k, False: 0]
  |  Branch (540:39): [True: 201k, False: 2.15k]
  ------------------
  541|   201k|        p = b->data;
  542|   201k|    } else {
  543|  2.15k|        p = xmemdup(b->data, b->size);
  544|  2.15k|        if (b->source == OFPBUF_MALLOC) {
  ------------------
  |  Branch (544:13): [True: 2.15k, False: 0]
  ------------------
  545|  2.15k|            free(b->base);
  546|  2.15k|        }
  547|  2.15k|    }
  548|   203k|    b->base = NULL;
  549|   203k|    b->data = NULL;
  550|   203k|    b->header = NULL;
  551|       |    b->msg = NULL;
  552|   203k|    return p;
  553|   203k|}
ofpbuf.c:ofpbuf_use__:
   37|  1.69M|{
   38|  1.69M|    b->base = base;
   39|  1.69M|    b->data = base;
   40|  1.69M|    b->size = size;
   41|       |
   42|  1.69M|    ofpbuf_init__(b, allocated, source);
   43|  1.69M|}
ofpbuf.c:ofpbuf_init__:
   26|  1.69M|{
   27|  1.69M|    b->allocated = allocated;
   28|  1.69M|    b->source = source;
   29|  1.69M|    b->header = NULL;
   30|       |    b->msg = NULL;
   31|  1.69M|    ovs_list_poison(&b->list_node);
   32|  1.69M|}
ofpbuf.c:ofpbuf_use:
   51|  1.18M|{
   52|  1.18M|    ofpbuf_use__(b, base, allocated, 0, OFPBUF_MALLOC);
   53|  1.18M|}
ofpbuf.c:ofpbuf_resize__:
  252|   301k|{
  253|   301k|    void *new_base, *new_data;
  254|   301k|    size_t new_allocated;
  255|       |
  256|   301k|    new_allocated = new_headroom + b->size + new_tailroom;
  257|       |
  258|   301k|    switch (b->source) {
  259|   301k|    case OFPBUF_MALLOC:
  ------------------
  |  Branch (259:5): [True: 301k, False: 0]
  ------------------
  260|   301k|        if (new_headroom == ofpbuf_headroom(b)) {
  ------------------
  |  Branch (260:13): [True: 102k, False: 198k]
  ------------------
  261|   102k|            new_base = xrealloc(b->base, new_allocated);
  262|   198k|        } else {
  263|   198k|            new_base = xmalloc(new_allocated);
  264|   198k|            ofpbuf_copy__(b, new_base, new_headroom, new_tailroom);
  265|   198k|            free(b->base);
  266|   198k|        }
  267|   301k|        break;
  268|       |
  269|      0|    case OFPBUF_STACK:
  ------------------
  |  Branch (269:5): [True: 0, False: 301k]
  ------------------
  270|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  271|       |
  272|      0|    case OFPBUF_STUB:
  ------------------
  |  Branch (272:5): [True: 0, False: 301k]
  ------------------
  273|      0|        b->source = OFPBUF_MALLOC;
  274|      0|        new_base = xmalloc(new_allocated);
  275|      0|        ofpbuf_copy__(b, new_base, new_headroom, new_tailroom);
  276|      0|        break;
  277|       |
  278|      0|    default:
  ------------------
  |  Branch (278:5): [True: 0, False: 301k]
  ------------------
  279|      0|        OVS_NOT_REACHED();
  ------------------
  |  |  107|      0|#define OVS_NOT_REACHED() abort()
  ------------------
  280|   301k|    }
  281|       |
  282|   301k|    b->allocated = new_allocated;
  283|   301k|    b->base = new_base;
  284|       |
  285|   301k|    new_data = (char *) new_base + new_headroom;
  286|   301k|    if (b->data != new_data) {
  ------------------
  |  Branch (286:9): [True: 292k, False: 8.31k]
  ------------------
  287|   292k|        if (b->header) {
  ------------------
  |  Branch (287:13): [True: 71.7k, False: 221k]
  ------------------
  288|  71.7k|            ptrdiff_t header_offset = (char *) b->header - (char *) b->data;
  289|       |
  290|  71.7k|            b->header = (char *) new_data + header_offset;
  291|  71.7k|        }
  292|   292k|        if (b->msg) {
  ------------------
  |  Branch (292:13): [True: 0, False: 292k]
  ------------------
  293|      0|            ptrdiff_t msg_offset = (char *) b->msg - (char *) b->data;
  294|       |
  295|      0|            b->msg = (char *) new_data + msg_offset;
  296|      0|        }
  297|   292k|        b->data = new_data;
  298|   292k|    }
  299|   301k|}
ofpbuf.c:ofpbuf_copy__:
  236|   198k|{
  237|   198k|    const uint8_t *old_base = b->base;
  238|   198k|    size_t old_headroom = ofpbuf_headroom(b);
  239|   198k|    size_t old_tailroom = ofpbuf_tailroom(b);
  240|   198k|    size_t copy_headroom = MIN(old_headroom, new_headroom);
  ------------------
  |  |   91|   198k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 100k, False: 97.4k]
  |  |  ------------------
  ------------------
  241|   198k|    size_t copy_tailroom = MIN(old_tailroom, new_tailroom);
  ------------------
  |  |   91|   198k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 0, False: 198k]
  |  |  ------------------
  ------------------
  242|       |
  243|   198k|    memcpy(&new_base[new_headroom - copy_headroom],
  244|   198k|           &old_base[old_headroom - copy_headroom],
  245|   198k|           copy_headroom + b->size + copy_tailroom);
  246|   198k|}

ovs_mutex_lock_at:
   58|    188|    { \
   59|    188|        struct ovs_##TYPE *l = CONST_CAST(struct ovs_##TYPE *, l_); \
  ------------------
  |  |   85|    188|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|    188|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|    188|     (TYPE) (POINTER))
  ------------------
   60|    188|        int error; \
   61|    188| \
   62|    188|        /* Verify that 'l' was initialized. */ \
   63|    188|        if (OVS_UNLIKELY(!l->where)) { \
  ------------------
  |  |   66|    188|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 188]
  |  |  ------------------
  ------------------
   64|      0|            VLOG_ABORT("%s: %s() passed uninitialized ovs_"#TYPE, \
  ------------------
  |  |  206|      0|#define VLOG_ABORT(...) vlog_abort(&this_module, __VA_ARGS__)
  ------------------
   65|      0|                       where, __func__); \
   66|      0|        } \
   67|    188| \
   68|    188|        error = pthread_##TYPE##_##FUN(&l->lock); \
   69|    188|        if (OVS_UNLIKELY(error)) { \
  ------------------
  |  |   66|    188|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 188]
  |  |  ------------------
  ------------------
   70|      0|            VLOG_ABORT("%s: pthread_%s_%s failed: %s", where, #TYPE, #FUN, \
  ------------------
  |  |  206|      0|#define VLOG_ABORT(...) vlog_abort(&this_module, __VA_ARGS__)
  ------------------
   71|      0|                       ovs_strerror(error)); \
   72|      0|        } \
   73|    188|        l->where = where; \
   74|    188| }
ovs_mutex_unlock:
  118|    188|    { \
  119|    188|        struct ovs_##TYPE *l = CONST_CAST(struct ovs_##TYPE *, l_); \
  ------------------
  |  |   85|    188|    (BUILD_ASSERT_TYPE(POINTER, TYPE),                          \
  |  |  ------------------
  |  |  |  |   80|    188|    ((void) sizeof ((int) ((POINTER) == (TYPE) (POINTER))))
  |  |  ------------------
  |  |   86|    188|     (TYPE) (POINTER))
  ------------------
  120|    188|        int error; \
  121|    188| \
  122|    188|        /* Verify that 'l' was initialized. */ \
  123|    188|        ovs_assert(l->where); \
  ------------------
  |  |   62|    188|#define ovs_assert ovs_ignore
  ------------------
  124|    188| \
  125|    188|        l->where = WHERE; \
  126|    188|        error = pthread_##TYPE##_##FUN(&l->lock); \
  127|    188|        if (OVS_UNLIKELY(error)) { \
  ------------------
  |  |   66|    188|#define OVS_UNLIKELY(CONDITION) __builtin_expect(!!(CONDITION), 0)
  |  |  ------------------
  |  |  |  Branch (66:33): [True: 0, False: 188]
  |  |  ------------------
  ------------------
  128|      0|            VLOG_ABORT("%s: pthread_%s_%s failed: %s", l->where, #TYPE, #FUN, \
  ------------------
  |  |  206|      0|#define VLOG_ABORT(...) vlog_abort(&this_module, __VA_ARGS__)
  ------------------
  129|      0|                       ovs_strerror(error)); \
  130|      0|        } \
  131|    188|    }
ovsthread_once_start__:
  495|      3|{
  496|      3|    ovs_mutex_lock(&once->mutex);
  ------------------
  |  |   71|      3|        ovs_mutex_lock_at(mutex, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|      3|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      3|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|      3|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|       |    /* Mutex synchronizes memory, so we get the current value of 'done'. */
  498|      3|    if (!once->done) {
  ------------------
  |  Branch (498:9): [True: 3, False: 0]
  ------------------
  499|      3|        return true;
  500|      3|    }
  501|      0|    ovs_mutex_unlock(&once->mutex);
  502|       |    return false;
  503|      3|}
ovsthread_once_done:
  507|      3|{
  508|       |    /* We need release semantics here, so that the following store may not
  509|       |     * be moved ahead of any of the preceding initialization operations.
  510|       |     * A release atomic_thread_fence provides that prior memory accesses
  511|       |     * will not be reordered to take place after the following store. */
  512|      3|    atomic_thread_fence(memory_order_release);
  ------------------
  |  |   39|      3|#define atomic_thread_fence(ORDER) __c11_atomic_thread_fence(ORDER)
  ------------------
  513|       |    once->done = true;
  514|      3|    ovs_mutex_unlock(&once->mutex);
  515|      3|}

util.c:counter_util_xalloc_get:
  246|  11.4M|    {                                                                   \
  247|  11.4M|        return NAME##_get_unsafe();                                     \
  248|  11.4M|    }
util.c:counter_util_xalloc_get_unsafe:
  239|  11.4M|    {                                                                   \
  240|  11.4M|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|  11.4M|        return &var;                                                    \
  242|  11.4M|    }                                                                   \
flow.c:counter_flow_extract_get:
  246|  58.3k|    {                                                                   \
  247|  58.3k|        return NAME##_get_unsafe();                                     \
  248|  58.3k|    }
flow.c:counter_flow_extract_get_unsafe:
  239|  58.3k|    {                                                                   \
  240|  58.3k|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|  58.3k|        return &var;                                                    \
  242|  58.3k|    }                                                                   \
flow.c:counter_miniflow_extract_ipv4_pkt_len_error_get:
  246|    268|    {                                                                   \
  247|    268|        return NAME##_get_unsafe();                                     \
  248|    268|    }
flow.c:counter_miniflow_extract_ipv4_pkt_len_error_get_unsafe:
  239|    268|    {                                                                   \
  240|    268|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|    268|        return &var;                                                    \
  242|    268|    }                                                                   \
flow.c:counter_miniflow_extract_ipv4_pkt_too_short_get:
  246|     76|    {                                                                   \
  247|     76|        return NAME##_get_unsafe();                                     \
  248|     76|    }
flow.c:counter_miniflow_extract_ipv4_pkt_too_short_get_unsafe:
  239|     76|    {                                                                   \
  240|     76|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|     76|        return &var;                                                    \
  242|     76|    }                                                                   \
flow.c:counter_miniflow_extract_ipv6_pkt_len_error_get:
  246|    182|    {                                                                   \
  247|    182|        return NAME##_get_unsafe();                                     \
  248|    182|    }
flow.c:counter_miniflow_extract_ipv6_pkt_len_error_get_unsafe:
  239|    182|    {                                                                   \
  240|    182|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|    182|        return &var;                                                    \
  242|    182|    }                                                                   \
flow.c:counter_miniflow_extract_ipv6_pkt_too_short_get:
  246|    662|    {                                                                   \
  247|    662|        return NAME##_get_unsafe();                                     \
  248|    662|    }
flow.c:counter_miniflow_extract_ipv6_pkt_too_short_get_unsafe:
  239|    662|    {                                                                   \
  240|    662|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|    662|        return &var;                                                    \
  242|    662|    }                                                                   \
flow.c:counter_miniflow_malloc_get:
  246|  46.7k|    {                                                                   \
  247|  46.7k|        return NAME##_get_unsafe();                                     \
  248|  46.7k|    }
flow.c:counter_miniflow_malloc_get_unsafe:
  239|  46.7k|    {                                                                   \
  240|  46.7k|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|  46.7k|        return &var;                                                    \
  242|  46.7k|    }                                                                   \
hmap.c:counter_hmap_pathological_get:
  246|      6|    {                                                                   \
  247|      6|        return NAME##_get_unsafe();                                     \
  248|      6|    }
hmap.c:counter_hmap_pathological_get_unsafe:
  239|      6|    {                                                                   \
  240|      6|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|      6|        return &var;                                                    \
  242|      6|    }                                                                   \
hmap.c:counter_hmap_expand_get:
  246|     28|    {                                                                   \
  247|     28|        return NAME##_get_unsafe();                                     \
  248|     28|    }
hmap.c:counter_hmap_expand_get_unsafe:
  239|     28|    {                                                                   \
  240|     28|        static thread_local NAME##_type var = __VA_ARGS__;              \
  241|     28|        return &var;                                                    \
  242|     28|    }                                                                   \

oxs_pull_stat:
  258|  11.5k|{
  259|  11.5k|    memset(stats, 0xff, sizeof *stats);
  260|       |
  261|  11.5k|    struct ofp_oxs_stat *oxs = b->data;
  262|  11.5k|    if (b->size < sizeof *oxs) {
  ------------------
  |  Branch (262:9): [True: 2.28k, False: 9.28k]
  ------------------
  263|  2.28k|        return OFPERR_OFPBMC_BAD_LEN;
  264|  2.28k|    }
  265|       |
  266|  9.28k|    uint16_t stat_len = ntohs(oxs->length);
  267|  9.28k|    if (stat_len < sizeof *oxs) {
  ------------------
  |  Branch (267:9): [True: 999, False: 8.28k]
  ------------------
  268|    999|        return OFPERR_OFPBMC_BAD_LEN;
  269|    999|    }
  270|       |
  271|  8.28k|    uint8_t *p = ofpbuf_try_pull(b, ROUND_UP(stat_len, 8));
  ------------------
  |  |  303|  8.28k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  8.28k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  272|  8.28k|    if (!p) {
  ------------------
  |  Branch (272:9): [True: 801, False: 7.48k]
  ------------------
  273|    801|        VLOG_DBG_RL(&rl, "oxs length %u, rounded up to a "
  ------------------
  |  |  226|    801|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    801|    do {                                                                \
  |  |  |  |  288|    801|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    801|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 801]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    801|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 801]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|    801|                    "multiple of 8, is longer than space in message (max "
  275|    801|                    "length %" PRIu32 ")", stat_len, b->size);
  276|    801|        return OFPERR_OFPBMC_BAD_LEN;
  277|    801|    }
  278|  7.48k|    *statlen = ROUND_UP(stat_len, 8);
  ------------------
  |  |  303|  7.48k|#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))
  |  |  ------------------
  |  |  |  |  300|  7.48k|#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y))
  |  |  ------------------
  ------------------
  279|  7.48k|    return oxs_pull_raw(p + sizeof *oxs, stat_len - sizeof *oxs, stats,
  280|  7.48k|                        oxs_field_set);
  281|  8.28k|}
ox-stat.c:oxs_pull_raw:
  236|  7.48k|{
  237|  7.48k|    struct ofpbuf b = ofpbuf_const_initializer(p, stat_len);
  238|  9.40k|    while (b.size) {
  ------------------
  |  Branch (238:12): [True: 3.94k, False: 5.45k]
  ------------------
  239|  3.94k|        const uint8_t *pos = b.data;
  240|  3.94k|        enum ofperr error = oxs_pull_entry__(&b, stats, oxs_field_set);
  241|  3.94k|        if (error && error != OFPERR_OFPBMC_BAD_FIELD) {
  ------------------
  |  Branch (241:13): [True: 2.02k, False: 1.92k]
  |  Branch (241:22): [True: 2.02k, False: 0]
  ------------------
  242|  2.02k|            VLOG_DBG_RL(&rl, "error parsing OXS at offset %"PRIdPTR" "
  ------------------
  |  |  226|  2.02k|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|  2.02k|    do {                                                                \
  |  |  |  |  288|  2.02k|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|  2.02k|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 2.02k]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|  2.02k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 2.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  243|  2.02k|                        "within match (%s)",
  244|  2.02k|                        pos - p, ofperr_to_string(error));
  245|  2.02k|            return error;
  246|  2.02k|        }
  247|  3.94k|    }
  248|  5.45k|    return 0;
  249|  7.48k|}
ox-stat.c:oxs_pull_entry__:
  188|  3.94k|{
  189|  3.94k|    uint64_t header;
  190|  3.94k|    enum ofperr error = oxs_pull_header__(b, &header);
  191|  3.94k|    if (error) {
  ------------------
  |  Branch (191:9): [True: 581, False: 3.36k]
  ------------------
  192|    581|        return error;
  193|    581|    }
  194|       |
  195|  3.36k|    unsigned int payload_len = oxs_payload_len(header);
  196|  3.36k|    const void *payload = ofpbuf_try_pull(b, payload_len);
  197|  3.36k|    if (!payload) {
  ------------------
  |  Branch (197:9): [True: 1.44k, False: 1.92k]
  ------------------
  198|  1.44k|        return OFPERR_OFPBMC_BAD_LEN;
  199|  1.44k|    }
  200|       |
  201|  1.92k|    switch (header) {
  202|     68|    case OXS_OF_DURATION: {
  ------------------
  |  |  135|     68|#define OXS_OF_DURATION     OXS_HEADER (0, 0x8002, OFPXST_OFB_DURATION, 8)
  |  |  ------------------
  |  |  |  |  124|     68|    (((uint64_t) (CLASS) << 48) | \
  |  |  |  |  125|     68|     ((uint64_t) (FIELD) << 41) | \
  |  |  |  |  126|     68|     ((uint64_t) (LENGTH) << 32) | \
  |  |  |  |  127|     68|     (EXPERIMENTER))
  |  |  ------------------
  ------------------
  |  Branch (202:5): [True: 68, False: 1.85k]
  ------------------
  203|     68|        uint64_t duration = ntohll(get_unaligned_be64(payload));
  204|     68|        stats->duration_sec = duration >> 32;
  205|     68|        stats->duration_nsec = duration;
  206|     68|    }
  207|     68|        break;
  208|     13|    case OXS_OF_IDLE_TIME:
  ------------------
  |  |  136|     13|#define OXS_OF_IDLE_TIME    OXS_HEADER (0, 0x8002, OFPXST_OFB_IDLE_TIME, 8)
  |  |  ------------------
  |  |  |  |  124|     13|    (((uint64_t) (CLASS) << 48) | \
  |  |  |  |  125|     13|     ((uint64_t) (FIELD) << 41) | \
  |  |  |  |  126|     13|     ((uint64_t) (LENGTH) << 32) | \
  |  |  |  |  127|     13|     (EXPERIMENTER))
  |  |  ------------------
  ------------------
  |  Branch (208:5): [True: 13, False: 1.90k]
  ------------------
  209|     13|        stats->idle_age = ntohll(get_unaligned_be64(payload)) >> 32;
  210|     13|        break;
  211|     11|    case OXS_OF_PACKET_COUNT:
  ------------------
  |  |  138|     11|#define OXS_OF_PACKET_COUNT OXS_HEADER (0, 0x8002, OFPXST_OFB_PACKET_COUNT, 8)
  |  |  ------------------
  |  |  |  |  124|     11|    (((uint64_t) (CLASS) << 48) | \
  |  |  |  |  125|     11|     ((uint64_t) (FIELD) << 41) | \
  |  |  |  |  126|     11|     ((uint64_t) (LENGTH) << 32) | \
  |  |  |  |  127|     11|     (EXPERIMENTER))
  |  |  ------------------
  ------------------
  |  Branch (211:5): [True: 11, False: 1.90k]
  ------------------
  212|     11|        stats->packet_count = ntohll(get_unaligned_be64(payload));
  213|     11|        break;
  214|     12|    case OXS_OF_BYTE_COUNT:
  ------------------
  |  |  139|     12|#define OXS_OF_BYTE_COUNT   OXS_HEADER (0, 0x8002, OFPXST_OFB_BYTE_COUNT, 8)
  |  |  ------------------
  |  |  |  |  124|     12|    (((uint64_t) (CLASS) << 48) | \
  |  |  |  |  125|     12|     ((uint64_t) (FIELD) << 41) | \
  |  |  |  |  126|     12|     ((uint64_t) (LENGTH) << 32) | \
  |  |  |  |  127|     12|     (EXPERIMENTER))
  |  |  ------------------
  ------------------
  |  Branch (214:5): [True: 12, False: 1.90k]
  ------------------
  215|     12|        stats->byte_count = ntohll(get_unaligned_be64(payload));
  216|     12|        break;
  217|     34|    case OXS_OF_FLOW_COUNT:
  ------------------
  |  |  137|     34|#define OXS_OF_FLOW_COUNT   OXS_HEADER (0, 0x8002, OFPXST_OFB_FLOW_COUNT, 4)
  |  |  ------------------
  |  |  |  |  124|     34|    (((uint64_t) (CLASS) << 48) | \
  |  |  |  |  125|     34|     ((uint64_t) (FIELD) << 41) | \
  |  |  |  |  126|     34|     ((uint64_t) (LENGTH) << 32) | \
  |  |  |  |  127|     34|     (EXPERIMENTER))
  |  |  ------------------
  ------------------
  |  Branch (217:5): [True: 34, False: 1.88k]
  ------------------
  218|     34|        stats->flow_count = ntohl(get_unaligned_be32(payload));
  219|     34|        break;
  220|       |
  221|  1.78k|    default:
  ------------------
  |  Branch (221:5): [True: 1.78k, False: 138]
  ------------------
  222|       |        /* Unknown header. */
  223|  1.78k|        return 0;
  224|  1.92k|    }
  225|    138|    if (oxs_field_set
  ------------------
  |  Branch (225:9): [True: 138, False: 0]
  ------------------
  226|    138|        && oxs_class(header) == OFPXSC_OPENFLOW_BASIC
  ------------------
  |  Branch (226:12): [True: 138, False: 0]
  ------------------
  227|    138|        && oxs_field(header) < CHAR_BIT * sizeof *oxs_field_set) {
  ------------------
  |  Branch (227:12): [True: 138, False: 0]
  ------------------
  228|    138|        *oxs_field_set |= 1 << oxs_field(header);
  229|    138|    }
  230|    138|    return error;
  231|  1.92k|}
ox-stat.c:oxs_pull_header__:
  154|  3.94k|{
  155|  3.94k|    if (b->size < 4) {
  ------------------
  |  Branch (155:9): [True: 124, False: 3.82k]
  ------------------
  156|    124|        goto bad_len;
  157|    124|    }
  158|       |
  159|  3.82k|    *header = ((uint64_t) ntohl(get_unaligned_be32(b->data))) << 32;
  160|  3.82k|    if (is_experimenter_oxs(*header)) {
  ------------------
  |  Branch (160:9): [True: 1.61k, False: 2.20k]
  ------------------
  161|  1.61k|        if (b->size < 8) {
  ------------------
  |  Branch (161:13): [True: 74, False: 1.54k]
  ------------------
  162|     74|            goto bad_len;
  163|     74|        }
  164|  1.54k|        *header = ntohll(get_unaligned_be64(b->data));
  165|  1.54k|    }
  166|  3.75k|    if (oxs_length(*header) < oxs_experimenter_len(*header)) {
  ------------------
  |  Branch (166:9): [True: 383, False: 3.36k]
  ------------------
  167|    383|        VLOG_WARN_RL(&rl, "OXS header "OXS_HEADER_FMT" has invalid length %d "
  ------------------
  |  |  224|    383|#define VLOG_WARN_RL(RL, ...) VLOG_RL(RL, VLL_WARN, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    383|    do {                                                                \
  |  |  |  |  288|    383|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    383|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 383]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    383|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 383]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|    383|                     "(minimum is %d)",
  169|    383|                     OXS_HEADER_ARGS(*header), oxs_length(*header),
  170|    383|                     oxs_header_len(*header));
  171|    383|        goto error;
  172|    383|    }
  173|  3.36k|    ofpbuf_pull(b, oxs_header_len(*header));
  174|       |
  175|  3.36k|    return 0;
  176|       |
  177|    198|bad_len:
  178|    198|    VLOG_DBG_RL(&rl, "encountered partial (%"PRIu32"-byte) OXS entry",
  ------------------
  |  |  226|    198|#define VLOG_DBG_RL(RL, ...) VLOG_RL(RL, VLL_DBG, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  287|    198|    do {                                                                \
  |  |  |  |  288|    198|        enum vlog_level level__ = LEVEL;                                \
  |  |  |  |  289|    198|        if (this_module.min_level >= level__) {                         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (289:13): [True: 0, False: 198]
  |  |  |  |  ------------------
  |  |  |  |  290|      0|            vlog_rate_limit(&this_module, level__, RL, __VA_ARGS__);    \
  |  |  |  |  291|      0|        }                                                               \
  |  |  |  |  292|    198|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (292:14): [Folded, False: 198]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|    198|                b->size);
  180|    581|error:
  181|    581|    *header = 0;
  182|    581|    return OFPERR_OFPBMC_BAD_LEN;
  183|    198|}
ox-stat.c:is_experimenter_oxs:
   83|  14.3k|{
   84|  14.3k|    return oxs_class(header) == OFPXSC_EXPERIMENTER;
   85|  14.3k|}
ox-stat.c:oxs_length:
   79|  7.11k|static int oxs_length(uint64_t header) { return (header >> 32) & 0xff; }
ox-stat.c:oxs_experimenter_len:
  102|  10.4k|{
  103|  10.4k|    return is_experimenter_oxs(header) ? 4 : 0;
  ------------------
  |  Branch (103:12): [True: 3.85k, False: 6.62k]
  ------------------
  104|  10.4k|}
ox-stat.c:oxs_header_len:
  118|  3.36k|{
  119|  3.36k|    return 4 + oxs_experimenter_len(header);
  120|  3.36k|}
ox-stat.c:oxs_payload_len:
  110|  3.36k|{
  111|  3.36k|    return oxs_length(header) - oxs_experimenter_len(header);
  112|  3.36k|}
ox-stat.c:oxs_class:
   77|  14.4k|static int oxs_class(uint64_t header) { return header >> 48; }
ox-stat.c:oxs_field:
   78|    276|static int oxs_field(uint64_t header) { return (header >> 41) & 0x7f; }

set_mpls_lse_ttl:
  337|    839|{
  338|    839|    *lse &= ~htonl(MPLS_TTL_MASK);
  339|       |    *lse |= htonl((ttl << MPLS_TTL_SHIFT) & MPLS_TTL_MASK);
  340|    839|}
set_mpls_lse_tc:
  345|  1.36k|{
  346|  1.36k|    *lse &= ~htonl(MPLS_TC_MASK);
  347|       |    *lse |= htonl((tc << MPLS_TC_SHIFT) & MPLS_TC_MASK);
  348|  1.36k|}
set_mpls_lse_label:
  353|  2.46k|{
  354|  2.46k|    *lse &= ~htonl(MPLS_LABEL_MASK);
  355|       |    *lse |= htonl((ntohl(label) << MPLS_LABEL_SHIFT) & MPLS_LABEL_MASK);
  356|  2.46k|}
set_mpls_lse_bos:
  361|    298|{
  362|    298|    *lse &= ~htonl(MPLS_BOS_MASK);
  363|       |    *lse |= htonl((bos << MPLS_BOS_SHIFT) & MPLS_BOS_MASK);
  364|    298|}
eth_format_masked:
  590|   154k|{
  591|   154k|    ds_put_format(s, ETH_ADDR_FMT, ETH_ADDR_ARGS(eth));
  ------------------
  |  |  370|   154k|    "%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8
  ------------------
                  ds_put_format(s, ETH_ADDR_FMT, ETH_ADDR_ARGS(eth));
  ------------------
  |  |  371|   154k|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|   154k|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
  592|   154k|    if (mask && !eth_mask_is_exact(*mask)) {
  ------------------
  |  Branch (592:9): [True: 154k, False: 34]
  |  Branch (592:17): [True: 8.03k, False: 146k]
  ------------------
  593|  8.03k|        ds_put_format(s, "/"ETH_ADDR_FMT, ETH_ADDR_ARGS(*mask));
  ------------------
  |  |  370|  8.03k|    "%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8":%02"PRIx8
  ------------------
                      ds_put_format(s, "/"ETH_ADDR_FMT, ETH_ADDR_ARGS(*mask));
  ------------------
  |  |  371|  8.03k|#define ETH_ADDR_ARGS(EA) ETH_ADDR_BYTES_ARGS((EA).ea)
  |  |  ------------------
  |  |  |  |  373|  8.03k|         (EAB)[0], (EAB)[1], (EAB)[2], (EAB)[3], (EAB)[4], (EAB)[5]
  |  |  ------------------
  ------------------
  594|  8.03k|    }
  595|   154k|}
ip_count_cidr_bits:
  677|  9.43k|{
  678|       |    return 32 - ctz32(ntohl(netmask));
  679|  9.43k|}
ip_format_masked:
  683|  24.9k|{
  684|  24.9k|    ds_put_format(s, IP_FMT, IP_ARGS(ip));
  ------------------
  |  |  628|  24.9k|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
                  ds_put_format(s, IP_FMT, IP_ARGS(ip));
  ------------------
  |  |  630|  24.9k|    ntohl(ip) >> 24,                            \
  |  |  631|  24.9k|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|  24.9k|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|  24.9k|    ntohl(ip) & 0xff
  ------------------
  685|  24.9k|    if (mask != OVS_BE32_MAX) {
  ------------------
  |  |   43|  24.9k|#define OVS_BE32_MAX ((OVS_FORCE ovs_be32) 0xffffffff)
  ------------------
  |  Branch (685:9): [True: 11.4k, False: 13.5k]
  ------------------
  686|  11.4k|        if (ip_is_cidr(mask)) {
  ------------------
  |  Branch (686:13): [True: 9.43k, False: 2.00k]
  ------------------
  687|  9.43k|            ds_put_format(s, "/%d", ip_count_cidr_bits(mask));
  688|  9.43k|        } else {
  689|  2.00k|            ds_put_format(s, "/"IP_FMT, IP_ARGS(mask));
  ------------------
  |  |  628|  2.00k|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
                          ds_put_format(s, "/"IP_FMT, IP_ARGS(mask));
  ------------------
  |  |  630|  2.00k|    ntohl(ip) >> 24,                            \
  |  |  631|  2.00k|    (ntohl(ip) >> 16) & 0xff,                   \
  |  |  632|  2.00k|    (ntohl(ip) >> 8) & 0xff,                    \
  |  |  633|  2.00k|    ntohl(ip) & 0xff
  ------------------
  690|  2.00k|        }
  691|  11.4k|    }
  692|  24.9k|}
ipv6_format_addr:
  903|  39.7k|{
  904|  39.7k|    char *dst;
  905|       |
  906|  39.7k|    ds_reserve(s, s->length + INET6_ADDRSTRLEN);
  907|       |
  908|  39.7k|    dst = s->string + s->length;
  909|  39.7k|    inet_ntop(AF_INET6, addr, dst, INET6_ADDRSTRLEN);
  910|  39.7k|    s->length += strlen(dst);
  911|  39.7k|}
ipv6_format_mapped:
  930|  21.2k|{
  931|  21.2k|    if (IN6_IS_ADDR_V4MAPPED(addr)) {
  ------------------
  |  Branch (931:9): [True: 663, False: 20.5k]
  ------------------
  932|    663|        ds_put_format(s, IP_FMT, addr->s6_addr[12], addr->s6_addr[13],
  ------------------
  |  |  628|    663|#define IP_FMT "%"PRIu32".%"PRIu32".%"PRIu32".%"PRIu32
  ------------------
  933|    663|                                 addr->s6_addr[14], addr->s6_addr[15]);
  934|  20.5k|    } else {
  935|  20.5k|        ipv6_format_addr(addr, s);
  936|  20.5k|    }
  937|  21.2k|}
ipv6_format_masked:
  942|  18.1k|{
  943|  18.1k|    ipv6_format_addr(addr, s);
  944|  18.1k|    if (mask && !ipv6_mask_is_exact(mask)) {
  ------------------
  |  Branch (944:9): [True: 18.0k, False: 72]
  |  Branch (944:17): [True: 1.54k, False: 16.5k]
  ------------------
  945|  1.54k|        if (ipv6_is_cidr(mask)) {
  ------------------
  |  Branch (945:13): [True: 457, False: 1.08k]
  ------------------
  946|    457|            int cidr_bits = ipv6_count_cidr_bits(mask);
  947|    457|            ds_put_format(s, "/%d", cidr_bits);
  948|  1.08k|        } else {
  949|  1.08k|            ds_put_char(s, '/');
  950|  1.08k|            ipv6_format_addr(mask, s);
  951|  1.08k|        }
  952|  1.54k|    }
  953|  18.1k|}
ipv6_addr_bitand:
  980|  4.52k|{
  981|  4.52k|   struct in6_addr dst;
  982|  18.1k|   IPV6_FOR_EACH (i) {
  ------------------
  |  |  972|  22.6k|#define IPV6_FOR_EACH(VAR) for (int VAR = 0; VAR < 4; VAR++)
  |  |  ------------------
  |  |  |  Branch (972:46): [True: 18.1k, False: 4.52k]
  |  |  ------------------
  ------------------
  983|  18.1k|       dst.s6_addrX[i] = a->s6_addrX[i] & b->s6_addrX[i];
  ------------------
  |  |  971|  18.1k|#define s6_addrX s6_addr32
  ------------------
                     dst.s6_addrX[i] = a->s6_addrX[i] & b->s6_addrX[i];
  ------------------
  |  |  971|  18.1k|#define s6_addrX s6_addr32
  ------------------
                     dst.s6_addrX[i] = a->s6_addrX[i] & b->s6_addrX[i];
  ------------------
  |  |  971|  18.1k|#define s6_addrX s6_addr32
  ------------------
  984|  18.1k|   }
  985|  4.52k|   return dst;
  986|  4.52k|}
ipv6_is_zero:
 1000|  11.6k|{
 1001|  25.5k|   IPV6_FOR_EACH (i) {
  ------------------
  |  |  972|  26.7k|#define IPV6_FOR_EACH(VAR) for (int VAR = 0; VAR < 4; VAR++)
  |  |  ------------------
  |  |  |  Branch (972:46): [True: 25.5k, False: 1.19k]
  |  |  ------------------
  ------------------
 1002|  25.5k|       if (a->s6_addrX[i]) {
  ------------------
  |  |  971|  25.5k|#define s6_addrX s6_addr32
  ------------------
  |  Branch (1002:12): [True: 10.4k, False: 15.1k]
  ------------------
 1003|  10.4k|           return false;
 1004|  10.4k|       }
 1005|  25.5k|   }
 1006|  1.19k|   return true;
 1007|  11.6k|}
ipv6_count_cidr_bits:
 1039|    457|{
 1040|    457|    int i;
 1041|    457|    int count = 0;
 1042|    457|    const uint8_t *netmaskp = &netmask->s6_addr[0];
 1043|       |
 1044|  3.38k|    for (i=0; i<16; i++) {
  ------------------
  |  Branch (1044:15): [True: 3.38k, False: 0]
  ------------------
 1045|  3.38k|        if (netmaskp[i] == 0xff) {
  ------------------
  |  Branch (1045:13): [True: 2.93k, False: 457]
  ------------------
 1046|  2.93k|            count += 8;
 1047|  2.93k|        } else {
 1048|    457|            uint8_t nm;
 1049|       |
 1050|    713|            for(nm = netmaskp[i]; nm; nm <<= 1) {
  ------------------
  |  Branch (1050:35): [True: 256, False: 457]
  ------------------
 1051|    256|                count++;
 1052|    256|            }
 1053|    457|            break;
 1054|    457|        }
 1055|       |
 1056|  3.38k|    }
 1057|       |
 1058|    457|    return count;
 1059|    457|}
ipv6_is_cidr:
 1065|  1.54k|{
 1066|  1.54k|    const uint8_t *netmaskp = &netmask->s6_addr[0];
 1067|  1.54k|    int i;
 1068|       |
 1069|  7.40k|    for (i=0; i<16; i++) {
  ------------------
  |  Branch (1069:15): [True: 6.95k, False: 457]
  ------------------
 1070|  6.95k|        if (netmaskp[i] != 0xff) {
  ------------------
  |  Branch (1070:13): [True: 1.54k, False: 5.40k]
  ------------------
 1071|  1.54k|            uint8_t x = ~netmaskp[i];
 1072|  1.54k|            if (x & (x + 1)) {
  ------------------
  |  Branch (1072:17): [True: 329, False: 1.21k]
  ------------------
 1073|    329|                return false;
 1074|    329|            }
 1075|  8.28k|            while (++i < 16) {
  ------------------
  |  Branch (1075:20): [True: 7.82k, False: 457]
  ------------------
 1076|  7.82k|                if (netmaskp[i]) {
  ------------------
  |  Branch (1076:21): [True: 760, False: 7.06k]
  ------------------
 1077|    760|                    return false;
 1078|    760|                }
 1079|  7.82k|            }
 1080|  1.21k|        }
 1081|  6.95k|    }
 1082|       |
 1083|    457|    return true;
 1084|  1.54k|}
packet_tcp_flag_to_string:
 1717|  30.4k|{
 1718|  30.4k|    switch (flag) {
 1719|  2.17k|    case TCP_FIN:
  ------------------
  |  |  893|  2.17k|#define TCP_FIN 0x001
  ------------------
  |  Branch (1719:5): [True: 2.17k, False: 28.2k]
  ------------------
 1720|  2.17k|        return "fin";
 1721|  1.36k|    case TCP_SYN:
  ------------------
  |  |  894|  1.36k|#define TCP_SYN 0x002
  ------------------
  |  Branch (1721:5): [True: 1.36k, False: 29.0k]
  ------------------
 1722|  1.36k|        return "syn";
 1723|  2.82k|    case TCP_RST:
  ------------------
  |  |  895|  2.82k|#define TCP_RST 0x004
  ------------------
  |  Branch (1723:5): [True: 2.82k, False: 27.6k]
  ------------------
 1724|  2.82k|        return "rst";
 1725|  1.62k|    case TCP_PSH:
  ------------------
  |  |  896|  1.62k|#define TCP_PSH 0x008
  ------------------
  |  Branch (1725:5): [True: 1.62k, False: 28.8k]
  ------------------
 1726|  1.62k|        return "psh";
 1727|  2.20k|    case TCP_ACK:
  ------------------
  |  |  897|  2.20k|#define TCP_ACK 0x010
  ------------------
  |  Branch (1727:5): [True: 2.20k, False: 28.2k]
  ------------------
 1728|  2.20k|        return "ack";
 1729|  2.59k|    case TCP_URG:
  ------------------
  |  |  898|  2.59k|#define TCP_URG 0x020
  ------------------
  |  Branch (1729:5): [True: 2.59k, False: 27.8k]
  ------------------
 1730|  2.59k|        return "urg";
 1731|  2.27k|    case TCP_ECE:
  ------------------
  |  |  899|  2.27k|#define TCP_ECE 0x040
  ------------------
  |  Branch (1731:5): [True: 2.27k, False: 28.1k]
  ------------------
 1732|  2.27k|        return "ece";
 1733|  1.48k|    case TCP_CWR:
  ------------------
  |  |  900|  1.48k|#define TCP_CWR 0x080
  ------------------
  |  Branch (1733:5): [True: 1.48k, False: 28.9k]
  ------------------
 1734|  1.48k|        return "cwr";
 1735|  3.98k|    case TCP_NS:
  ------------------
  |  |  901|  3.98k|#define TCP_NS  0x100
  ------------------
  |  Branch (1735:5): [True: 3.98k, False: 26.4k]
  ------------------
 1736|  3.98k|        return "ns";
 1737|  1.14k|    case 0x200:
  ------------------
  |  Branch (1737:5): [True: 1.14k, False: 29.3k]
  ------------------
 1738|  1.14k|        return "[200]";
 1739|  3.78k|    case 0x400:
  ------------------
  |  Branch (1739:5): [True: 3.78k, False: 26.6k]
  ------------------
 1740|  3.78k|        return "[400]";
 1741|  2.67k|    case 0x800:
  ------------------
  |  Branch (1741:5): [True: 2.67k, False: 27.7k]
  ------------------
 1742|  2.67k|        return "[800]";
 1743|  2.32k|    default:
  ------------------
  |  Branch (1743:5): [True: 2.32k, False: 28.1k]
  ------------------
 1744|       |        return NULL;
 1745|  30.4k|    }
 1746|  30.4k|}

dp-packet.c:pkt_metadata_init:
  165|  58.3k|{
  166|       |    /* This is called for every packet in userspace datapath and affects
  167|       |     * performance if all the metadata is initialized. Hence, fields should
  168|       |     * only be zeroed out when necessary.
  169|       |     *
  170|       |     * Initialize only till ct_state. Once the ct_state is zeroed out rest
  171|       |     * of ct fields will not be looked at unless ct_state != 0.
  172|       |     */
  173|  58.3k|    memset(md, 0, offsetof(struct pkt_metadata, ct_orig_tuple_ipv6));
  174|       |
  175|       |    /* It can be expensive to zero out all of the tunnel metadata. However,
  176|       |     * we can just zero out ip_dst and the rest of the data will never be
  177|       |     * looked at. */
  178|  58.3k|    md->tunnel.ip_dst = 0;
  179|  58.3k|    md->tunnel.ipv6_dst = in6addr_any;
  180|  58.3k|    md->in_port.odp_port = port;
  181|  58.3k|    md->orig_in_port = port;
  182|       |    md->conn = NULL;
  183|  58.3k|}
flow.c:flow_tnl_dst_is_set:
   51|   116k|{
   52|   116k|    return tnl->ip_dst || ipv6_addr_is_set(&tnl->ipv6_dst);
  ------------------
  |  Branch (52:12): [True: 0, False: 116k]
  |  Branch (52:27): [True: 0, False: 116k]
  ------------------
   53|   116k|}
flow.c:eth_type_vlan:
  429|  15.7k|{
  430|  15.7k|    return eth_type == htons(ETH_TYPE_VLAN_8021Q) ||
  ------------------
  |  Branch (430:12): [True: 98, False: 15.6k]
  ------------------
  431|  15.6k|        eth_type == htons(ETH_TYPE_VLAN_8021AD);
  ------------------
  |  Branch (431:9): [True: 763, False: 14.8k]
  ------------------
  432|  15.7k|}
flow.c:pt_ns_type_be:
 1577|  72.7k|{
 1578|  72.7k|    return be32_to_be16(packet_type);
 1579|  72.7k|}
flow.c:eth_type_mpls:
  423|  73.7k|{
  424|  73.7k|    return eth_type == htons(ETH_TYPE_MPLS) ||
  ------------------
  |  Branch (424:12): [True: 82, False: 73.6k]
  ------------------
  425|  73.6k|        eth_type == htons(ETH_TYPE_MPLS_MCAST);
  ------------------
  |  Branch (425:9): [True: 1.39k, False: 72.2k]
  ------------------
  426|  73.7k|}
flow.c:eth_addr_is_zero:
  246|    344|{
  247|    344|    return !(a.be16[0] | a.be16[1] | a.be16[2]);
  248|    344|}
flow.c:ipv6_addr_is_set:
 1205|   116k|static inline bool ipv6_addr_is_set(const struct in6_addr *addr) {
 1206|   116k|    return !ipv6_addr_equals(addr, &in6addr_any);
 1207|   116k|}
flow.c:ipv6_addr_equals:
 1184|   116k|{
 1185|   116k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|   116k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|   116k|}
flow.c:pt_ns:
 1570|  49.2k|{
 1571|       |    return ntohl(packet_type) >> 16;
 1572|  49.2k|}
flow.c:pt_ns_type:
 1584|  48.4k|{
 1585|       |    return ntohs(pt_ns_type_be(packet_type));
 1586|  48.4k|}
match.c:ipv6_mask_is_any:
 1193|   851k|static inline bool ipv6_mask_is_any(const struct in6_addr *mask) {
 1194|   851k|    return ipv6_addr_equals(mask, &in6addr_any);
 1195|   851k|}
match.c:ipv6_addr_equals:
 1184|   851k|{
 1185|   851k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|   851k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|   851k|}
match.c:pt_ns:
 1570|  48.2k|{
 1571|       |    return ntohl(packet_type) >> 16;
 1572|  48.2k|}
match.c:pt_ns_type_be:
 1577|  33.0k|{
 1578|  33.0k|    return be32_to_be16(packet_type);
 1579|  33.0k|}
match.c:vlan_tci_to_vid:
  507|  22.2k|{
  508|  22.2k|    return (ntohs(vlan_tci) & VLAN_VID_MASK) >> VLAN_VID_SHIFT;
  ------------------
  |  |  494|  22.2k|#define VLAN_VID_MASK 0x0fff
  ------------------
                  return (ntohs(vlan_tci) & VLAN_VID_MASK) >> VLAN_VID_SHIFT;
  ------------------
  |  |  495|  22.2k|#define VLAN_VID_SHIFT 0
  ------------------
  509|  22.2k|}
match.c:vlan_tci_to_pcp:
  515|  23.0k|{
  516|  23.0k|    return (ntohs(vlan_tci) & VLAN_PCP_MASK) >> VLAN_PCP_SHIFT;
  ------------------
  |  |  497|  23.0k|#define VLAN_PCP_MASK 0xe000
  ------------------
                  return (ntohs(vlan_tci) & VLAN_PCP_MASK) >> VLAN_PCP_SHIFT;
  ------------------
  |  |  498|  23.0k|#define VLAN_PCP_SHIFT 13
  ------------------
  517|  23.0k|}
match.c:eth_addr_is_zero:
  246|   423k|{
  247|   423k|    return !(a.be16[0] | a.be16[1] | a.be16[2]);
  248|   423k|}
match.c:mpls_lse_to_label:
  568|  1.81k|{
  569|  1.81k|    return (ntohl(mpls_lse) & MPLS_LABEL_MASK) >> MPLS_LABEL_SHIFT;
  ------------------
  |  |  554|  1.81k|#define MPLS_LABEL_MASK     0xfffff000
  ------------------
                  return (ntohl(mpls_lse) & MPLS_LABEL_MASK) >> MPLS_LABEL_SHIFT;
  ------------------
  |  |  555|  1.81k|#define MPLS_LABEL_SHIFT    12
  ------------------
  570|  1.81k|}
match.c:mpls_lse_to_tc:
  576|  1.52k|{
  577|  1.52k|    return (ntohl(mpls_lse) & MPLS_TC_MASK) >> MPLS_TC_SHIFT;
  ------------------
  |  |  551|  1.52k|#define MPLS_TC_MASK        0x00000e00
  ------------------
                  return (ntohl(mpls_lse) & MPLS_TC_MASK) >> MPLS_TC_SHIFT;
  ------------------
  |  |  552|  1.52k|#define MPLS_TC_SHIFT       9
  ------------------
  578|  1.52k|}
match.c:mpls_lse_to_ttl:
  584|    738|{
  585|    738|    return (ntohl(mpls_lse) & MPLS_TTL_MASK) >> MPLS_TTL_SHIFT;
  ------------------
  |  |  545|    738|#define MPLS_TTL_MASK       0x000000ff
  ------------------
                  return (ntohl(mpls_lse) & MPLS_TTL_MASK) >> MPLS_TTL_SHIFT;
  ------------------
  |  |  546|    738|#define MPLS_TTL_SHIFT      0
  ------------------
  586|    738|}
match.c:mpls_lse_to_bos:
  624|    930|{
  625|       |    return (mpls_lse & htonl(MPLS_BOS_MASK)) != 0;
  626|    930|}
match.c:dl_type_is_ip_any:
 1256|   207k|{
 1257|   207k|    return dl_type == htons(ETH_TYPE_IP)
  ------------------
  |  Branch (1257:12): [True: 10.8k, False: 196k]
  ------------------
 1258|   196k|        || dl_type == htons(ETH_TYPE_IPV6);
  ------------------
  |  Branch (1258:12): [True: 9.40k, False: 187k]
  ------------------
 1259|   207k|}
meta-flow.c:ipv6_mask_is_any:
 1193|  9.86k|static inline bool ipv6_mask_is_any(const struct in6_addr *mask) {
 1194|  9.86k|    return ipv6_addr_equals(mask, &in6addr_any);
 1195|  9.86k|}
meta-flow.c:ipv6_addr_equals:
 1184|  9.86k|{
 1185|  9.86k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|  9.86k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|  9.86k|}
meta-flow.c:eth_addr_is_zero:
  246|  5.55k|{
  247|  5.55k|    return !(a.be16[0] | a.be16[1] | a.be16[2]);
  248|  5.55k|}
meta-flow.c:pt_ns:
 1570|  17.8k|{
 1571|       |    return ntohl(packet_type) >> 16;
 1572|  17.8k|}
meta-flow.c:pt_ns_type_be:
 1577|  16.2k|{
 1578|  16.2k|    return be32_to_be16(packet_type);
 1579|  16.2k|}
meta-flow.c:eth_type_mpls:
  423|    134|{
  424|    134|    return eth_type == htons(ETH_TYPE_MPLS) ||
  ------------------
  |  Branch (424:12): [True: 18, False: 116]
  ------------------
  425|    116|        eth_type == htons(ETH_TYPE_MPLS_MCAST);
  ------------------
  |  Branch (425:9): [True: 106, False: 10]
  ------------------
  426|    134|}
meta-flow.c:ip_is_cidr:
  664|    645|{
  665|       |    uint32_t x = ~ntohl(netmask);
  666|    645|    return !(x & (x + 1));
  667|    645|}
meta-flow.c:dl_type_is_ip_any:
 1256|  6.81k|{
 1257|  6.81k|    return dl_type == htons(ETH_TYPE_IP)
  ------------------
  |  Branch (1257:12): [True: 1.04k, False: 5.77k]
  ------------------
 1258|  5.77k|        || dl_type == htons(ETH_TYPE_IPV6);
  ------------------
  |  Branch (1258:12): [True: 4.57k, False: 1.19k]
  ------------------
 1259|  6.81k|}
ofp-actions.c:eth_type_vlan:
  429|  2.36k|{
  430|  2.36k|    return eth_type == htons(ETH_TYPE_VLAN_8021Q) ||
  ------------------
  |  Branch (430:12): [True: 229, False: 2.13k]
  ------------------
  431|  2.13k|        eth_type == htons(ETH_TYPE_VLAN_8021AD);
  ------------------
  |  Branch (431:9): [True: 1.35k, False: 783]
  ------------------
  432|  2.36k|}
ofp-actions.c:eth_type_mpls:
  423|  22.1k|{
  424|  22.1k|    return eth_type == htons(ETH_TYPE_MPLS) ||
  ------------------
  |  Branch (424:12): [True: 2.74k, False: 19.3k]
  ------------------
  425|  19.3k|        eth_type == htons(ETH_TYPE_MPLS_MCAST);
  ------------------
  |  Branch (425:9): [True: 7.61k, False: 11.7k]
  ------------------
  426|  22.1k|}
ofp-actions.c:ipv6_mask_is_any:
 1193|  2.63k|static inline bool ipv6_mask_is_any(const struct in6_addr *mask) {
 1194|  2.63k|    return ipv6_addr_equals(mask, &in6addr_any);
 1195|  2.63k|}
ofp-actions.c:ipv6_addr_equals:
 1184|  2.63k|{
 1185|  2.63k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|  2.63k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|  2.63k|}
ofp-actions.c:pt_ns:
 1570|  24.8k|{
 1571|       |    return ntohl(packet_type) >> 16;
 1572|  24.8k|}
ofp-actions.c:pt_ns_type_be:
 1577|  16.9k|{
 1578|  16.9k|    return be32_to_be16(packet_type);
 1579|  16.9k|}
ofp-actions.c:dl_type_is_ip_any:
 1256|  32.4k|{
 1257|  32.4k|    return dl_type == htons(ETH_TYPE_IP)
  ------------------
  |  Branch (1257:12): [True: 17.5k, False: 14.9k]
  ------------------
 1258|  14.9k|        || dl_type == htons(ETH_TYPE_IPV6);
  ------------------
  |  Branch (1258:12): [True: 1.97k, False: 12.9k]
  ------------------
 1259|  32.4k|}
ofp-actions.c:pt_ns_type:
 1584|  7.90k|{
 1585|       |    return ntohs(pt_ns_type_be(packet_type));
 1586|  7.90k|}
ofp-flow.c:ipv6_addr_is_set:
 1205|   196k|static inline bool ipv6_addr_is_set(const struct in6_addr *addr) {
 1206|   196k|    return !ipv6_addr_equals(addr, &in6addr_any);
 1207|   196k|}
ofp-flow.c:ipv6_addr_equals:
 1184|   196k|{
 1185|   196k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|   196k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|   196k|}
ofp-match.c:eth_addr_is_zero:
  246|  8.15k|{
  247|  8.15k|    return !(a.be16[0] | a.be16[1] | a.be16[2]);
  248|  8.15k|}
ofp-match.c:eth_addr_invert:
  301|  15.0k|{
  302|  15.0k|    struct eth_addr dst;
  303|       |
  304|  60.3k|    for (int i = 0; i < ARRAY_SIZE(src.be16); i++) {
  ------------------
  |  |  297|  60.3k|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|  60.3k|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|  60.3k|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|  60.3k|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.3k|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|  60.3k|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (304:21): [True: 45.2k, False: 15.0k]
  ------------------
  305|  45.2k|        dst.be16[i] = ~src.be16[i];
  306|  45.2k|    }
  307|       |
  308|  15.0k|    return dst;
  309|  15.0k|}
ofp-match.c:eth_type_mpls:
  423|  53.7k|{
  424|  53.7k|    return eth_type == htons(ETH_TYPE_MPLS) ||
  ------------------
  |  Branch (424:12): [True: 808, False: 52.8k]
  ------------------
  425|  52.8k|        eth_type == htons(ETH_TYPE_MPLS_MCAST);
  ------------------
  |  Branch (425:9): [True: 758, False: 52.1k]
  ------------------
  426|  53.7k|}
packets.c:eth_mask_is_exact:
  255|   154k|{
  256|       |    return (a.be16[0] & a.be16[1] & a.be16[2]) == htons(0xffff);
  257|   154k|}
packets.c:ip_is_cidr:
  664|  11.4k|{
  665|       |    uint32_t x = ~ntohl(netmask);
  666|  11.4k|    return !(x & (x + 1));
  667|  11.4k|}
packets.c:ipv6_mask_is_exact:
 1197|  18.0k|static inline bool ipv6_mask_is_exact(const struct in6_addr *mask) {
 1198|  18.0k|    return ipv6_addr_equals(mask, &in6addr_exact);
 1199|  18.0k|}
packets.c:ipv6_addr_equals:
 1184|  18.0k|{
 1185|  18.0k|#ifdef IN6_ARE_ADDR_EQUAL
 1186|  18.0k|    return IN6_ARE_ADDR_EQUAL(a, b);
 1187|       |#else
 1188|       |    return !memcmp(a, b, sizeof(*a));
 1189|       |#endif
 1190|  18.0k|}

tun_metadata_read:
  223|  37.0k|{
  224|  37.0k|    const struct tun_table *map = tnl->metadata.tab;
  225|  37.0k|    unsigned int idx = mf->id - MFF_TUN_METADATA0;
  226|  37.0k|    const struct tun_metadata_loc *loc;
  227|       |
  228|  37.0k|    if (!map) {
  ------------------
  |  Branch (228:9): [True: 37.0k, False: 0]
  ------------------
  229|  37.0k|        memset(value->tun_metadata, 0, mf->n_bytes);
  230|  37.0k|        return;
  231|  37.0k|    }
  232|       |
  233|      0|    loc = &map->entries[idx].loc;
  234|       |
  235|      0|    memset(value->tun_metadata, 0, mf->n_bytes - loc->len);
  236|      0|    memcpy_from_metadata(value->tun_metadata + mf->n_bytes - loc->len,
  237|      0|                         &tnl->metadata, loc);
  238|      0|}
tun_metadata_set_match:
  354|   101k|{
  355|   101k|    const struct tun_table *map = match->flow.tunnel.metadata.tab;
  356|   101k|    const struct tun_metadata_loc *loc;
  357|   101k|    unsigned int idx = mf->id - MFF_TUN_METADATA0;
  358|   101k|    unsigned int field_len;
  359|   101k|    bool is_masked;
  360|   101k|    unsigned int data_offset;
  361|   101k|    union mf_value data;
  362|       |
  363|   101k|    field_len = mf_field_len(mf, value, mask, &is_masked);
  364|   101k|    loc = metadata_loc_from_match(map, match, mf->name, idx, field_len,
  365|   101k|                                  is_masked, err_str);
  366|   101k|    if (!loc) {
  ------------------
  |  Branch (366:9): [True: 1.24k, False: 100k]
  ------------------
  367|  1.24k|        return;
  368|  1.24k|    }
  369|       |
  370|   100k|    data_offset = mf->n_bytes - loc->len;
  371|       |
  372|   100k|    if (!value) {
  ------------------
  |  Branch (372:9): [True: 0, False: 100k]
  ------------------
  373|      0|        memset(data.tun_metadata, 0, loc->len);
  374|   100k|    } else if (!mask) {
  ------------------
  |  Branch (374:16): [True: 38.7k, False: 61.7k]
  ------------------
  375|  38.7k|        memcpy(data.tun_metadata, value->tun_metadata + data_offset, loc->len);
  376|  61.7k|    } else {
  377|  61.7k|        int i;
  378|   759k|        for (i = 0; i < loc->len; i++) {
  ------------------
  |  Branch (378:21): [True: 697k, False: 61.7k]
  ------------------
  379|   697k|            data.tun_metadata[i] = value->tun_metadata[data_offset + i] &
  380|   697k|                                   mask->tun_metadata[data_offset + i];
  381|   697k|        }
  382|  61.7k|    }
  383|   100k|    memcpy_to_metadata(&match->flow.tunnel.metadata, data.tun_metadata,
  384|   100k|                       loc, idx);
  385|       |
  386|   100k|    if (!value) {
  ------------------
  |  Branch (386:9): [True: 0, False: 100k]
  ------------------
  387|      0|        memset(data.tun_metadata, 0, loc->len);
  388|   100k|    } else if (!mask) {
  ------------------
  |  Branch (388:16): [True: 38.7k, False: 61.7k]
  ------------------
  389|  38.7k|        memset(data.tun_metadata, 0xff, loc->len);
  390|  61.7k|    } else {
  391|  61.7k|        memcpy(data.tun_metadata, mask->tun_metadata + data_offset, loc->len);
  392|  61.7k|    }
  393|   100k|    memcpy_to_metadata(&match->wc.masks.tunnel.metadata, data.tun_metadata,
  394|   100k|                       loc, idx);
  395|   100k|}
tun_metadata_match_format:
  904|   207k|{
  905|   207k|    int i;
  906|       |
  907|   207k|    if (match->flow.tunnel.flags & FLOW_TNL_F_UDPIF ||
  ------------------
  |  |   45|   415k|#define FLOW_TNL_F_UDPIF (1 << 4)
  ------------------
  |  Branch (907:9): [True: 0, False: 207k]
  ------------------
  908|   207k|        (!match->flow.tunnel.metadata.tab && !match->tun_md.valid)) {
  ------------------
  |  Branch (908:10): [True: 207k, False: 0]
  |  Branch (908:46): [True: 201k, False: 6.12k]
  ------------------
  909|   201k|        return;
  910|   201k|    }
  911|       |
  912|  8.37k|    ULLONG_FOR_EACH_1 (i, match->wc.masks.tunnel.metadata.present.map) {
  ------------------
  |  |  285|  6.12k|    for (uint64_t map__ = (MAP);                    \
  |  |  286|  14.4k|         map__ && (((IDX) = raw_ctz(map__)), true); \
  |  |  ------------------
  |  |  |  Branch (286:10): [True: 8.37k, False: 6.12k]
  |  |  |  Branch (286:19): [True: 8.37k, False: 0]
  |  |  ------------------
  |  |  287|  8.37k|         map__ = zero_rightmost_1bit(map__))
  ------------------
  913|  8.37k|        const struct tun_metadata_loc *loc;
  914|  8.37k|        bool is_masked;
  915|  8.37k|        union mf_value opts, mask_opts;
  916|       |
  917|  8.37k|        loc = metadata_loc_from_match_read(match->flow.tunnel.metadata.tab,
  918|  8.37k|                                           match, i, &match->wc.masks.tunnel,
  919|  8.37k|                                           &is_masked);
  920|       |
  921|  8.37k|        ds_put_format(s, "tun_metadata%u", i);
  922|  8.37k|        memcpy_from_metadata(mask_opts.tun_metadata,
  923|  8.37k|                             &match->wc.masks.tunnel.metadata, loc);
  924|       |
  925|  8.37k|        if (!ULLONG_GET(match->flow.tunnel.metadata.present.map, i)) {
  ------------------
  |  |  293|  8.37k|#define ULLONG_GET(MAP, OFFSET) !!((MAP) & (1ULL << (OFFSET)))
  ------------------
  |  Branch (925:13): [True: 0, False: 8.37k]
  ------------------
  926|       |            /* Indicate that we are matching on the field being not present. */
  927|      0|            ds_put_cstr(s, "=NP");
  928|  8.37k|        } else if (!(is_masked &&
  ------------------
  |  Branch (928:22): [True: 4.35k, False: 4.02k]
  ------------------
  929|  5.08k|                     is_all_zeros(mask_opts.tun_metadata, loc->len))) {
  ------------------
  |  Branch (929:22): [True: 3.29k, False: 1.06k]
  ------------------
  930|  5.08k|            ds_put_char(s, '=');
  931|       |
  932|  5.08k|            memcpy_from_metadata(opts.tun_metadata,
  933|  5.08k|                                 &match->flow.tunnel.metadata, loc);
  934|  5.08k|            ds_put_hex(s, opts.tun_metadata, loc->len);
  935|       |
  936|  5.08k|            if (!is_all_ones(mask_opts.tun_metadata, loc->len)) {
  ------------------
  |  Branch (936:17): [True: 1.02k, False: 4.06k]
  ------------------
  937|  1.02k|                ds_put_char(s, '/');
  938|  1.02k|                ds_put_hex(s, mask_opts.tun_metadata, loc->len);
  939|  1.02k|            }
  940|  5.08k|        }
  941|  8.37k|        ds_put_char(s, ',');
  942|  8.37k|    }
  943|  6.12k|}
tun_metadata_allocation_clone:
  947|  46.7k|{
  948|  46.7k|    return src && src->valid ? xmemdup(src, sizeof *src) : NULL;
  ------------------
  |  Branch (948:12): [True: 46.7k, False: 0]
  |  Branch (948:19): [True: 2.06k, False: 44.7k]
  ------------------
  949|  46.7k|}
tun_metadata_allocation_copy:
  954|  46.7k|{
  955|  46.7k|    if (src && src->valid) {
  ------------------
  |  Branch (955:9): [True: 2.06k, False: 44.7k]
  |  Branch (955:16): [True: 2.06k, False: 0]
  ------------------
  956|  2.06k|        *dst = *src;
  957|  44.7k|    } else {
  958|  44.7k|        memset(dst, 0, sizeof *dst);
  959|  44.7k|    }
  960|  46.7k|}
tun-metadata.c:metadata_loc_from_match:
  285|   101k|{
  286|   101k|    ovs_assert(idx < TUN_METADATA_NUM_OPTS);
  ------------------
  |  |   62|   101k|#define ovs_assert ovs_ignore
  ------------------
                  ovs_assert(idx < TUN_METADATA_NUM_OPTS);
  ------------------
  |  |   26|   101k|#define TUN_METADATA_NUM_OPTS 64
  ------------------
  287|       |
  288|   101k|    if (err_str) {
  ------------------
  |  Branch (288:9): [True: 83.1k, False: 18.5k]
  ------------------
  289|  83.1k|        *err_str = NULL;
  290|  83.1k|    }
  291|       |
  292|   101k|    if (map) {
  ------------------
  |  Branch (292:9): [True: 0, False: 101k]
  ------------------
  293|      0|        if (map->entries[idx].valid) {
  ------------------
  |  Branch (293:13): [True: 0, False: 0]
  ------------------
  294|      0|            return &map->entries[idx].loc;
  295|      0|        } else {
  296|      0|            return NULL;
  297|      0|        }
  298|      0|    }
  299|       |
  300|   101k|    if (match->tun_md.alloc_offset + field_len > TUN_METADATA_TOT_OPT_SIZE) {
  ------------------
  |  |   27|   101k|#define TUN_METADATA_TOT_OPT_SIZE 256
  ------------------
  |  Branch (300:9): [True: 0, False: 101k]
  ------------------
  301|      0|        if (err_str) {
  ------------------
  |  Branch (301:13): [True: 0, False: 0]
  ------------------
  302|      0|            *err_str = xasprintf("field %s exceeds maximum size for tunnel "
  303|      0|                                 "metadata (used %d, max %d)", name,
  304|      0|                                 match->tun_md.alloc_offset + field_len,
  305|      0|                                 TUN_METADATA_TOT_OPT_SIZE);
  ------------------
  |  |   27|      0|#define TUN_METADATA_TOT_OPT_SIZE 256
  ------------------
  306|      0|        }
  307|       |
  308|      0|        return NULL;
  309|      0|    }
  310|       |
  311|   101k|    if (ULLONG_GET(match->wc.masks.tunnel.metadata.present.map, idx)) {
  ------------------
  |  |  293|   101k|#define ULLONG_GET(MAP, OFFSET) !!((MAP) & (1ULL << (OFFSET)))
  |  |  ------------------
  |  |  |  Branch (293:33): [True: 1.24k, False: 100k]
  |  |  ------------------
  ------------------
  312|  1.24k|        if (err_str) {
  ------------------
  |  Branch (312:13): [True: 0, False: 1.24k]
  ------------------
  313|      0|            *err_str = xasprintf("field %s set multiple times", name);
  314|      0|        }
  315|       |
  316|  1.24k|        return NULL;
  317|  1.24k|    }
  318|       |
  319|   100k|    match->tun_md.entry[idx].loc.len = field_len;
  320|   100k|    match->tun_md.entry[idx].loc.c.offset = match->tun_md.alloc_offset;
  321|   100k|    match->tun_md.entry[idx].loc.c.len = field_len;
  322|   100k|    match->tun_md.entry[idx].loc.c.next = NULL;
  323|   100k|    match->tun_md.entry[idx].masked = masked;
  324|   100k|    match->tun_md.alloc_offset += field_len;
  325|   100k|    match->tun_md.valid = true;
  326|       |
  327|   100k|    return &match->tun_md.entry[idx].loc;
  328|   101k|}
tun-metadata.c:memcpy_to_metadata:
  445|   200k|{
  446|   200k|    const struct tun_metadata_loc_chain *chain = &loc->c;
  447|   200k|    int addr = 0;
  448|       |
  449|   401k|    while (chain) {
  ------------------
  |  Branch (449:12): [True: 200k, False: 200k]
  ------------------
  450|   200k|        memcpy(dst->opts.u8 + chain->offset, (uint8_t *)src + addr,
  451|   200k|               chain->len);
  452|   200k|        addr += chain->len;
  453|   200k|        chain = chain->next;
  454|   200k|    }
  455|       |
  456|   200k|    ULLONG_SET1(dst->present.map, idx);
  ------------------
  |  |  290|   200k|#define ULLONG_SET1(MAP, OFFSET) ((MAP) |= 1ULL << (OFFSET))
  ------------------
  457|   200k|}
tun-metadata.c:memcpy_from_metadata:
  462|  13.4k|{
  463|  13.4k|    const struct tun_metadata_loc_chain *chain = &loc->c;
  464|  13.4k|    int addr = 0;
  465|       |
  466|  26.9k|    while (chain) {
  ------------------
  |  Branch (466:12): [True: 13.4k, False: 13.4k]
  ------------------
  467|  13.4k|        memcpy((uint8_t *)dst + addr, src->opts.u8 + chain->offset,
  468|  13.4k|               chain->len);
  469|  13.4k|        addr += chain->len;
  470|  13.4k|        chain = chain->next;
  471|  13.4k|    }
  472|  13.4k|}
tun-metadata.c:metadata_loc_from_match_read:
  857|  8.37k|{
  858|  8.37k|    union mf_value mask_opts;
  859|       |
  860|  8.37k|    if (match->tun_md.valid) {
  ------------------
  |  Branch (860:9): [True: 8.37k, False: 0]
  ------------------
  861|  8.37k|        *is_masked = match->tun_md.entry[idx].masked;
  862|  8.37k|        return &match->tun_md.entry[idx].loc;
  863|  8.37k|    }
  864|       |
  865|      0|    memcpy_from_metadata(mask_opts.tun_metadata, &mask->metadata,
  866|      0|                         &map->entries[idx].loc);
  867|       |
  868|      0|    *is_masked = map->entries[idx].loc.len == 0 ||
  ------------------
  |  Branch (868:18): [True: 0, False: 0]
  ------------------
  869|      0|                 !is_all_ones(mask_opts.tun_metadata,
  ------------------
  |  Branch (869:18): [True: 0, False: 0]
  ------------------
  870|      0|                              map->entries[idx].loc.len);
  871|      0|    return &map->entries[idx].loc;
  872|  8.37k|}

ofp-print.c:get_16aligned_be32:
  246|    225|{
  247|       |#ifdef WORDS_BIGENDIAN
  248|       |    return ((ovs_be32) x->hi << 16) | x->lo;
  249|       |#else
  250|    225|    return ((ovs_be32) x->lo << 16) | x->hi;
  251|    225|#endif
  252|    225|}
ofp-queue.c:get_32aligned_be64:
  270|  36.8k|{
  271|       |#ifdef WORDS_BIGENDIAN
  272|       |    return ((ovs_be64) x->hi << 32) | x->lo;
  273|       |#else
  274|  36.8k|    return ((ovs_be64) x->lo << 32) | x->hi;
  275|  36.8k|#endif
  276|  36.8k|}
ofp-table.c:get_32aligned_be64:
  270|  24.4k|{
  271|       |#ifdef WORDS_BIGENDIAN
  272|       |    return ((ovs_be64) x->hi << 32) | x->lo;
  273|       |#else
  274|  24.4k|    return ((ovs_be64) x->lo << 32) | x->hi;
  275|  24.4k|#endif
  276|  24.4k|}
flow.c:get_16aligned_be32:
  246|  10.3k|{
  247|       |#ifdef WORDS_BIGENDIAN
  248|       |    return ((ovs_be32) x->hi << 16) | x->lo;
  249|       |#else
  250|  10.3k|    return ((ovs_be32) x->lo << 16) | x->hi;
  251|  10.3k|#endif
  252|  10.3k|}
hash.c:get_unaligned_u32:
   74|    895|get_unaligned_##ABBREV(const TYPE *p)           \
   75|    895|{                                               \
   76|    895|    return unaligned_##ABBREV(p)->x;            \
   77|    895|}                                               \
hash.c:unaligned_u32:
   68|    895|unaligned_##ABBREV(const TYPE *p)               \
   69|    895|{                                               \
   70|    895|    return (struct unaligned_##ABBREV *) p;     \
   71|    895|}                                               \
nx-match.c:get_unaligned_be32:
   74|   444k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|   444k|{                                               \
   76|   444k|    return unaligned_##ABBREV(p)->x;            \
   77|   444k|}                                               \
nx-match.c:unaligned_be32:
   68|   444k|unaligned_##ABBREV(const TYPE *p)               \
   69|   444k|{                                               \
   70|   444k|    return (struct unaligned_##ABBREV *) p;     \
   71|   444k|}                                               \
nx-match.c:get_unaligned_be64:
   74|  14.4k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|  14.4k|{                                               \
   76|  14.4k|    return unaligned_##ABBREV(p)->x;            \
   77|  14.4k|}                                               \
nx-match.c:unaligned_be64:
   68|  14.4k|unaligned_##ABBREV(const TYPE *p)               \
   69|  14.4k|{                                               \
   70|  14.4k|    return (struct unaligned_##ABBREV *) p;     \
   71|  14.4k|}                                               \
ofp-actions.c:get_unaligned_be32:
   74|  44.1k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|  44.1k|{                                               \
   76|  44.1k|    return unaligned_##ABBREV(p)->x;            \
   77|  44.1k|}                                               \
ofp-actions.c:unaligned_be32:
   68|  44.1k|unaligned_##ABBREV(const TYPE *p)               \
   69|  44.1k|{                                               \
   70|  44.1k|    return (struct unaligned_##ABBREV *) p;     \
   71|  44.1k|}                                               \
ofp-flow.c:get_32aligned_be64:
  270|  4.17k|{
  271|       |#ifdef WORDS_BIGENDIAN
  272|       |    return ((ovs_be64) x->hi << 32) | x->lo;
  273|       |#else
  274|  4.17k|    return ((ovs_be64) x->lo << 32) | x->hi;
  275|  4.17k|#endif
  276|  4.17k|}
ofp-port.c:get_unaligned_be64:
   74|  54.6k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|  54.6k|{                                               \
   76|  54.6k|    return unaligned_##ABBREV(p)->x;            \
   77|  54.6k|}                                               \
ofp-port.c:unaligned_be64:
   68|  54.6k|unaligned_##ABBREV(const TYPE *p)               \
   69|  54.6k|{                                               \
   70|  54.6k|    return (struct unaligned_##ABBREV *) p;     \
   71|  54.6k|}                                               \
ofp-port.c:get_32aligned_be64:
  270|   119k|{
  271|       |#ifdef WORDS_BIGENDIAN
  272|       |    return ((ovs_be64) x->hi << 32) | x->lo;
  273|       |#else
  274|   119k|    return ((ovs_be64) x->lo << 32) | x->hi;
  275|   119k|#endif
  276|   119k|}
ofp-prop.c:get_32aligned_be128:
  294|    775|{
  295|    775|    ovs_be128 u;
  296|    775|    u.be32[0] = x->be32[0];
  297|    775|    u.be32[1] = x->be32[1];
  298|    775|    u.be32[2] = x->be32[2];
  299|    775|    u.be32[3] = x->be32[3];
  300|    775|    return u;
  301|    775|}
ox-stat.c:get_unaligned_be64:
   74|  1.64k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|  1.64k|{                                               \
   76|  1.64k|    return unaligned_##ABBREV(p)->x;            \
   77|  1.64k|}                                               \
ox-stat.c:unaligned_be64:
   68|  1.64k|unaligned_##ABBREV(const TYPE *p)               \
   69|  1.64k|{                                               \
   70|  1.64k|    return (struct unaligned_##ABBREV *) p;     \
   71|  1.64k|}                                               \
ox-stat.c:get_unaligned_be32:
   74|  3.85k|get_unaligned_##ABBREV(const TYPE *p)           \
   75|  3.85k|{                                               \
   76|  3.85k|    return unaligned_##ABBREV(p)->x;            \
   77|  3.85k|}                                               \
ox-stat.c:unaligned_be32:
   68|  3.85k|unaligned_##ABBREV(const TYPE *p)               \
   69|  3.85k|{                                               \
   70|  3.85k|    return (struct unaligned_##ABBREV *) p;     \
   71|  3.85k|}                                               \

xcalloc__:
  121|  24.5k|{
  122|  24.5k|    void *p = count && size ? calloc(count, size) : malloc(1);
  ------------------
  |  Branch (122:15): [True: 24.4k, False: 134]
  |  Branch (122:24): [True: 24.4k, False: 0]
  ------------------
  123|  24.5k|    if (p == NULL) {
  ------------------
  |  Branch (123:9): [True: 0, False: 24.5k]
  ------------------
  124|      0|        out_of_memory();
  125|      0|    }
  126|  24.5k|    return p;
  127|  24.5k|}
xzalloc__:
  131|  15.8k|{
  132|  15.8k|    return xcalloc__(1, size);
  133|  15.8k|}
xmalloc__:
  137|   800k|{
  138|   800k|    void *p = malloc(size ? size : 1);
  ------------------
  |  Branch (138:22): [True: 797k, False: 2.43k]
  ------------------
  139|   800k|    if (p == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 800k]
  ------------------
  140|      0|        out_of_memory();
  141|      0|    }
  142|   800k|    return p;
  143|   800k|}
xrealloc__:
  147|  10.6M|{
  148|  10.6M|    p = realloc(p, size ? size : 1);
  ------------------
  |  Branch (148:20): [True: 10.6M, False: 0]
  ------------------
  149|  10.6M|    if (p == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 10.6M]
  ------------------
  150|      0|        out_of_memory();
  151|      0|    }
  152|  10.6M|    return p;
  153|  10.6M|}
xcalloc:
  157|  8.68k|{
  158|  8.68k|    COVERAGE_INC(util_xalloc);
  ------------------
  |  |   83|  8.68k|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|  8.68k|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  159|  8.68k|    return xcalloc__(count, size);
  160|  8.68k|}
xzalloc:
  164|  15.8k|{
  165|  15.8k|    COVERAGE_INC(util_xalloc);
  ------------------
  |  |   83|  15.8k|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|  15.8k|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  166|  15.8k|    return xzalloc__(size);
  167|  15.8k|}
xmalloc:
  171|   800k|{
  172|   800k|    COVERAGE_INC(util_xalloc);
  ------------------
  |  |   83|   800k|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|   800k|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  173|   800k|    return xmalloc__(size);
  174|   800k|}
xrealloc:
  178|  10.6M|{
  179|  10.6M|    COVERAGE_INC(util_xalloc);
  ------------------
  |  |   83|  10.6M|#define COVERAGE_INC(COUNTER) COVERAGE_ADD(COUNTER, 1)
  |  |  ------------------
  |  |  |  |   86|  10.6M|#define COVERAGE_ADD(COUNTER, AMOUNT) COUNTER##_add(AMOUNT)
  |  |  ------------------
  ------------------
  180|  10.6M|    return xrealloc__(p, size);
  181|  10.6M|}
xmemdup:
  185|  4.22k|{
  186|  4.22k|    void *p = xmalloc(size);
  187|  4.22k|    nullable_memcpy(p, p_, size);
  188|  4.22k|    return p;
  189|  4.22k|}
xmemdup0:
  193|      1|{
  194|      1|    char *p = xmalloc(length + 1);
  195|      1|    memcpy(p, p_, length);
  196|      1|    p[length] = '\0';
  197|      1|    return p;
  198|      1|}
xstrdup:
  202|      1|{
  203|      1|    return xmemdup0(s, strlen(s));
  204|      1|}
xvasprintf:
  220|  8.91k|{
  221|  8.91k|    va_list args2;
  222|  8.91k|    size_t needed;
  223|  8.91k|    char *s;
  224|       |
  225|  8.91k|    ovs_assert(format);
  ------------------
  |  |   62|  8.91k|#define ovs_assert ovs_ignore
  ------------------
  226|       |
  227|  8.91k|    va_copy(args2, args);
  228|  8.91k|    needed = vsnprintf(NULL, 0, format, args);
  229|       |
  230|  8.91k|    s = xmalloc(needed + 1);
  231|       |
  232|  8.91k|    vsnprintf(s, needed + 1, format, args2);
  233|  8.91k|    va_end(args2);
  234|       |
  235|  8.91k|    return s;
  236|  8.91k|}
x2nrealloc:
  240|  34.6k|{
  241|  34.6k|    *n = *n == 0 ? 1 : 2 * *n;
  ------------------
  |  Branch (241:10): [True: 18.7k, False: 15.9k]
  ------------------
  242|  34.6k|    return xrealloc(p, *n * s);
  243|  34.6k|}
ovs_strlcpy:
  381|  67.4k|{
  382|  67.4k|    if (size > 0) {
  ------------------
  |  Branch (382:9): [True: 67.4k, False: 0]
  ------------------
  383|  67.4k|        size_t len = strnlen(src, size - 1);
  384|  67.4k|        memcpy(dst, src, len);
  385|  67.4k|        dst[len] = '\0';
  386|  67.4k|    }
  387|  67.4k|}
ovs_ignore:
 1265|  37.1M|void ovs_ignore(bool x OVS_UNUSED) { }
is_all_byte:
 1356|   586k|{
 1357|   586k|    const uint8_t *p = p_;
 1358|   586k|    size_t i;
 1359|       |
 1360|  13.8M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1360:17): [True: 13.5M, False: 279k]
  ------------------
 1361|  13.5M|        if (p[i] != byte) {
  ------------------
  |  Branch (1361:13): [True: 307k, False: 13.2M]
  ------------------
 1362|   307k|            return false;
 1363|   307k|        }
 1364|  13.5M|    }
 1365|   279k|    return true;
 1366|   586k|}
is_all_zeros:
 1371|   263k|{
 1372|   263k|    return is_all_byte(p, n, 0);
 1373|   263k|}
is_all_ones:
 1378|   323k|{
 1379|   323k|    return is_all_byte(p, n, 0xff);
 1380|   323k|}
bitwise_copy:
 1414|  43.6k|{
 1415|  43.6k|    const uint8_t *src = src_;
 1416|  43.6k|    uint8_t *dst = dst_;
 1417|       |
 1418|  43.6k|    src += src_len - (src_ofs / 8 + 1);
 1419|  43.6k|    src_ofs %= 8;
 1420|       |
 1421|  43.6k|    dst += dst_len - (dst_ofs / 8 + 1);
 1422|  43.6k|    dst_ofs %= 8;
 1423|       |
 1424|  43.6k|    if (src_ofs == 0 && dst_ofs == 0) {
  ------------------
  |  Branch (1424:9): [True: 43.3k, False: 311]
  |  Branch (1424:25): [True: 21.9k, False: 21.4k]
  ------------------
 1425|  21.9k|        unsigned int n_bytes = n_bits / 8;
 1426|  21.9k|        if (n_bytes) {
  ------------------
  |  Branch (1426:13): [True: 14.9k, False: 6.94k]
  ------------------
 1427|  14.9k|            dst -= n_bytes - 1;
 1428|  14.9k|            src -= n_bytes - 1;
 1429|  14.9k|            memcpy(dst, src, n_bytes);
 1430|       |
 1431|  14.9k|            n_bits %= 8;
 1432|  14.9k|            src--;
 1433|  14.9k|            dst--;
 1434|  14.9k|        }
 1435|  21.9k|        if (n_bits) {
  ------------------
  |  Branch (1435:13): [True: 14.6k, False: 7.27k]
  ------------------
 1436|  14.6k|            uint8_t mask = (1 << n_bits) - 1;
 1437|  14.6k|            *dst = (*dst & ~mask) | (*src & mask);
 1438|  14.6k|        }
 1439|  21.9k|    } else {
 1440|   112k|        while (n_bits > 0) {
  ------------------
  |  Branch (1440:16): [True: 91.0k, False: 21.7k]
  ------------------
 1441|  91.0k|            unsigned int max_copy = 8 - MAX(src_ofs, dst_ofs);
  ------------------
  |  |   95|  91.0k|#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (95:20): [True: 39.4k, False: 51.6k]
  |  |  ------------------
  ------------------
 1442|  91.0k|            unsigned int chunk = MIN(n_bits, max_copy);
  ------------------
  |  |   91|  91.0k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 17.3k, False: 73.6k]
  |  |  ------------------
  ------------------
 1443|  91.0k|            uint8_t mask = ((1 << chunk) - 1) << dst_ofs;
 1444|       |
 1445|  91.0k|            *dst &= ~mask;
 1446|  91.0k|            *dst |= ((*src >> src_ofs) << dst_ofs) & mask;
 1447|       |
 1448|  91.0k|            src_ofs += chunk;
 1449|  91.0k|            if (src_ofs == 8) {
  ------------------
  |  Branch (1449:17): [True: 31.6k, False: 59.4k]
  ------------------
 1450|  31.6k|                src--;
 1451|  31.6k|                src_ofs = 0;
 1452|  31.6k|            }
 1453|  91.0k|            dst_ofs += chunk;
 1454|  91.0k|            if (dst_ofs == 8) {
  ------------------
  |  Branch (1454:17): [True: 42.0k, False: 48.9k]
  ------------------
 1455|  42.0k|                dst--;
 1456|  42.0k|                dst_ofs = 0;
 1457|  42.0k|            }
 1458|  91.0k|            n_bits -= chunk;
 1459|  91.0k|        }
 1460|  21.7k|    }
 1461|  43.6k|}
bitwise_one:
 1526|  35.0k|{
 1527|  35.0k|    uint8_t *dst = dst_;
 1528|       |
 1529|  35.0k|    if (!n_bits) {
  ------------------
  |  Branch (1529:9): [True: 0, False: 35.0k]
  ------------------
 1530|      0|        return;
 1531|      0|    }
 1532|       |
 1533|  35.0k|    dst += dst_len - (dst_ofs / 8 + 1);
 1534|  35.0k|    dst_ofs %= 8;
 1535|       |
 1536|  35.0k|    if (dst_ofs) {
  ------------------
  |  Branch (1536:9): [True: 20.3k, False: 14.6k]
  ------------------
 1537|  20.3k|        unsigned int chunk = MIN(n_bits, 8 - dst_ofs);
  ------------------
  |  |   91|  20.3k|#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
  |  |  ------------------
  |  |  |  Branch (91:20): [True: 1.36k, False: 19.0k]
  |  |  ------------------
  ------------------
 1538|       |
 1539|  20.3k|        *dst |= ((1 << chunk) - 1) << dst_ofs;
 1540|       |
 1541|  20.3k|        n_bits -= chunk;
 1542|  20.3k|        if (!n_bits) {
  ------------------
  |  Branch (1542:13): [True: 2.09k, False: 18.3k]
  ------------------
 1543|  2.09k|            return;
 1544|  2.09k|        }
 1545|       |
 1546|  18.3k|        dst--;
 1547|  18.3k|    }
 1548|       |
 1549|  76.7k|    while (n_bits >= 8) {
  ------------------
  |  Branch (1549:12): [True: 43.7k, False: 32.9k]
  ------------------
 1550|  43.7k|        *dst-- = 0xff;
 1551|  43.7k|        n_bits -= 8;
 1552|  43.7k|    }
 1553|       |
 1554|  32.9k|    if (n_bits) {
  ------------------
  |  Branch (1554:9): [True: 26.5k, False: 6.43k]
  ------------------
 1555|  26.5k|        *dst |= (1 << n_bits) - 1;
 1556|  26.5k|    }
 1557|  32.9k|}
bitwise_scan:
 1630|  6.48k|{
 1631|  6.48k|    unsigned int ofs;
 1632|       |
 1633|  1.42M|    for (ofs = start; ofs < end; ofs++) {
  ------------------
  |  Branch (1633:23): [True: 1.41M, False: 2.93k]
  ------------------
 1634|  1.41M|        if (bitwise_get_bit(p, len, ofs) == target) {
  ------------------
  |  Branch (1634:13): [True: 3.54k, False: 1.41M]
  ------------------
 1635|  3.54k|            break;
 1636|  3.54k|        }
 1637|  1.41M|    }
 1638|  6.48k|    return ofs;
 1639|  6.48k|}
bitwise_put:
 1719|  6.16k|{
 1720|  6.16k|    ovs_be64 n_value = htonll(value);
 1721|  6.16k|    bitwise_copy(&n_value, sizeof n_value, 0,
 1722|  6.16k|                 dst, dst_len, dst_ofs,
 1723|  6.16k|                 n_bits);
 1724|  6.16k|}
bitwise_get:
 1742|  2.47k|{
 1743|  2.47k|    ovs_be64 value = htonll(0);
 1744|       |
 1745|  2.47k|    bitwise_copy(src, src_len, src_ofs,
 1746|  2.47k|                 &value, sizeof value, 0,
 1747|  2.47k|                 n_bits);
 1748|  2.47k|    return ntohll(value);
 1749|  2.47k|}
bitwise_get_bit:
 1765|  1.41M|{
 1766|  1.41M|    const uint8_t *src = src_;
 1767|       |
 1768|  1.41M|    return (src[len - (ofs / 8 + 1)] & (1u << (ofs % 8))) != 0;
 1769|  1.41M|}

ofp-protocol.c:rightmost_1bit:
  382|   108k|{
  383|   108k|    return x & -x;
  384|   108k|}
ofp-protocol.c:zero_rightmost_1bit:
  390|   778k|{
  391|   778k|    return x & (x - 1);
  392|   778k|}
ofp-protocol.c:raw_ctz:
  261|   778k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|   778k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 778k, False: 0]
  |  Branch (265:54): [True: 778k, False: 0]
  ------------------
  266|   778k|            ? __builtin_ctz(n)
  267|   778k|            : __builtin_ctzll(n));
  268|   778k|}
ofp-table.c:raw_ctz:
  261|   420k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|   420k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 420k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|   420k|            ? __builtin_ctz(n)
  267|   420k|            : __builtin_ctzll(n));
  268|   420k|}
ofpbuf.c:nullable_memset:
  198|   122k|{
  199|   122k|    if (n) {
  ------------------
  |  Branch (199:9): [True: 121k, False: 100]
  ------------------
  200|   121k|        memset(dst, c, n);
  201|   121k|    }
  202|   122k|}
util.c:nullable_memcpy:
  188|  4.22k|{
  189|  4.22k|    if (n) {
  ------------------
  |  Branch (189:9): [True: 4.22k, False: 0]
  ------------------
  190|  4.22k|        memcpy(dst, src, n);
  191|  4.22k|    }
  192|  4.22k|}
flow.c:ovs_u128_is_zero:
  488|  58.3k|{
  489|  58.3k|    return !(val.u64.hi || val.u64.lo);
  ------------------
  |  Branch (489:14): [True: 0, False: 58.3k]
  |  Branch (489:28): [True: 0, False: 58.3k]
  ------------------
  490|  58.3k|}
flow.c:rightmost_1bit:
  382|  84.8k|{
  383|  84.8k|    return x & -x;
  384|  84.8k|}
flow.c:count_1bits:
  332|  93.5k|{
  333|       |#if (__GNUC__ >= 4 && __POPCNT__) || (defined(__aarch64__) && __GNUC__ >= 7)
  334|       |    return __builtin_popcountll(x);
  335|       |#elif defined(__aarch64__) && __GNUC__ >= 6
  336|       |    return vaddv_u8(vcnt_u8(vcreate_u8(x)));
  337|       |#else
  338|       |    /* This portable implementation is the fastest one we know of for 64
  339|       |     * bits, and about 3x faster than GCC 4.7 __builtin_popcountll(). */
  340|  93.5k|    const uint64_t h55 = UINT64_C(0x5555555555555555);
  341|  93.5k|    const uint64_t h33 = UINT64_C(0x3333333333333333);
  342|  93.5k|    const uint64_t h0F = UINT64_C(0x0F0F0F0F0F0F0F0F);
  343|       |    const uint64_t h01 = UINT64_C(0x0101010101010101);
  344|  93.5k|    x -= (x >> 1) & h55;               /* Count of each 2 bits in-place. */
  345|  93.5k|    x = (x & h33) + ((x >> 2) & h33);  /* Count of each 4 bits in-place. */
  346|  93.5k|    x = (x + (x >> 4)) & h0F;          /* Count of each 8 bits in-place. */
  347|  93.5k|    return (x * h01) >> 56;            /* Sum of all bytes. */
  348|  93.5k|#endif
  349|  93.5k|}
flow.c:raw_ctz:
  261|   870k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|   870k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 870k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|   870k|            ? __builtin_ctz(n)
  267|   870k|            : __builtin_ctzll(n));
  268|   870k|}
flow.c:zero_rightmost_1bit:
  390|   870k|{
  391|   870k|    return x & (x - 1);
  392|   870k|}
match.c:ovs_u128_and:
  515|  4.95k|{
  516|  4.95k|    ovs_u128 dst;
  517|       |
  518|  4.95k|    dst.u64.hi = a.u64.hi & b.u64.hi;
  519|  4.95k|    dst.u64.lo = a.u64.lo & b.u64.lo;
  520|       |
  521|  4.95k|    return dst;
  522|  4.95k|}
match.c:ovs_u128_is_zero:
  488|   208k|{
  489|   208k|    return !(val.u64.hi || val.u64.lo);
  ------------------
  |  Branch (489:14): [True: 692, False: 207k]
  |  Branch (489:28): [True: 540, False: 206k]
  ------------------
  490|   208k|}
meta-flow.c:ovs_u128_is_zero:
  488|  5.63k|{
  489|  5.63k|    return !(val.u64.hi || val.u64.lo);
  ------------------
  |  Branch (489:14): [True: 204, False: 5.42k]
  |  Branch (489:28): [True: 7, False: 5.42k]
  ------------------
  490|  5.63k|}
meta-flow.c:raw_ctz:
  261|  7.55k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|  7.55k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 7.55k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|  7.55k|            ? __builtin_ctz(n)
  267|  7.55k|            : __builtin_ctzll(n));
  268|  7.55k|}
nx-match.c:raw_ctz:
  261|  8.53k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|  8.53k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 8.53k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|  8.53k|            ? __builtin_ctz(n)
  267|  8.53k|            : __builtin_ctzll(n));
  268|  8.53k|}
ofp-actions.c:log_2_ceil:
  322|  2.46k|{
  323|  2.46k|    return log_2_floor(n) + !is_pow2(n);
  324|  2.46k|}
ofp-actions.c:log_2_floor:
  314|  2.46k|{
  315|  2.46k|    return 63 - raw_clz64(n);
  316|  2.46k|}
ofp-actions.c:raw_clz64:
  272|  2.46k|{
  273|  2.46k|    return __builtin_clzll(n);
  274|  2.46k|}
ofp-actions.c:rightmost_1bit_idx:
  398|   120k|{
  399|   120k|    return ctz64(x);
  400|   120k|}
ofp-actions.c:ctz64:
  291|   120k|{
  292|   120k|    return n ? raw_ctz(n) : 64;
  ------------------
  |  Branch (292:12): [True: 120k, False: 0]
  ------------------
  293|   120k|}
ofp-actions.c:raw_ctz:
  261|   120k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|   120k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 120k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|   120k|            ? __builtin_ctz(n)
  267|   120k|            : __builtin_ctzll(n));
  268|   120k|}
ofp-actions.c:zero_rightmost_1bit:
  390|   120k|{
  391|   120k|    return x & (x - 1);
  392|   120k|}
ofp-ct.c:ovs_u128_is_zero:
  488|  5.30k|{
  489|  5.30k|    return !(val.u64.hi || val.u64.lo);
  ------------------
  |  Branch (489:14): [True: 547, False: 4.76k]
  |  Branch (489:28): [True: 208, False: 4.55k]
  ------------------
  490|  5.30k|}
ofp-ct.c:ovs_u128_is_ones:
  495|    755|{
  496|    755|    return ovs_u128_equals(val, OVS_U128_MAX);
  497|    755|}
ofp-ct.c:ovs_u128_equals:
  481|    755|{
  482|    755|    return (a.u64.hi == b.u64.hi) && (a.u64.lo == b.u64.lo);
  ------------------
  |  Branch (482:12): [True: 99, False: 656]
  |  Branch (482:38): [True: 22, False: 77]
  ------------------
  483|    755|}
ofp-group.c:count_1bits:
  332|  15.0k|{
  333|       |#if (__GNUC__ >= 4 && __POPCNT__) || (defined(__aarch64__) && __GNUC__ >= 7)
  334|       |    return __builtin_popcountll(x);
  335|       |#elif defined(__aarch64__) && __GNUC__ >= 6
  336|       |    return vaddv_u8(vcnt_u8(vcreate_u8(x)));
  337|       |#else
  338|       |    /* This portable implementation is the fastest one we know of for 64
  339|       |     * bits, and about 3x faster than GCC 4.7 __builtin_popcountll(). */
  340|  15.0k|    const uint64_t h55 = UINT64_C(0x5555555555555555);
  341|  15.0k|    const uint64_t h33 = UINT64_C(0x3333333333333333);
  342|  15.0k|    const uint64_t h0F = UINT64_C(0x0F0F0F0F0F0F0F0F);
  343|       |    const uint64_t h01 = UINT64_C(0x0101010101010101);
  344|  15.0k|    x -= (x >> 1) & h55;               /* Count of each 2 bits in-place. */
  345|  15.0k|    x = (x & h33) + ((x >> 2) & h33);  /* Count of each 4 bits in-place. */
  346|  15.0k|    x = (x + (x >> 4)) & h0F;          /* Count of each 8 bits in-place. */
  347|  15.0k|    return (x * h01) >> 56;            /* Sum of all bytes. */
  348|  15.0k|#endif
  349|  15.0k|}
packets.c:ctz32:
  284|  9.43k|{
  285|  9.43k|    return n ? raw_ctz(n) : 32;
  ------------------
  |  Branch (285:12): [True: 9.43k, False: 0]
  ------------------
  286|  9.43k|}
packets.c:raw_ctz:
  261|  9.43k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|  9.43k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 9.43k, False: 0]
  |  Branch (265:54): [True: 9.43k, False: 0]
  ------------------
  266|  9.43k|            ? __builtin_ctz(n)
  267|  9.43k|            : __builtin_ctzll(n));
  268|  9.43k|}
tun-metadata.c:raw_ctz:
  261|  8.37k|{
  262|       |    /* With GCC 4.7 on 32-bit x86, if a 32-bit integer is passed as 'n', using
  263|       |     * a plain __builtin_ctzll() here always generates an out-of-line function
  264|       |     * call.  The test below helps it to emit a single 'bsf' instruction. */
  265|  8.37k|    return (__builtin_constant_p(n <= UINT32_MAX) && n <= UINT32_MAX
  ------------------
  |  Branch (265:13): [True: 0, False: 8.37k]
  |  Branch (265:54): [True: 0, False: 0]
  ------------------
  266|  8.37k|            ? __builtin_ctz(n)
  267|  8.37k|            : __builtin_ctzll(n));
  268|  8.37k|}
tun-metadata.c:zero_rightmost_1bit:
  390|  8.37k|{
  391|  8.37k|    return x & (x - 1);
  392|  8.37k|}

uuid_is_zero:
  204|  57.3k|{
  205|  57.3k|    return (!uuid->parts[0] && !uuid->parts[1]
  ------------------
  |  Branch (205:13): [True: 57.0k, False: 286]
  |  Branch (205:32): [True: 55.3k, False: 1.73k]
  ------------------
  206|  55.3k|            && !uuid->parts[2] && !uuid->parts[3]);
  ------------------
  |  Branch (206:16): [True: 54.5k, False: 846]
  |  Branch (206:35): [True: 54.5k, False: 10]
  ------------------
  207|  57.3k|}

vlog_get_level_val:
  189|      2|{
  190|      2|    return search_name_array(name, level_names, ARRAY_SIZE(level_names));
  ------------------
  |  |  297|      2|#define ARRAY_SIZE(ARRAY) __ARRAY_SIZE(ARRAY)
  |  |  ------------------
  |  |  |  |   46|      2|    __builtin_choose_expr(__ARRAY_CHECK(ARRAY),			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   41|      2|    !__builtin_types_compatible_p(typeof(ARRAY), typeof(&ARRAY[0]))
  |  |  |  |  ------------------
  |  |  |  |   47|      2|        __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define __ARRAY_SIZE_NOCHECK(ARRAY) (sizeof(ARRAY) / sizeof((ARRAY)[0]))
  |  |  |  |  ------------------
  |  |  |  |                       __ARRAY_SIZE_NOCHECK(ARRAY), __ARRAY_FAIL(ARRAY))
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|      2|#define __ARRAY_FAIL(ARRAY) (sizeof(char[-2*!__ARRAY_CHECK(ARRAY)]))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      2|}
vlog_get_destination_val:
  205|      1|{
  206|      1|    size_t i;
  207|       |
  208|      4|    for (i = 0; i < VLF_N_DESTINATIONS; i++) {
  ------------------
  |  Branch (208:17): [True: 3, False: 1]
  ------------------
  209|      3|        if (!strcasecmp(destinations[i].name, name)) {
  ------------------
  |  Branch (209:13): [True: 0, False: 3]
  ------------------
  210|      0|            break;
  211|      0|        }
  212|      3|    }
  213|      1|    return i;
  214|      1|}
vlog_insert_module:
  218|    182|{
  219|    182|    ovs_mutex_lock(&log_file_mutex);
  ------------------
  |  |   71|    182|        ovs_mutex_lock_at(mutex, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|    182|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    182|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|    182|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|    182|    ovs_list_insert(&vlog_modules, vlog);
  221|    182|    ovs_mutex_unlock(&log_file_mutex);
  222|    182|}
vlog_set_levels:
  303|      1|{
  304|      1|    assert(destination < VLF_N_DESTINATIONS ||
  305|      1|           destination == VLF_ANY_DESTINATION);
  306|      1|    if (destination == VLF_ANY_DESTINATION) {
  ------------------
  |  Branch (306:9): [True: 1, False: 0]
  ------------------
  307|      4|        for (destination = 0; destination < VLF_N_DESTINATIONS;
  ------------------
  |  Branch (307:31): [True: 3, False: 1]
  ------------------
  308|      3|             destination++) {
  309|      3|            set_destination_level(destination, module, level);
  310|      3|        }
  311|      1|    } else {
  312|      0|        set_destination_level(destination, module, level);
  313|      0|    }
  314|      1|}
vlog_set_levels_from_string:
  513|      1|{
  514|      1|    char *s = xstrdup(s_);
  515|      1|    char *save_ptr = NULL;
  516|      1|    char *msg = NULL;
  517|      1|    char *word;
  518|       |
  519|      1|    word = strtok_r(s, " ,:\t", &save_ptr);
  520|      1|    if (word && !strcasecmp(word, "PATTERN")) {
  ------------------
  |  Branch (520:9): [True: 1, False: 0]
  |  Branch (520:17): [True: 0, False: 1]
  ------------------
  521|      0|        enum vlog_destination destination;
  522|       |
  523|      0|        word = strtok_r(NULL, " ,:\t", &save_ptr);
  524|      0|        if (!word) {
  ------------------
  |  Branch (524:13): [True: 0, False: 0]
  ------------------
  525|      0|            msg = xstrdup("missing destination");
  526|      0|            goto exit;
  527|      0|        }
  528|       |
  529|      0|        destination = (!strcasecmp(word, "ANY")
  ------------------
  |  Branch (529:24): [True: 0, False: 0]
  ------------------
  530|      0|                       ? VLF_ANY_DESTINATION
  531|      0|                       : vlog_get_destination_val(word));
  532|      0|        if (destination == VLF_N_DESTINATIONS) {
  ------------------
  |  Branch (532:13): [True: 0, False: 0]
  ------------------
  533|      0|            msg = xasprintf("unknown destination \"%s\"", word);
  534|      0|            goto exit;
  535|      0|        }
  536|      0|        vlog_set_pattern(destination, save_ptr);
  537|      1|    } else if (word && !strcasecmp(word, "FACILITY")) {
  ------------------
  |  Branch (537:16): [True: 1, False: 0]
  |  Branch (537:24): [True: 0, False: 1]
  ------------------
  538|      0|        int value;
  539|       |
  540|      0|        if (!vlog_facility_exists(save_ptr, &value)) {
  ------------------
  |  Branch (540:13): [True: 0, False: 0]
  ------------------
  541|      0|            msg = xstrdup("invalid facility");
  542|      0|            goto exit;
  543|      0|        }
  544|      0|        atomic_store_explicit(&log_facility, value, memory_order_relaxed);
  ------------------
  |  |   45|      0|    __c11_atomic_store(DST, SRC, ORDER)
  ------------------
  545|      1|    } else {
  546|      1|        struct vlog_module *module = NULL;
  547|      1|        enum vlog_level level = VLL_N_LEVELS;
  548|      1|        enum vlog_destination destination = VLF_N_DESTINATIONS;
  549|       |
  550|      2|        for (; word != NULL; word = strtok_r(NULL, " ,:\t", &save_ptr)) {
  ------------------
  |  Branch (550:16): [True: 1, False: 1]
  ------------------
  551|      1|            if (!strcasecmp(word, "ANY")) {
  ------------------
  |  Branch (551:17): [True: 0, False: 1]
  ------------------
  552|      0|                continue;
  553|      1|            } else if (vlog_get_destination_val(word) != VLF_N_DESTINATIONS) {
  ------------------
  |  Branch (553:24): [True: 0, False: 1]
  ------------------
  554|      0|                if (destination != VLF_N_DESTINATIONS) {
  ------------------
  |  Branch (554:21): [True: 0, False: 0]
  ------------------
  555|      0|                    msg = xstrdup("cannot specify multiple destinations");
  556|      0|                    goto exit;
  557|      0|                }
  558|      0|                destination = vlog_get_destination_val(word);
  559|      1|            } else if (vlog_get_level_val(word) != VLL_N_LEVELS) {
  ------------------
  |  Branch (559:24): [True: 1, False: 0]
  ------------------
  560|      1|                if (level != VLL_N_LEVELS) {
  ------------------
  |  Branch (560:21): [True: 0, False: 1]
  ------------------
  561|      0|                    msg = xstrdup("cannot specify multiple levels");
  562|      0|                    goto exit;
  563|      0|                }
  564|      1|                level = vlog_get_level_val(word);
  565|      1|            } else if (vlog_module_from_name(word)) {
  ------------------
  |  Branch (565:24): [True: 0, False: 0]
  ------------------
  566|      0|                if (module) {
  ------------------
  |  Branch (566:21): [True: 0, False: 0]
  ------------------
  567|      0|                    msg = xstrdup("cannot specify multiple modules");
  568|      0|                    goto exit;
  569|      0|                }
  570|      0|                module = vlog_module_from_name(word);
  571|      0|            } else {
  572|      0|                msg = xasprintf("no destination, level, or module \"%s\"",
  573|      0|                                word);
  574|      0|                goto exit;
  575|      0|            }
  576|      1|        }
  577|       |
  578|      1|        if (destination == VLF_N_DESTINATIONS) {
  ------------------
  |  Branch (578:13): [True: 1, False: 0]
  ------------------
  579|      1|            destination = VLF_ANY_DESTINATION;
  580|      1|        }
  581|      1|        if (level == VLL_N_LEVELS) {
  ------------------
  |  Branch (581:13): [True: 0, False: 1]
  ------------------
  582|      0|            level = VLL_DBG;
  583|      0|        }
  584|      1|        vlog_set_levels(module, destination, level);
  585|      1|    }
  586|       |
  587|      1|exit:
  588|      1|    free(s);
  589|      1|    return msg;
  590|      1|}
vlog_set_verbosity:
  606|      1|{
  607|      1|    if (arg) {
  ------------------
  |  Branch (607:9): [True: 1, False: 0]
  ------------------
  608|      1|        char *msg = vlog_set_levels_from_string(arg);
  609|      1|        if (msg) {
  ------------------
  |  Branch (609:13): [True: 0, False: 1]
  ------------------
  610|      0|            ovs_fatal(0, "processing \"%s\": %s", arg, msg);
  611|      0|        }
  612|      1|    } else {
  613|       |        vlog_set_levels(NULL, VLF_ANY_DESTINATION, VLL_DBG);
  614|      0|    }
  615|      1|}
vlog_is_enabled:
 1000|   704k|{
 1001|   704k|    return module->min_level >= level;
 1002|   704k|}
vlog_should_drop:
 1330|   703k|{
 1331|   703k|    if (!module->honor_rate_limits) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 703k]
  ------------------
 1332|      0|        return false;
 1333|      0|    }
 1334|       |
 1335|   703k|    if (!vlog_is_enabled(module, level)) {
  ------------------
  |  Branch (1335:9): [True: 703k, False: 0]
  ------------------
 1336|   703k|        return true;
 1337|   703k|    }
 1338|       |
 1339|      0|    ovs_mutex_lock(&rl->mutex);
  ------------------
  |  |   71|      0|        ovs_mutex_lock_at(mutex, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|      0|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      0|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|      0|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|      0|    if (!token_bucket_withdraw(&rl->token_bucket, VLOG_MSG_TOKENS)) {
  ------------------
  |  |  105|      0|#define VLOG_MSG_TOKENS (60 * 1000)
  ------------------
  |  Branch (1340:9): [True: 0, False: 0]
  ------------------
 1341|      0|        time_t now = time_now();
 1342|      0|        if (!rl->n_dropped) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 0]
  ------------------
 1343|      0|            rl->first_dropped = now;
 1344|      0|        }
 1345|      0|        rl->last_dropped = now;
 1346|      0|        rl->n_dropped++;
 1347|      0|        ovs_mutex_unlock(&rl->mutex);
 1348|      0|        return true;
 1349|      0|    }
 1350|       |
 1351|      0|    if (!rl->n_dropped) {
  ------------------
  |  Branch (1351:9): [True: 0, False: 0]
  ------------------
 1352|      0|        ovs_mutex_unlock(&rl->mutex);
 1353|      0|    } else {
 1354|      0|        time_t now = time_now();
 1355|      0|        unsigned int n_dropped = rl->n_dropped;
 1356|      0|        unsigned int first_dropped_elapsed = now - rl->first_dropped;
 1357|      0|        unsigned int last_dropped_elapsed = now - rl->last_dropped;
 1358|      0|        rl->n_dropped = 0;
 1359|      0|        ovs_mutex_unlock(&rl->mutex);
 1360|       |
 1361|      0|        vlog(module, level,
 1362|      0|             "Dropped %u log messages in last %u seconds (most recently, "
 1363|      0|             "%u seconds ago) due to excessive rate",
 1364|      0|             n_dropped, first_dropped_elapsed, last_dropped_elapsed);
 1365|      0|    }
 1366|       |
 1367|       |    return false;
 1368|      0|}
vlog_rate_limit:
 1373|  30.9k|{
 1374|  30.9k|    if (!vlog_should_drop(module, level, rl)) {
  ------------------
  |  Branch (1374:9): [True: 0, False: 30.9k]
  ------------------
 1375|      0|        va_list args;
 1376|       |
 1377|      0|        va_start(args, message);
 1378|      0|        vlog_valist(module, level, message, args);
 1379|       |        va_end(args);
 1380|      0|    }
 1381|  30.9k|}
vlog.c:search_name_array:
  165|      2|{
  166|      2|    size_t i;
  167|       |
  168|      2|    for (i = 0; i < n_names; i++) {
  ------------------
  |  Branch (168:17): [True: 2, False: 0]
  ------------------
  169|      2|        assert(names[i]);
  170|      2|        if (!strcasecmp(names[i], target)) {
  ------------------
  |  Branch (170:13): [True: 2, False: 0]
  ------------------
  171|      2|            break;
  172|      2|        }
  173|      2|    }
  174|      2|    return i;
  175|      2|}
vlog.c:set_destination_level:
  279|      3|{
  280|      3|    assert(destination >= 0 && destination < VLF_N_DESTINATIONS);
  281|      3|    assert(level < VLL_N_LEVELS);
  282|       |
  283|      3|    ovs_mutex_lock(&log_file_mutex);
  ------------------
  |  |   71|      3|        ovs_mutex_lock_at(mutex, OVS_SOURCE_LOCATOR)
  |  |  ------------------
  |  |  |  |   37|      3|#define OVS_SOURCE_LOCATOR __FILE__ ":" OVS_STRINGIZE(__LINE__)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|      3|#define OVS_STRINGIZE(ARG) OVS_STRINGIZE2(ARG)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   39|      3|#define OVS_STRINGIZE2(ARG) #ARG
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      3|    if (!module) {
  ------------------
  |  Branch (284:9): [True: 3, False: 0]
  ------------------
  285|      3|        struct vlog_module *mp;
  286|    273|        LIST_FOR_EACH (mp, list, &vlog_modules) {
  ------------------
  |  |   76|      3|    for (INIT_MULTIVAR(VAR, MEMBER, (LIST)->next, struct ovs_list);           \
  |  |  ------------------
  |  |  |  |  171|      3|    INIT_MULTIVAR_EXP(VAR, MEMBER, POINTER, ITER_TYPE, (void) 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  174|      3|    ITER_TYPE *ITER_VAR(VAR) = ( __VA_ARGS__ , (ITER_TYPE *) POINTER)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   77|    276|         CONDITION_MULTIVAR(VAR, MEMBER, ITER_VAR(VAR) != (LIST));            \
  |  |  ------------------
  |  |  |  |  185|    276|    ((EXPR) ?                                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (185:5): [True: 273, False: 3]
  |  |  |  |  |  Branch (185:6): [True: 273, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  186|    276|     (((VAR) = OBJECT_CONTAINING(ITER_VAR(VAR), VAR, MEMBER)), 1) :           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    273|    ((OVS_TYPEOF(OBJECT)) (void *)                                      \
  |  |  |  |  |  |  135|    273|     ((char *) (POINTER) - OBJECT_OFFSETOF(OBJECT, MEMBER)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  108|    273|#define OBJECT_OFFSETOF(OBJECT, MEMBER) offsetof(typeof(*(OBJECT)), MEMBER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  187|    276|     (((VAR) = NULL), 0))
  |  |  ------------------
  |  |   78|    273|         UPDATE_MULTIVAR(VAR, ITER_VAR(VAR)->next))
  |  |  ------------------
  |  |  |  |  193|    273|    (ITER_VAR(VAR) = NEXT_ITER)
  |  |  |  |  ------------------
  |  |  |  |  |  |  162|    273|#define ITER_VAR(NAME) NAME ## __iterator__
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  287|    273|            mp->levels[destination] = level;
  288|    273|            update_min_level(mp);
  289|    273|        }
  290|      3|    } else {
  291|      0|        module->levels[destination] = level;
  292|      0|        update_min_level(module);
  293|      0|    }
  294|      3|    ovs_mutex_unlock(&log_file_mutex);
  295|      3|}
vlog.c:update_min_level:
  262|    273|{
  263|    273|    enum vlog_destination destination;
  264|       |
  265|    273|    module->min_level = VLL_OFF;
  266|  1.09k|    for (destination = 0; destination < VLF_N_DESTINATIONS; destination++) {
  ------------------
  |  Branch (266:27): [True: 819, False: 273]
  ------------------
  267|    819|        if (log_fd >= 0 || destination != VLF_FILE) {
  ------------------
  |  Branch (267:13): [True: 0, False: 819]
  |  Branch (267:28): [True: 546, False: 273]
  ------------------
  268|    546|            enum vlog_level level = module->levels[destination];
  269|    546|            if (level > module->min_level) {
  ------------------
  |  Branch (269:17): [True: 91, False: 455]
  ------------------
  270|     91|                module->min_level = level;
  271|     91|            }
  272|    546|        }
  273|    819|    }
  274|    273|}

LLVMFuzzerTestOneInput:
   10|  37.7k|{
   11|  37.7k|    if (size < sizeof(struct ofp_header)) {
  ------------------
  |  Branch (11:9): [True: 4, False: 37.7k]
  ------------------
   12|      4|        return 0;
   13|      4|    }
   14|       |
   15|  37.7k|    static bool isInit = false;
   16|  37.7k|    if (!isInit) {
  ------------------
  |  Branch (16:9): [True: 1, False: 37.7k]
  ------------------
   17|      1|        vlog_set_verbosity("off");
   18|      1|        isInit = true;
   19|      1|    }
   20|       |
   21|  37.7k|    struct ofpbuf b;
   22|  37.7k|    ofpbuf_use_const(&b, data, size);
   23|  2.24M|    for (;;) {
   24|       |        /* Check if ofpbuf contains ofp header. */
   25|  2.24M|        struct ofp_header *oh = ofpbuf_at(&b, 0, sizeof *oh);
   26|  2.24M|        if (!oh) {
  ------------------
  |  Branch (26:13): [True: 28.3k, False: 2.21M]
  ------------------
   27|  28.3k|            break;
   28|  28.3k|        }
   29|       |
   30|       |        /* Check if length is geq than lower bound. */
   31|  2.21M|        size_t length = ntohs(oh->length);
   32|  2.21M|        if (length < sizeof *oh) {
  ------------------
  |  Branch (32:13): [True: 2.07k, False: 2.21M]
  ------------------
   33|  2.07k|            break;
   34|  2.07k|        }
   35|       |
   36|       |        /* Check if ofpbuf contains payload. */
   37|  2.21M|        size_t tail_len = length - sizeof *oh;
   38|  2.21M|        void *tail = ofpbuf_at(&b, sizeof *oh, tail_len);
   39|  2.21M|        if (!tail) {
  ------------------
  |  Branch (39:13): [True: 7.25k, False: 2.21M]
  ------------------
   40|  7.25k|            break;
   41|  7.25k|        }
   42|       |
   43|  2.21M|        ofp_print(stdout, ofpbuf_pull(&b, length), length, NULL, NULL, 2);
   44|  2.21M|    }
   45|  37.7k|    ofpbuf_uninit(&b);
   46|  37.7k|    return 0;
   47|  37.7k|}

