Lines Matching refs:net
96 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
101 static inline void fib6_routes_require_src_inc(struct net *net) {} in fib6_routes_require_src_inc() argument
102 static inline void fib6_routes_require_src_dec(struct net *net) {} in fib6_routes_require_src_dec() argument
106 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
108 return net->ipv6.fib6_routes_require_src > 0; in fib6_routes_require_src()
111 static inline void fib6_routes_require_src_inc(struct net *net) in fib6_routes_require_src_inc() argument
113 net->ipv6.fib6_routes_require_src++; in fib6_routes_require_src_inc()
116 static inline void fib6_routes_require_src_dec(struct net *net) in fib6_routes_require_src_dec() argument
118 net->ipv6.fib6_routes_require_src--; in fib6_routes_require_src_dec()
417 typedef struct rt6_info *(*pol_lookup_t)(struct net *,
432 struct fib6_table *fib6_get_table(struct net *net, u32 id);
433 struct fib6_table *fib6_new_table(struct net *net, u32 id);
434 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
441 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6,
445 int fib6_table_lookup(struct net *net, struct fib6_table *table,
449 void fib6_select_path(const struct net *net, struct fib6_result *res,
461 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *arg),
463 void fib6_clean_all_skip_notify(struct net *net,
490 int fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh,
496 int call_fib6_entry_notifiers(struct net *net,
500 int call_fib6_multipath_entry_notifiers(struct net *net,
505 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt);
506 void fib6_rt_update(struct net *net, struct fib6_info *rt,
511 void fib6_run_gc(unsigned long expires, struct net *net, bool force);
530 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type,
533 int __net_init fib6_notifier_init(struct net *net);
534 void __net_exit fib6_notifier_exit(struct net *net);
536 unsigned int fib6_tables_seq_read(struct net *net);
537 int fib6_tables_dump(struct net *net, struct notifier_block *nb,
540 void fib6_update_sernum(struct net *net, struct fib6_info *rt);
541 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt);
542 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i);
557 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_output(struct net *net,
562 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_input(struct net *net,
567 INDIRECT_CALLABLE_DECLARE(struct rt6_info *__ip6_route_redirect(struct net *net,
572 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_lookup(struct net *net,
578 struct net *net, in pol_lookup_func() argument
589 net, table, fl6, skb, flags); in pol_lookup_func()
593 static inline bool fib6_has_custom_rules(const struct net *net) in fib6_has_custom_rules() argument
595 return net->ipv6.fib6_has_custom_rules; in fib6_has_custom_rules()
601 int fib6_rules_dump(struct net *net, struct notifier_block *nb,
603 unsigned int fib6_rules_seq_read(struct net *net);
605 static inline bool fib6_rules_early_flow_dissect(struct net *net, in fib6_rules_early_flow_dissect() argument
612 if (!net->ipv6.fib6_rules_require_fldissect) in fib6_rules_early_flow_dissect()
623 static inline bool fib6_has_custom_rules(const struct net *net) in fib6_has_custom_rules() argument
639 static inline int fib6_rules_dump(struct net *net, struct notifier_block *nb, in fib6_rules_dump() argument
644 static inline unsigned int fib6_rules_seq_read(struct net *net) in fib6_rules_seq_read() argument
648 static inline bool fib6_rules_early_flow_dissect(struct net *net, in fib6_rules_early_flow_dissect() argument