1/* 2 * Copyright (c) 2012, The Linux Foundation. All rights reserved. 3 * Permission to use, copy, modify, and/or distribute this software for 4 * any purpose with or without fee is hereby granted, provided that the 5 * above copyright notice and this permission notice appear in all copies. 6 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 7 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 8 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 9 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 10 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 11 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 12 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 13 */ 14 15#ifndef _REF_MIB_H_ 16#define _REF_MIB_H_ 17 18#ifdef __cplusplus 19extern "C" { 20#endif /* __cplusplus */ 21 22int 23qca_ar8327_sw_set_reset_mibs(struct switch_dev *dev, 24 const struct switch_attr *attr, 25 struct switch_val *val); 26 27int 28qca_ar8327_sw_set_port_reset_mib(struct switch_dev *dev, 29 const struct switch_attr *attr, 30 struct switch_val *val); 31 32 33int 34qca_ar8327_sw_get_port_mib(struct switch_dev *dev, 35 const struct switch_attr *attr, 36 struct switch_val *val); 37 38void 39qca_ar8327_sw_mib_task(struct switch_dev *dev); 40 41#ifdef __cplusplus 42} 43#endif /* __cplusplus */ 44#endif /* _REF_MIB_H_ */ 45 46