/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 25 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 …]
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 9 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 …]
|
/linux/net/core/ |
H A D | flow_offload.c | 12 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 …]
|
H A D | fib_rules.c | 38 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall() 86 struct fib_rule *rule; in fib_default_rule_pref() local 189 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local 260 static bool fib_rule_iif_match(const struct fib_rule *rule, int iifindex, in fib_rule_iif_match() 269 static bool fib_rule_oif_match(const struct fib_rule *rule, int oifindex, in fib_rule_oif_match() 278 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match() 316 struct fib_rule *rule; in fib_rules_lookup() local 370 struct fib_rule *rule, int family, in call_fib_rule_notifier() 384 struct fib_rule *rule, in call_fib_rule_notifiers() 406 struct fib_rule *rule; in fib_rules_dump() local [all …]
|
/linux/scripts/gendwarfksyms/ |
H A D | kabi.c | 82 struct rule { struct 83 enum kabi_rule_type type; argument 89 /* { type, target } -> struct rule */ argument 98 static inline unsigned int rule_hash(const struct rule *rule) in rule_hash() 210 struct rule *rule; in kabi_read_rules() local 261 struct rule *rule; in find_rule() local 280 struct rule *rule; in find_enumerator_rule() local 323 struct rule *rule; in kabi_get_enumerator_value() local 337 struct rule *rule; in kabi_get_byte_size() local 350 struct rule *rule; in kabi_get_type_string() local [all …]
|
/linux/net/ipv6/ |
H A D | fib6_rules.c | 36 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall() 45 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() 137 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr() 162 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() 200 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() 268 INDIRECT_CALLABLE_SCOPE int fib6_rule_action(struct fib_rule *rule, in fib6_rule_action() 278 INDIRECT_CALLABLE_SCOPE bool fib6_rule_suppress(struct fib_rule *rule, in fib6_rule_suppress() 311 INDIRECT_CALLABLE_SCOPE int fib6_rule_match(struct fib_rule *rule, in fib6_rule_match() 422 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure() 480 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete() [all …]
|
/linux/net/ipv4/ |
H A D | fib_rules.c | 51 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall() 60 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() 110 INDIRECT_CALLABLE_SCOPE int fib4_rule_action(struct fib_rule *rule, in fib4_rule_action() 146 INDIRECT_CALLABLE_SCOPE bool fib4_rule_suppress(struct fib_rule *rule, in fib4_rule_suppress() 179 INDIRECT_CALLABLE_SCOPE int fib4_rule_match(struct fib_rule *rule, in fib4_rule_match() 269 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure() 352 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete() 375 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() 421 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill() 456 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
|
/linux/net/netfilter/ |
H A D | nf_tables_core.c | 43 const struct nft_rule_dp *rule, in __nft_trace_packet() 58 const struct nft_rule_dp *rule, in nft_trace_packet() 110 const struct nft_rule_dp *rule, in __nft_trace_verdict() 137 const struct nft_rule_dp *rule, in nft_trace_verdict() 200 const struct nft_rule_dp *rule; member 240 #define nft_rule_expr_first(rule) (struct nft_expr *)&rule->data[0] argument 242 #define nft_rule_expr_last(rule) (struct nft_expr *)&rule->data[rule->dlen] argument 244 #define nft_rule_dp_for_each_expr(expr, last, rule) \ argument 255 const struct nft_rule_dp *rule; in nft_do_chain() local
|
H A D | nf_tables_offload.c | 89 const struct nft_rule *rule) in nft_flow_rule_create() argument 244 nft_flow_cls_offload_setup(struct flow_cls_offload * cls_flow,const struct nft_base_chain * basechain,const struct nft_rule * rule,const struct nft_flow_rule * flow,struct netlink_ext_ack * extack,enum flow_cls_command command) nft_flow_cls_offload_setup() argument 265 nft_flow_offload_cmd(const struct nft_chain * chain,const struct nft_rule * rule,struct nft_flow_rule * flow,enum flow_cls_command command,struct flow_cls_offload * cls_flow) nft_flow_offload_cmd() argument 285 nft_flow_offload_rule(const struct nft_chain * chain,struct nft_rule * rule,struct nft_flow_rule * flow,enum flow_cls_command command) nft_flow_offload_rule() argument 295 nft_flow_rule_stats(const struct nft_chain * chain,const struct nft_rule * rule) nft_flow_rule_stats() argument 328 struct nft_rule *rule; nft_flow_offload_unbind() local [all...] |
H A D | nf_tables_trace.c | 128 nf_trace_fill_rule_info(struct sk_buff * nlskb,const struct nft_verdict * verdict,const struct nft_rule_dp * rule,const struct nft_traceinfo * info) nf_trace_fill_rule_info() argument 170 nft_trace_get_chain(const struct nft_rule_dp * rule,const struct nft_traceinfo * info) nft_trace_get_chain() argument 191 nft_trace_notify(const struct nft_pktinfo * pkt,const struct nft_verdict * verdict,const struct nft_rule_dp * rule,struct nft_traceinfo * info) nft_trace_notify() argument [all...] |
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 10 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 349 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add() local 466 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del() local 506 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats() local 537 struct sja1105_rule *rule; in sja1105_flower_teardown() local
|
H A D | sja1105_vl.c | 12 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()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flower.c | 35 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() 422 struct prestera_acl_rule *rule; in prestera_flower_replace() local 470 struct prestera_acl_rule *rule; in prestera_flower_destroy() local 490 struct prestera_acl_rule rule; in prestera_flower_tmplt_create() local 557 struct prestera_acl_rule *rule; in prestera_flower_stats() local
|
/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 532 vcap_copy_from_client_keyfield(struct vcap_rule *rule, in vcap_copy_from_client_keyfield() 587 vcap_copy_from_client_actionfield(struct vcap_rule *rule, in vcap_copy_from_client_actionfield() 884 int vcap_set_rule_set_keyset(struct vcap_rule *rule, in vcap_set_rule_set_keyset() 904 int vcap_set_rule_set_actionset(struct vcap_rule *rule, in vcap_set_rule_set_actionset() 1711 static int vcap_add_type_keyfield(struct vcap_rule *rule) in vcap_add_type_keyfield() 1744 static int vcap_add_type_actionfield(struct vcap_rule *rule) in vcap_add_type_actionfield() 1908 bool vcap_rule_find_keysets(struct vcap_rule *rule, in vcap_rule_find_keysets() 1987 int vcap_val_rule(struct vcap_rule *rule, u16 l3_proto) in vcap_val_rule() 2258 int vcap_add_rule(struct vcap_rule *rule) in vcap_add_rule() 2385 void vcap_free_rule(struct vcap_rule *rule) in vcap_free_rule() [all …]
|
H A D | vcap_api_kunit.c | 33 struct vcap_rule *rule, in test_val_keyset() 75 struct vcap_rule *rule) in test_add_def_fields() 250 struct vcap_rule *rule; in test_vcap_xn_rule_creator() local 592 struct vcap_rule_internal rule = { in vcap_api_encode_keyfield_test() local 653 struct vcap_rule_internal rule = { in vcap_api_encode_max_keyfield_test() local 716 struct vcap_rule_internal rule = { in vcap_api_encode_actionfield_test() local 837 struct vcap_rule_internal rule = { in vcap_api_encode_rule_keyset_test() local 947 struct vcap_rule_internal rule = { in vcap_api_encode_rule_actionset_test() local 1000 static void vcap_free_ckf(struct vcap_rule *rule) in vcap_free_ckf() 1022 struct vcap_rule *rule = (struct vcap_rule *)&ri; in vcap_api_rule_add_keyvalue_test() local [all …]
|
/linux/drivers/pnp/ |
H A D | manager.c | 23 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/google/gve/ |
H A D | gve_flow_rule.c | 12 struct gve_adminq_queried_flow_rule *rule) in gve_fill_ethtool_flow_spec() 107 struct gve_adminq_flow_rule *rule) in gve_generate_flow_rule() 201 struct gve_adminq_queried_flow_rule *rule = NULL; in gve_get_flow_rule_entry() local 266 struct gve_adminq_flow_rule *rule = NULL; in gve_add_flow_rule() local
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | twfw.c | 18 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/net/ethernet/sfc/ |
H A D | tc.c | 239 struct flow_rule *rule, in efx_tc_flower_parse_match() 743 static void efx_tc_delete_rule(struct efx_nic *efx, struct efx_tc_flow_rule *rule) in efx_tc_delete_rule() 971 struct efx_tc_lhs_rule *rule) in efx_tc_flower_handle_lhs_actions() 1459 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_foreign_lhs_ar() local 1563 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_foreign_lhs() local 1674 struct efx_tc_flow_rule *rule = NULL, *old = NULL; in efx_tc_flower_replace_foreign() local 1999 struct efx_tc_lhs_rule *rule, *old; in efx_tc_flower_replace_lhs() local 2074 struct efx_tc_flow_rule *rule = NULL, *old; in efx_tc_flower_replace() local 2558 struct efx_tc_flow_rule *rule; in efx_tc_flower_destroy() local 2666 u32 eg_port, struct efx_tc_flow_rule *rule) in efx_tc_configure_default_rule() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_filters.c | 70 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/drivers/net/dsa/microchip/ |
H A D | ksz9477_tc_flower.c | 29 struct flow_rule *rule, in ksz9477_flower_parse_key_l2() 112 struct flow_rule *rule, in ksz9477_flower_parse_key() 162 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_flower_parse_action() local 218 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in ksz9477_cls_flower_add() local
|
/linux/include/net/ |
H A D | fib_rules.h | 57 struct fib_rule *rule; member 106 struct fib_rule *rule; member 109 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() 114 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() 121 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() 127 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/drivers/net/ethernet/sfc/siena/ |
H A D | rx_common.c | 629 bool efx_siena_rps_check_rule(struct efx_arfs_rule *rule, in efx_siena_rps_check_rule() 670 struct efx_arfs_rule *rule; in efx_siena_rps_hash_find() local 689 struct efx_arfs_rule *rule; in efx_rps_hash_add() local 715 struct efx_arfs_rule *rule; in efx_siena_rps_hash_del() local 815 struct efx_arfs_rule *rule; in efx_filter_rfs_work() local 900 struct efx_arfs_rule *rule; in efx_siena_filter_rfs() local
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_mr_tcam.c | 193 mlxsw_sp2_mr_tcam_rule_parse(struct mlxsw_sp_acl_rule *rule, in mlxsw_sp2_mr_tcam_rule_parse() 219 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_create() local 252 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_destroy() local 276 struct mlxsw_sp_acl_rule *rule; in mlxsw_sp2_mr_tcam_route_update() local
|
/linux/kernel/ |
H A D | audit_fsnotify.c | 31 struct audit_krule *rule; member 118 struct audit_krule *rule = audit_mark->rule; in audit_mark_log_rule_change() local 148 struct audit_krule *rule = audit_mark->rule; in audit_autoremove_mark_rule() local
|