summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/route.c
AgeCommit message (Expand)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-04always print prefixlen for routes. it's CIDR age.itojun
2003-07-12strlcpyitojun
2003-05-14use proper #ifdef to determine behavior (__KAME__)itojun
2002-05-13Don't count on kernel includes to exports user variables.matt
2001-10-06Use getnameinfo() to format link-layer addresses for netstat -r rather thanbjh21
2001-08-19snprintf length audit. from openbsditojun
2001-05-28add `-s' that prints port numbers symbolically but addresses numericallyassar
2001-04-06pedant changes for strcpy/sprintf.itojun
2001-03-08Print hopcount too when -rv is given.enami
2001-02-21use u_quad_t for rtstat.itojun
2001-01-27mark cloned routes with RTF_CLONED. present it with netstat -r by "c".itojun
2000-11-14Do the same IEEE1394 address hack in here.matt
2000-10-11More format string cleanup by sommerfeld.is
2000-07-06more stats. from kameitojun
2000-01-17fix default route determination for inet6.itojun
2000-01-17mask addresses properly on netstat -inv.itojun
2000-01-15Properly print the "B"(lackhole) flag (as documented :).hubertf
2000-01-07Pay attention to the netmask of routes to 0.0.0.0;sommerfeld
1999-12-13per-interface statistics.itojun
1999-11-27Print Internet6 header properly without -f.soren
1999-11-24more clarification to field width of netstat -rn -f inet6.itojun
1999-11-22use old WID_{DST,GW} value (field width for netstat -rn) for non-INET6itojun
1999-09-15Add -L option. netstat -r -L behaves like 4.3BSD netstat -r, that is, itis
1999-09-03sync with recent KAME.itojun
1999-07-01make netstat IPv6-ready.itojun
1999-04-02don't use malloc for large sockaddr's, just name the union declared abovechopps
1999-04-01user err() not errx()chopps
1999-04-01fix for sockaddr's that are bigger than standard sockaddr's (e.g., iso)chopps
1999-01-15Added a verbose flag for route display that will showkml
1999-01-11#ifndef SMALL changes. saves 30k on the sparcmrg
1998-12-05Make a network number by shifting out host bits in octet units.pk
1998-11-23fix invalid shift. colsed PR#5160.msaitoh
1998-10-31put all the different struct sockaddr_xxx types into the union pt_u, to force...mrg
1998-07-12- KNFmrg
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-05-14Partial fix for PR kern/5435 -- changed netstat to use unsigned counterskml
1998-05-14Ensure that the 'L' lock flag for MTU is always displayed when present.kml
1997-10-28Added (and documented) a change to the route display, so that mtu valueskml
1997-10-20fix compile warnings on the sparc.mrg
1997-10-19fix up .Nm usage, getopt returns -1 not EOFlukem
1997-04-10Make the first field 2 characters wider so that XXX.XXX.XXX.XXX/XX fits.christos
1997-04-03- netatalk additionschristos
1997-03-26Print Ethernet and FDDI addresses in the same format as ether_ntoa().thorpej
1997-03-18Get the byte-swapping right in netmask().mycroft
1997-01-02ns_print: fix type conflictmellon
1997-01-02ns_print: undo bogus type conflictmellon
1997-01-02Lite2 Mergemellon
1996-05-07Update for the changes to struct ifnet. While I'm here, fix a couplethorpej
1995-10-03New-style RCS ids.thorpej