OpenBSD CVS

CVS log for src/sys/net/Attic/if_strip.c


[BACK] Up to [local] / src / sys / net

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37, Tue Aug 25 16:16:34 2009 UTC (14 years, 9 months ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.36: +1 -1 lines
FILE REMOVED

Remove support for packet mode of Metricom Ricochet radios.
It currently doesn't compile and this is unlikely to change
as there are many alternatives now since we no longer live
in the early 1990s and Metricom went bankrupt some time ago.

ok many @

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 19 08:16:06 2009 UTC (14 years, 10 months ago) by blambert
Branch: MAIN
Changes since 1.35: +2 -6 lines
Diff to previous 1.35 (colored)

clalloc() can't fail, so there's no need to handle failure cases.
Change to void function.
Also, no need to have global tty stats pointer, so just return it
from clalloc, as the caller frees it immediately anyway.

ok miod@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 22 23:04:45 2008 UTC (15 years, 7 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

#if INET  => #ifdef INET
#if INET6 => #ifdef INET6

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 10 14:01:23 2008 UTC (15 years, 9 months ago) by blambert
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Convert timeout_add() calls using multiples of hz to timeout_add_sec()

Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.

ok art@, krw@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 27 16:22:13 2007 UTC (16 years, 6 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

typos;  ok jmc@
sys/dev/pci/pciide.c from naddy@

Revision 1.32 / (download) - annotate - [select for diffs], Sat Mar 25 22:41:47 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

allow bpf(4) to ignore packets based on their direction (inbound or
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 11 22:44:47 2006 UTC (18 years, 3 months ago) by brad
Branch: MAIN
Changes since 1.30: +11 -11 lines
Diff to previous 1.30 (colored)

splimp -> spltty/splnet

ok miod@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 24 19:35:25 2004 UTC (19 years, 11 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.29: +8 -7 lines
Diff to previous 1.29 (colored)

This moves access to wall and uptime variables in MI code,
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.

It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code.  Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.

ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 21 23:50:36 2004 UTC (19 years, 11 months ago) by tholo
Branch: MAIN
Changes since 1.28: +10 -10 lines
Diff to previous 1.28 (colored)

First step towards more sane time handling in the kernel -- this changes
things such that code that only need a second-resolution uptime or wall
time, and used to get that from time.tv_secs or mono_time.tv_secs now get
this from separate time_t globals time_second and time_uptime.

ok art@ niklas@ nordin@

Revision 1.11.4.8 / (download) - annotate - [select for diffs], Sat Jun 5 23:11:24 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.11.4.7: +2 -0 lines
Diff to previous 1.11.4.7 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Merge with the trunk

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 25 18:50:01 2004 UTC (20 years, 1 month ago) by henning
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

check for input queue congestion on those as well and call if_congestion when
needed; these  are slightly different so that we cannot use the new
IF_INPUT_ENQUEUE macro
deraadt ok

Revision 1.11.4.7 / (download) - annotate - [select for diffs], Thu Feb 19 10:57:21 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.11.4.6: +50 -50 lines
Diff to previous 1.11.4.6 (colored) to branchpoint 1.11 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 10 07:22:42 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.26: +49 -49 lines
Diff to previous 1.26 (colored)

de-register.  deraadt ok

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 15 20:32:19 2003 UTC (20 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

change arguments to suser.  suser now takes the process, and a flags
argument.  old cred only calls user suser_ucred.  this will allow future
work to more flexibly implement the idea of a root process.  looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@  testing and further review miod@

Revision 1.11.4.6 / (download) - annotate - [select for diffs], Sat Jun 7 11:06:06 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.11.4.5: +2 -6 lines
Diff to previous 1.11.4.5 (colored) to branchpoint 1.11 (colored)

Sync SMP branch to -current

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:12 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.24: +2 -6 lines
Diff to previous 1.24 (colored)

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

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:30:41 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.15.4.2: +4 -9 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync

Revision 1.11.4.5 / (download) - annotate - [select for diffs], Tue May 13 19:36:15 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.11.4.4: +3 -2 lines
Diff to previous 1.11.4.4 (colored) to branchpoint 1.11 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.24 / (download) - annotate - [select for diffs], Sat May 3 21:15:11 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

string fixes; tedu ok

Revision 1.11.4.4 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:28 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.11.4.3: +18 -25 lines
Diff to previous 1.11.4.3 (colored) to branchpoint 1.11 (colored)

Sync the SMP branch with 3.3

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 7 09:00:33 2003 UTC (21 years, 5 months ago) by kjc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.22: +2 -8 lines
Diff to previous 1.22 (colored)

remove the altq classifier code which is replaced by pf and no longer used.

ok henning@, deraadt@

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:46 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.15.4.1: +18 -19 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

sync to -current

Revision 1.22 / (download) - annotate - [select for diffs], Wed Sep 11 05:38:47 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.21: +14 -14 lines
Diff to previous 1.21 (colored)

KNF - return is not a function.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 30 23:30:50 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

no need for check if m0 is NULL, as we have touched it already.
From: tedu <grendel@zeitbombe.org>

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 30 13:04:36 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always know
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach().
from netbsd.  fgs ok

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 24 00:17:29 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.18: +3 -5 lines
Diff to previous 1.18 (colored)

KNF

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:30:45 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.15: +25 -19 lines
Diff to previous 1.15 (colored)

Sync UBC branch to -current

Revision 1.11.4.3 / (download) - annotate - [select for diffs], Thu Mar 28 14:57:37 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.11.4.2: +25 -19 lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored)

Merge in -current from roughly a week ago

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 14 03:16:10 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

Final __P removal plus some cosmetic fixups

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:09 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.16: +17 -17 lines
Diff to previous 1.16 (colored)

First round of __P removal in sys

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 12 09:51:20 2002 UTC (22 years, 3 months ago) by kjc
Branch: MAIN
Changes since 1.15: +7 -1 lines
Diff to previous 1.15 (colored)

sync with KAME
ALTQify more drivers.
ok millert@

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:54:08 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.11.4.1: +29 -16 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 27 06:07:44 2001 UTC (22 years, 11 months ago) by kjc
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.14: +24 -11 lines
Diff to previous 1.14 (colored)

introduce the ALTQ queue macros into sys/net files.
the new model removes direct references to the fields in ifp->if_snd,
and defines the following macros to manipulate ifp->if_snd.
  IFQ_ENQUEUE(ifq, m, pktattr, err)
  IFQ_DEQUEUE(ifq, m)
  IFQ_POLL(ifq, m)
  IFQ_PURGE(ifq)
  IFQ_IS_EMPTY(ifq)

the new model also enforces some rules regarding how to use these macros.
details are descrined in
http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 15 03:38:34 2001 UTC (23 years ago) by itojun
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).

was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:02 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.11: +30 -18 lines
Diff to previous 1.11 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 30 01:02:55 2000 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.12: +24 -14 lines
Diff to previous 1.12 (colored)

Fix PR 342: the problem was that the code was assuming that when the
strip interface was configured up, a tty was already associated with
it -- and proceeded to probe/reset/initialize it through a watchdog
routine...

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 26 22:51:01 2000 UTC (23 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.11: +7 -5 lines
Diff to previous 1.11 (colored)

New timeouts.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 22 20:02:43 1999 UTC (25 years, 1 month ago) by art
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: SMP
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

we don't need to include buf.h

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 10 12:00:46 1998 UTC (26 years, 4 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

undef SLMTU if it's been externally defined

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 5 04:27:02 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Minor changes from ppp 2.3.1

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 20 09:30:55 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

strip%d not st%d

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 1 20:40:56 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

pass Wstrict-prototypes; grr, PR#193

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 24 13:34:01 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

OpenBSD tags + some prototyping police

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 4 01:58:56 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +506 -291 lines
Diff to previous 1.4 (colored)

sync to netbsd 0901

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 22 00:35:53 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +9 -9 lines
Diff to previous 1.3 (colored)

__OpenBSD__

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 27 11:07:53 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +199 -113 lines
Diff to previous 1.2 (colored)

various fixes

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 10 07:28:27 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

init sc_unit properly

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 22 11:48:25 1996 UTC (28 years ago) by deraadt
Branch: MAIN

sync

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.