=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.39 retrieving revision 1.40 diff -c -r1.39 -r1.40 *** src/usr.bin/netstat/main.c 2003/10/17 21:04:59 1.39 --- src/usr.bin/netstat/main.c 2003/11/02 10:23:58 1.40 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.39 2003/10/17 21:04:59 mcbride Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.40 2003/11/02 10:23:58 markus Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* *************** *** 40,46 **** #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else ! static char *rcsid = "$OpenBSD: main.c,v 1.39 2003/10/17 21:04:59 mcbride Exp $"; #endif #endif /* not lint */ --- 40,46 ---- #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else ! static char *rcsid = "$OpenBSD: main.c,v 1.40 2003/11/02 10:23:58 markus Exp $"; #endif #endif /* not lint */ *************** *** 177,182 **** --- 177,186 ---- { "_rip6stat" }, #define N_CARPSTAT 55 { "_carpstats" }, + #define N_RAWIPTABLE 56 + { "_rawcbtable" }, + #define N_RAWIP6TABLE 57 + { "_rawin6pcbtable" }, { ""}, }; *************** *** 192,198 **** tcp_stats, "tcp" }, { N_UDBTABLE, N_UDPSTAT, 1, protopr, udp_stats, "udp" }, ! { -1, N_IPSTAT, 1, 0, ip_stats, "ip" }, { -1, N_ICMPSTAT, 1, 0, icmp_stats, "icmp" }, --- 196,202 ---- tcp_stats, "tcp" }, { N_UDBTABLE, N_UDPSTAT, 1, protopr, udp_stats, "udp" }, ! { N_RAWIPTABLE, N_IPSTAT, 1, protopr, ip_stats, "ip" }, { -1, N_ICMPSTAT, 1, 0, icmp_stats, "icmp" }, *************** *** 220,226 **** 0, "tcp" }, { N_UDBTABLE, N_UDPSTAT, 1, ip6protopr, 0, "udp" }, ! { -1, N_IP6STAT, 1, 0, ip6_stats, "ip6" }, { -1, N_ICMP6STAT, 1, 0, icmp6_stats, "icmp6" }, --- 224,230 ---- 0, "tcp" }, { N_UDBTABLE, N_UDPSTAT, 1, ip6protopr, 0, "udp" }, ! { N_RAWIP6TABLE,N_IP6STAT, 1, ip6protopr, ip6_stats, "ip6" }, { -1, N_ICMP6STAT, 1, 0, icmp6_stats, "icmp6" },