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

Diff for /src/usr.bin/netstat/main.c between version 1.39 and 1.40

version 1.39, 2003/10/17 21:04:59 version 1.40, 2003/11/02 10:23:58
Line 177 
Line 177 
         { "_rip6stat" },          { "_rip6stat" },
 #define N_CARPSTAT      55  #define N_CARPSTAT      55
         { "_carpstats" },          { "_carpstats" },
   #define N_RAWIPTABLE    56
           { "_rawcbtable" },
   #define N_RAWIP6TABLE   57
           { "_rawin6pcbtable" },
         { ""},          { ""},
 };  };
   
Line 192 
Line 196 
           tcp_stats,    "tcp" },            tcp_stats,    "tcp" },
         { N_UDBTABLE,   N_UDPSTAT,      1,      protopr,          { N_UDBTABLE,   N_UDPSTAT,      1,      protopr,
           udp_stats,    "udp" },            udp_stats,    "udp" },
         { -1,           N_IPSTAT,       1,      0,          { N_RAWIPTABLE, N_IPSTAT,       1,      protopr,
           ip_stats,     "ip" },            ip_stats,     "ip" },
         { -1,           N_ICMPSTAT,     1,      0,          { -1,           N_ICMPSTAT,     1,      0,
           icmp_stats,   "icmp" },            icmp_stats,   "icmp" },
Line 220 
Line 224 
           0,            "tcp" },            0,            "tcp" },
         { N_UDBTABLE,   N_UDPSTAT,      1,      ip6protopr,          { N_UDBTABLE,   N_UDPSTAT,      1,      ip6protopr,
           0,            "udp" },            0,            "udp" },
         { -1,           N_IP6STAT,      1,      0,          { N_RAWIP6TABLE,N_IP6STAT,      1,      ip6protopr,
           ip6_stats,    "ip6" },            ip6_stats,    "ip6" },
         { -1,           N_ICMP6STAT,    1,      0,          { -1,           N_ICMP6STAT,    1,      0,
           icmp6_stats,  "icmp6" },            icmp6_stats,  "icmp6" },

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40