aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2016-09-13 21:23:58 +0530
committerDavid S. Miller <davem@davemloft.net>2016-09-15 20:49:19 -0400
commit95554761d1db54f7c058cc0ed389282ce7361999 (patch)
tree8e7e3dff132cc78a3d67e14d2fda7dc4ecb5f8f9 /drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
parentlibcxgb,iw_cxgb4,cxgbit: add cxgb_find_route() (diff)
downloadlinux-dev-95554761d1db54f7c058cc0ed389282ce7361999.tar.xz
linux-dev-95554761d1db54f7c058cc0ed389282ce7361999.zip
libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route6()
Add cxgb_find_route6() in libcxgb_cm.c to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h')
-rw-r--r--drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h b/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
index fe69161288e5..c4df04a4a323 100644
--- a/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
+++ b/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
@@ -43,4 +43,8 @@ struct dst_entry *
cxgb_find_route(struct cxgb4_lld_info *,
struct net_device *(*)(struct net_device *),
__be32, __be32, __be16, __be16, u8);
+struct dst_entry *
+cxgb_find_route6(struct cxgb4_lld_info *,
+ struct net_device *(*)(struct net_device *),
+ __u8 *, __u8 *, __be16, __be16, u8, __u32);
#endif