eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1e1a6d6754ff07d1b1ee83358dbf0062b6c59246
parent 77c366ba2ec8cb40df823c52976820741abb7bc6
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue,  9 Aug 2022 16:04:27 -0700

auto-t: add generic tx_packet function

This sends data over the raw sockets similar to test_ifaces_connected

Diffstat:
Mautotests/util/testutil.py | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/autotests/util/testutil.py b/autotests/util/testutil.py @@ -53,6 +53,13 @@ def tx(fromsock, tosock, src, dst): return (frame, fromsock, tosock, src, dst) +def tx_packets(if0, if1, num): + sock0, addr0 = raw_if_socket(if0) + sock1, addr1 = raw_if_socket(if1) + + for i in range(num): + tx(sock0, sock1, addr0, addr1) + def test_connected(if0=None, if1=None, group=True, expect_fail=False): if expect_fail: timeout = 0