summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/inet6.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the length modifier 'll' instead of 'q' to print long longs.stefanf2004-07-281-6/+6
|
* Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3).charnier2004-07-261-5/+7
| | | | | Use warnx() instead of warn() when error message is not of any interest. Add prototypes.
* printed statistics about source address selection rules.ume2004-02-051-0/+25
| | | | Obtained from: KAME
* stops program if kvm_read fails.ume2004-02-051-2/+3
| | | | Obtained from: KAME
* o Typo/Grammar fixesmtm2003-01-141-9/+11
| | | | | | | | o Added mini-function to correctly handle singular/plural of words ending in 'ly' Approved by: markm (mentor) Not objected to by: -audit
* Warns cleanups for netstat:dwmalone2002-09-051-9/+8
| | | | | | | | | | | 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word).
* Cast to kill warnings. De-register.markm2002-04-281-3/+3
|
* Deprecate the -l option in favour of more natural -W.ru2001-09-071-2/+2
| | | | | | | | The compatibility glue is still provided. (This change is not yet reflected in the manpage, nor in usage(). This will be fixed at a later time today, with the general manpage cleanup commit.)
* - create an entry of IPV6CTL_STATS sysctl.ume2001-06-281-5/+19
| | | | | | | | | - fix the problem that netstat doesn't show raw6 and icmp6 pcblist. - make netstat use sysctl to retreive stats of ipv6 and icmpv6 instead of kread. Obtained from: KAME MFC after: 1 week
* - Avoid hardcoded constant on icmp6 in/out histogram printingsumikawa2001-06-211-4/+8
| | | | | | | - Icmp6 histogram update for inverse neighbor solicit/advert. Obtained from: KAME MFC after: 2 weeks
* remove warningsassar2001-06-151-4/+4
| | | | | remove superfluous declarations make things more consistent
* remove K&R supportassar2001-06-151-25/+10
|
* revert removal of warning and K&R supportassar2001-06-151-8/+23
| | | | Requested by: bde
* remove most of the warningsassar2001-06-151-23/+8
|
* add the option -S for printing port numbers symbolically but addressesassar2001-06-151-4/+4
| | | | numerically. clean up the CFLAGS in Makefile.
* Sync with recent KAME.ume2001-06-111-0/+55
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* Correct some typos.dd2001-06-011-3/+3
| | | | | PR: 27251 Submitted by: Pekka Savola <pekkas@netcore.fi>
* Add an example of a novel technique to the IPv6 code. This technique seemsphk2001-03-191-1/+2
| | | | | | | to have been developed after the IPv6 code was written, it's called "checking for error returns". Now netstat at least doesnt't go beserk in jails.
* MAXHOSTNAMELEN includes space for a NUL.brian2001-03-141-1/+1
| | | | | | Don't roll our own version of trimdomain(), use the one in libutil. Not objected to by: freebsd-audit
* To make compilable without -DINET6.ume2000-08-071-0/+2
| | | | | PR: bin/20407 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
* remove m_pulldown related statistics, it is not for production systemitojun2000-07-121-32/+0
| | | | (it belongs to kame experiment).
* sync with latest kame netstat. basically, more statisticsitojun2000-07-041-117/+243
|
* -permit protocol specific statistics at iflag,shin2000-01-071-1/+1
| | | | | | | | | only when either of sflag and "-f inet6" is specified. -fix the indentation of default output Specified by: Stephen McKay <syssgm@detir.qld.gov.au> Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-11/+2
| | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* udp IPv6 support, IPv6/IPv4 tunneling support in kernel,shin1999-12-071-0/+962
packet divert at kernel for IPv6/IPv4 translater daemon This includes queue related patch submitted by jburkhol@home.com. Submitted by: queue related patch from jburkhol@home.com Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud