OpenBSD CVS

CVS log for src/sys/netinet/ip_mroute.h


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Thu May 5 13:57:40 2022 UTC (2 years, 1 month ago) by claudio
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, HEAD
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Use static objects for struct rttimer_queue instead of dynamically
allocate them.

Currently there are 6 rttimer_queues and not many more will follow. So
change rt_timer_queue_create() to rt_timer_queue_init() which now takes
a struct rttimer_queue * as argument which will be initialized.
Since this changes the gloabl vars from pointer to struct adjust other
callers as well.
OK bluhm@

Revision 1.30 / (download) - annotate - [select for diffs], Wed May 4 16:52:10 2022 UTC (2 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Move rttimer callback function from the rttimer itself to rttimer_queue.
All users use the same callback per queue so that makes sense.
Also replace rt_timer_queue_destroy() with rt_timer_queue_flush().
OK bluhm@

Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 28 17:27:14 2022 UTC (2 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

In the multicast router code don't allocate a rt timer queue for each
rdomain. The rttimer API is rtable/rdomain aware and so there is no need
to have so many queues.
Also init the two queues (one for IPv4 and one for IPv6) early on. This
will allow the rttable code to become simpler.
OK bluhm@

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 1 20:59:47 2017 UTC (7 years, 4 months ago) by dhill
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, 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, OPENBSD_6_5_BASE, OPENBSD_6_5, 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
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

In sogetopt, preallocate an mbuf to avoid using sleeping mallocs with
the netlock held.  This also changes the prototypes of the *ctloutput
functions to take an mbuf instead of an mbuf pointer.

help, guidance from bluhm@ and mpi@
ok bluhm@

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 12 08:22:42 2017 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.26: +1 -73 lines
Diff to previous 1.26 (colored)

Clean up multicast files from unused definitions and comments.

ok mpi@

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 11 13:17:35 2017 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.25: +7 -9 lines
Diff to previous 1.25 (colored)

Remove mfc hash tables and use the OpenBSD routing table for multicast
routes. Beside the code simplification and removal, we also get to see
the multicast routes now in the route(8) utility.

ok mpi@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jan 6 14:01:19 2017 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Remove the global viftable vector that holds the virtual interfaces
configuration and instead use ifnet to store the configuration and
counters. With this we can safely use multicast routing daemons on
multiple domains without vif id colisions.

ok mpi@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 22 11:04:44 2016 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.23: +3 -9 lines
Diff to previous 1.23 (colored)

Remove PIM support from the multicast stack.

ok mpi@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 20 09:33:13 2016 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

Remove unused timeout that was never being set.

ok reyk@

Revision 1.22 / (download) - annotate - [select for diffs], Mon Dec 19 12:52:41 2016 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Kill unused function.

ok mpi@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 19 09:22:24 2016 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Extend the multicast sockets and multicast hash table support to multiple
domains. This is one step towards supporting to run more than one multicast
socket in different domains at the same time.

ok mpi@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 29 15:52:12 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Kill unused 'struct route'.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 9 12:18:19 2015 UTC (9 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.18: +26 -1 lines
Diff to previous 1.18 (colored)

Implement 2 sysctl to retrieve the multicast forwarding cache (mfc) and the
virtual interface table (vif). Will be used by netstat soon.
Looked over by guenther@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 14 08:22:38 2014 UTC (9 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.17: +1 -30 lines
Diff to previous 1.17 (colored)

Kill MRT_{ADD,DEL}_BW_UPCALL interfaces and the bandwidth monitoring
code that comes with them.

ok mikeb@, henning@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 27 20:57:39 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +1 -4 lines
Diff to previous 1.16 (colored)

delete UPCALL_TIMING debug code from a the dark ages

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 2 11:54:10 2013 UTC (11 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.15: +1 -15 lines
Diff to previous 1.15 (colored)

tedu broken Resource Reservation Protocol code that was ifdef RSVP_ISI.

ok deraadt@, tedu@ (implicit)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 13 19:14:29 2009 UTC (14 years, 11 months ago) by michele
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, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.14: +2 -15 lines
Diff to previous 1.14 (colored)

Get rid of the token bucket filter.
Traffic shaping code should not be inside routing code.
If you want to rate-limit use altq instead.

ok claudio@ henning@ dlg@

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 25 15:49:35 2006 UTC (18 years, 1 month ago) by claudio
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, 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.13: +1 -3 lines
Diff to previous 1.13 (colored)

Remove virtual tunnel support from the mrouting code. The virtual tunnel
code breaks multicast on gif(4) interfaces and it is far better to configure
a real gif(4) tunnel instead of a multicast tunnel as the latter is almost
not manageable. OK norby@, mblamer@

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 30 14:28:28 2006 UTC (18 years, 2 months ago) by norby
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

fix a typo

ok claudio@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 14 14:51:28 2005 UTC (19 years, 5 months ago) by mcbride
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
Changes since 1.11: +133 -3 lines
Diff to previous 1.11 (colored)

Add kernel support for Protocol Independant Multicast (PIM)
Information: http://netweb.usc.edu/pim/

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 24 01:25:42 2004 UTC (19 years, 6 months ago) by mcbride
Branch: MAIN
Changes since 1.10: +17 -28 lines
Diff to previous 1.10 (colored)

Multicast routing cleanup from Pavlin Radoslavov
- sync ip_mroute.c with NetBSD
- import some FreeBSD changes to MFC entry handling
- set im->im_vif correctly when sending IGMPMSG_WRONGVIF
- increment mrtstat.mrts_upcalls correctly
- return error from get_sg_cnt() if there is no matching forwarding entry

ok henning@ brad@ naddy@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 24 20:31:16 2004 UTC (19 years, 9 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.

From NetBSD
Fixes PR 3825

ok mcbride@ canacar@ claudio@

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Mar 28 00:06:54 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.2.2: +8 -8 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync the SMP branch with 3.3

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:47 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.7.4.1: +9 -9 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync to -current

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:31:36 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.7: +15 -15 lines
Diff to previous 1.7 (colored)

Sync UBC branch to -current

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 9 16:26:10 2002 UTC (22 years ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

whitespace

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Mar 28 14:56:45 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.2.1: +15 -15 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Merge in -current from roughly a week ago

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

First round of __P removal in sys

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Wed Jul 4 10:54:54 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.6: +7 -6 lines
Diff to previous 1.6 (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 07:03:42 2001 UTC (23 years ago) by angelos
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.6: +7 -6 lines
Diff to previous 1.6 (colored)

Inclusion protection.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 21 03:15:05 2000 UTC (24 years, 4 months ago) by angelos
Branch: MAIN
CVS Tags: SMP_BASE, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Branch point for: SMP
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Rename the ip4_* routines to ipip_*, make it so GIF tunnels are not
affected by net.inet.ipip.allow (the sysctl formerly known as
net.inet.ip4.allow), rename the VIF ipip_input to ipip_mroute_input.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 8 06:50:20 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: kame_19991208
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

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).

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 8 00:43:00 1999 UTC (24 years, 10 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.3: +15 -14 lines
Diff to previous 1.3 (colored)

Support detaching of network interfaces.  Still work to do in ipf, and
other families than inet.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 20 20:06:12 1999 UTC (25 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Merge MROUTING and IPSEC wrt handling of IP-in-IP tunnelled packets.
Fix a panic case in the MROUTING code too.  Drop M_TUNNEL support, nothing
ever uses it.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 3 22:30:40 1996 UTC (28 years, 3 months ago) by niklas
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, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +18 -5 lines
Diff to previous 1.1 (colored)

From NetBSD: 960217 merge

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:11 1995 UTC (28 years, 8 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:53:11 1995 UTC (28 years, 8 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.