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.h89 void flow_rule_match_meta(const struct flow_rule *rule,
91 void flow_rule_match_basic(const struct flow_rule *rule,
93 void flow_rule_match_control(const struct flow_rule *rule,
95 void flow_rule_match_eth_addrs(const struct flow_rule *rule,
97 void flow_rule_match_vlan(const struct flow_rule *rule,
99 void flow_rule_match_cvlan(const struct flow_rule *rule,
101 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule,
103 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule,
105 void flow_rule_match_ip(const struct flow_rule *rule,
107 void flow_rule_match_ports(const struct flow_rule *rule,
[all …]
Dip6_fib.h605 bool fib6_rule_default(const struct fib_rule *rule);
643 static inline bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default() argument
Dip_fib.h334 static inline bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default() argument
406 bool fib4_rule_default(const struct fib_rule *rule);
Dpkt_cls.h771 struct flow_rule *rule; member
Dcfg80211.h6781 struct ieee80211_reg_rule *rule);
/include/linux/
Dmroute.h24 bool ipmr_rule_default(const struct fib_rule *rule);
53 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.h774 struct flow_rule *rule; member
785 void ethtool_rx_flow_rule_destroy(struct ethtool_rx_flow_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.h935 static inline struct nft_expr *nft_expr_first(const struct nft_rule *rule) in nft_expr_first() argument
937 return (struct nft_expr *)&rule->data[0]; in nft_expr_first()
945 static inline struct nft_expr *nft_expr_last(const struct nft_rule *rule) in nft_expr_last() argument
947 return (struct nft_expr *)&rule->data[rule->dlen]; in nft_expr_last()
950 static inline bool nft_expr_more(const struct nft_rule *rule, in nft_expr_more() argument
953 return expr != nft_expr_last(rule) && expr->ops; in nft_expr_more()
956 static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule) in nft_userdata() argument
958 return (void *)&rule->data[rule->dlen]; in nft_userdata()
961 void nft_rule_expr_activate(const struct nft_ctx *ctx, struct nft_rule *rule);
962 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/soc/mscc/
Docelot_vcap.h721 struct ocelot_vcap_filter *rule,
724 struct ocelot_vcap_filter *rule);
/include/linux/ceph/
Dceph_fs.h448 __u8 rule; /* currently fcntl or flock */ member
/include/sound/
Dpcm.h232 struct snd_pcm_hw_rule *rule);
/include/linux/mlx4/
Ddevice.h1431 struct mlx4_net_trans_rule *rule, u64 *reg_id);