Hans Wippel | 64e28b5 | 2019-02-21 13:01:02 +0100 | [diff] [blame] | 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; |
Ursula Braun | e888a2e | 2020-09-26 12:44:26 +0200 | [diff] [blame] | 19 | struct smc_pnetids_ndev pnetids_ndev; |
Hans Wippel | 64e28b5 | 2019-02-21 13:01:02 +0100 | [diff] [blame] | 20 | }; |
| 21 | #endif |