OpenBSD CVS

CVS log for src/usr.bin/netstat/if.c


[BACK] Up to [local] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.81 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:12 2023 UTC (14 months, 1 week ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.80 / (download) - annotate - [select for diffs], Thu Sep 8 13:18:47 2022 UTC (20 months, 1 week ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.79: +1 -7 lines
Diff to previous 1.79 (colored)

Remove useless -t

"Make if.c kvm free by fetching the interface stats via sysctl ..."
if.c r1.56 in 2008 neutered the -d and -t flags.

-d functionality was eventually restored with if.c r1.76 in 2015.

-t has been printing zeroes for over fourteen now; this cannot have been
useful to anyone and noone complained about a wrong watchdog timer values.

Remove -t entirely without printing a warning;  `netstat -t ...' now fails.

Feedback jsg
OK jsg bluhm

Revision 1.79 / (download) - annotate - [select for diffs], Fri Aug 26 18:37:44 2022 UTC (20 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored)

Remove stale comment about nonexistent ifnetaddr

Obsolete since if.c r1.56 (2008)
"Make if.c kvm free by fetching the interface stats via sysctl [...]".

Revision 1.78 / (download) - annotate - [select for diffs], Mon Nov 29 06:39:23 2021 UTC (2 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

local copy of roundup() means no more sys/param.h

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jan 16 17:42:52 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored)

Unle recover the scope_id from a possible embedded scope if the scope_id
is not initalized. Do not reset the scope_id if it was already set.
OK bluhm@ florian@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:02 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Mar 4 21:32:26 2019 UTC (5 years, 2 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.74: +76 -38 lines
Diff to previous 1.74 (colored)

when showing interface stats, combine the queue drops with errors as fails

if you want to see errors or queue drops on their own, use -e or
-d respectively.

ok claudio@ deraadt@

Revision 1.74 / (download) - annotate - [select for diffs], Mon Oct 5 15:40:39 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.73: +7 -10 lines
Diff to previous 1.73 (colored)

Handle ifi_oqdrops in netstat(8).

OK mpi@ dlg@

Revision 1.73 / (download) - annotate - [select for diffs], Thu Feb 12 13:06:47 2015 UTC (9 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Initialize buffer pointers passed to get_sysctl to NULL; otherwise they point
to random memory so when the sysctl-estimate is too small, the realloc() fails.
Problem reported by Ze Loff, ok claudio

Revision 1.72 / (download) - annotate - [select for diffs], Mon Feb 9 12:25:03 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.71: +4 -14 lines
Diff to previous 1.71 (colored)

Get rid of another KVM reader and convert the multicast output to use
the new sysctls. Looks good deraadt@

Revision 1.71 / (download) - annotate - [select for diffs], Sun Feb 8 04:25:56 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.70: +1 -49 lines
Diff to previous 1.70 (colored)

The multicast address printing code has been disabled for 7 years.
Nobody complained about it missing. It is time to kill it for real.
OK phessler, henning, deraadt

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:09 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.69 / (download) - annotate - [select for diffs], Fri Nov 21 17:49:00 2014 UTC (9 years, 5 months ago) by mikeb
Branch: MAIN
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

remove pointless if_var.h and socketvar.h includes; ok deraadt

Revision 1.68 / (download) - annotate - [select for diffs], Mon Jun 23 03:46:17 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

The second level of the CTL_NET sysctl is a PF_*, not an AF_*

inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)

Revision 1.67 / (download) - annotate - [select for diffs], Thu Nov 21 17:32:13 2013 UTC (10 years, 5 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

split kernel parts of the if.h into a separate header file if_var.h
which allows us to modify ifnet structure in a relatively safe way;
discussed with deraadt, ok mpi

Revision 1.66 / (download) - annotate - [select for diffs], Sun Aug 26 19:42:53 2012 UTC (11 years, 8 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

oops, i added a stray character.  spotted by jmc

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 22 00:11:57 2012 UTC (11 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.64: +38 -16 lines
Diff to previous 1.64 (colored)

-h flag to print human numbers in conjunction with -w -b

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 9 00:45:40 2011 UTC (12 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.63: +1 -5 lines
Diff to previous 1.63 (colored)

rmove rotten netatalk bits

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jan 9 19:12:19 2011 UTC (13 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.62: +54 -2 lines
Diff to previous 1.62 (colored)

have netstat -w default to the first egress interface, which is usually more
interesting than whatever happens to be the last interface.
ok deraadt nicm

Revision 1.62 / (download) - annotate - [select for diffs], Sun Nov 22 22:22:14 2009 UTC (14 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.61: +8 -7 lines
Diff to previous 1.61 (colored)

don't repeat the banner if not a tty.
add a -c count option to netstat.
tweak spacing to not smear fields in vmstat.
ok deraadt sthen

Revision 1.61 / (download) - annotate - [select for diffs], Tue Aug 4 03:45:47 2009 UTC (14 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.60: +4 -5 lines
Diff to previous 1.60 (colored)

fix some warnings.  there are others, but nobody wants to look at them.
ok deraadt

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 7 15:06:04 2009 UTC (15 years, 3 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

add missing headers needed for warn() and err().

ok claudio@ ray@

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jan 26 20:30:26 2009 UTC (15 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

NULL instead of 0 in comparison

Revision 1.58 / (download) - annotate - [select for diffs], Wed Dec 24 16:53:22 2008 UTC (15 years, 4 months ago) by dhill
Branch: MAIN
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored)

Plug a couple of memory leaks noticed by deraadt.

ok otto@

Revision 1.57 / (download) - annotate - [select for diffs], Tue Mar 18 20:03:37 2008 UTC (16 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

Make -I work correctly. RTM_NEWADDR needs to filter the ifname as well.
Found by and tested jmc@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jan 3 21:01:40 2008 UTC (16 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.55: +390 -346 lines
Diff to previous 1.55 (colored)

Make if.c kvm free by fetching the interface stats via sysctl like in systat
and ospfd. What is not yet covered is the -d and -t flags to show interface
queue drops and the if_timer.
OK deraadt@

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 19 01:47:00 2007 UTC (16 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.54: +1 -9 lines
Diff to previous 1.54 (colored)

delete rcsid crud

Revision 1.54 / (download) - annotate - [select for diffs], Fri Dec 14 18:35:46 2007 UTC (16 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +2 -8 lines
Diff to previous 1.53 (colored)

remove 21 nlist variables, and instead use sysctl to query the kernel
turn on INET6 the default (remove the #ifdef's)
ok claudio reyk

Revision 1.53 / (download) - annotate - [select for diffs], Tue Sep 11 16:14:41 2007 UTC (16 years, 8 months ago) by mk
Branch: MAIN
Changes since 1.52: +16 -16 lines
Diff to previous 1.52 (colored)

More 64 bits counters fixes.

From brad.

ok mk claudio

Revision 1.52 / (download) - annotate - [select for diffs], Wed Sep 5 20:27:04 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.51: +6 -5 lines
Diff to previous 1.51 (colored)

Counters switched to u_int64_t so use %llu to print them.
Found by and OK mk@ + OK mglocker@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 15 01:25:05 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Don't truncate interface name.

Fixes PR 5460.

OK deraadt, agreed with by krw.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 4 12:20:24 2007 UTC (16 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.49: +2 -39 lines
Diff to previous 1.49 (colored)

remove IPX support, agreed by many

Revision 1.49 / (download) - annotate - [select for diffs], Fri Nov 17 01:11:23 2006 UTC (17 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.48: +4 -3 lines
Diff to previous 1.48 (colored)

change semantics of ff01::/16 to interface local multicast
(to sync up with more recent IPv6 spec)

ok from: deraadt mcbride

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 27 19:24:01 2006 UTC (17 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.47: +3 -22 lines
Diff to previous 1.47 (colored)

Kill upHex and use %X instead. Crazy old code found by deraadt.

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 27 19:16:37 2006 UTC (17 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.46: +44 -7 lines
Diff to previous 1.46 (colored)

Moving netstat from kvm snooping to retrieving the routing tables via
sysctl. Most code is stolen from route -- which was stolen from netstat.
kvm snooping code is still in and useable. Put it in deraadt@ henning@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 11 17:25:03 2005 UTC (18 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

ARGSUSED

Revision 1.45 / (download) - annotate - [select for diffs], Mon Oct 17 19:09:36 2005 UTC (18 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.44: +13 -13 lines
Diff to previous 1.44 (colored)

Use queue macros instead of directly accessing fields. ok pat@ "put it
in" deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 8 04:47:04 2005 UTC (18 years, 11 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.43: +2 -21 lines
Diff to previous 1.43 (colored)

bye bye, Xerox NS protocols

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 25 17:01:03 2005 UTC (19 years, 1 month ago) by jaredy
Branch: MAIN
Changes since 1.42: +10 -12 lines
Diff to previous 1.42 (colored)

kill unneeded (char *) casts.  ok millert, otto

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 13 16:05:50 2005 UTC (19 years, 2 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

make 'netstat -i' print carp link addresses correctly.
ok mcbride@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 4 20:22:16 2005 UTC (19 years, 2 months ago) by jaredy
Branch: MAIN
Changes since 1.40: +11 -11 lines
Diff to previous 1.40 (colored)

remove unneeded casts of if stats; ok krw miod dhartmei

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 2 16:47:56 2005 UTC (19 years, 2 months ago) by dhartmei
Branch: MAIN
Changes since 1.39: +10 -10 lines
Diff to previous 1.39 (colored)

make counters in struct iftot u_long instead of int, as they overflow
on amd64. from Peter Philipp. closes PR 4107.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 25 20:05:40 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.38: +2 -5 lines
Diff to previous 1.38 (colored)

remove netiso

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 13 22:02:13 2004 UTC (20 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

some NULL vs 0 and knf; parts from nimadeus@pandora.be

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 26 06:17:02 2003 UTC (20 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

fix columns; sahara@surt.net

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 10 00:06:51 2003 UTC (20 years, 10 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

add missing includes
ok deraadt@ tedu@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:13 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 14 23:37:05 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

use __KAME__ to determine kame-based kernel.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 1 01:51:31 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.32: +7 -13 lines
Diff to previous 1.32 (colored)

ansi

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jun 19 23:40:20 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

use macro to determine link-local multicast addr

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 19 15:12:09 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.30: +19 -10 lines
Diff to previous 1.30 (colored)

decode embedded scopeid on -inalv multicast address printing

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 27 01:50:36 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +8 -8 lines
Diff to previous 1.29 (colored)

a night of cleanup, so i can read this easier

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:50 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 17 21:34:58 2002 UTC (22 years, 4 months ago) by mickey
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

evil, annoying spaces and tabs

Revision 1.27 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

kill more registers

millert@ ok

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 4 23:35:59 2001 UTC (22 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.25: +7 -9 lines
Diff to previous 1.25 (colored)

Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 26 09:42:04 2001 UTC (22 years, 8 months ago) by brian
Branch: MAIN
Changes since 1.24: +19 -2 lines
Diff to previous 1.24 (colored)

Add a -q to silence zero-output lines and fix some whitespace and text nits.

Submitted by:	Sam Smith <S@mSmith.net>
Ok:		theo

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 18 17:17:39 2001 UTC (22 years, 10 months ago) by pvalchev
Branch: MAIN
Changes since 1.23: +9 -10 lines
Diff to previous 1.23 (colored)

-Wall cleanup

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 6 05:24:10 2001 UTC (23 years, 3 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

If sdl type is ISO88025, print the address using `:' as well.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 13 15:52:58 2000 UTC (23 years, 5 months ago) by camield
Branch: MAIN
Changes since 1.21: +85 -35 lines
Diff to previous 1.21 (colored)

Bytecounter stats. (-b switch)
From NetBSD. ok itojun@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 23 19:17:08 2000 UTC (23 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

fix a few signed/unsigned/long printf formats; millert@ & deraadt@ ok

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 5 18:46:50 2000 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.19: +43 -13 lines
Diff to previous 1.19 (colored)

fix -in printing on IPv6 (network portion was not masked properly).
enable scopeid for -in.
don't truncate output on -inv.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 18 05:39:34 2000 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.18: +23 -3 lines
Diff to previous 1.18 (colored)

print IPv6 multicast groups on -ia.
align multicast addresses on output (broken on 1.15 -> 1.16).

Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 8 12:30:17 1999 UTC (24 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.17: +17 -2 lines
Diff to previous 1.17 (colored)

add IPv6 support from KAME.  cleanup type matches with printf() format.
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 27 12:07:32 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.16: +8 -6 lines
Diff to previous 1.16 (colored)

oflow paranoia

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 25 04:28:59 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

make CIA fit
make interface names fit

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 23 04:38:33 1997 UTC (26 years, 10 months ago) by denny
Branch: MAIN
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

Add AppleTalk support. TODO: route.c does not handle netranges.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 30 03:11:53 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Make "netstat -ia" line up nicely.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 29 21:46:00 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Use correct spacing on both 32bit and 64bit machines.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 29 20:52:39 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Make fields line up nicely for 64-bit addresses.  Should probably #if
some things based on sizeof(long).

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 29 20:17:58 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.10: +9 -8 lines
Diff to previous 1.10 (colored)

Mostly clean -Wall + 64bit issues.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 17 07:12:55 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

r?index -> strr?chr

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 16 09:38:56 1996 UTC (27 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

ipx.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 16 09:29:32 1996 UTC (27 years, 9 months ago) by mickey
Branch: MAIN
Changes since 1.7: +20 -2 lines
Diff to previous 1.7 (colored)

ipx.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:20 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

rcsid

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 18 09:58:05 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +5 -7 lines
Diff to previous 1.5 (colored)

from netbsd Fix missing `)' in the sideways view of interfaces
(i.e. netstat -w 1). Bug pointed out by Chris G. Demetriou.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 16 12:42:29 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +13 -5 lines
Diff to previous 1.4 (colored)

print ether/fddi addresses seperated by : not .; netbsd pr#2473; from jhawk@mit.edu

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 10 07:48:31 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +9 -4 lines
Diff to previous 1.3 (colored)

handle up to 100 interfaces, nice message for non-existing interface

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 10 13:02:34 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.2: +33 -21 lines
Diff to previous 1.2 (colored)

if_name/if_unit -> if_xname/if_softc
network list is a TAILQ

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:31:11 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

resize an output field

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:50 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:50 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.