aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/switchdev.h')
-rw-r--r--include/net/switchdev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h
index 933fac410a7a..1a9382febcc3 100644
--- a/include/net/switchdev.h
+++ b/include/net/switchdev.h
@@ -1,6 +1,7 @@
1/* 1/*
2 * include/net/switchdev.h - Switch device API 2 * include/net/switchdev.h - Switch device API
3 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us> 3 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
4 * Copyright (c) 2014-2015 Scott Feldman <sfeldma@gmail.com>
4 * 5 *
5 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
@@ -52,7 +53,7 @@ int ndo_dflt_netdev_switch_port_bridge_dellink(struct net_device *dev,
52int ndo_dflt_netdev_switch_port_bridge_setlink(struct net_device *dev, 53int ndo_dflt_netdev_switch_port_bridge_setlink(struct net_device *dev,
53 struct nlmsghdr *nlh, u16 flags); 54 struct nlmsghdr *nlh, u16 flags);
54int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, 55int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi,
55 u8 tos, u8 type, u32 tb_id); 56 u8 tos, u8 type, u32 nlflags, u32 tb_id);
56int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi, 57int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi,
57 u8 tos, u8 type, u32 tb_id); 58 u8 tos, u8 type, u32 tb_id);
58void netdev_switch_fib_ipv4_abort(struct fib_info *fi); 59void netdev_switch_fib_ipv4_abort(struct fib_info *fi);
@@ -117,7 +118,8 @@ static inline int ndo_dflt_netdev_switch_port_bridge_setlink(struct net_device *
117 118
118static inline int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, 119static inline int netdev_switch_fib_ipv4_add(u32 dst, int dst_len,
119 struct fib_info *fi, 120 struct fib_info *fi,
120 u8 tos, u8 type, u32 tb_id) 121 u8 tos, u8 type,
122 u32 nlflags, u32 tb_id)
121{ 123{
122 return 0; 124 return 0;
123} 125}