SNMP_MIB_ITEM("UdpLite6OutDatagrams", UDP_MIB_OUTDATAGRAMS),
SNMP_MIB_SENTINEL
};
+#endif /* CONFIG_PROC_FS */
static unsigned long
fold_field(void *mib[], int offt)
return res;
}
+#ifdef CONFIG_PROC_FS
static inline void
snmp6_seq_show_item(struct seq_file *seq, void **mib, struct snmp_mib *itemlist)
{
.llseek = seq_lseek,
.release = single_release,
};
+#endif /* CONFIG_PROC_FS */
static inline void
__snmp6_fill_stats(u64 *stats, void **mib, int items, int bytes)
}
}
+#ifdef CONFIG_PROC_FS
int snmp6_register_dev(struct inet6_dev *idev)
{
struct proc_dir_entry *p;
return 0;
}
-void
-snmp6_fill_stats(u64 *stats, struct inet6_dev *idev, int attrtype, int bytes)
-{
- memset(stats, 0, sizeof(bytes));
-}
-
#endif /* CONFIG_PROC_FS */
int snmp6_alloc_dev(struct inet6_dev *idev)