1 /*
2  * Copyright (c) 2020 DENX Software Engineering GmbH
3  * Copyright 2024 NXP
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 #ifndef __DSA_SAMPLE__
9 #define __DSA_SAMPLE__
10 
11 #include <zephyr/net/dsa.h>
12 #include <zephyr/net/ethernet.h>
13 
14 extern struct ud user_data;
15 
16 /* User data for the interface callback */
17 struct ud {
18 	struct net_if *lan[CONFIG_NET_SAMPLE_DSA_MAX_SLAVE_PORTS];
19 	struct net_if *master;
20 };
21 
22 #endif
23