Deleted Added
full compact
37c37
< __FBSDID("$FreeBSD: head/usr.bin/netstat/inet.c 249345 2013-04-10 20:29:23Z glebius $");
---
> __FBSDID("$FreeBSD: head/usr.bin/netstat/inet.c 253081 2013-07-09 09:32:06Z ae $");
746c746
< u_long delivered;
---
> uint64_t delivered;
768c768
< printf(m, udpstat.f, plural(udpstat.f))
---
> printf("\t%ju " m, (uintmax_t)udpstat.f, plural(udpstat.f))
770,776c770,776
< printf(m, udpstat.f)
< p(udps_ipackets, "\t%lu datagram%s received\n");
< p1a(udps_hdrops, "\t%lu with incomplete header\n");
< p1a(udps_badlen, "\t%lu with bad data length field\n");
< p1a(udps_badsum, "\t%lu with bad checksum\n");
< p1a(udps_nosum, "\t%lu with no checksum\n");
< p1a(udps_noport, "\t%lu dropped due to no socket\n");
---
> printf("\t%ju " m, (uintmax_t)udpstat.f)
> p(udps_ipackets, "datagram%s received\n");
> p1a(udps_hdrops, "with incomplete header\n");
> p1a(udps_badlen, "with bad data length field\n");
> p1a(udps_badsum, "with bad checksum\n");
> p1a(udps_nosum, "with no checksum\n");
> p1a(udps_noport, "dropped due to no socket\n");
778,780c778,780
< "\t%lu broadcast/multicast datagram%s undelivered\n");
< p1a(udps_fullsock, "\t%lu dropped due to full socket buffers\n");
< p1a(udpps_pcbhashmiss, "\t%lu not for hashed pcb\n");
---
> "broadcast/multicast datagram%s undelivered\n");
> p1a(udps_fullsock, "dropped due to full socket buffers\n");
> p1a(udpps_pcbhashmiss, "not for hashed pcb\n");
789,790c789,790
< printf("\t%lu delivered\n", delivered);
< p(udps_opackets, "\t%lu datagram%s output\n");
---
> printf("\t%ju delivered\n", (uint64_t)delivered);
> p(udps_opackets, "datagram%s output\n");
793c793
< "\t%lu time%s multicast source filter matched\n");
---
> "time%s multicast source filter matched\n");
941c941
< printf(m, arpstat.f, plural(arpstat.f))
---
> printf("\t%ju " m, (uintmax_t)arpstat.f, plural(arpstat.f))
943c943
< printf(m, arpstat.f, pluralies(arpstat.f))
---
> printf("\t%ju " m, (uintmax_t)arpstat.f, pluralies(arpstat.f))
945,952c945,952
< p(txrequests, "\t%lu ARP request%s sent\n");
< p2(txreplies, "\t%lu ARP repl%s sent\n");
< p(rxrequests, "\t%lu ARP request%s received\n");
< p2(rxreplies, "\t%lu ARP repl%s received\n");
< p(received, "\t%lu ARP packet%s received\n");
< p(dropped, "\t%lu total packet%s dropped due to no ARP entry\n");
< p(timeouts, "\t%lu ARP entry%s timed out\n");
< p(dupips, "\t%lu Duplicate IP%s seen\n");
---
> p(txrequests, "ARP request%s sent\n");
> p2(txreplies, "ARP repl%s sent\n");
> p(rxrequests, "ARP request%s received\n");
> p2(rxreplies, "ARP repl%s received\n");
> p(received, "ARP packet%s received\n");
> p(dropped, "total packet%s dropped due to no ARP entry\n");
> p(timeouts, "ARP entry%s timed out\n");
> p(dupips, "Duplicate IP%s seen\n");