lib/match.c
/* Modifies 'match' so that it matches only packets with an MPLS header whose
 * Traffic Class equals the low 3 bits of 'mpls_tc'. */
Modifies 'match' so that it matches only packets with an MPLS header whose
Traffic Class equals the low 3 bits of 'mpls_tc'.
Modifies ' match ' so that it matches only packets with an MPLS header whose Traffic Class equals the low 3 bits of ' mpls_tc ' .
void
match_set_mpls_tc(struct match *match, int idx, uint8_t mpls_tc)
{
    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_TC_MASK);
    flow_set_mpls_tc(&match->flow, idx, mpls_tc);
}
void match_set_mpls_tc ( struct match * match , int idx , uint8_t mpls_tc ) { match -> wc . masks . mpls_lse [ idx ] |= htonl ( MPLS_TC_MASK ) ; flow_set_mpls_tc ( & match -> flow , idx , mpls_tc ) ; }
Modifies 'match' so that it matches only packets with an MPLS header whose
 Traffic Class equals the low 3 bits of 'mpls_tc'.
Modifies ' match ' so that it matches only packets with an MPLS header whose Traffic Class equals the low 3 bits of ' mpls_tc ' .