Lines Matching refs:mpls

3442 			a->encap.mpls.unicast = 1;  in parse_table_action_encap()
3444 a->encap.mpls.unicast = 0; in parse_table_action_encap()
3448 if (parse_mac_addr(tokens[2], &a->encap.mpls.ether.da) || in parse_table_action_encap()
3449 parse_mac_addr(tokens[3], &a->encap.mpls.ether.sa) || in parse_table_action_encap()
3459 a->encap.mpls.mpls[0].label = label; in parse_table_action_encap()
3460 a->encap.mpls.mpls[0].tc = tc; in parse_table_action_encap()
3461 a->encap.mpls.mpls[0].ttl = ttl; in parse_table_action_encap()
3467 a->encap.mpls.mpls_count = 1; in parse_table_action_encap()
3482 a->encap.mpls.mpls[1].label = label; in parse_table_action_encap()
3483 a->encap.mpls.mpls[1].tc = tc; in parse_table_action_encap()
3484 a->encap.mpls.mpls[1].ttl = ttl; in parse_table_action_encap()
3490 a->encap.mpls.mpls_count = 2; in parse_table_action_encap()
3505 a->encap.mpls.mpls[2].label = label; in parse_table_action_encap()
3506 a->encap.mpls.mpls[2].tc = tc; in parse_table_action_encap()
3507 a->encap.mpls.mpls[2].ttl = ttl; in parse_table_action_encap()
3513 a->encap.mpls.mpls_count = 3; in parse_table_action_encap()
3528 a->encap.mpls.mpls[3].label = label; in parse_table_action_encap()
3529 a->encap.mpls.mpls[3].tc = tc; in parse_table_action_encap()
3530 a->encap.mpls.mpls[3].ttl = ttl; in parse_table_action_encap()
3532 a->encap.mpls.mpls_count = 4; in parse_table_action_encap()
5006 fprintf(f, "mpls %s ", (a->encap.mpls.unicast) ? in table_rule_show()
5008 ether_addr_show(f, &a->encap.mpls.ether.da); in table_rule_show()
5010 ether_addr_show(f, &a->encap.mpls.ether.sa); in table_rule_show()
5012 for (i = 0; i < a->encap.mpls.mpls_count; i++) { in table_rule_show()
5014 &a->encap.mpls.mpls[i]; in table_rule_show()