| #
9ee759f3
|
| 01-May-2025 |
Michal Meloun <mmel@FreeBSD.org> |
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefine
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefined behavior. Since we do not have declared (and therefore not checked) mbuf alignments for the various input functions in the IP stack, the worst case (alignment to char*) should be expected.
A lot of work still needs to be done on IPv6, especially on the terrible accesses to in6_addr members.
It should have no performance impact on all unaligned architectures.
MFC after: 1 month Reviewed by: kib PR: 272965 Differential Revision: https://reviews.freebsd.org/D50103
show more ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
9ee759f3
|
| 01-May-2025 |
Michal Meloun <mmel@FreeBSD.org> |
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefine
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefined behavior. Since we do not have declared (and therefore not checked) mbuf alignments for the various input functions in the IP stack, the worst case (alignment to char*) should be expected.
A lot of work still needs to be done on IPv6, especially on the terrible accesses to in6_addr members.
It should have no performance impact on all unaligned architectures.
MFC after: 1 month Reviewed by: kib PR: 272965 Differential Revision: https://reviews.freebsd.org/D50103
show more ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
82725ba9
|
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
| #
51369649
|
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
| #
82725ba9
|
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
| #
51369649
|
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
| #
c398230b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
4c9792f9
|
| 08-Mar-2004 |
Jeffrey Hsu <hsu@FreeBSD.org> |
Include <sys/types.h> for autoconf/automake detection.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|
| #
59ca77f4
|
| 07-Aug-2003 |
Jeffrey Hsu <hsu@FreeBSD.org> |
New PIM header files.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|
| #
9ee759f3
|
| 01-May-2025 |
Michal Meloun <mmel@FreeBSD.org> |
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefine
Decorate IPv4 structures used for byte buffer overlays as packed.
The C language only allows pointer casting to another type if both sides have compatible alignments, unaligned casts causes undefined behavior. Since we do not have declared (and therefore not checked) mbuf alignments for the various input functions in the IP stack, the worst case (alignment to char*) should be expected.
A lot of work still needs to be done on IPv6, especially on the terrible accesses to in6_addr members.
It should have no performance impact on all unaligned architectures.
MFC after: 1 month Reviewed by: kib PR: 272965 Differential Revision: https://reviews.freebsd.org/D50103
show more ...
|
| #
95ee2897
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
82725ba9
|
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
| #
51369649
|
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for
sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
| #
c398230b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
4c9792f9
|
| 08-Mar-2004 |
Jeffrey Hsu <hsu@FreeBSD.org> |
Include <sys/types.h> for autoconf/automake detection.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|
| #
59ca77f4
|
| 07-Aug-2003 |
Jeffrey Hsu <hsu@FreeBSD.org> |
New PIM header files.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|
| #
c398230b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
4c9792f9
|
| 08-Mar-2004 |
Jeffrey Hsu <hsu@FreeBSD.org> |
Include <sys/types.h> for autoconf/automake detection.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|
| #
59ca77f4
|
| 07-Aug-2003 |
Jeffrey Hsu <hsu@FreeBSD.org> |
New PIM header files.
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
|