diff options
Diffstat (limited to 'include/net/mrp.h')
| -rw-r--r-- | include/net/mrp.h | 23 | 
1 files changed, 11 insertions, 12 deletions
diff --git a/include/net/mrp.h b/include/net/mrp.h index 4fbf02aa2ec..31912c3be77 100644 --- a/include/net/mrp.h +++ b/include/net/mrp.h @@ -112,6 +112,7 @@ struct mrp_applicant {  	struct mrp_application	*app;  	struct net_device	*dev;  	struct timer_list	join_timer; +	struct timer_list	periodic_timer;  	spinlock_t		lock;  	struct sk_buff_head	queue; @@ -125,19 +126,17 @@ struct mrp_port {  	struct rcu_head			rcu;  }; -extern int	mrp_register_application(struct mrp_application *app); -extern void	mrp_unregister_application(struct mrp_application *app); +int mrp_register_application(struct mrp_application *app); +void mrp_unregister_application(struct mrp_application *app); -extern int	mrp_init_applicant(struct net_device *dev, -				    struct mrp_application *app); -extern void	mrp_uninit_applicant(struct net_device *dev, -				      struct mrp_application *app); +int mrp_init_applicant(struct net_device *dev, struct mrp_application *app); +void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *app); -extern int	mrp_request_join(const struct net_device *dev, -				  const struct mrp_application *app, -				  const void *value, u8 len, u8 type); -extern void	mrp_request_leave(const struct net_device *dev, -				   const struct mrp_application *app, -				   const void *value, u8 len, u8 type); +int mrp_request_join(const struct net_device *dev, +		     const struct mrp_application *app, +		     const void *value, u8 len, u8 type); +void mrp_request_leave(const struct net_device *dev, +		       const struct mrp_application *app, +		       const void *value, u8 len, u8 type);  #endif /* _NET_MRP_H */  | 
