Contributors: 11
	  
        
          | Author | 
          Tokens | 
          Token Proportion | 
          Commits | 
          Commit Proportion | 
        
	  
	  
        
        
          | Ido Schimmel | 
          100 | 
          45.25% | 
          6 | 
          26.09% | 
        
        
          | Jiri Pirko | 
          68 | 
          30.77% | 
          2 | 
          8.70% | 
        
        
          | Denis V. Lunev | 
          14 | 
          6.33% | 
          3 | 
          13.04% | 
        
        
          | Johannes Berg | 
          10 | 
          4.52% | 
          1 | 
          4.35% | 
        
        
          | Linus Torvalds (pre-git) | 
          8 | 
          3.62% | 
          4 | 
          17.39% | 
        
        
          | Eric W. Biedermann | 
          7 | 
          3.17% | 
          2 | 
          8.70% | 
        
        
          | David Ahern | 
          5 | 
          2.26% | 
          1 | 
          4.35% | 
        
        
          | Yotam Gigi | 
          4 | 
          1.81% | 
          1 | 
          4.35% | 
        
        
          | Paul Gortmaker | 
          3 | 
          1.36% | 
          1 | 
          4.35% | 
        
        
          | Eric Dumazet | 
          1 | 
          0.45% | 
          1 | 
          4.35% | 
        
        
          | Arnaldo Carvalho de Melo | 
          1 | 
          0.45% | 
          1 | 
          4.35% | 
        
	  
	  
        
          | Total | 
          221 | 
           | 
          23 | 
           | 
	    
	  
    
 
#ifndef __NET_FIB_NOTIFIER_H
#define __NET_FIB_NOTIFIER_H
#include <linux/types.h>
#include <linux/notifier.h>
#include <net/net_namespace.h>
struct module;
struct fib_notifier_info {
	int family;
	struct netlink_ext_ack  *extack;
};
enum fib_event_type {
	FIB_EVENT_ENTRY_REPLACE,
	FIB_EVENT_ENTRY_APPEND,
	FIB_EVENT_ENTRY_ADD,
	FIB_EVENT_ENTRY_DEL,
	FIB_EVENT_RULE_ADD,
	FIB_EVENT_RULE_DEL,
	FIB_EVENT_NH_ADD,
	FIB_EVENT_NH_DEL,
	FIB_EVENT_VIF_ADD,
	FIB_EVENT_VIF_DEL,
};
struct fib_notifier_ops {
	int family;
	struct list_head list;
	unsigned int (*fib_seq_read)(const struct net *net);
	int (*fib_dump)(struct net *net, struct notifier_block *nb,
			struct netlink_ext_ack *extack);
	struct module *owner;
	struct rcu_head rcu;
};
int call_fib_notifier(struct notifier_block *nb,
		      enum fib_event_type event_type,
		      struct fib_notifier_info *info);
int call_fib_notifiers(struct net *net, enum fib_event_type event_type,
		       struct fib_notifier_info *info);
int register_fib_notifier(struct net *net, struct notifier_block *nb,
			  void (*cb)(struct notifier_block *nb),
			  struct netlink_ext_ack *extack);
int unregister_fib_notifier(struct net *net, struct notifier_block *nb);
struct fib_notifier_ops *
fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net);
void fib_notifier_ops_unregister(struct fib_notifier_ops *ops);
#endif