Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netinet/tests: Mark broadcast:INADDR_BROADCAST as needing network access | Mark Johnston | 2025-06-24 | 1 | -1/+5 |
| | | | | | | | The test fails in environments where there is no broadcast address configured, and this arises in some CI environments. Fixes: ad77d3177f3e ("tests/netinet: add few tests for sending a broadcast packet") | ||||
* | tests/netinet: add few tests for sending a broadcast packet | Gleb Smirnoff | 2025-02-22 | 1 | -0/+192 |
1) Set SO_BROADCAST and send to INADDR_BROADCAST. 2) Set SO_BROADCAST, set IP_ONESBCAST and cycle through broadcast capable interfaces sending a datagram on each. 3) Set SO_BROADCAST and send to local broadcast address. For each test we bind a second socket to check whether the broadcast is actually received. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D49040 |