lib/match.c
/* Modifies 'match' so that it matches only packets with an MPLS header whose
 * label equals the low 20 bits of 'mpls_label'. */
Modifies 'match' so that it matches only packets with an MPLS header whose
label equals the low 20 bits of 'mpls_label'.
Modifies ' match ' so that it matches only packets with an MPLS header whose label equals the low 20 bits of ' mpls_label ' .
void
match_set_mpls_label(struct match *match, int idx, ovs_be32 mpls_label)
{
    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_LABEL_MASK);
    flow_set_mpls_label(&match->flow, idx, mpls_label);
}
void match_set_mpls_label ( struct match * match , int idx , ovs_be32 mpls_label ) { match -> wc . masks . mpls_lse [ idx ] |= htonl ( MPLS_LABEL_MASK ) ; flow_set_mpls_label ( & match -> flow , idx , mpls_label ) ; }
Modifies 'match' so that it matches only packets with an MPLS header whose
 label equals the low 20 bits of 'mpls_label'.
Modifies ' match ' so that it matches only packets with an MPLS header whose label equals the low 20 bits of ' mpls_label ' .