OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34, Tue Aug 20 09:14:23 2013 UTC (10 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.33: +1 -1 lines
FILE REMOVED

tedu netnatm and ueagle(4).

ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 28 16:55:27 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

do not include machine/cpu.h from a .c file; it is the responsibility of
.h files to pull it in, if needed
ok tedu

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 24 14:43:56 2010 UTC (13 years, 9 months ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.31: +7 -5 lines
Diff to previous 1.31 (colored)

legibility fixes:

1) one statement per line
2) label gets its own line, and doesn't share it with a statement

no functional change

"Let the turd shine." claudio@

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 7 13:33:16 2010 UTC (14 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1
accept flags for report and nocloning. Move the rtableid into struct route
(with a minor twist for now) and make a few more codepathes rdomain aware.
Appart from the pf.c and route.c bits the diff is mostly mechanical.
More to come...
OK michele, henning

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 1 08:14:26 2010 UTC (14 years, 1 month ago) by mk
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

incomming -> incoming

The ones found in gnu/ left out by intention.

ok jmc

Revision 1.29 / (download) - annotate - [select for diffs], Tue Nov 3 10:59:04 2009 UTC (14 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

rtables are stacked on rdomains (it is possible to have multiple routing
tables on top of a rdomain) but until now our code was a crazy mix so that
it was impossible to correctly use rtables in that case. Additionally pf(4)
only knows about rtables and not about rdomains. This is especially bad when
tracking (possibly conflicting) states in various domains.
This diff fixes all or most of these issues. It adds a lookup function to
get the rdomain id based on a rtable id. Makes pf understand rdomains and
allows pf to move packets between rdomains (it is similar to NAT).
Because pf states now track the rdomain id as well it is necessary to modify
the pfsync wire format. So old and new systems will not sync up.
A lot of help by dlg@, tested by sthen@, jsg@ and probably more
OK dlg@, mpf@, deraadt@

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 8 15:01:50 2009 UTC (14 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.27: +14 -1 lines
Diff to previous 1.27 (colored)

Add the same routing domain assignments and checks into the not so used
protocols as it is currently in if_ethersubr.c. OK reyk@

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 7 13:45:35 2008 UTC (16 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

enable tx mitigation when putting packets on the wire by switching from
calls to ifp->if_start to if_start(). these are the obviously right cases
where we can do that, the less obvious ones may follow as theyre figured
out.

deraadt@ said to go for it

Revision 1.26 / (download) - annotate - [select for diffs], Sat Mar 4 22:40:15 2006 UTC (18 years, 3 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

With the exception of two other small uncommited diffs this moves
the remainder of the network stack from splimp to splnet.

ok miod@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 30 02:39:24 2005 UTC (18 years, 8 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.24: +1 -24 lines
Diff to previous 1.24 (colored)

remove old unused NRL IPv6 code.

ok deraadt@

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

Merge with the trunk

Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 17 04:19:33 2004 UTC (20 years, 1 month ago) by henning
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

unbreak

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 17 00:09:01 2004 UTC (20 years, 1 month ago) by henning
Branch: MAIN
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

add a congestion indicator to if_queue. It is set when the input queue
is full, along with a timer that unsets it again after 10ms.
The input queue beeing full is a reliable indicator for CPU overload, and
this flag allows other subsystems to cope with the situation.
hacked with beck
ok kjc@ markus@ beck@

Revision 1.12.2.5 / (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.12.2.4: +5 -5 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.22 / (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.21: +6 -6 lines
Diff to previous 1.21 (colored)

de-register.  deraadt ok

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Mon May 19 22:30:08 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.18.2.1: +2 -10 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync

Revision 1.12.2.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.12.2.3: +4 -26 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)

Sync the SMP branch with 3.3

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

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

ok henning@, deraadt@

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:45 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.18: +4 -18 lines
Diff to previous 1.18 (colored)

sync to -current

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 30 14:09:32 2002 UTC (21 years, 11 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)

Fix fallout from recent changes.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jun 30 13:04:35 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.18: +3 -15 lines
Diff to previous 1.18 (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.12.2.3 / (download) - annotate - [select for diffs], Wed Mar 6 02:15:06 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.12.2.2: +42 -14 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

Merge in trunk

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 18 23:07:49 2001 UTC (22 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_1_BASE, OPENBSD_3_1
Branch point for: UBC
Changes since 1.17: +39 -11 lines
Diff to previous 1.17 (colored)

NRL license cleaning

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 9 13:09:13 2001 UTC (22 years, 6 months ago) by jason
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Use queue.h TAILQ macros instead of accessing members directly.
(And convert a few loops to TAILQ_FOREACH).

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:53:55 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.12.2.1: +17 -19 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (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.16 / (download) - annotate - [select for diffs], Wed Jun 27 06:07:38 2001 UTC (22 years, 11 months ago) by kjc
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.15: +15 -16 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Fri Jun 15 03:38:33 2001 UTC (23 years ago) by itojun
Branch: MAIN
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (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.12.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:39:59 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.12: +29 -13 lines
Diff to previous 1.12 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 11 17:20:10 2001 UTC (23 years, 1 month ago) by aaron
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ ok

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 12 04:09:11 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.12: +29 -13 lines
Diff to previous 1.12 (colored)

make it compile with INET6 defined.  the old INET6 code was from NRL,
and L2 macros were different.  not really tested.  sync with kame/ALTQ.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 7 06:09:08 2000 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: SMP_BASE, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

fix include file path related to ip6.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 4 00:04:18 1999 UTC (25 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.10: +46 -1 lines
Diff to previous 1.10 (colored)

ipv6 support for atm

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 16 07:36:41 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

proper htons() and ntohs() handling in output/input, i think

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 25 23:57:36 1998 UTC (26 years, 2 months ago) by chuck
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Add a missing ntohs.  fixes llc/snap connections.
from: bouyer@netbsd

Revision 1.8 / (download) - annotate - [select for diffs], Sat Nov 9 23:02:32 1996 UTC (27 years, 7 months ago) by chuck
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

fix previous byte-order fix the correct way
(from Zdenek Salvet <salvet@horn.ics.muni.cz>)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 18 19:28:17 1996 UTC (27 years, 7 months ago) by chuck
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

fix: add missing ntohs() for llc mode, as noted by several people including
Dong Lin, Zdenek Salvet, and Matthias Drochner(i think).

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 3 17:14:30 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.5: +20 -3 lines
Diff to previous 1.5 (colored)

ported to FreeBSD 2.2-960612-SNAP.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 29 20:05:41 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.4: +9 -5 lines
Diff to previous 1.4 (colored)

change:
  - change asock to rxhand and adjust all for this [esp atm_input]

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 27 04:33:10 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.3: +42 -26 lines
Diff to previous 1.3 (colored)

fix/improvement:
 - add proto if atm_input
 - add native mode atm hooks to if_atmsubr.c (atm_input)

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 04:21:32 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.2: +47 -31 lines
Diff to previous 1.2 (colored)

[1] add new rxso passing structure to if_atm.h
[2] modify atm_output to handle native mode atm output mbufs

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 21 21:35:19 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

use correct copyright

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 21 15:13:40 1996 UTC (27 years, 11 months ago) by chuck
Branch: MAIN

network support for ATM networks (ATM == Async Transfer Mode, not
Automatic Teller Machine).

Currently supports PVCs only (no ATM ARP either).

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.