Lines Matching full:net

17 #include <net/dst.h>
18 #include <net/flow.h>
19 #include <net/ip_fib.h>
20 #include <net/netlink.h>
21 #include <net/inetpeer.h>
22 #include <net/fib_notifier.h>
101 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
106 static inline void fib6_routes_require_src_inc(struct net *net) {} in fib6_routes_require_src_inc() argument
107 static inline void fib6_routes_require_src_dec(struct net *net) {} in fib6_routes_require_src_dec() argument
111 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
113 return net->ipv6.fib6_routes_require_src > 0; in fib6_routes_require_src()
116 static inline void fib6_routes_require_src_inc(struct net *net) in fib6_routes_require_src_inc() argument
118 net->ipv6.fib6_routes_require_src++; in fib6_routes_require_src_inc()
121 static inline void fib6_routes_require_src_dec(struct net *net) in fib6_routes_require_src_dec() argument
123 net->ipv6.fib6_routes_require_src--; in fib6_routes_require_src_dec()
427 typedef struct rt6_info *(*pol_lookup_t)(struct net *,
442 struct fib6_table *fib6_get_table(struct net *net, u32 id);
443 struct fib6_table *fib6_new_table(struct net *net, u32 id);
444 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
451 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6,
455 int fib6_table_lookup(struct net *net, struct fib6_table *table,
459 void fib6_select_path(const struct net *net, struct fib6_result *res,
471 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *arg),
473 void fib6_clean_all_skip_notify(struct net *net,
500 int fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh,
505 int call_fib6_entry_notifiers(struct net *net,
509 int call_fib6_multipath_entry_notifiers(struct net *net,
514 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt);
515 void fib6_rt_update(struct net *net, struct fib6_info *rt,
520 void fib6_run_gc(unsigned long expires, struct net *net, bool force);
539 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type,
542 int __net_init fib6_notifier_init(struct net *net);
543 void __net_exit fib6_notifier_exit(struct net *net);
545 unsigned int fib6_tables_seq_read(struct net *net);
546 int fib6_tables_dump(struct net *net, struct notifier_block *nb,
549 void fib6_update_sernum(struct net *net, struct fib6_info *rt);
550 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt);
551 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i);
566 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_output(struct net *net,
571 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_input(struct net *net,
576 INDIRECT_CALLABLE_DECLARE(struct rt6_info *__ip6_route_redirect(struct net *net,
581 INDIRECT_CALLABLE_DECLARE(struct rt6_info *ip6_pol_route_lookup(struct net *net,
587 struct net *net, in pol_lookup_func() argument
598 net, table, fl6, skb, flags); in pol_lookup_func()
602 static inline bool fib6_has_custom_rules(const struct net *net) in fib6_has_custom_rules() argument
604 return net->ipv6.fib6_has_custom_rules; in fib6_has_custom_rules()
610 int fib6_rules_dump(struct net *net, struct notifier_block *nb,
612 unsigned int fib6_rules_seq_read(struct net *net);
614 static inline bool fib6_rules_early_flow_dissect(struct net *net, in fib6_rules_early_flow_dissect() argument
621 if (!net->ipv6.fib6_rules_require_fldissect) in fib6_rules_early_flow_dissect()
632 static inline bool fib6_has_custom_rules(const struct net *net) in fib6_has_custom_rules() argument
648 static inline int fib6_rules_dump(struct net *net, struct notifier_block *nb, in fib6_rules_dump() argument
653 static inline unsigned int fib6_rules_seq_read(struct net *net) in fib6_rules_seq_read() argument
657 static inline bool fib6_rules_early_flow_dissect(struct net *net, in fib6_rules_early_flow_dissect() argument