Home
last modified time | relevance | path

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

/net/core/
Dflow_offload.c10 struct flow_rule *rule; in flow_rule_alloc() local
30 void flow_rule_match_meta(const struct flow_rule *rule, in flow_rule_match_meta()
37 void flow_rule_match_basic(const struct flow_rule *rule, in flow_rule_match_basic()
44 void flow_rule_match_control(const struct flow_rule *rule, in flow_rule_match_control()
51 void flow_rule_match_eth_addrs(const struct flow_rule *rule, in flow_rule_match_eth_addrs()
58 void flow_rule_match_vlan(const struct flow_rule *rule, in flow_rule_match_vlan()
65 void flow_rule_match_cvlan(const struct flow_rule *rule, in flow_rule_match_cvlan()
72 void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, in flow_rule_match_ipv4_addrs()
79 void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, in flow_rule_match_ipv6_addrs()
86 void flow_rule_match_ip(const struct flow_rule *rule, in flow_rule_match_ip()
[all …]
Dfib_rules.c23 bool fib_rule_matchall(const struct fib_rule *rule) in fib_rule_matchall()
72 struct fib_rule *rule; in fib_default_rule_pref() local
174 struct fib_rule *rule, *tmp; in fib_rules_cleanup_ops() local
245 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
278 struct fib_rule *rule; in fib_rules_lookup() local
326 struct fib_rule *rule, int family) in call_fib_rule_notifier()
338 struct fib_rule *rule, in call_fib_rule_notifiers()
356 struct fib_rule *rule; in fib_rules_dump() local
387 static struct fib_rule *rule_find(struct fib_rules_ops *ops, in rule_find()
490 struct fib_rule **rule, in fib_nl2rule()
[all …]
/net/ipv6/
Dfib6_rules.c30 static bool fib6_rule_matchall(const struct fib_rule *rule) in fib6_rule_matchall()
39 bool fib6_rule_default(const struct fib_rule *rule) in fib6_rule_default()
128 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
153 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt()
191 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action()
254 static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action()
263 static bool fib6_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib6_rule_suppress()
295 static int fib6_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib6_rule_match()
339 static int fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib6_rule_configure()
379 static int fib6_rule_delete(struct fib_rule *rule) in fib6_rule_delete()
[all …]
Dip6mr.c151 static int ip6mr_rule_action(struct fib_rule *rule, struct flowi *flp, in ip6mr_rule_action()
178 static int ip6mr_rule_match(struct fib_rule *rule, struct flowi *flp, int flags) in ip6mr_rule_match()
187 static int ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_configure()
194 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare()
200 static int ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ip6mr_rule_fill()
278 bool ip6mr_rule_default(const struct fib_rule *rule) in ip6mr_rule_default()
Daddrconf.c1459 int rule; member
/net/ipv4/
Dfib_rules.c47 static bool fib4_rule_matchall(const struct fib_rule *rule) in fib4_rule_matchall()
56 bool fib4_rule_default(const struct fib_rule *rule) in fib4_rule_default()
105 static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, in fib4_rule_action()
140 static bool fib4_rule_suppress(struct fib_rule *rule, struct fib_lookup_arg *arg) in fib4_rule_suppress()
171 static int fib4_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in fib4_rule_match()
218 static int fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_configure()
281 static int fib4_rule_delete(struct fib_rule *rule) in fib4_rule_delete()
304 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare()
332 static int fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in fib4_rule_fill()
357 static size_t fib4_rule_nlmsg_payload(struct fib_rule *rule) in fib4_rule_nlmsg_payload()
Dipmr.c164 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action()
191 static int ipmr_rule_match(struct fib_rule *rule, struct flowi *fl, int flags) in ipmr_rule_match()
200 static int ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_configure()
207 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare()
213 static int ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, in ipmr_rule_fill()
291 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
349 bool ipmr_rule_default(const struct fib_rule *rule) in ipmr_rule_default()
/net/decnet/
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()
/net/netfilter/
Dnf_tables_core.c41 const struct nft_rule *rule, in nft_trace_packet()
154 const struct nft_rule *rule; in nft_do_chain() local
Dnf_tables_offload.c32 const struct nft_rule *rule) in nft_flow_rule_create()
162 struct nft_rule *rule, in nft_flow_offload_rule()
451 struct nft_rule *rule; in nft_offload_chain_clean() local
Dnf_tables_api.c252 struct nft_rule *rule) in nft_rule_expr_activate()
266 struct nft_rule *rule, in nft_rule_expr_deactivate()
281 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
293 struct nft_rule *rule) in nft_trans_rule_add()
311 static int nft_delrule(struct nft_ctx *ctx, struct nft_rule *rule) in nft_delrule()
332 struct nft_rule *rule; in nft_delrule_by_chain() local
1975 struct nft_rule *rule; in nf_tables_delchain() local
2300 struct nft_rule *rule; in __nft_rule_lookup() local
2340 const struct nft_rule *rule, in nf_tables_fill_rule_info()
2398 const struct nft_rule *rule, int event) in nf_tables_rule_notify()
[all …]
/net/ceph/crush/
Dcrush.c138 void crush_destroy_rule(struct crush_rule *rule) in crush_destroy_rule()
Dmapper.c910 const struct crush_rule *rule; in crush_do_rule() local
/net/wireless/
Dreg.c641 static bool valid_wmm(struct fwdb_wmm_rule *rule) in valid_wmm()
663 struct fwdb_rule *rule = (void *)(data + (rule_ptr << 2)); in valid_rule() local
859 const struct fwdb_rule *rule, in set_wmm_rule()
903 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in __regdb_query_wmm() local
918 int reg_query_regdb_wmm(char *alpha2, int freq, struct ieee80211_reg_rule *rule) in reg_query_regdb_wmm()
962 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in regdb_query_country() local
1148 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth_from_range()
1197 const struct ieee80211_reg_rule *rule) in reg_get_max_bandwidth()
1218 static bool is_valid_reg_rule(const struct ieee80211_reg_rule *rule) in is_valid_reg_rule()
1446 static void add_rule(struct ieee80211_reg_rule *rule, in add_rule()
Dnl80211.c861 const struct ieee80211_reg_rule *rule) in nl80211_msg_put_wmm_rules()
973 const struct ieee80211_reg_rule *rule = in nl80211_msg_put_channel() local
1515 struct nl80211_coalesce_rule_support rule; in nl80211_send_coalesce() local
11761 struct cfg80211_coalesce_rules *rule; in nl80211_send_coalesce_rules() local
11845 struct cfg80211_coalesce_rules *rule; in cfg80211_rdev_free_coalesce() local
11862 struct nlattr *rule, in nl80211_parse_coalesce_rule()
11959 struct nlattr *rule; in nl80211_set_coalesce() local