From 9aa64aabb2e4f16b402bc1e91c7d5da03f9b8420 Mon Sep 17 00:00:00 2001 From: songyanchao Date: Mon, 27 Feb 2023 02:06:19 +0000 Subject: ✨ feat: Add ‘get ether addr ’ api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add ‘get ether addr ’ api --- include/external/marsio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/external/marsio.h b/include/external/marsio.h index ec58114..983b48a 100644 --- a/include/external/marsio.h +++ b/include/external/marsio.h @@ -158,6 +158,8 @@ struct mr_vdev * marsio_open_device(struct mr_instance * instance, const char * void marsio_close_device(struct mr_vdev * vdev); +void marsio_get_device_ether_addr(struct mr_vdev * vdev, void * str_ether_addr, uint8_t size); + struct mr_vdev * marsio_device_lookup(struct mr_instance * instance, const char * devsym); int marsio_recv_burst(struct mr_vdev * vdev, queue_id_t qid, marsio_buff_t * mbufs[], int nr_mbufs); -- cgit v1.2.3