Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
Dtsnep_rxnfc.c9 struct tsnep_rxnfc_rule *rule) in tsnep_enable_rule()
29 struct tsnep_rxnfc_rule *rule) in tsnep_disable_rule()
41 struct tsnep_rxnfc_rule *rule; in tsnep_get_rule() local
54 struct tsnep_rxnfc_rule *rule) in tsnep_add_rule()
72 struct tsnep_rxnfc_rule *rule) in tsnep_delete_rule()
84 struct tsnep_rxnfc_rule *rule, *tmp; in tsnep_flush_rules() local
98 struct tsnep_rxnfc_rule *rule = NULL; in tsnep_rxnfc_get_rule() local
128 struct tsnep_rxnfc_rule *rule; in tsnep_rxnfc_get_all() local
171 static void tsnep_rxnfc_init_rule(struct tsnep_rxnfc_rule *rule, in tsnep_rxnfc_init_rule()
184 struct tsnep_rxnfc_rule *rule) in tsnep_rxnfc_check_rule()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c25 struct flow_rule *rule) in nfp_flower_compile_tci()
54 struct flow_rule *rule, u8 key_type, bool qinq_sup) in nfp_flower_compile_meta_tci()
97 struct flow_rule *rule) in nfp_flower_compile_mac()
121 struct flow_rule *rule, in nfp_flower_compile_mpls()
176 struct flow_rule *rule, in nfp_flower_compile_mac_mpls()
190 struct flow_rule *rule) in nfp_flower_compile_tport()
210 struct nfp_flower_ip_ext *msk, struct flow_rule *rule) in nfp_flower_compile_ip_ext()
320 struct flow_rule *rule) in nfp_flower_compile_vlan()
336 struct nfp_flower_ipv4 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv4()
358 struct nfp_flower_ipv6 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv6()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c13 struct flow_rule *rule, u8 key_type, bool qinq_sup) in nfp_flower_compile_meta_tci()
79 struct nfp_flower_mac_mpls *msk, struct flow_rule *rule, in nfp_flower_compile_mac()
146 struct flow_rule *rule) in nfp_flower_compile_tport()
164 struct nfp_flower_ip_ext *msk, struct flow_rule *rule) in nfp_flower_compile_ip_ext()
258 struct flow_rule *rule) in nfp_flower_compile_vlan()
279 struct nfp_flower_ipv4 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv4()
299 struct nfp_flower_ipv6 *msk, struct flow_rule *rule) in nfp_flower_compile_ipv6()
318 nfp_flower_compile_geneve_opt(void *ext, void *msk, struct flow_rule *rule) in nfp_flower_compile_geneve_opt()
332 struct flow_rule *rule) in nfp_flower_compile_tun_ipv4_addrs()
348 struct flow_rule *rule) in nfp_flower_compile_tun_ipv6_addrs()
[all …]
/kernel/linux/linux-6.6/net/core/
Dflow_offload.c12 struct flow_rule *rule; in flow_rule_alloc() local
58 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta()
65 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic()
72 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control()
79 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs()
86 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan()
93 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan()
100 void flow_rule_match_arp(const struct flow_rule *rule, in flow_rule_match_arp()
107 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs()
114 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs()
[all …]
Dfib_rules.c37 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
86 struct fib_rule *rule; in fib_default_rule_pref() local
188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
259 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
295 struct fib_rule *rule; in fib_rules_lookup() local
349 struct fib_rule *rule, int family, in call_fib_rule_notifier()
363 struct fib_rule *rule, in call_fib_rule_notifiers()
382 struct fib_rule *rule; in fib_rules_dump() local
417 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
520 struct fib_rule **rule, in fib_nl2rule()
[all …]
/kernel/linux/linux-5.10/net/core/
Dflow_offload.c11 struct flow_rule *rule; in flow_rule_alloc() local
37 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta()
44 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic()
51 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control()
58 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs()
65 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan()
72 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan()
79 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs()
86 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs()
93 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip()
[all …]
Dfib_rules.c37 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
86 struct fib_rule *rule; in fib_default_rule_pref() local
188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
259 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
295 struct fib_rule *rule; in fib_rules_lookup() local
349 struct fib_rule *rule, int family, in call_fib_rule_notifier()
363 struct fib_rule *rule, in call_fib_rule_notifiers()
382 struct fib_rule *rule; in fib_rules_dump() local
417 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
520 struct fib_rule **rule, in fib_nl2rule()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dfib6_rules.c31 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
40 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
132 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
157 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
195 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
263 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
273 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
306 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
351 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
391 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
[all …]
/kernel/linux/linux-6.6/net/ipv6/
Dfib6_rules.c32 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
41 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
133 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
158 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
196 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
264 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
274 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
307 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
348 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
394 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dfib_rules.c48 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
57 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
107 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action()
143 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress()
176 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match()
224 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
287 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
310 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
338 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
363 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
/kernel/linux/linux-6.6/net/ipv4/
Dfib_rules.c49 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
58 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
108 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action()
144 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress()
177 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match()
220 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
289 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
312 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
340 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
365 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
/kernel/linux/linux-6.6/net/netfilter/
Dnf_tables_core.c46 const struct nft_rule_dp *rule, in __nft_trace_packet()
61 const struct nft_rule_dp *rule, in nft_trace_packet()
113 const struct nft_rule_dp *rule, in __nft_trace_verdict()
140 const struct nft_rule_dp *rule, in nft_trace_verdict()
203 const struct nft_rule_dp *rule; member
243 #define nft_rule_expr_first(rule) (struct nft_expr *)&rule->data[0] argument
245 #define nft_rule_expr_last(rule) (struct nft_expr *)&rule->data[rule->dlen] argument
247 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument
258 const struct nft_rule_dp *rule; in nft_do_chain() local
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
Dsja1105_flower.c10 struct sja1105_rule *rule; in sja1105_rule_find() local
36 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_bcast_policer() local
108 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_tc_policer() local
200 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_flower_parse_key() local
346 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local
463 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local
503 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local
534 struct sja1105_rule *rule; in sja1105_flower_teardown() local
Dsja1105_vl.c12 struct sja1105_rule *rule, in sja1105_insert_gate_entry()
95 struct sja1105_rule *rule; in sja1105_compose_gating_subschedule() local
320 struct sja1105_rule *rule; in sja1105_init_virtual_links() local
481 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_init_virtual_links() local
511 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_redirect() local
556 struct sja1105_rule *rule, struct netlink_ext_ack *extack) in sja1105_vl_delete()
587 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_gate() local
763 struct sja1105_rule *rule, struct flow_stats *stats, in sja1105_vl_stats()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_flower.c10 struct sja1105_rule *rule; in sja1105_rule_find() local
36 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_bcast_policer() local
107 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_setup_tc_policer() local
199 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_flower_parse_key() local
305 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local
420 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local
460 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local
491 struct sja1105_rule *rule; in sja1105_flower_teardown() local
Dsja1105_vl.c12 struct sja1105_rule *rule, in sja1105_insert_gate_entry()
95 struct sja1105_rule *rule; in sja1105_compose_gating_subschedule() local
307 struct sja1105_rule *rule; in sja1105_init_virtual_links() local
466 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_init_virtual_links() local
496 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_redirect() local
542 struct sja1105_rule *rule, struct netlink_ext_ack *extack) in sja1105_vl_delete()
573 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_vl_gate() local
750 struct sja1105_rule *rule, struct flow_stats *stats, in sja1105_vl_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c35 struct prestera_acl_rule *rule, in prestera_flower_parse_goto_action()
62 struct prestera_acl_rule *rule, in prestera_flower_parse_actions()
139 static int prestera_flower_parse_meta(struct prestera_acl_rule *rule, in prestera_flower_parse_meta()
192 struct prestera_acl_rule *rule, in prestera_flower_parse()
418 struct prestera_acl_rule *rule; in prestera_flower_replace() local
466 struct prestera_acl_rule *rule; in prestera_flower_destroy() local
486 struct prestera_acl_rule rule; in prestera_flower_tmplt_create() local
553 struct prestera_acl_rule *rule; in prestera_flower_stats() local
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dtwfw.c18 struct rule { struct
25 __type(value, struct rule); argument
47 struct rule* rule = bpf_map_lookup_elem(&rules, &key); in twfw_verifier() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c355 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl()
472 static struct mlx5dr_ste_htbl *dr_rule_rehash(struct mlx5dr_rule *rule, in dr_rule_rehash()
530 static void dr_rule_remove_action_members(struct mlx5dr_rule *rule) in dr_rule_remove_action_members()
542 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members()
581 static void dr_rule_clean_rule_members(struct mlx5dr_rule *rule, in dr_rule_clean_rule_members()
651 static int dr_rule_handle_action_stes(struct mlx5dr_rule *rule, in dr_rule_handle_action_stes()
767 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch()
937 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic()
947 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb()
954 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule()
[all …]
/kernel/linux/linux-5.10/drivers/pnp/
Dmanager.c23 unsigned char rule, in pnp_find_resource()
38 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port()
81 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem()
132 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq()
191 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma()
/kernel/linux/linux-6.6/drivers/pnp/
Dmanager.c23 unsigned char rule, in pnp_find_resource()
38 static int pnp_assign_port(struct pnp_dev *dev, struct pnp_port *rule, int idx) in pnp_assign_port()
81 static int pnp_assign_mem(struct pnp_dev *dev, struct pnp_mem *rule, int idx) in pnp_assign_mem()
132 static int pnp_assign_irq(struct pnp_dev *dev, struct pnp_irq *rule, int idx) in pnp_assign_irq()
191 static int pnp_assign_dma(struct pnp_dev *dev, struct pnp_dma *rule, int idx) in pnp_assign_dma()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c220 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local
312 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local
339 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local
370 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local
403 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local
566 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local
616 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local
639 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c394 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl()
515 static struct mlx5dr_ste_htbl *dr_rule_rehash(struct mlx5dr_rule *rule, in dr_rule_rehash()
576 static void dr_rule_remove_action_members(struct mlx5dr_rule *rule) in dr_rule_remove_action_members()
588 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members()
661 static void dr_rule_clean_rule_members(struct mlx5dr_rule *rule, in dr_rule_clean_rule_members()
711 static int dr_rule_handle_action_stes(struct mlx5dr_rule *rule, in dr_rule_handle_action_stes()
832 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch()
1022 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic()
1044 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb()
1051 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c341 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local
409 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local
436 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports_range() local
498 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local
529 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local
562 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local
732 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local
782 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local
805 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
/kernel/linux/linux-5.10/security/apparmor/
Daudit.c167 struct aa_audit_rule *rule = vrule; in aa_audit_rule_free() local
178 struct aa_audit_rule *rule; in aa_audit_rule_init() local
207 int aa_audit_rule_known(struct audit_krule *rule) in aa_audit_rule_known()
225 struct aa_audit_rule *rule = vrule; in aa_audit_rule_match() local

12345678910>>...16