Home | History | Annotate | Download | only in netinet
History log of /src/sys/netinet/igmp_var.h
RevisionDateAuthorComments
 1.27  17-Feb-2021  christos - pass the alignment instead of the mask (as Roy asked and to match the
other macro)
- use alignof to determine that alignment and CTASSERT what we expect
- remove unused macros
 1.26  14-Feb-2021  christos - centralize header align and pullup into a single inline function
- use a single macro to align pointers and expose the alignment, instead
of hard-coding 3 in 1/2 the macros.
- fix an issue in the ipv6 lt2p where it was aligning for ipv4 and pulling
for ipv6.
 1.25  14-Sep-2018  maxv branches: 1.25.12;
Use non-variadic function pointer in protosw::pr_input.
 1.24  29-May-2014  rmind branches: 1.24.26; 1.24.28;
Make IGMP and multicast group management code MP-safe. Use a read-write
lock to protect the hash table of multicast address records; also, make it
private and eliminate some macros. In the long term, the lookup path ought
to be optimised.
 1.23  15-Apr-2008  thorpej branches: 1.23.48; 1.23.64;
Make IGMP stats per-cpu.
 1.22  10-Dec-2005  elad branches: 1.22.70;
Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.
 1.21  25-Apr-2004  simonb branches: 1.21.12;
Initialise (most) pools from a link set instead of explicit calls
to pool_init. Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

Convert struct session, ucred and lockf to pools.
 1.20  21-Apr-2004  itojun no space between function name and paren: foo (blah) -> foo(blah)
 1.19  18-Apr-2004  matt De __P()
 1.18  07-Oct-2003  mycroft There is also no reason to use arc4random() here.
 1.17  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.16  26-Jun-2003  itojun branches: 1.16.2;
purge rti structure (in igmp.c) for removed ifp on if_detach().
 1.15  15-Jun-2003  matt Change the way multicasts are kept. They now use a hash table in the same
manner as the ifaddr hash table. By doing this, the mkludge code can go
away. At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source. Switch IGMP and multicasts to use pools
for allocation. Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.
 1.14  30-Jun-2002  thorpej Changes to allow the IPv4 and IPv6 layers to align headers themseves,
as necessary:
* Implement a new mbuf utility routine, m_copyup(), is is like
m_pullup(), except that it always prepends and copies, rather
than only doing so if the desired length is larger than m->m_len.
m_copyup() also allows an offset into the destination mbuf, which
allows space for packet headers, in the forwarding case.
* Add *_HDR_ALIGNED_P() macros for IP, IPv6, ICMP, and IGMP. These
macros expand to 1 if __NO_STRICT_ALIGNMENT is defined, so that
architectures which do not have strict alignment constraints don't
pay for the test or visit the new align-if-needed path.
* Use the new macros to check if a header needs to be aligned, or to
assert that it already is, as appropriate.

Note: This code is still somewhat experimental. However, the new
code path won't be visited if individual device drivers continue
to guarantee that packets are delivered to layer 3 already properly
aligned (which are rules that are already in use).
 1.13  29-May-2002  itojun use arc4random
 1.12  12-May-2002  matt branches: 1.12.2; 1.12.4;
Eliminate commons.
 1.11  19-Nov-1999  bouyer branches: 1.11.4; 1.11.6; 1.11.8;
Update protocoles and interfaces stats counters to 64bit.
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.
 1.10  10-Feb-1998  perry branches: 1.10.14; 1.10.20;
add/cleanup multiple inclusion protection.
 1.9  13-Feb-1996  christos netinet prototypes
 1.8  31-May-1995  mycroft Implement IGMP v2. Based on the Multicast 3.5 distribution.
 1.7  26-Mar-1995  jtc KERNEL -> _KERNEL
 1.6  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.5  13-May-1994  mycroft Update to 4.4-Lite networking code, with a few local changes.
 1.4  10-Jan-1994  mycroft Change the counters to be all the same type -- u_long.
 1.3  09-Jan-1994  mycroft Prototype the rest.
 1.2  08-Jan-1994  mycroft Fix some inconsistent spacing; spaces at the end of lines, etc.
 1.1  06-Dec-1993  hpeyerl branches: 1.1.1;
multicast support.
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
 1.1.1.1  05-Jan-1998  thorpej Import sys/netinet from 4.4BSD-Lite for reference purposes.
 1.10.20.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.14.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.11.8.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.11.8.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.11.6.2  01-Aug-2002  nathanw Catch up to -current.
 1.11.6.1  20-Jun-2002  nathanw Catch up to -current.
 1.11.4.1  04-Aug-2003  msaitoh Pullup revision 1.16 (requested by itojun in ticket #50):
purge rti structure (in igmp.c) for removed ifp on if_detach().
 1.12.4.1  30-Jun-2003  grant Pull up revision 1.16 (requested by itojun in ticket #1341):

purge rti structure (in igmp.c) for removed ifp on if_detach().
 1.12.2.2  15-Jul-2002  gehenna catch up with -current.
 1.12.2.1  30-May-2002  gehenna Catch up with -current.
 1.16.2.4  11-Dec-2005  christos Sync with head.
 1.16.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.2.1  03-Aug-2004  skrll Sync with HEAD
 1.21.12.1  21-Jun-2006  yamt sync with head.
 1.22.70.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.64.1  10-Aug-2014  tls Rebase.
 1.23.48.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.28.1  10-Jun-2019  christos Sync with HEAD
 1.24.26.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.25.12.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed