Lines Matching refs:mpls
3440 a->encap.mpls.unicast = 1; in parse_table_action_encap()
3442 a->encap.mpls.unicast = 0; in parse_table_action_encap()
3446 if (parse_mac_addr(tokens[2], &a->encap.mpls.ether.da) || in parse_table_action_encap()
3447 parse_mac_addr(tokens[3], &a->encap.mpls.ether.sa) || in parse_table_action_encap()
3457 a->encap.mpls.mpls[0].label = label; in parse_table_action_encap()
3458 a->encap.mpls.mpls[0].tc = tc; in parse_table_action_encap()
3459 a->encap.mpls.mpls[0].ttl = ttl; in parse_table_action_encap()
3465 a->encap.mpls.mpls_count = 1; in parse_table_action_encap()
3480 a->encap.mpls.mpls[1].label = label; in parse_table_action_encap()
3481 a->encap.mpls.mpls[1].tc = tc; in parse_table_action_encap()
3482 a->encap.mpls.mpls[1].ttl = ttl; in parse_table_action_encap()
3488 a->encap.mpls.mpls_count = 2; in parse_table_action_encap()
3503 a->encap.mpls.mpls[2].label = label; in parse_table_action_encap()
3504 a->encap.mpls.mpls[2].tc = tc; in parse_table_action_encap()
3505 a->encap.mpls.mpls[2].ttl = ttl; in parse_table_action_encap()
3511 a->encap.mpls.mpls_count = 3; in parse_table_action_encap()
3526 a->encap.mpls.mpls[3].label = label; in parse_table_action_encap()
3527 a->encap.mpls.mpls[3].tc = tc; in parse_table_action_encap()
3528 a->encap.mpls.mpls[3].ttl = ttl; in parse_table_action_encap()
3530 a->encap.mpls.mpls_count = 4; in parse_table_action_encap()
4997 fprintf(f, "mpls %s ", (a->encap.mpls.unicast) ? in table_rule_show()
4999 ether_addr_show(f, &a->encap.mpls.ether.da); in table_rule_show()
5001 ether_addr_show(f, &a->encap.mpls.ether.sa); in table_rule_show()
5003 for (i = 0; i < a->encap.mpls.mpls_count; i++) { in table_rule_show()
5005 &a->encap.mpls.mpls[i]; in table_rule_show()