/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl.c | 64 struct mlxsw_sp_acl_ruleset *ruleset; member 94 mlxsw_sp_acl_ruleset_is_singular(const struct mlxsw_sp_acl_ruleset *ruleset) in mlxsw_sp_acl_ruleset_is_singular() argument 97 return ruleset->ref_count == 2; in mlxsw_sp_acl_ruleset_is_singular() 104 struct mlxsw_sp_acl_ruleset *ruleset = block->ruleset_zero; in mlxsw_sp_acl_ruleset_bind() local 105 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind() 107 return ops->ruleset_bind(mlxsw_sp, ruleset->priv, in mlxsw_sp_acl_ruleset_bind() 115 struct mlxsw_sp_acl_ruleset *ruleset = block->ruleset_zero; in mlxsw_sp_acl_ruleset_unbind() local 116 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind() 118 ops->ruleset_unbind(mlxsw_sp, ruleset->priv, in mlxsw_sp_acl_ruleset_unbind() 124 struct mlxsw_sp_acl_ruleset *ruleset, in mlxsw_sp_acl_ruleset_block_bind() argument [all …]
|
D | spectrum_flower.c | 90 struct mlxsw_sp_acl_ruleset *ruleset; in mlxsw_sp_flower_parse_actions() local 93 ruleset = mlxsw_sp_acl_ruleset_lookup(mlxsw_sp, block, in mlxsw_sp_flower_parse_actions() 96 if (IS_ERR(ruleset)) in mlxsw_sp_flower_parse_actions() 97 return PTR_ERR(ruleset); in mlxsw_sp_flower_parse_actions() 99 group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); in mlxsw_sp_flower_parse_actions() 565 struct mlxsw_sp_acl_ruleset *ruleset; in mlxsw_sp_flower_replace() local 573 ruleset = mlxsw_sp_acl_ruleset_get(mlxsw_sp, block, in mlxsw_sp_flower_replace() 576 if (IS_ERR(ruleset)) in mlxsw_sp_flower_replace() 577 return PTR_ERR(ruleset); in mlxsw_sp_flower_replace() 579 rule = mlxsw_sp_acl_rule_create(mlxsw_sp, ruleset, f->cookie, NULL, in mlxsw_sp_flower_replace() [all …]
|
D | spectrum2_mr_tcam.c | 36 struct mlxsw_sp_acl_ruleset *ruleset) in mlxsw_sp2_mr_tcam_bind_group() argument 41 group_id = mlxsw_sp_acl_ruleset_group_id(ruleset); in mlxsw_sp2_mr_tcam_bind_group() 214 struct mlxsw_sp_acl_ruleset *ruleset; in mlxsw_sp2_mr_tcam_route_create() local 219 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); in mlxsw_sp2_mr_tcam_route_create() 220 if (WARN_ON(!ruleset)) in mlxsw_sp2_mr_tcam_route_create() 223 rule = mlxsw_sp_acl_rule_create(mlxsw_sp, ruleset, in mlxsw_sp2_mr_tcam_route_create() 247 struct mlxsw_sp_acl_ruleset *ruleset; in mlxsw_sp2_mr_tcam_route_destroy() local 250 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); in mlxsw_sp2_mr_tcam_route_destroy() 251 if (WARN_ON(!ruleset)) in mlxsw_sp2_mr_tcam_route_destroy() 254 rule = mlxsw_sp_acl_rule_lookup(mlxsw_sp, ruleset, in mlxsw_sp2_mr_tcam_route_destroy() [all …]
|
D | spectrum_acl_tcam.c | 1613 struct mlxsw_sp_acl_tcam_flower_ruleset *ruleset = ruleset_priv; in mlxsw_sp_acl_tcam_flower_ruleset_add() local 1615 return mlxsw_sp_acl_tcam_vgroup_add(mlxsw_sp, tcam, &ruleset->vgroup, in mlxsw_sp_acl_tcam_flower_ruleset_add() 1626 struct mlxsw_sp_acl_tcam_flower_ruleset *ruleset = ruleset_priv; in mlxsw_sp_acl_tcam_flower_ruleset_del() local 1628 mlxsw_sp_acl_tcam_vgroup_del(&ruleset->vgroup); in mlxsw_sp_acl_tcam_flower_ruleset_del() 1637 struct mlxsw_sp_acl_tcam_flower_ruleset *ruleset = ruleset_priv; in mlxsw_sp_acl_tcam_flower_ruleset_bind() local 1639 return mlxsw_sp_acl_tcam_group_bind(mlxsw_sp, &ruleset->vgroup.group, in mlxsw_sp_acl_tcam_flower_ruleset_bind() 1649 struct mlxsw_sp_acl_tcam_flower_ruleset *ruleset = ruleset_priv; in mlxsw_sp_acl_tcam_flower_ruleset_unbind() local 1651 mlxsw_sp_acl_tcam_group_unbind(mlxsw_sp, &ruleset->vgroup.group, in mlxsw_sp_acl_tcam_flower_ruleset_unbind() 1658 struct mlxsw_sp_acl_tcam_flower_ruleset *ruleset = ruleset_priv; in mlxsw_sp_acl_tcam_flower_ruleset_group_id() local 1660 return mlxsw_sp_acl_tcam_group_id(&ruleset->vgroup.group); in mlxsw_sp_acl_tcam_flower_ruleset_group_id() [all …]
|
D | spectrum.h | 855 struct mlxsw_sp_acl_ruleset *ruleset); 856 u16 mlxsw_sp_acl_ruleset_group_id(struct mlxsw_sp_acl_ruleset *ruleset); 857 void mlxsw_sp_acl_ruleset_prio_get(struct mlxsw_sp_acl_ruleset *ruleset, 920 struct mlxsw_sp_acl_ruleset *ruleset, 935 struct mlxsw_sp_acl_ruleset *ruleset,
|
/Linux-v5.10/include/linux/crush/ |
D | mapper.h | 14 extern int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size);
|
D | crush.h | 81 __u8 ruleset; member
|
/Linux-v5.10/tools/testing/selftests/netfilter/ |
D | nft_flowtable.sh | 320 ip netns exec nsr1 nft list ruleset 351 ip netns exec nsr1 nft list ruleset 371 ip netns exec nsr1 nft list ruleset 417 ip netns exec nsr1 nft list ruleset 1>&2
|
D | nft_queue.sh | 247 ip netns exec ${nsrouter} nft list ruleset 298 flush ruleset
|
D | nft_concat_range.sh | 906 nft flush ruleset >/dev/null 2>&1 1288 nft flush ruleset 1455 nft flush ruleset
|
/Linux-v5.10/security/safesetid/ |
D | securityfs.c | 264 … size_t len, loff_t *ppos, struct mutex *policy_update_lock, struct __rcu setid_ruleset* ruleset) in safesetid_file_read() argument 271 pol = rcu_dereference_protected(ruleset, lockdep_is_held(policy_update_lock)); in safesetid_file_read()
|
/Linux-v5.10/net/ceph/crush/ |
D | mapper.c | 42 int crush_find_rule(const struct crush_map *map, int ruleset, int type, int size) in crush_find_rule() argument 48 map->rules[i]->mask.ruleset == ruleset && in crush_find_rule()
|
/Linux-v5.10/Documentation/networking/ |
D | tproxy.rst | 67 add rules like this to the iptables ruleset above::
|
/Linux-v5.10/net/netfilter/ |
D | Kconfig | 350 on how restrictive your ruleset is. 1162 comments in your iptables ruleset.
|