Home
last modified time | relevance | path

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

12345678

/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c25 struct flow_rule *rule) in nfp_flower_compile_tci()
119 struct flow_rule *rule, in nfp_flower_compile_mpls()
174 struct flow_rule *rule, in nfp_flower_compile_mac_mpls()
188 struct flow_rule *rule) in nfp_flower_compile_tport()
308 struct flow_rule *rule) in nfp_flower_compile_vlan()
380 struct flow_rule *rule) in nfp_flower_compile_tun_ipv4_addrs()
396 struct flow_rule *rule) in nfp_flower_compile_tun_ipv6_addrs()
466 struct flow_rule *rule) in nfp_flower_compile_ipv4_gre_tun()
481 struct flow_rule *rule) in nfp_flower_compile_ipv4_udp_tun()
491 struct flow_rule *rule) in nfp_flower_compile_ipv6_udp_tun()
[all …]
/linux/net/core/
A 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()
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()
93 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip()
100 void flow_rule_match_ports(const struct flow_rule *rule, in flow_rule_match_ports()
107 void flow_rule_match_tcp(const struct flow_rule *rule, in flow_rule_match_tcp()
114 void flow_rule_match_icmp(const struct flow_rule *rule, in flow_rule_match_icmp()
121 void flow_rule_match_mpls(const struct flow_rule *rule, in flow_rule_match_mpls()
[all …]
A Dfib_rules.c86 struct fib_rule *rule; in fib_default_rule_pref() local
188 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
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
520 struct fib_rule **rule, in fib_nl2rule()
963 struct fib_rule *rule) in fib_rule_nlmsg_size()
1072 struct fib_rule *rule; in dump_rules() local
1195 struct fib_rule *rule; in attach_rules() local
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_acl.c196 struct prestera_acl_rule *rule; in prestera_acl_rule_create() local
211 prestera_acl_rule_match_list_get(struct prestera_acl_rule *rule) in prestera_acl_rule_match_list_get()
217 prestera_acl_rule_action_list_get(struct prestera_acl_rule *rule) in prestera_acl_rule_action_list_get()
222 int prestera_acl_rule_action_add(struct prestera_acl_rule *rule, in prestera_acl_rule_action_add()
238 u8 prestera_acl_rule_action_len(struct prestera_acl_rule *rule) in prestera_acl_rule_action_len()
254 int prestera_acl_rule_match_add(struct prestera_acl_rule *rule, in prestera_acl_rule_match_add()
270 u8 prestera_acl_rule_match_len(struct prestera_acl_rule *rule) in prestera_acl_rule_match_len()
275 void prestera_acl_rule_destroy(struct prestera_acl_rule *rule) in prestera_acl_rule_destroy()
297 struct prestera_acl_rule *rule) in prestera_acl_rule_add()
327 struct prestera_acl_rule *rule) in prestera_acl_rule_del()
[all …]
A Dprestera_flower.c9 struct prestera_acl_rule *rule, in prestera_flower_parse_actions()
47 static int prestera_flower_parse_meta(struct prestera_acl_rule *rule, in prestera_flower_parse_meta()
87 struct prestera_acl_rule *rule, in prestera_flower_parse()
299 struct prestera_acl_rule *rule; in prestera_flower_replace() local
325 struct prestera_acl_rule *rule; in prestera_flower_destroy() local
341 struct prestera_acl_rule *rule; in prestera_flower_stats() local
/linux/net/ipv6/
A 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()
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()
259 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action()
269 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress()
302 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match()
347 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
387 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
423 static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_fill()
[all …]
/linux/net/ipv4/
A 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()
/linux/drivers/net/dsa/sja1105/
A 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
306 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local
426 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local
466 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local
497 struct sja1105_rule *rule; in sja1105_flower_teardown() local
A 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
467 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie); in sja1105_init_virtual_links() local
497 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
749 struct sja1105_rule *rule, struct flow_stats *stats, in sja1105_vl_stats()
/linux/tools/testing/selftests/bpf/progs/
A 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
/linux/drivers/pnp/
A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_rule.c368 dr_rule_rehash_htbl(struct mlx5dr_rule *rule, in dr_rule_rehash_htbl()
561 static int dr_rule_add_action_members(struct mlx5dr_rule *rule, in dr_rule_add_action_members()
805 dr_rule_handle_ste_branch(struct mlx5dr_rule *rule, in dr_rule_handle_ste_branch()
985 static int dr_rule_destroy_rule_nic(struct mlx5dr_rule *rule, in dr_rule_destroy_rule_nic()
995 static int dr_rule_destroy_rule_fdb(struct mlx5dr_rule *rule) in dr_rule_destroy_rule_fdb()
1002 static int dr_rule_destroy_rule(struct mlx5dr_rule *rule) in dr_rule_destroy_rule()
1062 dr_rule_create_rule_nic(struct mlx5dr_rule *rule, in dr_rule_create_rule_nic()
1178 dr_rule_create_rule_fdb(struct mlx5dr_rule *rule, in dr_rule_create_rule_fdb()
1217 struct mlx5dr_rule *rule; in dr_rule_create_rule() local
1276 struct mlx5dr_rule *rule; in mlx5dr_rule_create() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c243 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_meta() local
335 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ports() local
362 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_tcp() local
393 const struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse_ip() local
426 struct flow_rule *rule = flow_cls_offload_flow_rule(f); in mlxsw_sp_flower_parse() local
589 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_replace() local
639 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_destroy() local
662 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp_flower_stats() local
A Dspectrum2_mr_tcam.c184 mlxsw_sp2_mr_tcam_rule_parse(struct mlxsw_sp_acl_rule *rule, in mlxsw_sp2_mr_tcam_rule_parse()
215 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_create() local
248 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_destroy() local
272 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_update() local
/linux/security/apparmor/
A 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
/linux/net/decnet/
A Ddn_rules.c68 static int dn_fib_rule_action(struct fib_rule *rule, struct flowi *flp, in dn_fib_rule_action()
108 static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in dn_fib_rule_match()
122 static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_configure()
164 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare()
202 static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in dn_fib_rule_fill()
/linux/security/safesetid/
A Dsecurityfs.c32 struct setid_rule *rule) in parse_policy_line()
75 struct setid_rule *rule; in __release_ruleset() local
88 static void insert_rule(struct setid_ruleset *pol, struct setid_rule *rule) in insert_rule()
101 struct setid_rule *rule, *nrule; in verify_ruleset() local
166 struct setid_rule *rule; in handle_policy_update() local
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.c70 struct aq_rx_filter *rule; in aq_rule_already_exists() local
434 struct aq_rx_filter *rule = NULL; in aq_del_fvlan_by_vlan() local
634 struct aq_rx_filter *rule = NULL, *parent = NULL; in aq_update_table_filters() local
721 struct aq_rx_filter *rule = NULL; in aq_del_rxnfc_rule() local
745 struct aq_rx_filter *rule = NULL; in aq_get_rxnfc_rule() local
766 struct aq_rx_filter *rule; in aq_get_rxnfc_all_rules() local
788 struct aq_rx_filter *rule; in aq_clear_rxnfc_all_rules() local
809 struct aq_rx_filter *rule; in aq_reapply_rxnfc_all_rules() local
/linux/include/net/
A Dfib_rules.h53 struct fib_rule *rule; member
103 struct fib_rule *rule; member
126 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get()
131 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put()
138 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table()
144 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table()
183 static inline bool fib_rule_requires_fldissect(struct fib_rule *rule) in fib_rule_requires_fldissect()
/linux/net/netfilter/
A Dnf_tables_offload.c88 const struct nft_rule *rule) in nft_flow_rule_create()
221 const struct nft_rule *rule, in nft_flow_cls_offload_setup()
242 const struct nft_rule *rule, in nft_flow_offload_cmd()
262 struct nft_rule *rule, in nft_flow_offload_rule()
272 const struct nft_rule *rule) in nft_flow_rule_stats()
305 struct nft_rule *rule; in nft_flow_offload_unbind() local
/linux/kernel/
A Daudit_fsnotify.c31 struct audit_krule *rule; member
117 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local
147 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dfs_tt_redirect.c58 void mlx5e_fs_tt_redirect_del_rule(struct mlx5_flow_handle *rule) in mlx5e_fs_tt_redirect_del_rule()
85 struct mlx5_flow_handle *rule; in mlx5e_fs_tt_redirect_udp_add_rule() local
120 struct mlx5_flow_handle *rule; in fs_udp_add_default_rule() local
365 struct mlx5_flow_handle *rule; in mlx5e_fs_tt_redirect_any_add_rule() local
397 struct mlx5_flow_handle *rule; in fs_any_add_default_rule() local
/linux/drivers/net/dsa/
A Dbcm_sf2_cfp.c570 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_find() local
583 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_cmp() local
930 struct cfp_rule *rule = NULL; in bcm_sf2_cfp_rule_set() local
1026 struct cfp_rule *rule; in bcm_sf2_cfp_rule_del() local
1067 struct cfp_rule *rule; in bcm_sf2_cfp_rule_get() local
1215 struct cfp_rule *rule, *n; in bcm_sf2_cfp_exit() local
1227 struct cfp_rule *rule; in bcm_sf2_cfp_resume() local
1312 struct cfp_rule *rule; in bcm_sf2_cfp_get_ethtool_stats() local
/linux/sound/core/
A Dpcm_drm_eld.c26 struct snd_pcm_hw_rule *rule) in eld_limit_rates()
54 struct snd_pcm_hw_rule *rule) in eld_limit_channels()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_arfs.c83 struct mlx5_flow_handle *rule; member
423 struct arfs_rule *rule; in arfs_del_rules() local
479 struct mlx5_flow_handle *rule = NULL; in arfs_add_rule() local
572 struct mlx5_flow_handle *rule, u16 rxq) in arfs_modify_rule_rq()
591 struct mlx5_flow_handle *rule; in arfs_handle_work() local
623 struct arfs_rule *rule; in arfs_alloc_rule() local

Completed in 83 milliseconds

12345678