Lines Matching refs:acl
2031 p.match.acl.ip_version = 1; in cmd_pipeline_table()
2033 p.match.acl.ip_version = 0; in cmd_pipeline_table()
2045 if (parser_read_uint32(&p.match.acl.ip_header_offset, in cmd_pipeline_table()
2057 if (parser_read_uint32(&p.match.acl.n_rules, in cmd_pipeline_table()
2718 if (parser_read_uint32(&m->match.acl.priority, in parse_match()
2727 m->match.acl.ip_version = 1; in parse_match()
2733 m->match.acl.ipv4.sa = rte_be_to_cpu_32(saddr.s_addr); in parse_match()
2739 m->match.acl.ipv4.da = rte_be_to_cpu_32(daddr.s_addr); in parse_match()
2743 m->match.acl.ip_version = 0; in parse_match()
2749 memcpy(m->match.acl.ipv6.sa, saddr.s6_addr, 16); in parse_match()
2755 memcpy(m->match.acl.ipv6.da, daddr.s6_addr, 16); in parse_match()
2762 if (parser_read_uint32(&m->match.acl.sa_depth, in parse_match()
2768 if (parser_read_uint32(&m->match.acl.da_depth, in parse_match()
2774 if (parser_read_uint16(&m->match.acl.sp0, tokens[9]) != 0) { in parse_match()
2779 if (parser_read_uint16(&m->match.acl.sp1, tokens[10]) != 0) { in parse_match()
2784 if (parser_read_uint16(&m->match.acl.dp0, tokens[11]) != 0) { in parse_match()
2789 if (parser_read_uint16(&m->match.acl.dp1, tokens[12]) != 0) { in parse_match()
2794 if (parser_read_uint8(&m->match.acl.proto, tokens[13]) != 0) { in parse_match()
2799 m->match.acl.proto_mask = 0xff; in parse_match()
4849 m->match.acl.priority); in table_rule_show()
4851 fprintf(f, m->match.acl.ip_version ? "ipv4 " : "ipv6 "); in table_rule_show()
4853 if (m->match.acl.ip_version) in table_rule_show()
4854 ipv4_addr_show(f, m->match.acl.ipv4.sa); in table_rule_show()
4856 ipv6_addr_show(f, m->match.acl.ipv6.sa); in table_rule_show()
4858 fprintf(f, "%u", m->match.acl.sa_depth); in table_rule_show()
4860 if (m->match.acl.ip_version) in table_rule_show()
4861 ipv4_addr_show(f, m->match.acl.ipv4.da); in table_rule_show()
4863 ipv6_addr_show(f, m->match.acl.ipv6.da); in table_rule_show()
4865 fprintf(f, "%u", m->match.acl.da_depth); in table_rule_show()
4868 (uint32_t)m->match.acl.sp0, in table_rule_show()
4869 (uint32_t)m->match.acl.sp1, in table_rule_show()
4870 (uint32_t)m->match.acl.dp0, in table_rule_show()
4871 (uint32_t)m->match.acl.dp1, in table_rule_show()
4872 (uint32_t)m->match.acl.proto); in table_rule_show()
4892 if (m->match.acl.ip_version) in table_rule_show()