aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h
index ba5983f34c42..a2caf00b82cc 100644
--- a/net/8021q/vlan.h
+++ b/net/8021q/vlan.h
@@ -196,12 +196,12 @@ static inline u32 vlan_get_ingress_priority(struct net_device *dev,
196} 196}
197 197
198#ifdef CONFIG_VLAN_8021Q_GVRP 198#ifdef CONFIG_VLAN_8021Q_GVRP
199extern int vlan_gvrp_request_join(const struct net_device *dev); 199int vlan_gvrp_request_join(const struct net_device *dev);
200extern void vlan_gvrp_request_leave(const struct net_device *dev); 200void vlan_gvrp_request_leave(const struct net_device *dev);
201extern int vlan_gvrp_init_applicant(struct net_device *dev); 201int vlan_gvrp_init_applicant(struct net_device *dev);
202extern void vlan_gvrp_uninit_applicant(struct net_device *dev); 202void vlan_gvrp_uninit_applicant(struct net_device *dev);
203extern int vlan_gvrp_init(void); 203int vlan_gvrp_init(void);
204extern void vlan_gvrp_uninit(void); 204void vlan_gvrp_uninit(void);
205#else 205#else
206static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; } 206static inline int vlan_gvrp_request_join(const struct net_device *dev) { return 0; }
207static inline void vlan_gvrp_request_leave(const struct net_device *dev) {} 207static inline void vlan_gvrp_request_leave(const struct net_device *dev) {}
@@ -212,12 +212,12 @@ static inline void vlan_gvrp_uninit(void) {}
212#endif 212#endif
213 213
214#ifdef CONFIG_VLAN_8021Q_MVRP 214#ifdef CONFIG_VLAN_8021Q_MVRP
215extern int vlan_mvrp_request_join(const struct net_device *dev); 215int vlan_mvrp_request_join(const struct net_device *dev);
216extern void vlan_mvrp_request_leave(const struct net_device *dev); 216void vlan_mvrp_request_leave(const struct net_device *dev);
217extern int vlan_mvrp_init_applicant(struct net_device *dev); 217int vlan_mvrp_init_applicant(struct net_device *dev);
218extern void vlan_mvrp_uninit_applicant(struct net_device *dev); 218void vlan_mvrp_uninit_applicant(struct net_device *dev);
219extern int vlan_mvrp_init(void); 219int vlan_mvrp_init(void);
220extern void vlan_mvrp_uninit(void); 220void vlan_mvrp_uninit(void);
221#else 221#else
222static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; } 222static inline int vlan_mvrp_request_join(const struct net_device *dev) { return 0; }
223static inline void vlan_mvrp_request_leave(const struct net_device *dev) {} 223static inline void vlan_mvrp_request_leave(const struct net_device *dev) {}
@@ -229,8 +229,8 @@ static inline void vlan_mvrp_uninit(void) {}
229 229
230extern const char vlan_fullname[]; 230extern const char vlan_fullname[];
231extern const char vlan_version[]; 231extern const char vlan_version[];
232extern int vlan_netlink_init(void); 232int vlan_netlink_init(void);
233extern void vlan_netlink_fini(void); 233void vlan_netlink_fini(void);
234 234
235extern struct rtnl_link_ops vlan_link_ops; 235extern struct rtnl_link_ops vlan_link_ops;
236 236