lib/match.c
/* Modifies 'match' so that it matches only packets with an MPLS header whose
 * Stack Flag equals the lower bit of 'mpls_bos' */
Modifies 'match' so that it matches only packets with an MPLS header whose
Stack Flag equals the lower bit of 'mpls_bos'
Modifies ' match ' so that it matches only packets with an MPLS header whose Stack Flag equals the lower bit of ' mpls_bos '
void
match_set_mpls_bos(struct match *match, int idx, uint8_t mpls_bos)
{
    match->wc.masks.mpls_lse[idx] |= htonl(MPLS_BOS_MASK);
    flow_set_mpls_bos(&match->flow, idx, mpls_bos);
}
void match_set_mpls_bos ( struct match * match , int idx , uint8_t mpls_bos ) { match -> wc . masks . mpls_lse [ idx ] |= htonl ( MPLS_BOS_MASK ) ; flow_set_mpls_bos ( & match -> flow , idx , mpls_bos ) ; }
Modifies 'match' so that it matches only packets with an MPLS header whose
 Stack Flag equals the lower bit of 'mpls_bos'
Modifies ' match ' so that it matches only packets with an MPLS header whose Stack Flag equals the lower bit of ' mpls_bos '