xref: /openbmc/linux/net/smc/smc_netns.h (revision 35267cea)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Shared Memory Communications
3  *
4  * Network namespace definitions.
5  *
6  * Copyright IBM Corp. 2018
7  */
8 
9 #ifndef SMC_NETNS_H
10 #define SMC_NETNS_H
11 
12 #include "smc_pnet.h"
13 
14 extern unsigned int smc_net_id;
15 
16 /* per-network namespace private data */
17 struct smc_net {
18 	struct smc_pnettable pnettable;
19 	struct smc_pnetids_ndev pnetids_ndev;
20 };
21 #endif
22