| commit | bbad01eb916824ba8547497494375337dd19ca79 | [log] [tgz] |
|---|---|---|
| author | Robert Lubos <robert.lubos@nordicsemi.no> | Fri Apr 25 13:48:43 2025 +0200 |
| committer | Benjamin Cabé <kartben@gmail.com> | Wed Apr 30 16:26:16 2025 +0200 |
| tree | 8e91ac9818aa074ae84b926bf8cbfa117ed8b3e9 | |
| parent | 6654f78376d65fe0398b036b34701062c93f15cc [diff] |
tests: net: socket: af_packet: Add more tests to verify binding In case the receiving packet socket is not bound to any specific interface, or is explicitly bound to "any" interface (at index 0), it should collect packets from all interfaces. Add test cases which verify that. Also, if a packet socket is bound to a specific interface, it should not receive packets from others. Add a test case to verify that as well. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>