test: dm: eth: Add ip6_addr_in_subnet test
authorViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Fri, 2 Dec 2022 09:18:11 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 17:47:17 +0000 (12:47 -0500)
commit8576dcdf0036be116a3424505984a9b2de7c9bf8
treeed51a863ea99f9760e59021782222cc345983562
parentd9f5c41e9ac64c255a88832488a425d6d4f275ae
test: dm: eth: Add ip6_addr_in_subnet test

Add a test if two address are in the same subnet. Use in sandbox

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/eth.c