[Bug 190281] netstat -s -i only shows ip6 statistics
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190281 Tom Jones changed: What|Removed |Added Assignee|b...@freebsd.org|t...@freebsd.org CC||t...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 190281] netstat -s -i only shows ip6 statistics
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190281 --- Comment #4 from Marie Helene Kvello-Aune --- ... And I just realized I didn't see the comment by Eitan Adler before starting to dig into this. Oops. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 190281] netstat -s -i only shows ip6 statistics
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190281 Marie Helene Kvello-Aune changed: What|Removed |Added CC||mariehelen...@gmail.com --- Comment #3 from Marie Helene Kvello-Aune --- I decided to look at this today, and to my surprise, I found that netstat doesn't implement per-interface statistics for IPv4 at all. In usr.bin/netstat/main.c, line 105-106: { N_RIPCBINFO, N_IPSTAT, 1, protopr, ip_stats, NULL, "ip", 1, IPPROTO_RAW }, The 6th argument is supposed to be the function which prints per-interface statistics. The equivelant lines for IPv6 (line 141-142): { N_RIPCBINFO, N_IP6STAT, 1, protopr, ip6_stats,ip6_ifstats,"ip6", 1, IPPROTO_RAW }, ip6_stats and ip6_ifstats are implemented in usr.bin/netstat/inet6.c. ip_stats (but no ip_ifstats) is implemented in usr.bin/netstat/inet.c. tl;dr: someone has to implement functions to print the IPv4 information as well. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"
[Bug 190281] netstat -s -i only shows ip6 statistics
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190281 Allan Jude allanj...@freebsd.org changed: What|Removed |Added Version|unspecified |9.2-RELEASE Severity|Affects Only Me |Affects Many People -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org
[Bug 190281] netstat -s -i only shows ip6 statistics
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190281 byc...@gmail.com changed: What|Removed |Added CC||byc...@gmail.com --- Comment #1 from byc...@gmail.com --- command netstat -i will show the per interface statistic information, but currently, actually according to the source, developers only implemented the ip6_ifstats and icmp6_ifstats, two methods only and they are for INET6, so netstat -s -i -4 will get nothing, and netstat -s -i -6 will be the same as netstat -s -i -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to freebsd-bugs-unsubscr...@freebsd.org