OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 5 22:36:19 2021 UTC (2 years, 5 months ago) by deraadt
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, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

sys/select.h is not needed, if howmany/NBBY are needed they will arrive
via netinet/in.h and sys/time.h, which I must say surprises me a bit

Revision 1.19 / (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_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Thu Apr 26 12:42:51 2018 UTC (6 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.17: +2 -4 lines
Diff to previous 1.17 (colored)

Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.

ok deraadt@ krw@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 27 04:13:43 2016 UTC (7 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.h

ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 5 17:11:42 2016 UTC (7 years, 11 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

In netstat, display correct counter for 'no basic MCS set' error.
ok sthen@ tb@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 28 14:46:50 2016 UTC (8 years ago) by stsp
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Display block ack window slide counter.
with and ok tb@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 27 11:59:03 2016 UTC (8 years ago) by stsp
Branch: MAIN
Changes since 1.13: +25 -1 lines
Diff to previous 1.13 (colored)

Make netstat -W show new 802.11n counters. Requires a new kernel.
ok deraadt mpi

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:10 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (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.12 / (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.11: +1 -2 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 14 12:55:50 2014 UTC (9 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

No need for <netinet/in_systm.h> nor <netinet/tcpip.h>.

Revision 1.10 / (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_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Wed Dec 5 23:20:25 2012 UTC (11 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 13 20:20:49 2012 UTC (11 years, 10 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Label node allocation failures as such in netstat -W output.
"Input packets dropped" isn't really a good description of what
happened when we failed to allocate a new node in the net80211 stack.
This allocation doesn't happen for every packet, only for new nodes
that appear in reach of the antenna.
ok net80211 expert department (we have vacancies, apply within)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 4 23:48:15 2011 UTC (13 years, 2 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

kill is_rx_elem_unknown.
damien@ ok. ports checked by sthen@.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 17 19:27:40 2008 UTC (15 years, 5 months ago) by jcs
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.5: +18 -4 lines
Diff to previous 1.5 (colored)

add some newly created stats that are defined in ieee80211_ioctl.h
but not shown here

update some descriptions to show that they are for wpa as well as
wep

input from and ok damien@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 14 20:33:47 2007 UTC (16 years, 9 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Prevent sneaking in unencrypted packets into WEP traffic.
ok damien@, put it ok deraadt@

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 19 05:29:26 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

err(3) was being called but was missing an include, and end: was
unused.

OK markus and itojun

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 18 17:53:12 2005 UTC (18 years, 5 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update my e-mail address in the copyright statement, no binary changes.

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 15 18:26:13 2005 UTC (19 years ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.1: +7 -10 lines
Diff to previous 1.1 (colored)

simple error message cleanup

ok henning@, suggested by deraadt@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 12 14:11:49 2005 UTC (19 years, 1 month ago) by reyk
Branch: MAIN

add '-W interface' for 802.11 wireless statistics of the net80211 stack.

ok dlg@ deraadt@ jmc@

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.