/* * This file is part of the Chelsio T4 Ethernet driver for Linux. * Copyright (C) 2003-2014 Chelsio Communications. All rights reserved. * * Written by Deepak ([email protected]) * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this * release for licensing terms and conditions. */ #include <linux/refcount.h> struct clip_entry { … }; struct clip_tbl { … }; enum { … }; struct clip_tbl *t4_init_clip_tbl(unsigned int clipt_start, unsigned int clipt_end); int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6); void cxgb4_clip_release(const struct net_device *dev, const u32 *lip, u8 v6); int clip_tbl_show(struct seq_file *seq, void *v); int cxgb4_update_root_dev_clip(struct net_device *dev); void t4_cleanup_clip_tbl(struct adapter *adap);