Lines Matching defs:iftot
74 struct iftot {
96 static void iftot_banner(struct iftot *);
97 static void iftot_print_sum(struct iftot *, struct iftot *);
98 static void iftot_print(struct iftot *, struct iftot *);
108 struct iftot iftot[MAXIF], ip_cur, ip_old, sum_cur, sum_old;
695 iftot_banner(struct iftot *ift)
739 iftot_print(struct iftot *cur, struct iftot *old)
757 iftot_print_sum(struct iftot *cur, struct iftot *old)
845 struct iftot *ip, *total;
847 struct iftot *lastif, *sum, *interesting;
865 lastif = iftot;
866 sum = iftot + MAXIF - 1;
868 interesting = (interface == NULL) ? iftot : NULL;
869 for (off = firstifnet, ip = iftot; off;) {
877 if (ip >= iftot + MAXIF - 2)
911 if (lastif - iftot > 0) {
921 for (ip = iftot; ip < iftot + MAXIF; ip++) {
941 if (lastif - iftot > 0) {
964 for (off = firstifnet, ip = iftot; off && ip < lastif; ip++) {
1028 if (lastif - iftot > 0) {