History log of /src/tests/sys/netinet/multicast.sh (Results 1 – 18 of 18)
Revision Date Author Comments
# be7bdb1c 15-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without ind

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without index. Do same lookup
for IP_ADD_MEMBERSHIP with index and what is more important for
MCAST_JOIN_GROUP, if the supplied index is 0. This is a neat feature and
Linux does that, so this should make a few applications easier portable to
FreeBSD.

Differential Revision: https://reviews.freebsd.org/D52918

show more ...


# c8359b32 14-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <m

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <me svmhdvn.name>
PR: 290210

show more ...


# a733ea83 02-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add a few missing atf_checks in multicast.sh

Fixes: d0c8a0b3e6fc5372428eb4fddcd4f8c65b5b0ee0


# d0c8a0b3 29-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and pri

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and prints it
out.

In multicast.sh provide a template with two jails connected by two
interface pairs, so that we can check sends/receives in presence of
multiple interfaces.

Compose a few basic tests to check legacy and new IP_ADD_MEMBERSHIP and
MCAST_JOIN_GROUP.

show more ...


# 36f2eda2 30-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used
in more test scenarios.

show more ...


# 0849f163 22-Mar-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add test for IP_MULTICAST_IF


# be7bdb1c 15-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without ind

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without index. Do same lookup
for IP_ADD_MEMBERSHIP with index and what is more important for
MCAST_JOIN_GROUP, if the supplied index is 0. This is a neat feature and
Linux does that, so this should make a few applications easier portable to
FreeBSD.

Differential Revision: https://reviews.freebsd.org/D52918

show more ...


# c8359b32 14-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <m

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <me svmhdvn.name>
PR: 290210

show more ...


# a733ea83 02-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add a few missing atf_checks in multicast.sh

Fixes: d0c8a0b3e6fc5372428eb4fddcd4f8c65b5b0ee0


# d0c8a0b3 29-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and pri

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and prints it
out.

In multicast.sh provide a template with two jails connected by two
interface pairs, so that we can check sends/receives in presence of
multiple interfaces.

Compose a few basic tests to check legacy and new IP_ADD_MEMBERSHIP and
MCAST_JOIN_GROUP.

show more ...


# 36f2eda2 30-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used
in more test scenarios.

show more ...


# 0849f163 22-Mar-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add test for IP_MULTICAST_IF


# be7bdb1c 15-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without ind

netinet: do route lookup when asked to join multicast group on ifindex 0

The code to do the route lookup was already there, but was used only for
the legacy IP_ADD_MEMBERSHIP when called without index. Do same lookup
for IP_ADD_MEMBERSHIP with index and what is more important for
MCAST_JOIN_GROUP, if the supplied index is 0. This is a neat feature and
Linux does that, so this should make a few applications easier portable to
FreeBSD.

Differential Revision: https://reviews.freebsd.org/D52918

show more ...


# c8359b32 14-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <m

tests/multicast: fix test flakyness

The receiver is run as a background job, so we need a wait loop to
make sure it has been fully functional before launching sender.

Reported by: Siva Mahadevan <me svmhdvn.name>
PR: 290210

show more ...


# a733ea83 02-Oct-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add a few missing atf_checks in multicast.sh

Fixes: d0c8a0b3e6fc5372428eb4fddcd4f8c65b5b0ee0


# d0c8a0b3 29-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and pri

tests/netinet: extend IPv4 multicast testing framework

Provide a helper program multicast-receive.c that joins arbitrary group on
arbitrary specified interface and receives a single datagram and prints it
out.

In multicast.sh provide a template with two jails connected by two
interface pairs, so that we can check sends/receives in presence of
multiple interfaces.

Compose a few basic tests to check legacy and new IP_ADD_MEMBERSHIP and
MCAST_JOIN_GROUP.

show more ...


# 36f2eda2 30-Sep-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used

tests/netinet: rename and extend sendto-IP_MULTICAST_IF.c

Rename this test helper app to multicast-send.c. Extend it to send
from/to arbitrary addresses and arbitrary payload so that it can be used
in more test scenarios.

show more ...


# 0849f163 22-Mar-2025 Gleb Smirnoff <glebius@FreeBSD.org>

tests/netinet: add test for IP_MULTICAST_IF