OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28, Thu Mar 14 11:18:37 2013 UTC (11 years, 2 months ago) by mpi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED

tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill.

ok krw@, mikeb@, tedu@ (implicit)

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 14 09:39:46 2012 UTC (12 years, 1 month ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use DLT_LOOP for all tunneling interfaces.
Byte order adjustment for bpf was hidden behind bpf_mtap_af() and
sizeof(u_int32_t) is used for length of the bpf header.

tested by sebastia and mxb at alumni.chalmers.se.
ok claudio

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 6 21:38:19 2010 UTC (14 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Move the net/bpf.h include done and wrap it in the ususal #if NBPFILTER > 0
block as done in other drivers. Based on an old diff by Gleydson Soares.

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 7 02:11:34 2008 UTC (16 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.24: +1 -14 lines
Diff to previous 1.24 (colored)

There is no reason to have a faithrtrequest() function that sets the MTU to
route MTU to the interface MTU. By default if no route MTU is set it will
fall back to the interface MTU anyway. OK henning@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 20 02:53:02 2007 UTC (16 years, 5 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

return with ENOTTY instead of EINVAL for unknown ioctl requests.

ok claudio@ krw@ jason@ dlg@

Revision 1.23 / (download) - annotate - [select for diffs], Sat Sep 15 16:43:51 2007 UTC (16 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

malloc sweep:
-remove useless casts
-MALLOC/FREE -> malloc/free
-use M_ZERO where appropriate instead of seperate bzero
feedback & ok krw, hshoexer

Revision 1.22 / (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.21: +2 -2 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Sat Mar 4 22:40:15 2006 UTC (18 years, 3 months ago) by brad
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Wed Jan 4 06:04:42 2006 UTC (18 years, 5 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.19: +1 -4 lines
Diff to previous 1.19 (colored)

Remove redundant calls to bpfdetach.
ok brad@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 31 03:53:38 2005 UTC (18 years, 10 months ago) by pascoe
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Missed argument in previous commit, applied separately to ease merges.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 31 03:52:18 2005 UTC (18 years, 10 months ago) by pascoe
Branch: MAIN
Changes since 1.17: +3 -19 lines
Diff to previous 1.17 (colored)

Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain
to bpf with either an address family or other header added.

These helpers only allocate a much smaller struct m_hdr on the stack when
needed, rather than leaving 256 byte struct mbufs on the stack in deep
call paths.  Also removes a fair bit of duplicated code.

commit now, tune after deraadt@

Revision 1.3.2.9 / (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.3.2.8: +45 -20 lines
Diff to previous 1.3.2.8 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 16 20:33:25 2003 UTC (20 years, 5 months ago) by markus
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexer

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 3 14:53:04 2003 UTC (20 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.15: +44 -20 lines
Diff to previous 1.15 (colored)

add support for ifconfig clone/destroy; ok henning deraadt

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

Sync SMP branch to -current

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

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

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

sync

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

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

Revision 1.14 / (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.13: +2 -2 lines
Diff to previous 1.13 (colored)

string fixes; tedu ok

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 3 01:43:07 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

just as a safety measure, set m_flags to 0 for mbufs allocated on stack.
dhartmei ok

Revision 1.3.2.6 / (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.3.2.5: +2 -9 lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored)

Sync the SMP branch with 3.3

Revision 1.8.4.3 / (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.8.4.2: +2 -1 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored)

sync to -current

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 30 13:04:36 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (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.8.4.2 / (download) - annotate - [select for diffs], Tue Jun 11 03:30:45 2002 UTC (21 years, 11 months ago) by art
Branch: UBC
Changes since 1.8.4.1: +7 -15 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)

Sync UBC branch to -current

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 4 22:14:16 2002 UTC (22 years ago) by itojun
Branch: MAIN
Changes since 1.10: +2 -10 lines
Diff to previous 1.10 (colored)

no need to specify rmx_send/recvpipe.

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Thu Mar 28 14:57:36 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.3.2.4: +5 -5 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored)

Merge in -current from roughly a week ago

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:09 2002 UTC (22 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

First round of __P removal in sys

Revision 1.3.2.4 / (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.3.2.3: +12 -12 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)

Merge in trunk

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Thu Jan 31 22:55:43 2002 UTC (22 years, 4 months ago) by niklas
Branch: UBC
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored)

Merge in -current, builds on i386, otherwise untested

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 26 06:29:01 2001 UTC (22 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored)

cosmetic

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Oct 31 03:29:02 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.3.2.2: +1 -0 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 10 02:57:10 2001 UTC (22 years, 10 months ago) by fgsch
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)

another lame OpenBSD tag.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:54:00 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.3.2.1: +0 -8 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (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.7 / (download) - annotate - [select for diffs], Sat Jun 9 06:30:16 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.6: +0 -6 lines
Diff to previous 1.6 (colored)

Include cleanup.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jun 9 06:23:06 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.5: +0 -2 lines
Diff to previous 1.5 (colored)

These don't need net_osdep.h

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:00 2001 UTC (23 years ago) by niklas
Branch: SMP
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 20 10:33:28 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

use u_int32_t, not u_int, for DLT_NULL encapsulation.  sync with kame

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 19 06:37:36 2001 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).

have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument.
pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest.
3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr *
(almost noone is using it anyways).

benefit: the follwoing command now works.  previously we need two route(8)
invocations, "add" then "change".
# route add -inet6 default ::1 -ifp gif0

remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *.  it was
introduced by 4.3BSD-reno and never corrected.

XXX is eon_rtrequest() change correct regarding to 3rd arg?
eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno,
so i do not have correct answer in the source code.
someone with more clue about netiso-over-ip, please help.

Revision 1.3 / (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_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

fix include file path related to ip6.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 7 19:31:29 2000 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.1: +1 -49 lines
Diff to previous 1.1 (colored)

ifdef cleanup

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 8 06:50:17 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: kame_19991208

bring in KAME IPv6 code, dated 19991208.
replaces NRL IPv6 layer.  reuses NRL pcb layer.  no IPsec-on-v6 support.
see sys/netinet6/{TODO,IMPLEMENTATION} for more details.

GENERIC configuration should work fine as before.  GENERIC.v6 works fine
as well, but you'll need KAME userland tools to play with IPv6 (will be
bringed into soon).

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.