1.\" Copyright (c) 1983, 1990, 1992, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 4. Neither the name of the University nor the names of its contributors 13.\" may be used to endorse or promote products derived from this software 14.\" without specific prior written permission. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" 28.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94 29.\" $FreeBSD$ 30.\" 31.Dd April 7, 2015 32.Dt NETSTAT 1 33.Os 34.Sh NAME 35.Nm netstat 36.Nd show network status and statistics 37.Sh SYNOPSIS 38.Bk -words 39.Bl -tag -width "netstat" 40.It Nm 41.Op Fl -libxo 42.Op Fl 46AaLnRSTWx 43.Op Fl f Ar protocol_family | Fl p Ar protocol 44.Op Fl M Ar core 45.Op Fl N Ar system 46.It Nm Fl i | I Ar interface 47.Op Fl -libxo 48.Op Fl 46abdhnW 49.Op Fl f Ar address_family 50.Op Fl M Ar core 51.Op Fl N Ar system 52.It Nm Fl w Ar wait 53.Op Fl -libxo 54.Op Fl I Ar interface 55.Op Fl 46d 56.Op Fl M Ar core 57.Op Fl N Ar system 58.Op Fl q Ar howmany 59.It Nm Fl s 60.Op Fl -libxo 61.Op Fl 46sz 62.Op Fl f Ar protocol_family | Fl p Ar protocol 63.Op Fl M Ar core 64.Op Fl N Ar system 65.It Nm Fl i | I Ar interface Fl s 66.Op Fl -libxo 67.Op Fl 46s 68.Op Fl f Ar protocol_family | Fl p Ar protocol 69.Op Fl M Ar core 70.Op Fl N Ar system 71.It Nm Fl m 72.Op Fl -libxo 73.Op Fl M Ar core 74.Op Fl N Ar system 75.It Nm Fl B 76.Op Fl -libxo 77.Op Fl z 78.Op Fl I Ar interface 79.It Nm Fl r 80.Op Fl -libxo 81.Op Fl 46nW 82.Op Fl F Ar fibnum 83.Op Fl f Ar address_family 84.It Nm Fl rs 85.Op Fl -libxo 86.Op Fl s 87.Op Fl M Ar core 88.Op Fl N Ar system 89.It Nm Fl g 90.Op Fl -libxo 91.Op Fl 46W 92.Op Fl f Ar address_family 93.It Nm Fl gs 94.Op Fl -libxo 95.Op Fl 46s 96.Op Fl f Ar address_family 97.Op Fl M Ar core 98.Op Fl N Ar system 99.It Nm Fl Q 100.Op Fl -libxo 101.El 102.Ek 103.Sh DESCRIPTION 104The 105.Nm 106command symbolically displays the contents of various network-related 107data structures. 108There are a number of output formats, 109depending on the options for the information presented. 110.Bl -tag -width indent 111.It Xo 112.Bk -words 113.Nm 114.Op Fl 46AaLnRSTWx 115.Op Fl f Ar protocol_family | Fl p Ar protocol 116.Op Fl M Ar core 117.Op Fl N Ar system 118.Ek 119.Xc 120Display a list of active sockets 121(protocol control blocks) 122for each network protocol. 123.Pp 124The default display for active sockets shows the local 125and remote addresses, send and receive queue sizes (in bytes), protocol, 126and the internal state of the protocol. 127Address formats are of the form 128.Dq host.port 129or 130.Dq network.port 131if a socket's address specifies a network but no specific host address. 132When known, the host and network addresses are displayed symbolically 133according to the databases 134.Xr hosts 5 135and 136.Xr networks 5 , 137respectively. 138If a symbolic name for an address is unknown, or if 139the 140.Fl n 141option is specified, the address is printed numerically, according 142to the address family. 143For more information regarding 144the Internet IPv4 145.Dq dot format , 146refer to 147.Xr inet 3 . 148Unspecified, 149or 150.Dq wildcard , 151addresses and ports appear as 152.Dq Li * . 153.Bl -tag -width indent 154.It Fl 4 155Show IPv4 only. 156See 157.Sx GENERAL OPTIONS . 158.It Fl 6 159Show IPv6 only. 160See 161.Sx GENERAL OPTIONS . 162.It Fl A 163Show the address of a protocol control block (PCB) 164associated with a socket; used for debugging. 165.It Fl a 166Show the state of all sockets; 167normally sockets used by server processes are not shown. 168.It Fl L 169Show the size of the various listen queues. 170The first count shows the number of unaccepted connections, 171the second count shows the amount of unaccepted incomplete connections, 172and the third count is the maximum number of queued connections. 173.It Fl n 174Do not resolve numeric addresses and port numbers to names. 175See 176.Sx GENERAL OPTIONS . 177.It Fl R 178Display the flowid and flowtype for each socket. 179flowid is a 32 bit hardware specific identifier for each flow. 180flowtype defines which protocol fields are hashed to produce the id. 181A complete listing is available in 182.Pa sys/mbuf.h 183under 184.Dv M_HASHTYPE_* . 185.It Fl S 186Show network addresses as numbers (as with 187.Fl n ) 188but show ports symbolically. 189.It Fl T 190Display diagnostic information from the TCP control block. 191Fields include the number of packets requiring retransmission, 192received out-of-order, and those advertising a zero-sized window. 193.It Fl W 194Avoid truncating addresses even if this causes some fields to overflow. 195.It Fl x 196Display socket buffer and TCP timer statistics for each 197internet socket. 198.Pp 199The 200.Fl x 201flag causes 202.Nm 203to output all the information recorded about data 204stored in the socket buffers. 205The fields are: 206.Bl -column ".Li R-MBUF" 207.It Li R-MBUF Ta Number of mbufs in the receive queue. 208.It Li S-MBUF Ta Number of mbufs in the send queue. 209.It Li R-CLUS Ta Number of clusters, of any type, in the receive 210queue. 211.It Li S-CLUS Ta Number of clusters, of any type, in the send queue. 212.It Li R-HIWA Ta Receive buffer high water mark, in bytes. 213.It Li S-HIWA Ta Send buffer high water mark, in bytes. 214.It Li R-LOWA Ta Receive buffer low water mark, in bytes. 215.It Li S-LOWA Ta Send buffer low water mark, in bytes. 216.It Li R-BCNT Ta Receive buffer byte count. 217.It Li S-BCNT Ta Send buffer byte count. 218.It Li R-BMAX Ta Maximum bytes that can be used in the receive buffer. 219.It Li S-BMAX Ta Maximum bytes that can be used in the send buffer. 220.El 221.It Fl f Ar protocol_family 222Filter by 223.Ar protocol_family . 224See 225.Sx GENERAL OPTIONS . 226.It Fl p Ar protocol 227Filter by 228.Ar protocol . 229See 230.Sx GENERAL OPTIONS . 231.It Fl M 232Use an alternative core. 233See 234.Sx GENERAL OPTIONS . 235.It Fl N 236Use an alternative kernel image. 237See 238.Sx GENERAL OPTIONS . 239.El 240.It Xo 241.Bk -words 242.Nm 243.Fl i | I Ar interface 244.Op Fl 46abdhnW 245.Op Fl f Ar address_family 246.Op Fl M Ar core 247.Op Fl N Ar system 248.Ek 249.Xc 250Show the state of all network interfaces or a single 251.Ar interface 252which have been auto-configured 253(interfaces statically configured into a system, but not 254located at boot time are not shown). 255An asterisk 256.Pq Dq Li * 257after an interface name indicates that the interface is 258.Dq down . 259.Pp 260When 261.Nm 262is invoked with 263.Fl i 264.Pq all interfaces 265or 266.Fl I Ar interface , 267it provides a table of cumulative 268statistics regarding packets transferred, errors, and collisions. 269The network addresses of the interface 270and the maximum transmission unit 271.Pq Dq mtu 272are also displayed. 273.Bl -tag -width indent 274.It Fl 4 275Show IPv4 only. 276See 277.Sx GENERAL OPTIONS . 278.It Fl 6 279Show IPv6 only. 280See 281.Sx GENERAL OPTIONS . 282.It Fl a 283Multicast addresses currently in use are shown 284for each Ethernet interface and for each IP interface address. 285Multicast addresses are shown on separate lines following the interface 286address with which they are associated. 287.It Fl b 288Show the number of bytes in and out. 289.It Fl d 290Show the number of dropped packets. 291.It Fl h 292Print all counters in human readable form. 293.It Fl n 294Do not resolve numeric addresses and port numbers to names. 295See 296.Sx GENERAL OPTIONS . 297.It Fl W 298Avoid truncating interface names even if this causes some fields to overflow. 299.Sx GENERAL OPTIONS . 300.It Fl f Ar protocol_family 301Filter by 302.Ar protocol_family . 303See 304.Sx GENERAL OPTIONS . 305.El 306.It Xo 307.Bk -words 308.Nm 309.Fl w Ar wait 310.Op Fl I Ar interface 311.Op Fl 46d 312.Op Fl M Ar core 313.Op Fl N Ar system 314.Op Fl q Ar howmany 315.Ek 316.Xc 317At intervals of 318.Ar wait 319seconds, display the information regarding packet traffic on all 320configured network interfaces or a single 321.Ar interface . 322.Pp 323When 324.Nm 325is invoked with the 326.Fl w 327option and a 328.Ar wait 329interval argument, it displays a running count of statistics related to 330network interfaces. 331An obsolescent version of this option used a numeric parameter 332with no option, and is currently supported for backward compatibility. 333By default, this display summarizes information for all interfaces. 334Information for a specific interface may be displayed with the 335.Fl I Ar interface 336option. 337.Bl -tag -width indent 338.It Fl I Ar interface 339Only show information regarding 340.Ar interface 341.It Fl 4 342Show IPv4 only. 343See 344.Sx GENERAL OPTIONS . 345.It Fl 6 346Show IPv6 only. 347See 348.Sx GENERAL OPTIONS . 349.It Fl d 350Show the number of dropped packets. 351.It Fl M 352Use an alternative core. 353See 354.Sx GENERAL OPTIONS . 355.It Fl N 356Use an alternative kernel image. 357See 358.Sx GENERAL OPTIONS . 359.It Fl q 360Exit after 361.Ar howmany 362outputs. 363.El 364.It Xo 365.Bk -words 366.Nm 367.Fl s 368.Op Fl 46sz 369.Op Fl f Ar protocol_family | Fl p Ar protocol 370.Op Fl M Ar core 371.Op Fl N Ar system 372.Ek 373.Xc 374Display system-wide statistics for each network protocol. 375.Bl -tag -width indent 376.It Fl 4 377Show IPv4 only. 378See 379.Sx GENERAL OPTIONS . 380.It Fl 6 381Show IPv6 only. 382See 383.Sx GENERAL OPTIONS . 384.It Fl s 385If 386.Fl s 387is repeated, counters with a value of zero are suppressed. 388.It Fl z 389Reset statistic counters after displaying them. 390.It Fl f Ar protocol_family 391Filter by 392.Ar protocol_family . 393See 394.Sx GENERAL OPTIONS . 395.It Fl p Ar protocol 396Filter by 397.Ar protocol . 398See 399.Sx GENERAL OPTIONS . 400.It Fl M 401Use an alternative core. 402See 403.Sx GENERAL OPTIONS . 404.It Fl N 405Use an alternative kernel image 406See 407.Sx GENERAL OPTIONS . 408.El 409.It Xo 410.Bk -words 411.Nm 412.Fl i | I Ar interface Fl s 413.Op Fl 46s 414.Op Fl f Ar protocol_family | Fl p Ar protocol 415.Op Fl M Ar core 416.Op Fl N Ar system 417.Ek 418.Xc 419Display per-interface statistics for each network protocol. 420.Bl -tag -width indent 421.It Fl 4 422Show IPv4 only 423See 424.Sx GENERAL OPTIONS . 425.It Fl 6 426Show IPv6 only 427See 428.Sx GENERAL OPTIONS . 429.It Fl s 430If 431.Fl s 432is repeated, counters with a value of zero are suppressed. 433.It Fl f Ar protocol_family 434Filter by 435.Ar protocol_family . 436See 437.Sx GENERAL OPTIONS . 438.It Fl p Ar protocol 439Filter by 440.Ar protocol . 441See 442.Sx GENERAL OPTIONS . 443.It Fl M 444Use an alternative core 445See 446.Sx GENERAL OPTIONS . 447.It Fl N 448Use an alternative kernel image 449See 450.Sx GENERAL OPTIONS . 451.El 452.It Xo 453.Bk -words 454.Nm 455.Fl m 456.Op Fl M Ar core 457.Op Fl N Ar system 458.Ek 459.Xc 460Show statistics recorded by the memory management routines 461.Pq Xr mbuf 9 . 462The network manages a private pool of memory buffers. 463.Bl -tag -width indent 464.It Fl M 465Use an alternative core 466See 467.Sx GENERAL OPTIONS . 468.It Fl N 469Use an alternative kernel image 470See 471.Sx GENERAL OPTIONS . 472.El 473.It Xo 474.Bk -words 475.Nm 476.Fl B 477.Op Fl z 478.Op Fl I Ar interface 479.Ek 480.Xc 481Show statistics about 482.Xr bpf 4 483peers. 484This includes information like 485how many packets have been matched, dropped and received by the 486bpf device, also information about current buffer sizes and device 487states. 488.Pp 489The 490.Xr bpf 4 491flags displayed when 492.Nm 493is invoked with the 494.Fl B 495option represent the underlying parameters of the bpf peer. 496Each flag is 497represented as a single lower case letter. 498The mapping between the letters and flags in order of appearance are: 499.Bl -column ".Li i" 500.It Li p Ta Set if listening promiscuously 501.It Li i Ta Dv BIOCIMMEDIATE No has been set on the device 502.It Li f Ta Dv BIOCGHDRCMPLT No status: source link addresses are being 503filled automatically 504.It Li s Ta Dv BIOCGSEESENT No status: see packets originating locally and 505remotely on the interface. 506.It Li a Ta Packet reception generates a signal 507.It Li l Ta Dv BIOCLOCK No status: descriptor has been locked 508.El 509.Pp 510For more information about these flags, please refer to 511.Xr bpf 4 . 512.Bl -tag -width indent 513.It Fl z 514Reset statistic counters after displaying them. 515.El 516.It Xo 517.Bk -words 518.Nm 519.Fl r 520.Op Fl 46AnW 521.Op Fl F Ar fibnum 522.Op Fl f Ar address_family 523.Op Fl M Ar core 524.Op Fl N Ar system 525.Ek 526.Xc 527Display the contents of routing tables. 528.Pp 529When 530.Nm 531is invoked with the routing table option 532.Fl r , 533it lists the available routes and their status. 534Each route consists of a destination host or network, and a gateway to use 535in forwarding packets. 536The flags field shows a collection of information about the route stored 537as binary choices. 538The individual flags are discussed in more detail in the 539.Xr route 8 540and 541.Xr route 4 542manual pages. 543The mapping between letters and flags is: 544.Bl -column ".Li W" ".Dv RTF_WASCLONED" 545.It Li 1 Ta Dv RTF_PROTO1 Ta "Protocol specific routing flag #1" 546.It Li 2 Ta Dv RTF_PROTO2 Ta "Protocol specific routing flag #2" 547.It Li 3 Ta Dv RTF_PROTO3 Ta "Protocol specific routing flag #3" 548.It Li B Ta Dv RTF_BLACKHOLE Ta "Just discard pkts (during updates)" 549.It Li b Ta Dv RTF_BROADCAST Ta "The route represents a broadcast address" 550.It Li D Ta Dv RTF_DYNAMIC Ta "Created dynamically (by redirect)" 551.It Li G Ta Dv RTF_GATEWAY Ta "Destination requires forwarding by intermediary" 552.It Li H Ta Dv RTF_HOST Ta "Host entry (net otherwise)" 553.It Li L Ta Dv RTF_LLINFO Ta "Valid protocol to link address translation" 554.It Li M Ta Dv RTF_MODIFIED Ta "Modified dynamically (by redirect)" 555.It Li R Ta Dv RTF_REJECT Ta "Host or net unreachable" 556.It Li S Ta Dv RTF_STATIC Ta "Manually added" 557.It Li U Ta Dv RTF_UP Ta "Route usable" 558.It Li X Ta Dv RTF_XRESOLVE Ta "External daemon translates proto to link address" 559.El 560.Pp 561Direct routes are created for each 562interface attached to the local host; 563the gateway field for such entries shows the address of the outgoing interface. 564The refcnt field gives the 565current number of active uses of the route. 566Connection oriented 567protocols normally hold on to a single route for the duration of 568a connection while connectionless protocols obtain a route while sending 569to the same destination. 570The use field provides a count of the number of packets 571sent using that route. 572The interface entry indicates the network interface utilized for the route. 573.Bl -tag -width indent 574.It Fl 4 575Show IPv4 only. 576See 577.Sx GENERAL OPTIONS . 578.It Fl 6 579Show IPv6 only. 580See 581.Sx GENERAL OPTIONS . 582.It Fl n 583Do not resolve numeric addresses and port numbers to names. 584See 585.Sx GENERAL OPTIONS . 586.It Fl W 587Show the path MTU for each route, and print interface names with a 588wider field size. 589.It Fl F 590Display the routing table with the number 591.Ar fibnum . 592If the specified 593.Ar fibnum 594is -1 or 595.Fl F 596is not specified, 597the default routing table is displayed. 598.It Fl f 599Display the routing table for a particular 600.Ar address_family . 601.It Fl M 602Use an alternative core 603See 604.Sx GENERAL OPTIONS . 605.It Fl N 606Use an alternative kernel image 607See 608.Sx GENERAL OPTIONS . 609.El 610.It Xo 611.Bk -words 612.Nm 613.Fl rs 614.Op Fl s 615.Op Fl M Ar core 616.Op Fl N Ar system 617.Ek 618.Xc 619Display routing statistics. 620.Bl -tag -width indent 621.It Fl s 622If 623.Fl s 624is repeated, counters with a value of zero are suppressed. 625.It Fl M 626Use an alternative core 627See 628.Sx GENERAL OPTIONS . 629.It Fl N 630Use an alternative kernel image 631See 632.Sx GENERAL OPTIONS . 633.El 634.It Xo 635.Bk -words 636.Nm 637.Fl g 638.Op Fl 46W 639.Op Fl f Ar address_family 640.Op Fl M Ar core 641.Op Fl N Ar system 642.Ek 643.Xc 644Display the contents of the multicast virtual interface tables, 645and multicast forwarding caches. 646Entries in these tables will appear only when the kernel is 647actively forwarding multicast sessions. 648This option is applicable only to the 649.Cm inet 650and 651.Cm inet6 652address families. 653.Bl -tag -width indent 654.It Fl 4 655Show IPv4 only 656See 657.Sx GENERAL OPTIONS . 658.It Fl 6 659Show IPv6 only 660See 661.Sx GENERAL OPTIONS . 662.It Fl W 663Avoid truncating addresses even if this causes some fields to overflow. 664.It Fl f Ar protocol_family 665Filter by 666.Ar protocol_family . 667See 668.Sx GENERAL OPTIONS . 669.It Fl M 670Use an alternative core 671See 672.Sx GENERAL OPTIONS . 673.It Fl N 674Use an alternative kernel image 675See 676.Sx GENERAL OPTIONS . 677.El 678.It Xo 679.Bk -words 680.Nm 681.Fl gs 682.Op Fl 46s 683.Op Fl f Ar address_family 684.Op Fl M Ar core 685.Op Fl N Ar system 686.Ek 687.Xc 688Show multicast routing statistics. 689.Bl -tag -width indent 690.It Fl 4 691Show IPv4 only 692See 693.Sx GENERAL OPTIONS . 694.It Fl 6 695Show IPv6 only 696See 697.Sx GENERAL OPTIONS . 698.It Fl s 699If 700.Fl s 701is repeated, counters with a value of zero are suppressed. 702.It Fl f Ar protocol_family 703Filter by 704.Ar protocol_family . 705See 706.Sx GENERAL OPTIONS . 707.It Fl M 708Use an alternative core 709See 710.Sx GENERAL OPTIONS . 711.It Fl N 712Use an alternative kernel image 713See 714.Sx GENERAL OPTIONS . 715.El 716.It Xo 717.Bk -words 718.Nm 719.Fl Q 720.Ek 721.Xc 722Show 723.Xr netisr 9 724statistics. 725The flags field shows available ISR handlers: 726.Bl -column ".Li W" ".Dv NETISR_SNP_FLAGS_DRAINEDCPU" 727.It Li C Ta Dv NETISR_SNP_FLAGS_M2CPUID Ta "Able to map mbuf to cpu id" 728.It Li D Ta Dv NETISR_SNP_FLAGS_DRAINEDCPU Ta "Has queue drain handler" 729.It Li F Ta Dv NETISR_SNP_FLAGS_M2FLOW Ta "Able to map mbuf to flow id" 730.El 731.El 732.Pp 733.Ss GENERAL OPTIONS 734Some options have the general meaning: 735.Bl -tag -width flag 736.It Fl 4 737Is shorthand for 738.Fl f 739.Ar inet 740.Pq Show only IPv4 741.It Fl 6 742Is shorthand for 743.Fl f 744.Ar inet6 745.Pq Show only IPv6 746.It Fl f Ar address_family , Fl p Ar protocol 747Limit display to those records 748of the specified 749.Ar address_family 750or a single 751.Ar protocol . 752The following address families and protocols are recognized: 753.Pp 754.Bl -tag -width ".Cm netgraph , ng Pq Dv AF_NETGRAPH" -compact 755.It Em Family 756.Em Protocols 757.It Cm inet Pq Dv AF_INET 758.Cm divert , icmp , igmp , ip , ipsec , pim, sctp , tcp , udp 759.It Cm inet6 Pq Dv AF_INET6 760.Cm icmp6 , ip6 , ipsec6 , rip6 , tcp , udp 761.It Cm pfkey Pq Dv PF_KEY 762.Cm pfkey 763.It Cm netgraph , ng Pq Dv AF_NETGRAPH 764.Cm ctrl , data 765.It Cm unix Pq Dv AF_UNIX 766.It Cm link Pq Dv AF_LINK 767.El 768.Pp 769The program will complain if 770.Ar protocol 771is unknown or if there is no statistics routine for it. 772.It Fl M 773Extract values associated with the name list from the specified core 774instead of the default 775.Pa /dev/kmem . 776.It Fl N 777Extract the name list from the specified system instead of the default, 778which is the kernel image the system has booted from. 779.It Fl n 780Show network addresses and ports as numbers. 781Normally 782.Nm 783attempts to resolve addresses and ports, 784and display them symbolically. 785.El 786.Sh SEE ALSO 787.Xr fstat 1 , 788.Xr nfsstat 1 , 789.Xr procstat 1 , 790.Xr ps 1 , 791.Xr sockstat 1 , 792.Xr libxo 3 , 793.Xr xo_parse_args 3 , 794.Xr bpf 4 , 795.Xr inet 4 , 796.Xr route 4 , 797.Xr unix 4 , 798.Xr hosts 5 , 799.Xr networks 5 , 800.Xr protocols 5 , 801.Xr services 5 , 802.Xr iostat 8 , 803.Xr route 8 , 804.Xr trpt 8 , 805.Xr vmstat 8 , 806.Xr mbuf 9 807.Sh HISTORY 808The 809.Nm 810command appeared in 811.Bx 4.2 . 812.Pp 813IPv6 support was added by WIDE/KAME project. 814.Sh BUGS 815The notion of errors is ill-defined. 816