Home | History | Annotate | Download | only in netinet
History log of /src/sys/netinet/ip6.h
RevisionDateAuthorComments
 1.30  07-Mar-2021  christos netinet/netinet6: Add necessary includes to make these standalone.
(from riastradh)
 1.29  03-Feb-2021  roy CTASSERT -> __CTASSERT to unbreak userland build.

While here move __packed in tcp_debug.h back to where it was and
note removal warrants more investigation.
 1.28  03-Feb-2021  roy Sprinkle CTASSERT to enforce on-wire layout without __packed
 1.27  03-Feb-2021  roy Remove __packed from various network structures

They are already network aligned and adding the __packed attribute
just causes needless compiler warnings about accssing members of packed
objects.
 1.26  27-Jul-2020  roy branches: 1.26.2;
ip6: Remove __packed attribute from ip6 structures

They should naturally align.
Add compile time assertations to ip6_input.c to prove this.
 1.25  18-May-2018  maxv branches: 1.25.6;
IP6_EXTHDR_GET performs a basic mbuf operation, which has nothing to do
with IPv6. So declare an IP-independent M_REGION_GET, and make
IP6_EXTHDR_GET an alias to it.
 1.24  18-May-2018  maxv Remove IP6_EXTHDR_GET0, remove pointless XXXs, and style.
 1.23  25-Dec-2007  perry branches: 1.23.2; 1.23.90; 1.23.96;
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
 1.22  04-Mar-2007  christos branches: 1.22.16; 1.22.22; 1.22.24; 1.22.28;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.21  05-May-2006  rpaulo branches: 1.21.14;
Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.
 1.20  10-Dec-2005  elad branches: 1.20.4; 1.20.6; 1.20.8; 1.20.10; 1.20.12;
Multiple inclusion protection, as suggested by christos@ on tech-kern@
few days ago.
 1.19  29-May-2005  christos branches: 1.19.2;
- add const
- remove bogus casts
- avoid nested variables
 1.18  09-Jul-2004  itojun typo. Bruno Rohee
 1.17  26-Apr-2004  itojun declare ip6_hdr_pseudo (for kernel only) and use it for TCP MD5 signature
 1.16  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.15  06-Jun-2003  itojun branches: 1.15.2;
- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)
- routing header declaration with RFC3542
(note: sizeof(ip6_rthdr0) has changed!)
also, sync up with RFC2460 routing header definition (no "strict" source
routing mode any more)

part of advanced API update (RFC2292 -> 3542).
 1.14  14-May-2003  itojun always use PULLDOWN_TEST codepath.
 1.13  02-Nov-2002  perry /*CONTCOND*/ while (0)'ed macros
 1.12  05-Jul-2001  itojun IP6_EXTHDR_GET0 had no check against m->m_len (noone was using this macro).
sync with kame
 1.11  23-Jan-2001  itojun branches: 1.11.2;
put attribute(packed) for ip6 option headers. they will appear at
strange alignment positions. sync with kame
 1.10  10-Oct-2000  itojun sync with kame ($KAME$)
 1.9  13-Jul-2000  itojun remove m_pulldown statistics code. it is highly experimental and belong
to kame tree only (not for *bsd).
 1.8  02-Jul-2000  itojun typo in previous
 1.7  02-Jul-2000  itojun do not touch struct ip6stat on non-INET6 compilation.
From: Paul Goyette <paul@whooppee.com>
 1.6  03-Mar-2000  itojun branches: 1.6.4;
comment fix, sync with kame.
 1.5  24-Feb-2000  itojun hide declaration of IP6_EXTHDR_{GET,CHECK} from userland.
 1.4  06-Feb-2000  itojun to be more rfc2292 complient, move ip6.h and icmp6.h into netinet.
(netinet6/{ip6,icmp6}.h is non-standard path - these files should go away)

it was not possible to use cvsmove in this case.
when you try to look at history, chase it toward netinet6/{ip6,icmp6}.h.
 1.3  03-Jul-1999  thorpej branches: 1.3.2;
RCS ID police.
 1.2  01-Jul-1999  itojun branches: 1.2.2;
IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.
 1.1  28-Jun-1999  itojun branches: 1.1.2;
file ip6.h was initially added on branch kame.
 1.1.2.1  28-Jun-1999  itojun KAME/NetBSD 1.4 SNAP kit, dated 19990628.

NOTE: this branch (kame) is used just for refernce. this may not compile
due to multiple reasons.
 1.2.2.3  02-Aug-1999  thorpej Update from trunk.
 1.2.2.2  01-Jul-1999  thorpej Sync w/ -current.
 1.2.2.1  01-Jul-1999  thorpej file ip6.h was added on branch chs-ubc2 on 1999-07-01 23:47:01 +0000
 1.3.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.3.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.6.4.3  14-Jul-2000  itojun pullup (approved by releng-1-5)

remove m_pulldown statistics code. it is highly experimental and belong
to kame tree only (not for *bsd).

1.4 -> 1.5 syssrc/sys/kern/uipc_mbuf2.c
1.8 -> 1.9 syssrc/sys/netinet/ip6.h
1.13 -> 1.14 syssrc/sys/netinet6/ip6_var.h
 1.6.4.2  03-Jul-2000  thorpej Pull up rev. 1.8:
typo in previous
 1.6.4.1  03-Jul-2000  thorpej Pull up rev. 1.7:
do not touch struct ip6stat on non-INET6 compilation.
From: Paul Goyette <paul@whooppee.com>
 1.11.2.2  11-Nov-2002  nathanw Catch up to -current
 1.11.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.15.2.5  11-Dec-2005  christos Sync with head.
 1.15.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.2.3  21-Jan-2008  yamt sync with head
 1.19.2.2  03-Sep-2007  yamt sync with head.
 1.19.2.1  21-Jun-2006  yamt sync with head.
 1.20.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.20.10.1  11-May-2006  elad sync with head
 1.20.8.1  24-May-2006  yamt sync with head.
 1.20.6.1  01-Jun-2006  kardel Sync with head.
 1.20.4.1  09-Sep-2006  rpaulo sync with head
 1.21.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.22.28.1  02-Jan-2008  bouyer Sync with HEAD
 1.22.24.1  26-Dec-2007  ad Sync with head.
 1.22.22.1  18-Feb-2008  mjf Sync with HEAD.
 1.22.16.1  09-Jan-2008  matt sync with HEAD
 1.23.96.1  21-May-2018  pgoyette Sync with HEAD
 1.23.90.1  07-Mar-2021  martin Pull up following revision(s) (requested by christos in ticket #1661):

sys/netinet6/ip6_id.c: revision 1.19-1.21
sys/netinet6/ip6_var.h: revision 1.88
sys/netinet/ip_input.c: revision 1.400
sys/netinet/tcp_subr.c: revision 1.285
sys/netinet/ip6.h: revision 1.30

netinet: Enable random IP fragment ids by default (from riastradh)

netinet: Enable RFC 1948 pseudorandom TCP ISS selection by default.
(from riastradh)

netinet6: Mark randomid unused.

Will make merging and bisection easier if anything goes wrong with
flow label or fragment id randomization changes.
(from riastradh)

netinet/netinet6: Add necessary includes to make these standalone.
(from riastradh)

Replace randomid() by cprng_fast32()
 1.23.2.1  22-Feb-2008  keiichi imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).
 1.25.6.1  07-Mar-2021  martin Pull up following revision(s) (requested by christos in ticket #1226):

sys/netinet6/ip6_id.c: revision 1.19-1.21
sys/netinet6/ip6_var.h: revision 1.88
sys/netinet/ip_input.c: revision 1.400
sys/netinet/tcp_subr.c: revision 1.285
sys/netinet/ip6.h: revision 1.30

netinet: Enable random IP fragment ids by default (from riastradh)

netinet: Enable RFC 1948 pseudorandom TCP ISS selection by default.
(from riastradh)

netinet6: Mark randomid unused.

Will make merging and bisection easier if anything goes wrong with
flow label or fragment id randomization changes.
(from riastradh)

netinet/netinet6: Add necessary includes to make these standalone.
(from riastradh)

Replace randomid() by cprng_fast32()
 1.26.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed