| 
									
										
										
										
											2014-07-04 23:34:38 +02:00
										 |  |  | /* Copyright 2011-2014 Autronica Fire and Security AS
 | 
					
						
							| 
									
										
										
										
											2013-10-30 21:10:47 +01:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify it | 
					
						
							|  |  |  |  * under the terms of the GNU General Public License as published by the Free | 
					
						
							|  |  |  |  * Software Foundation; either version 2 of the License, or (at your option) | 
					
						
							|  |  |  |  * any later version. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Author(s): | 
					
						
							| 
									
										
										
										
											2014-07-04 23:34:38 +02:00
										 |  |  |  *	2011-2014 Arvid Brodin, arvid.brodin@alten.se | 
					
						
							| 
									
										
										
										
											2013-10-30 21:10:47 +01:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __HSR_DEVICE_H
 | 
					
						
							|  |  |  | #define __HSR_DEVICE_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <linux/netdevice.h>
 | 
					
						
							|  |  |  | #include "hsr_main.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void hsr_dev_setup(struct net_device *dev); | 
					
						
							|  |  |  | int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2], | 
					
						
							|  |  |  | 		     unsigned char multicast_spec); | 
					
						
							| 
									
										
										
										
											2014-07-04 23:36:40 +02:00
										 |  |  | void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); | 
					
						
							| 
									
										
										
										
											2013-10-30 21:10:47 +01:00
										 |  |  | bool is_hsr_master(struct net_device *dev); | 
					
						
							| 
									
										
										
										
											2014-07-04 23:34:38 +02:00
										 |  |  | int hsr_get_max_mtu(struct hsr_priv *hsr); | 
					
						
							| 
									
										
										
										
											2013-10-30 21:10:47 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif /* __HSR_DEVICE_H */
 |