[PATCH net-next v2 09/14] selftests: forwarding: Add MAC get helper