CVS log for src/usr.bin/netstat/inet6.c
Up to [cvs.NetBSD.org] / src / usr.bin / netstat
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:27:17 2022 UTC (2 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +16 -14
lines
Adjust userland commands for struct inpcb separation
Only kvm users are affected.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:24:07 2022 UTC (2 years, 1 month ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +22 -22
lines
Adjust userland commands for struct inpcb integration
Only kvm users are affected.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Sep 21 07:59:19 2022 UTC (2 years, 2 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -4
lines
s/u_quad_t/uint64_t/. No functional change.
Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 12 14:29:19 2022 UTC (2 years, 2 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +198 -165
lines
Pull up the following, requested by msaitoh in ticket #1762:
usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24 via patch
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.70,1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100,1.102-1.103
usr.bin/netstat/mbuf.c 1.34-1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.87-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13
- Add names of a few more ICMPv6 messages.
Also make the array be explicitly 256 entries long.
- sprintf() -> snprintf(), and adjust a buffer size to avoid any
potential for overflow.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
if the feature isn't enabled.
- Print oqdrops correctly.
- netstat.1: Add various xrefs present in the body to "See Also".
- Limit maximum owner name to appease gcc.
- KNF. Style fixes.
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 12 14:23:41 2022 UTC (2 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +191 -158
lines
Pull up the following, requested by msaitoh in ticket #1522:
usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100-1.103
usr.bin/netstat/mbuf.c 1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.86-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13
- sprintf() -> snprintf(), and adjust a buffer size to avoid any
potential for overflow.
- Fix netstat -rs to print it correctly.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
if the feature isn't enabled.
- Print oqdrops correctly.
- Remove Network ATM soft intr queue reporting, we don't have that
in the kernel anymore.
- netstat.1: Add various xrefs present in the body to "See Also".
- KNF. Style fixes.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Sep 2 06:25:43 2022 UTC (2 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +84 -53
lines
KNF. No functional change.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Sep 1 10:10:20 2022 UTC (2 years, 3 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +114 -109
lines
KNF. No functional change.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Oct 30 11:23:07 2021 UTC (3 years, 1 month ago) by nia
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +7 -9
lines
netstat(1): convert malloc(x * y) and realloc(x * y) to reallocarr
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Sep 10 21:52:18 2021 UTC (3 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
usr.bin: remove unnecessary lint comment CONSTCOND
Since 2021-01-31, lint no longer warns about 'do ... while (0)'.
No functional change.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Aug 28 07:23:48 2020 UTC (4 years, 3 months ago) by ozaki-r
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +8 -8
lines
netstat: strengthen against kernel changes
netstat uses sysctlbyname to get counter data from the kernel.
sysctlbyname fails with ENOMEM if actual counter data in the kernel is
larger than a passed buffer. netstat just skips showing counters of a
category if sysctlbyname fails, so if we added new counters of the
category to the kernel, nestat shows nothing for the category.
Fortunately sysctlbyname fills data as much as possible even if a passed
buffer is short. So we can allow netstat to show the filled data anyway
if sysctlbyname fails with ENOMEM.
Note that this backcompat mechanism works only if new counters are
appended, and doesn't work if new counters are inserted into the middle
or counters are moved.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Aug 28 06:34:17 2020 UTC (4 years, 3 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +9 -2
lines
netstat: support new packet counters
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Aug 6 07:38:54 2020 UTC (4 years, 3 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -2
lines
add missing {IP,IP6}_STAT_NOIPSEC to netstat.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Apr 23 00:24:16 2020 UTC (4 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -5
lines
sockb is only used locally, so move it into the function
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:45 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.1: +8 -8
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 19 15:56:49 2019 UTC (5 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
Pull up following revision(s) (requested by kamil in ticket #94):
usr.bin/netstat/netstat_rumpops.c: revision 1.2
usr.bin/netstat/netstat_hostops.c: revision 1.2
usr.bin/netstat/inet6.c: revision 1.73
usr.bin/netstat/bpf.c: revision 1.14
usr.bin/netstat/Makefile: revision 1.46
usr.bin/netstat/prog_ops.h: revision 1.3
usr.bin/netstat/pfsync.c: revision 1.2
usr.bin/netstat/pfkey.c: revision 1.2
usr.bin/netstat/fast_ipsec.c: revision 1.23
usr.bin/netstat/atalk.c: revision 1.17
usr.bin/netstat/inet.c: revision 1.110
netstat: Add indirection of symbols to remove clash with sanitizers
Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Aug 18 04:14:40 2019 UTC (5 years, 3 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
netstat: Add indirection of symbols to remove clash with sanitizers
Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:22 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -2
lines
Sync with HEAD
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon May 13 07:48:42 2019 UTC (5 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -2
lines
Show the number of packets dropped by pfil
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:18 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +2 -3
lines
Sync with HEAD
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu May 3 07:13:48 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -3
lines
Remove now unused tcpip.h includes. Some were already unused before.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Dec 19 17:05:15 2017 UTC (6 years, 11 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +11 -11
lines
Add names of a few more ICMPv6 messages, from RFC6275 (Mobile IPv6)
and RFC4286 (Multicast Router Discovery.) and as shown in the IANA
parameters page available at:
https://www.ietf.org/assignments/icmpv6-parameters/icmpv6-parameters.txt
Also make the array be explicitly 256 entries long, one for each possible
code, which will detect attempts to insert names without deleting the
place holder (and mean a good solid NULL de-ref if too many place holders
are deleted, rather than just random results.)
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:58 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +9 -3
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Dec 17 09:12:22 2016 UTC (7 years, 11 months ago) by mlelstv
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +9 -3
lines
Print previously missing fields from a TCP6 PCB.
Revision 1.59.6.2: download - view: text, markup, annotated - select for diffs
Wed Feb 11 14:04:19 2015 UTC (9 years, 9 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.59.6.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.6.1: +6 -4
lines
Pull up following revision(s) (requested by christos in ticket #1249):
usr.bin/netstat/inet.c: revision 1.106
usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 11 08:29:56 2015 UTC (9 years, 9 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +6 -4
lines
Pull up following revision(s) (requested by christos in ticket #503):
usr.bin/netstat/inet.c: revision 1.106
usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Feb 8 15:09:45 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -4
lines
Allocate the right size for pcb blocks.
XXX: pullup-7!
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Feb 7 19:36:06 2015 UTC (9 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -5
lines
print the timer flags.
Revision 1.59.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:01 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.59.10.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.10.1: +70 -63
lines
Rebase to HEAD as of a few days ago.
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:46 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +167 -152
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Nov 23 22:01:12 2013 UTC (11 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +70 -56
lines
Update for new pcb tailq's.
While here fix ipv6 pcb printing by making tcp6_dump with tcp.
XXX: Merge the inet and the inet6 code. It is silly to need to specify
-p tcp6 to print a tcp6 pcb, we already know what it is.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Oct 19 15:56:06 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -3
lines
use correct function and symbolic constants
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Oct 19 00:28:38 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -13
lines
use new scopeid functions
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Oct 18 20:26:45 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -4
lines
- avoid pointer gymnastics
- remove unused variables
Revision 1.50.6.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:26:10 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE
Diff to: previous 1.50.6.1: preferred, colored; next MAIN 1.50.6.2: preferred, colored
Changes since revision 1.50.6.1: +127 -120
lines
Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.50.6.1.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:24:19 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE
Diff to: previous 1.50.6.1: preferred, colored; next MAIN 1.50.6.2: preferred, colored
Changes since revision 1.50.6.1: +127 -120
lines
Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.50.6.2: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:22:14 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-5
Diff to: previous 1.50.6.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.6.1: +127 -120
lines
Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.59.12.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 07:10:13 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +96 -88
lines
Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.59.16.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 07:06:37 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +96 -88
lines
Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 06:11:02 2013 UTC (11 years, 4 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +96 -88
lines
Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:01 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +98 -90
lines
resync from head
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Jun 20 10:43:18 2013 UTC (11 years, 5 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Jun 19 21:12:03 2013 UTC (11 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +96 -88
lines
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Mar 1 18:26:11 2013 UTC (11 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: agc-symver-base,
agc-symver
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
Retire OSI network stack. OK core@
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 24 18:07:11 2011 UTC (13 years, 6 months ago) by spz
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2
lines
RA flood mitigation via a limit on accepted routes:
- introduce a limit for the routes accepted via IPv6 Router Advertisement:
a common 2 interface client will have 6, the default limit is 100 and
can be adjusted via sysctl
- report the current number of routes installed via RA via sysctl
- count discarded route additions. Note that one RA message is two routes.
This is at present only across all interfaces even though per-interface
would be more useful, since the per-interface structure complies to RFC2466
- bump kernel version due to the previous change
- adjust netstat to use the new value (with netstat -p icmp6)
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed May 11 22:21:59 2011 UTC (13 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -5
lines
Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed May 11 15:08:59 2011 UTC (13 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -2
lines
use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration
calculation, because this doesn't get confused by system time changes,
and uses less CPU cycles
reviewed by dyoung
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed May 4 00:55:19 2011 UTC (13 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4
lines
Don't use type qualifier 'register'.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue May 3 23:36:26 2011 UTC (13 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +14 -7
lines
Do not display expired or reclaimed vestigial TIME_WAIT entries.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue May 3 18:28:46 2011 UTC (13 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +77 -21
lines
Reduces the resources demanded by TCP sessions in TIME_WAIT-state using
methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime
Truncation (MSLT).
MSLT and VTW were contributed by Coyote Point Systems, Inc.
Even after a TCP session enters the TIME_WAIT state, its corresponding
socket and protocol control blocks (PCBs) stick around until the TCP
Maximum Segment Lifetime (MSL) expires. On a host whose workload
necessarily creates and closes down many TCP sockets, the sockets & PCBs
for TCP sessions in TIME_WAIT state amount to many megabytes of dead
weight in RAM.
Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to
a class based on the nearness of the peer. Corresponding to each class
is an MSL, and a session uses the MSL of its class. The classes are
loopback (local host equals remote host), local (local host and remote
host are on the same link/subnet), and remote (local host and remote
host communicate via one or more gateways). Classes corresponding to
nearer peers have lower MSLs by default: 2 seconds for loopback, 10
seconds for local, 60 seconds for remote. Loopback and local sessions
expire more quickly when MSLT is used.
Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket
dead weight with a compact representation of the session, called a
"vestigial PCB". VTW data structures are designed to be very fast and
memory-efficient: for fast insertion and lookup of vestigial PCBs,
the PCBs are stored in a hash table that is designed to minimize the
number of cacheline visits per lookup/insertion. The memory both
for vestigial PCBs and for elements of the PCB hashtable come from
fixed-size pools, and linked data structures exploit this to conserve
memory by representing references with a narrow index/offset from the
start of a pool instead of a pointer. When space for new vestigial PCBs
runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
VTW cooperates with MSLT.
It may help to think of VTW as a "FIN cache" by analogy to the SYN
cache.
A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT
sessions as fast as it can is approximately 17% idle when VTW is active
versus 0% idle when VTW is inactive. It has 103 megabytes more free RAM
when VTW is active (approximately 64k vestigial PCBs are created) than
when it is inactive.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Dec 13 21:15:30 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -5
lines
Add netstat rump client. For now, it always sets -X, i.e. will
use only sysctl and no kvm (implementing /dev/mem for a rump kernel
would probably not be hard, but still a non-zero effort).
Note: since there is absolutely no network activity in a fresh rump
kernel, rump.netstat usually displays exactly nothing when invoked
without parameters. Arguments like -r, -bi, -p icmp etc. produce
more stuff.
Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:59 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +28 -25
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Apr 12 16:08:37 2009 UTC (15 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +24 -24
lines
Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare).
Fix probable bug with numeric printing of anon ports when using sysctl.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 31 17:56:41 2009 UTC (15 years, 8 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +6 -3
lines
Pull up following revision(s) (requested by dholland in ticket #1292):
usr.bin/netstat/inet.c: revision 1.89
usr.bin/netstat/inet6.c: revision 1.51
usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 26 17:14:41 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: netbsd-5-2,
netbsd-5-1
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -3
lines
Pull up following revision(s) (requested by dholland in ticket #608):
usr.bin/netstat/inet.c: revision 1.89
usr.bin/netstat/inet6.c: revision 1.51
usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
This needs pullups for both -4 and -5.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Feb 22 07:43:01 2009 UTC (15 years, 9 months ago) by dholland
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -3
lines
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
This needs pullups for both -4 and -5.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:36:07 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +20 -26
lines
sync with head.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 24 04:09:27 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
matt-mips64-base2,
hpcarm-cleanup-nbase
Branch point for: netbsd-5,
jym-xensuspend
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +20 -26
lines
Note which things are not available by KVM, and print a nice message
stating so if someone specifically asks for it.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Apr 15 05:40:15 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +14 -14
lines
Make pim6 stats per-cpu.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Apr 15 05:13:37 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +19 -19
lines
Make raw6 stats per-cpu.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Apr 15 04:50:05 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +13 -27
lines
Use ANSI function decls throughout.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Apr 15 04:43:25 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +26 -28
lines
Make udp6 stats per-cpu.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Apr 8 23:37:43 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +63 -65
lines
Change IPv6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old ip6stat structure; old netstat
binaries will continue to work properly.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Apr 8 15:04:35 2008 UTC (16 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +46 -48
lines
Change ICMP6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old icmp6stat structure; old netstat
binaries will continue to work properly.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:49:02 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -3
lines
sync with HEAD
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Feb 16 07:16:01 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Fix more -combine fallout. (mismatched definitions)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Mar 7 22:22:50 2007 UTC (17 years, 9 months ago) by liamjfoy
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: matt-armv6
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2
lines
Add new IPv6 Fast Forward statistics
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jan 17 00:21:43 2007 UTC (17 years, 10 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -3
lines
Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Sep 22 23:21:52 2006 UTC (18 years, 2 months ago) by elad
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0
Branch point for: netbsd-4
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
PR/31347: Geoff C. Wing: netstat err message is ambiguous about cause
Applied patch, thanks!
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:17:07 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +18 -12
lines
Sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed May 31 13:26:17 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: MAIN
CVS tags: chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -3
lines
Don't print an error if kernel doesn't have INET6 support.
By Jukka Salmi on current-users.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun May 28 16:51:40 2006 UTC (18 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -10
lines
Make netstat use sysctl when dumping routing tables/stats.
Heavily based on similar code from Claudio Jeker (at OpenBSD).
While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.
One step closer to losing setgid kmem on this one...
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun May 21 21:01:56 2006 UTC (18 years, 6 months ago) by liamjfoy
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -3
lines
check if malloc(3) failed
ok joerg@
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Aug 28 21:06:57 2005 UTC (19 years, 3 months ago) by rpaulo
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +45 -14
lines
Use net.inet6.{ip6,udp6,pim6,raw6}.stats for live systems.
Reviewed by Elad Efrat.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Aug 28 16:12:35 2005 UTC (19 years, 3 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +166 -48
lines
Use net.inet6.tcp6.pcblist, net.inet6.tcp6.stats (not implemented yet) and
net.inet6.icmp6.stats if we are gathering information from a live system.
Reviewed by Elad Efrat.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Aug 4 19:41:28 2005 UTC (19 years, 4 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2
lines
Added #include <kvm.h> since netstat.h, which is included too, needs it.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Feb 13 03:15:18 2005 UTC (19 years, 9 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
print the proper pointer for the pcb address. otherwise, all the udp6
pcb addresses are the same as unrelated udp pcb addresses.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Nov 16 05:59:32 2004 UTC (20 years ago) by itojun
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -6
lines
NI_WITHSCOPEID was not picked up by IETF standardization process.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Nov 6 06:11:48 2003 UTC (21 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -4
lines
handle KAME scopeid hack for multicast addr. Matthias Drochner
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Sep 12 10:43:42 2003 UTC (21 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -5
lines
fix PR bin/22739 (netstat -nlv -f inet6 weird)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Sep 4 09:23:39 2003 UTC (21 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +18 -14
lines
synchronize w/ inpcb/in6pcb change
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:15:19 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed May 14 23:36:32 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
use proper #ifdef to determine behavior (__KAME__)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Mar 22 15:18:36 2003 UTC (21 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
it's not necessary to limit the service name artificially to 8 characters
in inet*print() - only first 'width' characters of the 'host.service'
string would be printed anyway, so allow full service name if string would fit
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Oct 26 17:06:08 2002 UTC (22 years, 1 month ago) by grant
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
fix typo, from sm@resistor.net in misc/18816.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jun 9 02:44:55 2002 UTC (22 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5
lines
use strchr, not index
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:26:16 2001 UTC (23 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +40 -2
lines
print rip6stat. sync with kame
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 10 14:25:12 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4
lines
Make the PCB address printing look like the IPv4 version.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 13 02:50:25 2001 UTC (23 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
typo
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 28 04:22:55 2001 UTC (23 years, 6 months ago) by assar
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -8
lines
add `-s' that prints port numbers symbolically but addresses numerically
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Apr 6 05:10:28 2001 UTC (23 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +13 -11
lines
pedant changes for strcpy/sprintf.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 20 17:02:33 2001 UTC (23 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +8 -3
lines
add sctp (maybe we should add it to /etc/protocols instead?)
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Feb 7 08:59:49 2001 UTC (23 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +18 -12
lines
during ip6/icmp6 inbound packet processing, do not call log() nor printf() in
normal operation (/var can get filled up by flodding bogus packets).
sysctl net.inet6.icmp6.nd6_debug will turn on diagnostic messages.
(#define ND6_DEBUG will turn it on by default)
improve stats in ND6 code.
lots of synchronziation with kame (including comments and cometic ones).
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 14 20:38:10 2000 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +90 -248
lines
try to lookup /etc/protocols for histogram
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Dec 11 17:52:43 2000 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
typo in -s message
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 23 03:46:23 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2
lines
count path MTU changes.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 18 01:32:48 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +10 -8
lines
Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Oct 11 14:46:14 2000 UTC (24 years, 1 month ago) by is
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -8
lines
More format string cleanup by sommerfeld.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Aug 13 18:41:38 2000 UTC (24 years, 3 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -8
lines
Fix netstat -ss handling for a bunch of ISO cases, so that
zero values are not printed.
"tp:" still needs some work, though.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 14:08:45 2000 UTC (24 years, 4 months ago) by itojun
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -37
lines
pullup 1.10 -> 1.11 (approved by releng-1-5)
do not print m_pulldown statistics. it is too experimental and
belongs to kame tree only (not for *bsd tree).
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 13 03:53:03 2000 UTC (24 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -37
lines
do not print m_pulldown statistics. it is too experimental and
belongs to kame tree only (not for *bsd tree).
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 6 12:40:19 2000 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +24 -3
lines
more stats. from kame
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:39:49 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +5 -3
lines
Sync w/ netbsd-1-5-base.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 16 02:08:40 2000 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -3
lines
print # of packets filtered by icmp6 rate limitation
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 17 11:54:48 2000 UTC (24 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
s/icmp/icmp6/ in message
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 26 09:55:24 2000 UTC (24 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +149 -20
lines
revise IPsec, pfkey, IPv6 multicast and IPv6 statistics. (sync with kame)
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:06 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +263 -94
lines
Pull up to last week's -current.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 16 00:58:17 1999 UTC (24 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -4
lines
Make this compile on the Alpha again.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Dec 13 15:22:55 1999 UTC (24 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +174 -16
lines
per-interface statistics.
bring in and enable KAME scopeid hack.
lots of cleanups.
(sync with latest KAME)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 19 10:44:33 1999 UTC (25 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +89 -80
lines
Change printf formats for 64bit counters.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 30 10:31:22 1999 UTC (25 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3
lines
do not include netinet/in6_systm.h, which has been empty for a while.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jul 6 13:18:46 1999 UTC (25 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1
lines
add NetBSD RCS ID.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 18:40:36 1999 UTC (25 years, 5 months ago) by itojun
Branches: MAIN
make netstat IPv6-ready.
CVSweb <webmaster@jp.NetBSD.org>