History log of /freebsd-14.2/tests/sys/netinet/libalias/util.c (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0
# dba02df3 12-Feb-2022 John Baldwin <[email protected]>

Cast pointer to uintptr_t to avoid alignment warnings.

Both struct ip and struct udphdr both have an aligment of 2, but the
cast from struct ip to a uint32_t pointer confused GCC 9 into raising
the

Cast pointer to uintptr_t to avoid alignment warnings.

Both struct ip and struct udphdr both have an aligment of 2, but the
cast from struct ip to a uint32_t pointer confused GCC 9 into raising
the required alignment to 4 and then raising a
-Waddress-of-packed-member error when casting to struct udphdr.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D31941

show more ...


Revision tags: release/12.3.0
# f1462ab0 24-May-2021 Lutz Donnerhacke <[email protected]>

tests/libalias: Factor out common primitives

Rework the tests to check the correct layer in a single test.
Factor out tests for reuse in other modules.

MFC after: 1 week
Differential Revision: http

tests/libalias: Factor out common primitives

Rework the tests to check the correct layer in a single test.
Factor out tests for reuse in other modules.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30412

show more ...


# 7b8696bf 24-May-2021 Lutz Donnerhacke <[email protected]>

tests/libalias: Add missing copyright statements


# 33c1bdfc 21-May-2021 Lutz Donnerhacke <[email protected]>

tests/libalias: Add perfomance test utility

In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time. A

tests/libalias: Add perfomance test utility

In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time. Accumulate all tests in a single instance, so make it
complicated over the time. If you wait long enough, you will notice
the expiry of old flows.

Reviewed by: kp (earlier version)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30379

show more ...


# c1fbb54f 17-May-2021 Lutz Donnerhacke <[email protected]>

test/libalias: Tests for outgoing NAT

Testing LibAliasOut functionality. This concentrates the typical use
case of initiating data transfers from the inside. Provide a
exhaustive test for the data

test/libalias: Tests for outgoing NAT

Testing LibAliasOut functionality. This concentrates the typical use
case of initiating data transfers from the inside. Provide a
exhaustive test for the data structure in order to check for
performance improvements.

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30335

show more ...