Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 16 of 16) sorted by relevance

/include/net/
Dfib_rules.h53 struct fib_rule *rule; member
102 struct fib_rule *rule; member
105 static inline void fib_rule_get(struct fib_rule *rule) in fib_rule_get() argument
107 refcount_inc(&rule->refcnt); in fib_rule_get()
110 static inline void fib_rule_put(struct fib_rule *rule) in fib_rule_put() argument
112 if (refcount_dec_and_test(&rule->refcnt)) in fib_rule_put()
113 kfree_rcu(rule, rcu); in fib_rule_put()
117 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() argument
120 return rule->l3mdev ? arg->table : rule->table; in fib_rule_get_table()
123 static inline u32 fib_rule_get_table(struct fib_rule *rule, in fib_rule_get_table() argument
[all …]
Dflow_offload.h97 void flow_rule_match_meta(const struct flow_rule *rule,
99 void flow_rule_match_basic(const struct flow_rule *rule,
101 void flow_rule_match_control(const struct flow_rule *rule,
103 void flow_rule_match_eth_addrs(const struct flow_rule *rule,
105 void flow_rule_match_vlan(const struct flow_rule *rule,
107 void flow_rule_match_cvlan(const struct flow_rule *rule,
109 void flow_rule_match_arp(const struct flow_rule *rule,
111 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule,
113 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule,
115 void flow_rule_match_ip(const struct flow_rule *rule,
[all …]
Dip6_fib.h642 bool fib6_rule_default(const struct fib_rule *rule);
680 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() argument
Dip_fib.h339 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() argument
411 bool fib4_rule_default(const struct fib_rule *rule);
Dpkt_cls.h791 struct flow_rule *rule; member
Dcfg80211.h7305 struct ieee80211_reg_rule *rule);
/include/net/netfilter/
Dnf_tables_offload.h67 struct flow_rule *rule; member
74 struct nft_flow_rule *nft_flow_rule_create(struct net *net, const struct nft_rule *rule);
75 int nft_flow_rule_stats(const struct nft_chain *chain, const struct nft_rule *rule);
Dnf_tables.h1009 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
1011 return (struct nft_expr *)&rule->data[0]; in nft_expr_first()
1019 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last() argument
1021 return (struct nft_expr *)&rule->data[rule->dlen]; in nft_expr_last()
1024 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_expr_more() argument
1027 return expr != nft_expr_last(rule) && expr->ops; in nft_expr_more()
1030 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata() argument
1032 return (void *)&rule->data[rule->dlen]; in nft_userdata()
1035 void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule);
1036 void nft_rule_expr_deactivate(const struct nft_ctx *ctx, struct nft_rule *rule,
[all …]
Dnf_flow_table.h49 struct flow_rule *rule; member
/include/linux/
Dmroute.h24 bool ipmr_rule_default(const struct fib_rule *rule);
54 static inline bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default() argument
Dmroute6.h68 bool ip6mr_rule_default(const struct fib_rule *rule);
70 static inline bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default() argument
Dethtool.h1139 struct flow_rule *rule; member
1150 void ethtool_rx_flow_rule_destroy(struct ethtool_rx_flow_rule *rule);
/include/soc/mscc/
Docelot_vcap.h723 struct ocelot_vcap_filter *rule,
726 struct ocelot_vcap_filter *rule);
/include/linux/ceph/
Dceph_fs.h458 __u8 rule; /* currently fcntl or flock */ member
/include/sound/
Dpcm.h248 struct snd_pcm_hw_rule *rule);
/include/linux/mlx4/
Ddevice.h1451 struct mlx4_net_trans_rule *rule, u64 *reg_id);