[BACK]Return to inet6.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / netstat

Diff for /src/usr.bin/netstat/inet6.c between version 1.9 and 1.10

version 1.9, 2000/07/12 16:16:57 version 1.10, 2000/08/13 19:01:38
Line 395 
Line 395 
                         printf("\t\t%s: %qu\n", ip6nh[i],                          printf("\t\t%s: %qu\n", ip6nh[i],
                                ip6stat.ip6s_nxthist[i]);                                 ip6stat.ip6s_nxthist[i]);
                 }                  }
         printf("\tMbuf statics:\n");          printf("\tMbuf statistics:\n");
         printf("\t\t%qu one mbuf\n", ip6stat.ip6s_m1);          p(ip6s_m1, "\t\t%qu one mbuf%s\n");
         for (first = 1, i = 0; i < 32; i++) {          for (first = 1, i = 0; i < 32; i++) {
                 char ifbuf[IFNAMSIZ];                  char ifbuf[IFNAMSIZ];
                 if (ip6stat.ip6s_m2m[i] != 0) {                  if (ip6stat.ip6s_m2m[i] != 0) {
Line 409 
Line 409 
                                ip6stat.ip6s_m2m[i]);                                 ip6stat.ip6s_m2m[i]);
                 }                  }
         }          }
         printf("\t\t%qu one ext mbuf\n", ip6stat.ip6s_mext1);          p(ip6s_mext1, "\t\t%qu one ext mbuf%s\n");
         printf("\t\t%qu two or more ext mbuf\n", ip6stat.ip6s_mext2m);          p(ip6s_mext2m, "\t\t%qu two or more ext mbuf%s\n");
         p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n");          p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n");
         p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n");          p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n");
         p(ip6s_toomanyhdr, "\t%qu packet%s discarded due to too may headers\n");          p(ip6s_toomanyhdr, "\t%qu packet%s discarded due to too may headers\n");

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10